![]() |
Help!
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 |
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. |
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?
|
All times are GMT. The time now is 11:18 AM. |
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:
|