The Arcive of vBulletin Modifications Site. |
|
Help! Details »»
|
|||||||||||||||||||||||||
Hi, I am new around here. I was wondering if you could help me do two small things. Firstly, on my nav, I have a button (top_webmail.gif), how can I make it only display when a Moderator or Administrator has logged in. Secondly I also want the logout button to display when a user has logged in, if the user isn't logged in I don't want it to display. I hope you can help.
- Devnull Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
For the first part use the ismoderator() function as the condition.
The next part can be done with code that exists in index.php/forum_home.template. |
|
#3
|
|||
|
|||
|
I have replaced my template, thats why I asked. So for the moderator and admin thing, would if be <? if $user ismoderator() echo "html tag"; ?> ? Would that be correct?
|
![]() |
|
|