PDA

View Full Version : Condition to exclude the portal page?


Ghost Shadow
12-31-2008, 02:48 PM
Hello, and Happy New Year!!
I have a vBulletin V3.7.4 and vBadvanced CMPS v3.0.1.
I would like for the "Portal" button in the Nav bar to only appear in the forum pages, but not on the Portal page. Below is the Nav button code; I need a little help with the "if" statement.

Portal page:
http://www.warfaith.com/indexx.php

Forum page:
http://www.warfaith.com/index.php

<!-- button begin -->
<td width="78" height="34" class="css_nav"><a href="http://www.warfaith.com/indexx.php" accesskey="5">$vbphrase[portal]</a></td>
<!-- button end -->

Thank You!!

PhilMcKrackon
12-31-2008, 03:27 PM
<if condition="THIS_SCRIPT != 'adv_index'">
<!-- button begin -->
<td width="78" height="34" class="css_nav"><a href="http://www.warfaith.com/indexx.php" accesskey="5">$vbphrase[portal]</a></td>
<!-- button end -->
</if>

Our Sponsors
 

Ghost Shadow
12-31-2008, 05:05 PM
Thank you Phil