Jump to content

Help on a If statement


Norman

Recommended Posts

Developing a vBulletin modification, I have to set an if that show a specific page only to guest. I have covered my entire template code with this:

<if condition="$show['guest']">Code..</if>

Don't take care to the syntax. It's only for vBulletin. Now I would like to set another link: "Or, check the forumhome here: <a href="index.php">ForumHome</a>". My problem is that I've replaced the forumhome code with that one covered by that If, so when a guest click on 'ForumHome', he's redirected to that page.. to the same page he is. How could I solve this problem?

Link to comment
Share on other sites

I would like to know if I can do something like:if guest = show thisor when one click on a link is made = show thatMy problem is that i have to do this on the same template..

Link to comment
Share on other sites

Try asking in the vBulletin forums - they have a better understanding of the template system there (hopefully).

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...