![]() |
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 |
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 |
Thanks so much!! Worked like a charm!
-Brian |
All times are GMT. The time now is 04:22 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|