SafeInSanity
Junior Member
Falling in love with Proboards again!
Posts: 424
inherit
23917
0
Feb 27, 2020 11:29:13 GMT -8
SafeInSanity
Falling in love with Proboards again!
424
May 2004
wiki
|
Post by SafeInSanity on Apr 11, 2017 17:55:37 GMT -8
So I figured out a way to add Disqus comments to all threads and decided to disable Proboard replies all together. Basically registered members can create new threads but everybody can leave comments via Disqus comment platform. Everything is working great on normal threads. I even found a code to hide the "Reply" button so users would not get confused. Here is an example thread that is displaying the Disqus comments correctly. The only problem is that on the threads I edit and make the edit reason as "sticky" to use the template code hack I use to hide mini profiles on the first post of a thread, is causing the Disqus comments to not display in the stickied threads like shown here in this thread Tumbleweed - Any idea why the comments aren't showing on stickied threads and how to make them display?
|
|
inherit
I need a new CT, thinking.... [insert Jeopardy theme song here]
110769
0
Aug 21, 2021 0:07:21 GMT -8
Tumbleweed
20,825
September 2007
tumbleweed
|
Post by Tumbleweed on Apr 11, 2017 21:37:46 GMT -8
So I figured out a way to add Disqus comments to all threads and decided to disable Proboard replies all together. Basically registered members can create new threads but everybody can leave comments via Disqus comment platform. Everything is working great on normal threads. I even found a code to hide the "Reply" button so users would not get confused. Here is an example thread that is displaying the Disqus comments correctly. The only problem is that on the threads I edit and make the edit reason as "sticky" to use the template code hack I use to hide mini profiles on the first post of a thread, is causing the Disqus comments to not display in the stickied threads like shown here in this thread Tumbleweed - Any idea why the comments aren't showing on stickied threads and how to make them display? Considering I'm amazed you have that Disqus working at all (very impressed and I don't know how you did that) I wouldn't have a clue why it isn't working with the stickied ones. Sorry, wish I did, but I will think on it and snoop around your site to see how you added that, etc. but I have a feeling it's going to take someone who really understands the in's and out's of Proboards to help you out.
|
|
SafeInSanity
Junior Member
Falling in love with Proboards again!
Posts: 424
inherit
23917
0
Feb 27, 2020 11:29:13 GMT -8
SafeInSanity
Falling in love with Proboards again!
424
May 2004
wiki
|
Post by SafeInSanity on Apr 12, 2017 6:07:38 GMT -8
Considering I'm amazed you have that Disqus working at all (very impressed and I don't know how you did that) I wouldn't have a clue why it isn't working with the stickied ones. Sorry, wish I did, but I will think on it and snoop around your site to see how you added that, etc. but I have a feeling it's going to take someone who really understands the in's and out's of Proboards to help you out. Thanks. It was very easy to add the Disqus comments to Proboards. I just followed the steps on the Disqus website to add comments to a website and then chose to add them to a " Custom" platform because proboards was not listed as a popular option as most people add Disqus comments to blogs like Wordpress or Blogger. Then they give you the embed code for your site that includes your proboard's url and I put that in the Post List template on line 186 directly under the foot tag like this: <td class="foot">
Code goes here {if $[post.edited]}
|
|
SafeInSanity
Junior Member
Falling in love with Proboards again!
Posts: 424
inherit
23917
0
Feb 27, 2020 11:29:13 GMT -8
SafeInSanity
Falling in love with Proboards again!
424
May 2004
wiki
|
Post by SafeInSanity on Apr 12, 2017 18:36:54 GMT -8
Just a note: I was able to fix the problem that I mentioned with the Disqus comments not displaying in the sticky posts, but in order to get it working properly I had to remove the "first post in thread always sticky" code that hid mini profiles when you edited a post and made it sticky. Now the comments display normal in all posts and to hide mini profiles on certain boards I just use that other code that you gave me that can go in any board's header.
<style>
div.mini-profile, .posts .post .left-panel{display:none;}
</style>
|
|
inherit
I need a new CT, thinking.... [insert Jeopardy theme song here]
110769
0
Aug 21, 2021 0:07:21 GMT -8
Tumbleweed
20,825
September 2007
tumbleweed
|
Post by Tumbleweed on Apr 12, 2017 21:33:42 GMT -8
Hey, I'm glad you worked it out on your own. Thanks for the info on how you did it. Pat yourself on the back, you should be proud!
|
|