rms10
30th January 2004, 10:00 PM
On the navbar I would like to display "Forums" (which will link to the forums) when the portal page is up and then replace it link with "Frontpage" (with link) when the user is in the forums. I know it must be placed under the navbar (under the navbar buttons location), but how would I do the conditional check?
<!-- nav buttons bar -->
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
<tr align="center">
<!---- <td class="vbmenu_control"><a href="$vboptions[forumhome].php?$session[sessionurl]">Home</a></td> -->
<if ???????=??????>
<td class="vbmenu_control"><a
href="http://localhost/Vbulletin/forums/vbindex.php">Frontpage</a></td>
</if>
<if condition="$show['member']">
<td class="vbmenu_control"><a href="usercp.php?$session[sessionurl]">$vbphrase[user_cp]</a></td>
</if>
Many thanks:)
<!-- nav buttons bar -->
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
<tr align="center">
<!---- <td class="vbmenu_control"><a href="$vboptions[forumhome].php?$session[sessionurl]">Home</a></td> -->
<if ???????=??????>
<td class="vbmenu_control"><a
href="http://localhost/Vbulletin/forums/vbindex.php">Frontpage</a></td>
</if>
<if condition="$show['member']">
<td class="vbmenu_control"><a href="usercp.php?$session[sessionurl]">$vbphrase[user_cp]</a></td>
</if>
Many thanks:)