View Full Version : Help!
Soundr
07-04-2003, 12:41 PM
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
noppid
07-04-2003, 01:15 PM
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.
Soundr
07-04-2003, 01:55 PM
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?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.