Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In your demo it seems to work for you, i edit the node-forum.tpl to get the forum to display, but i still get my default comment display in forum node, no user points, no online/offline icones
// Show nodes normally when they appear outside of the forum
//if (!$is_forum) {
// include('node.tpl.php');
// return;
//}
Comments
Comment #1
MichelleDoes the extra user information show up on the forum nodes? It sounds as though the call to addvars isn't happening.
Michelle
Comment #2
toma CreditAttribution: toma commentedno extra user information appear, i think that some function call as u say doesn't happend
Thanks for your support
Comment #3
brianV CreditAttribution: brianV commentedtoma - can you verify that you added the three lines to the template.php as indicated in the readme.txt?
Comment #4
toma CreditAttribution: toma commentedThanks for your reply i do add the lines on template.php in my theme
Comment #5
MichelleAh, I see the problem. You're only returning the $vars if $hook is 'page'. You need to move that line down so you have:
Michelle
Comment #6
MichelleForgot the status.
Michelle
Comment #7
(not verified) CreditAttribution: commentedAutomatically closed -- issue fixed for two weeks with no activity.