solved Disquis Install

Developer Networks
Developer Networks
@developer-networks
10 years ago
566 posts
Ive installed the disqus module and have my short name in correctly. However it displays only the "comments by disqus" instead of a comment box. Any ideas to why its doing this?


updated by @developer-networks: 03/30/14 02:23:16PM
brian
@brian
10 years ago
10,148 posts
Do you see any JS errors? Maybe try it on a different browser?


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Developer Networks
Developer Networks
@developer-networks
10 years ago
566 posts
Thanks Brian. I figured out what it was. I had to change Line 11/17 in the jrDisqus/templates/embed.tpl from http:// to https:// because im on a secured site.



updated by @developer-networks: 02/13/14 02:17:59PM
brian
@brian
10 years ago
10,148 posts
Ahh - we can fix that in the templates.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
brian
@brian
10 years ago
10,148 posts
I just pushed out Disqus Module 1.0.3 that fixes this.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
hansd007
@hansd007
10 years ago
50 posts
You guys know how to disable comments for pages? Just keep them for blogs?
brian
@brian
10 years ago
10,148 posts
hansd007:
You guys know how to disable comments for pages? Just keep them for blogs?

Right now this would take a template modification - basically just customize the Page Creator -> Templates -> item_detail.tpl template and change this (down near the bottom of the template):

{jrCore_item_detail_features module="jrPage" item=$item}

to this:
{jrCore_item_detail_features module="jrPage" item=$item exclude="jrDisqus~disqus_comments"}

That will exclude the "disqus_comments" feature provided by the "jrDisqus" module.

Then save the template, reset caches and you should be good.

Down the road the plan is to make this a simple turn on/off at the module level, but that's not done at this time.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

updated by @brian: 02/20/14 08:18:59AM
hansd007
@hansd007
10 years ago
50 posts
Hi Brian,

Thanks for that.

If I am using the jrComment module instead of Disqus, what would be the proper exclude code?

exclude="jrComment~comment"
brian
@brian
10 years ago
10,148 posts
Yep close - it's:

jrComment~item_comments

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
hansd007
@hansd007
10 years ago
50 posts
Excellent, thanks Brian.

Tags