Active
Project:
Disqus
Version:
6.x-1.9
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
23 Jan 2012 at 13:22 UTC
Updated:
23 Jan 2012 at 13:22 UTC
I can't get disqus comments to show on the node type I want. I have traced the problem to the nodeapi hook, where the node content does not get populated with the disqus data unless $a4 == true. On my articles $a4 == int(0), and I have no clue what data it holds. I have tried to track farther back but get lost in ctools and panels modules where it seems a $pane['page'] variable.
if (!$a3 && $a4 && isset($node->disqus) && user_access('view disqus comments') && $node->disqus['status'] == 1) {...}
Does this seem familiar to anyone?