bug report disqus no longer works in forums

soaringeagle
@soaringeagle
8 years ago
3,304 posts
i added the disqus code to the forums template long ago it worked (though had the issue of 1 posts comments showing on most pages)
after the update that fixed that it no longer works on forum posts at all
nothing was changed to templates


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities

updated by @soaringeagle: 09/03/17 12:57:07PM
michael
@michael
8 years ago
7,772 posts
disqus on forums? How are you setting that one up.

There was an update to the jrDisqus module recently in 1.1.0 if you're using that. What version are you using?
soaringeagle
@soaringeagle
8 years ago
3,304 posts
ah i don't know what code in the template was changed
but in template compare copied all the new code over so they matched except having the disqus code

i added
{if jrCore_module_is_active('jrDisqus')}
        <!-- the disqus comment count code -->
        {jrDisqus_comment_count}
        <div class="item disqusitem">
            {jrDisqus_comments disqus_identifier="jrBlog_`$item._item_id`"}
        </div>
    {/if}
at the botom of the forum item detail template (pretty sure it was)
its working again


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
8 years ago
3,304 posts
its that identifyer that was changed is there a forum identifyer


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
michael
@michael
8 years ago
7,772 posts
If you've added that, it should still be working. The problem that was fixed was that disqus got added as a feature to every item_detail.tpl page with
 {jrDisqus_comments disqus_identifier="jrDisquss_`$item._item_id`"}
so a blog of item_id 599 and a forum post of item_id 599 would be linked because they both had the disqus identifier of "jrDisqus_599".

Your code look correct.
soaringeagle
@soaringeagle
8 years ago
3,304 posts
wouldnt a blog and forum of same id be linked then (have not had disqus comments on anything but forums photos and profiles not on any blogs yet....just wondering)
i realized however that the forum item detail tpl hadnt had the code coppied over since many updates ago
it might have stopped working awhile ago and hant noticed ..i had noticed there was no activity on disqus for a semi long time
its probably my fault for not updating the code


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
michael
@michael
8 years ago
7,772 posts
You used this code:
{jrDisqus_comments disqus_identifier="jrBlog_`$item._item_id`"}
The update to the module should not effect you at all.

Tags