Code3Services
02-27-2005, 01:15 AM
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 but have had no luck.
Can someone advise what I need to do to get this working?
Thanks!
<td class="alt2" valign="top" nowrap="nowrap">
<div class="smallfont">
<!--<span style="float:$stylevar[right]">[<a href="login.php?$session[sessionurl]do=logout&u=$bbuserinfo[userid]" onclick="return log_out()">$vbphrase[log_out]</a>]</span>-->
<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
<if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl]">$vbphrase[private_messages_nav]</phrase></if>
</div>
</td>
The function I [B]believe I need to add the forums url to is:
<if condition="$show['pmstats']">
Maybe I should clarify a bit more:
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?
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 but have had no luck.
Can someone advise what I need to do to get this working?
Thanks!
<td class="alt2" valign="top" nowrap="nowrap">
<div class="smallfont">
<!--<span style="float:$stylevar[right]">[<a href="login.php?$session[sessionurl]do=logout&u=$bbuserinfo[userid]" onclick="return log_out()">$vbphrase[log_out]</a>]</span>-->
<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
<if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl]">$vbphrase[private_messages_nav]</phrase></if>
</div>
</td>
The function I [B]believe I need to add the forums url to is:
<if condition="$show['pmstats']">
Maybe I should clarify a bit more:
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?