View Full Version : Wrong Directory or Path?
smoknz28
08-01-2009, 12:20 PM
I recently installed vba 3.2.1 and so far have run into one issue.
The issue comes when the user clicks on the header graphic of my forums. When they do, they get an error due to the fact the link is incorrect.
www.f-bodyhideout.com
Please go there and click on the graphic header and you'll see that it's taking you to www.f-bodyhideout.com/forum.php
I don't know where I'm to go in and change this setting at. My forums are found at: www.f-bodyhideout.com/forums
Thank you.
PhilMcKrackon
08-01-2009, 03:04 PM
Add forum.php to your header replacements in the CMPS section.
Admincp >> vBa CMPS >> Default Settings >> vBadvanced Global Options >> Header Replacements
smoknz28
08-01-2009, 06:15 PM
Thank you Phil....however, I added "forum.php" to the Header Replacements, but still getting an error.
PhilMcKrackon
08-01-2009, 06:18 PM
Thank you Phil....however, I added "forum.php" to the Header Replacements, but still getting an error.
Then you need to edit the actual header template with the full path to the link. :(
smoknz28
08-01-2009, 06:30 PM
Mmm....good one. Guess I should make it known that I'm a rookie at this schtuff....
I did figure out how to get into my header template, but lost on where I am to put the path to where I am suppose to.
Don't beat me up too bad....remember, I'm still a rookie with this.... ;)
Here's what written in the header template at present:
<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="$stylevar[right]" id="header_right_cell">
<if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else /> </if>
</td>
</tr>
</table>
<!-- /logo -->
<!-- content table -->
$spacer_open
$_phpinclude_output
$ad_location[ad_header_end]
PhilMcKrackon
08-01-2009, 06:34 PM
No problem ... Change the Logo code...
<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="$stylevar[left]"><a href="PUT YOUR PATH TOU YOUR FORUMS HERE[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="$stylevar[right]" id="header_right_cell">
<if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else /> </if>
</td>
</tr>
</table>
<!-- /logo -->
smoknz28
08-01-2009, 07:04 PM
Ah, well I can see we are moving in the right direction.
I had just added forums to the part you noted above....but I can see it's bringing in [sessionurl_q] code to the url when the user clicks on the logo.
PhilMcKrackon
08-01-2009, 07:18 PM
Try
/forums/forum.php$session[sessionurl_q]
$vboptions[bburl]/forum.php$session[sessionurl_q]
I bet one of those will work...
smoknz28
08-01-2009, 09:24 PM
Phil, the first one worked. ;)
Thank you so much for your assistance!
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.