The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Adding [bburl] to Navbar PM Info
I'm having a problem with the code below. This is from my Navbar template, the area at the far right that displays User Info and PM Info.
Right now the link to the PM system is missing the directory of my forums, which is /forums/. I have been trying to add this via the $vboptions[bburl] but have had no luck. Can someone advise what I need to do to get this working? Thanks! PHP Code:
PHP Code:
The link to the PM's at the far right of the Navbar goes to http://www.domain.com/private.php. It needs to go to http://www.domain.com/forums/private.php. I was attempting to use the $vboptions[bburl], but had no luck. Any suggestions? |
#2
|
|||
|
|||
I had the exact same problem...i fixed it but i think there's a better way to do the job.
In your navbar template i've searched the actual links which starts here <!-- nav buttons bar --> I shall insert a piece of code from my navbar template The bold text is what i added to each link <!-- 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"><if condition="THIS_SCRIPT == 'adv_index'"><a href="$vboptions[bburl]?$session[sessionurl]"> Forums <else /> <a href="$vboptions[homeurl]?$session[sessionurl]"> Home </if></a></td> <if condition="$show['member']"> <td class="vbmenu_control"><a href="/forum/usercp.php?$session[sessionurl]">$vbphrase[user_cp]</a></td> </if> <if condition="$show['registerbutton']"> <td class="vbmenu_control"><a href="/forum/register.php?$session[sessionurl]">$vbphrase[register]</a></td> </if> <td class="vbmenu_control"><a .... I know it's not the most efficient way to fix it :ermm: but it helped me to deal with that problem....dunno if you could get any help out of this :ermm: greetzzz |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|