The Arcive of vBulletin Modifications Site. |
|
Details »»
|
|||||||||||||||||||||||||
I have been having a heck of a time getting the following to work. If some one can help I would very much appreciate it
![]() I would like to add a field to showthread, and only have that field viewable to moderators/admin. The field $userinfo[field5] And I would like it to look like: Registered: Nov 1999 Location: Europe, Slovenia, Lovrenc Posts: 48 FIELD HERE and if they are not an admin or mod they wouldnt see that. -Brian Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
i think theres no way to do that just in the templates, you have to hack some codelines.
i have hacked my board to have this effekt you want: open functions.php in your admin folder find the lines PHP Code:
before it add: PHP Code:
then make a custom template adminpostbit which contains the line $userinfo[field5] an all the other stuff you want to show only your admins and mods laststep in the postbit template add the line $adminpostbit after $userinfo[posts] this should be all |
|
#3
|
|||
|
|||
|
Thanks so much!! Worked like a charm!
-Brian |
![]() |
|
|