PDA

View Full Version : how do i...


sugar
09-12-2004, 12:05 PM
i'm making a skin for a friend for his new site. he asked me to put all the links in the header instead of in the navbar. i can't get the links to work properly on the portal page, but it all works fine in the forum. it keeps looking for the php files in the root dir of the site instead of going into the forum dir. here goes the code i'm using:

<div align="center">
<table width="750" border="0" cellpadding="0" cellspacing="0" class="border">
<tr>
<td>
<table width="750" border="0" cellpadding="0" cellspacing="0">
<tr>

<td width="208" height="125" rowspan="2"><img src="$stylevar[imgdir_misc]/header_ls.gif" width="208" height="125" alt="" /></td>
<td width="120" height="125" rowspan="2" style="background-image: url($stylevar[imgdir_misc]/header_center.gif)"><img src="$stylevar[imgdir_misc]/header_center.gif" width="120" height="125" alt="" /></td>
<td width="422" height="94" colspan="7"><img src="$stylevar[imgdir_misc]/header_rs.gif" width="422" height="94" alt="" /></td>
</tr>
<tr>
<td width="49" height="31"><a href="$vboptions[forumhome].php?$session[sessionurl]"> <img src="$stylevar[imgdir_misc]/home.gif" width="49" height="31" border="0" alt="" /></a></td>

<td width="71" height="31"><a href="usercp.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/usercp.gif" width="71" height="31" border="0" alt="" /></a></td>
<if condition="$show['registerbutton']">
<td width="72" height="31"><a href="register.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/register.gif" width="72" height="31" border="0" alt="" /></a></td>
<else />
<td width="48" height="31" id="usercptools"><a href="#usercptools"><img src="$stylevar[imgdir_misc]/links.gif" width="48" height="31" border="0" alt="" /></a><script type="text/javascript"> vbmenu_register("usercptools" ,1); </script></td>
</if>
<td width="72" height="31"><a href="memberlist.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/members.gif" width="72" height="31" border="0" alt="" /></a></td>
<td width="66" height="31"><a href="calendar.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/header_calendar.gif" width="66" height="31" border="0" alt="" /></a></td>
<td width="54" height="31" id="navbar_search"><a href="search.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/search.gif" width="54" height="31" border="0" alt="" /></a><script type="text/javascript"> vbmenu_register("navbar_search" ,1); </script></td>
<td width="62" height="31"><a href="faq.php?$session[sessionurl]"><img src="$stylevar[imgdir_misc]/faq.gif" width="62" height="31" border="0" alt="" /></a></td>
</tr>
<td>
<img src="themes/AIP/misc/bottom_ls.gif" width="208" height="54" alt=""></td>
<td width="542" height="54" colspan="8">
<img src="themes/AIP/misc/spacer.gif" width="542" height="54" alt=""></td>
</tr>
</table>



any help would be greatly appreciated.

tia

Brian
09-12-2004, 12:27 PM
You need to add $vboptions[bburl]/ in front of each link so that they will be pointing to the forums.

Our Sponsors
 

sugar
09-12-2004, 01:27 PM
thanks brian :)