Closed (fixed)
Project:
Advanced Forum
Version:
5.x-1.0-alpha10
Component:
Miscellaneous
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
4 Jul 2008 at 15:26 UTC
Updated:
27 Nov 2008 at 23:27 UTC
I'm trying to figure out how to list the authors roles in the user-info section of each forum post and reply. So for forum admins, it should display 'Admin'. Also, i'd rather not display the default 'authenticated user' role.
Does anyone have a solution for this?
Comments
Comment #1
michelleThis is off the top of my head and untested. Try this in advf-forum-user.tpl.php:
Going offline for a while now.
Michelle
Comment #2
dbirider commentedThanks Michelle, that worked perfect :-D
Comment #3
zet commentedIt works but outputs an error:
* warning: Invalid argument supplied for foreach() in /var/www/html/drupal5/sites/all/themes/zen/zen_zetnetpd/advforum/advf-forum-user.tpl.php on line 52.
* warning: Invalid argument supplied for foreach() in /var/www/html/drupal5/sites/all/themes/zen/zen_zetnetpd/advforum/advf-forum-user.tpl.php on line 52.
Comment #4
zet commentedComment #5
Soggydoughnuts commentedIs there any way to do this for 6.X?
-Donuts
Comment #6
michelleAs far as I know, it's the same for D6. If it's not, investigate the changelog for D6 to see what affected it. This really has nothing to do with the module and I don't have more time to invest in it.
Michelle
Comment #7
psicomante commentedThanks to Themer Info (Devel Module)
Take this
PS. We need a Bueditor here on d.org. :D
Comment #8
psicomante commentedi hope Michelle would integrate this as option on official release. It's useful.
Comment #9
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #10
rafaeldwan commentedhow could I do this for all content, not just forums? where would I stick the snip?
Comment #11
zet commentedGood question. Not very apropiate posted here, but hope someone knows the answer.