Hey, i would like to change the bar at the top, you know the bar with usercp, search, new posts etc. Well id like to change one of them so that they say affiliates and go to either a post or a html page. Cheers
You find the associated HTML codes in the 'navbar' template : AdminCP -> Style Manager -> <<>> for the style you want to edit Find the 'navbar' template from the long list and edit it. Need any further help? Ping me up.
I cant find the navbar template from the list hmmm. I did about a month ago. EDIT: Found it had to expand a section, but now on the code i cant find where to change the calender bit to affiliates.
It depends on what skin you are using. If you are using the the vBulletin default skin, the code for the navbar is located within the 'navbar' template. If you are using a custom skin, it's either in the 'header' or in the navbar. You say you want to replace the 'Calendar' link to an 'Affiliates' page. Simply changing the link/caption won't help. The calendar is wrapped inside an 'if' statement, which determines whether the calendar is enabled. The code for the calendar starts at <if condition="THIS_SCRIPT == 'calendar'"> PHP: and ends at the first 'if' statement </if> PHP: the full code for it's default would be <if condition="THIS_SCRIPT == 'calendar'"> <td class="vbmenu_page" style="cursor:hand;" onclick="window.location.href='calendar.php$session[sessionurl_q]'"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td> <else /> <td class="vbmenu_control" style="cursor:hand;" onmouseover="this.className='vbmenu_hover';" onmouseout="this.className='vbmenu_control';" onclick="window.location.href='calendar.php$session[sessionurl_q]'"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td> </if> PHP: just replace all that with anything you want, such as <a href="http://yoursite.com/yourpage.php">Affiliates</a> PHP: or if you want members only to view it, replace it with this <if condition="$show['member']"><a href="http://yoursite.com/yourpage.php">Affiliates</a></if> PHP: You get the picture.
Im using some other skin i uploaded, but thats a great help cheers. That calender bit isnt in navbar so it must be in header.