Running vb3.5.4 and cmps2.1.0 with cmps file in forum's root directory.
I have the cmps_index.php file renamed as index.php in the root directory, which is where my forums are, and the forum's old index.php is renamed forums.php. All that is working fine, no problems with that...
I have also done the following:
vBulletin Options > Forums Home Page Options > Script Name for Forum Home Page changed to value of "forums" (from "index")
The problem is with my navbar template edit i am pretty sure... I added the line of code for the dynamic forum/home as such:
Code:
<!-- 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">
<!-- BEGIN template mod forum/home link in navbar -->
<td class="vbmenu_control"><if condition="THIS_SCRIPT == 'adv_index'"><a href="$vboptions[bburl]$vboptions[forumhome].php?$session[sessionurl]"> Forums <else /> <a href="$vboptions[homeurl]?$session[sessionurl]"> Home </if> </a></td>
<!-- END template mod forum/home link in navbar -->
<if condition="$show['member']">
<td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
</if>
Everything works fine when in the forums going to "home", however the problem is when viewing the cmps file, the "Forums" link in the navbar doesn't point to forums.php, it points to index.php, EVEN THOUGH the AdminCP setting for $vbulletin->options['forumhome'] is "forums".
Can anyoen help me pleeease?