brvheart |
12-16-2005 03:15 PM |
Thanks wolfyman, sorry to thread crap here...if it is ok, I would like to place this here. Here is the issue, it is with a built temp that someone made and posted on this site:
This is the thread that has the template in it if you wish to view it
Now they put all pop ups etc in the Header instead of the navbar which is perfectly ok, I know how to switch that, but I still can not figure out how to make it work....the Quicklinks and Serach buttons only work on the index.php page, in no other sections will it work, I have racked my brain (not hard to do hehe I am not a coding genius) and can not get it to work. Even if I take all the code from a full working template and replace the code...still does not work.
Header Template
PHP Code:
<div align="center">
<!--Header-->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="#ffffff" width="1"><img src="$stylevar[imgdir_misc]images/spacer.gif" width="1" height="100%" alt="Indevor"></td>
<td bgcolor="#000000" width="1"><img src="$stylevar[imgdir_misc]/images/spacer.gif" width="1" height="100%" alt="Indevor"></td>
<td bgcolor="#ffffff" width="100%">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><a href="$vboptions[forumhome].php$session[sessionurl_q]">
<img src="$stylevar[imgdir_misc]/images/indevor_03.png" border="0" width="301" height="122" alt="$vboptions[bbtitle]"></a></td>
<td width="100%" class="bg_header">
<img src="$stylevar[imgdir_misc]/images/bg_header.png" width="2" height="122" alt="Indevor"></td>
<td><img src="$stylevar[imgdir_misc]/images/indevor_05.png" width="232" height="122" alt="Indevor"></td>
<td><img src="$stylevar[imgdir_misc]/images/indevor_06.png" width="205" height="122" alt="Indevor"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr>
<td><img src="$stylevar[imgdir_misc]/images/indevor_08.png" width="13" height="16" alt="Indevor"></td>
<td width="100%" class="bg_menu">
<!-- Main Menu -->
<!-- nav buttons bar -->
<table cellpadding="0" cellspacing="0" border="0" align="right"><tr>
<if condition="$show['member']">
<td>
<!-- Button -->
<table border="0" cellpadding="0" cellspacing="0"><tr>
<td><img src="$stylevar[imgdir_misc]/images/butt_lside.png" width="4" height="16" alt="Indevor"></td>
<td width="50" height="16" colspan="4" bgcolor="#000000" class="bg_link" class="vbmenu_control" nowrap="nowrap">
<a href="usercp.php$session[sessionurl_q]">
<span class="button_txt">$vbphrase[user_cp]</span></a></td>
<td><img src="$stylevar[imgdir_misc]/images/butt_rside.png" width="4" height="16" alt="Indevor"></td>
</tr></table>
<!-- End Button -->
</td></if>
<if condition="$show['registerbutton']">
<td>
<!-- Button -->
<table border="0" cellpadding="0" cellspacing="0"><tr>
<td><img src="$stylevar[imgdir_misc]/images/butt_lside.png" width="4" height="16" alt="Indevor"></td>
<td width="50" height="16" colspan="4" bgcolor="#000000" class="bg_link" class="vbmenu_control" nowrap="nowrap">
<a href="register.php$session[sessionurl_q]" rel="nofollow">
<span class="button_txt">$vbphrase[register]</span></a></td>
<td><img src="$stylevar[imgdir_misc]/images/butt_rside.png" width="4" height="16" alt="Indevor"></td>
</tr></table>
<!-- End Button -->
</td></if><td>
<!-- Button -->
<table border="0" cellpadding="0" cellspacing="0"><tr>
<td><img src="$stylevar[imgdir_misc]/images/butt_lside.png" width="4" height="16" alt="Indevor"></td>
<td width="35" height="16" colspan="4" bgcolor="#000000" class="bg_link" class="vbmenu_control" nowrap="nowrap">
<a href="faq.php$session[sessionurl_q]" accesskey="5"><span class="button_txt">$vbphrase[faq]</span></a></td>
<td><img src="$stylevar[imgdir_misc]/images/butt_rside.png" width="4" height="16" alt="Indevor"></td>
</tr></table>
<!-- End Button -->
</td>
<td>
<!-- Button -->
<table border="0" cellpadding="0" cellspacing="0"><tr>
<td><img src="$stylevar[imgdir_misc]/images/butt_lside.png" width="4" height="16" alt="Indevor"></td>
<td width="82" height="16" colspan="4" bgcolor="#000000" class="bg_link" class="vbmenu_control" nowrap="nowrap">
<a href="memberlist.php$session[sessionurl_q]">
<span class="button_txt">$vbphrase[members_list]</span></a></td>
<td><img src="$stylevar[imgdir_misc]/images/butt_rside.png" width="4" height="16" alt="Indevor"></td>
</tr></table>
<!-- End Button --></td>
<td>
<!-- Button -->
<table border="0" cellpadding="0" cellspacing="0"><tr>
<td><img src="$stylevar[imgdir_misc]/images/butt_lside.png" width="4" height="16" alt="Indevor"></td>
<td width="60" height="16" colspan="4" bgcolor="#000000" class="bg_link" class="vbmenu_control" nowrap="nowrap">
<a href="vbookie.php$session[sessionurl_q]">
<span class="button_txt">vBookie</span></a></td>
<td><img src="$stylevar[imgdir_misc]/images/butt_rside.png" width="4" height="16" alt="Indevor"></td>
</tr></table>
<!-- End Button --></td>
<td>
<!-- Button -->
<table border="0" cellpadding="0" cellspacing="0"><tr>
<td><img src="$stylevar[imgdir_misc]/images/butt_lside.png" width="4" height="16" alt="Indevor"></td>
<td width="60" height="16" colspan="4" bgcolor="#000000" class="bg_link" class="vbmenu_control" nowrap="nowrap">
<a href="calendar.php$session[sessionurl_q]">
<span class="button_txt">$vbphrase[calendar]</span></a></td>
<td><img src="$stylevar[imgdir_misc]/images/butt_rside.png" width="4" height="16" alt="Indevor"></td>
</tr></table>
<!-- End Button --></td>
<if condition="$show['popups']">
<if condition="$show['searchbuttons']">
<if condition="$show['member']">
<td><!-- Button -->
<table border="0" cellpadding="0" cellspacing="0"><tr>
<td><img src="$stylevar[imgdir_misc]/images/butt_lside.png" width="4" height="16" alt="Indevor"></td>
<td width="70" height="16" colspan="4" bgcolor="#000000" class="bg_link" class="vbmenu_control" nowrap="nowrap">
<a href="search.php?$session[sessionurl]do=getnew" accesskey="2">
<span class="button_txt">$vbphrase[new_posts_nav]</span></a></td>
<td><img src="$stylevar[imgdir_misc]/images/butt_rside.png" width="4" height="16" alt="Indevor"></td>
</tr></table>
<!-- End Button -->
</td>
<else />
<td><!-- Button -->
<table border="0" cellpadding="0" cellspacing="0"><tr>
<td><img src="$stylevar[imgdir_misc]/images/butt_lside.png" width="4" height="16" alt="Indevor"></td>
<td width="85" height="16" colspan="4" bgcolor="#000000" class="bg_link" class="vbmenu_control" nowrap="nowrap">
<a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">
<span class="button_txt">$vbphrase[todays_posts]</span></a></td>
<td><img src="$stylevar[imgdir_misc]/images/butt_rside.png" width="4" height="16" alt="Indevor"></td>
</tr></table>
<!-- End Button --></td>
</if>
<td><!-- Button -->
<table border="0" cellpadding="0" cellspacing="0"><tr>
<td><img src="$stylevar[imgdir_misc]/images/butt_lside.png" width="4" height="16" alt="Indevor"></td>
<td width="65" height="16" colspan="4" bgcolor="#000000" id="navbar_search" class="bg_link" class="vbmenu_control" nowrap="nowrap">
<a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">
<span class="button_txt">$vbphrase[search]</span></a>
<script type="text/javascript"> vbmenu_register("navbar_search"); </script></td>
<td><img src="$stylevar[imgdir_misc]/images/butt_rside.png" width="4" height="16" alt="Indevor"></td>
</tr></table>
<!-- End Button -->
</td></if>
<if condition="$bbuserinfo['userid']">
<td><!-- Button -->
<table border="0" cellpadding="0" cellspacing="0"><tr>
<td><img src="$stylevar[imgdir_misc]/images/butt_lside.png" width="4" height="16" alt="Indevor"></td>
<td width="85" height="16" colspan="4" bgcolor="#000000" id="usercptools" class="bg_link" class="vbmenu_control" nowrap="nowrap">
<a href="$show[nojs_link]#usercptools">
<span class="button_txt">$vbphrase[quick_links]</span></a>
<script type="text/javascript"> vbmenu_register("usercptools"); </script></td>
<td><img src="$stylevar[imgdir_misc]/images/butt_rside.png" width="4" height="16" alt="Indevor"></td>
</tr></table>
<!-- End Button --></td>
</if>
<else />
<if condition="$show['searchbuttons']">
<td><!-- Button -->
<table border="0" cellpadding="0" cellspacing="0"><tr>
<td><img src="$stylevar[imgdir_misc]/images/butt_lside.png" width="4" height="16" alt="Indevor"></td>
<td width="50" height="16" colspan="4" bgcolor="#000000" class="bg_link" class="vbmenu_control" nowrap="nowrap">
<a href="search.php$session[sessionurl_q]" accesskey="4">
<span class="button_txt">$vbphrase[search]</span></a></td>
<td><img src="$stylevar[imgdir_misc]/images/butt_rside.png" width="4" height="16" alt="Indevor"></td>
</tr></table>
<!-- End Button -->
</td>
<if condition="$show['member']">
<td><!-- Button -->
<table border="0" cellpadding="0" cellspacing="0"><tr>
<td><img src="$stylevar[imgdir_misc]/images/butt_lside.png" width="4" height="16" alt="Indevor"></td>
<td width="50" height="16" colspan="4" bgcolor="#000000" class="bg_link" class="vbmenu_control" nowrap="nowrap">
<a href="search.php?$session[sessionurl]do=getnew" accesskey="2">
<span class="button_txt">$vbphrase[new_posts_nav]</span></a></td>
<td><img src="$stylevar[imgdir_misc]/images/butt_rside.png" width="4" height="16" alt="Indevor"></td>
</tr></table>
<!-- End Button -->
</td>
<else />
<td><!-- Button -->
<table border="0" cellpadding="0" cellspacing="0"><tr>
<td><img src="$stylevar[imgdir_misc]/images/butt_lside.png" width="4" height="16" alt="Indevor"></td>
<td width="50" height="16" colspan="4" bgcolor="#000000" class="bg_link" class="vbmenu_control" nowrap="nowrap">
<a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">
<span class="button_txt">$vbphrase[todays_posts]</span></a></td>
<td><img src="$stylevar[imgdir_misc]/images/butt_rside.png" width="4" height="16" alt="Indevor"></td>
</tr></table>
<!-- End Button -->
</td></if></if>
<td><!-- Button -->
<table border="0" cellpadding="0" cellspacing="0"><tr>
<td><img src="$stylevar[imgdir_misc]/images/butt_lside.png" width="4" height="16" alt="Indevor"></td>
<td width="50" height="16" colspan="4" bgcolor="#000000" class="bg_link" class="vbmenu_control" nowrap="nowrap">
<a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">
<span class="button_txt">$vbphrase[mark_forums_read]</span></a></td>
<td><img src="$stylevar[imgdir_misc]/images/butt_rside.png" width="4" height="16" alt="Indevor"></td>
</tr></table>
<!-- End Button -->
</td>
<if condition="$bbuserinfo['userid']">
<td><!-- Button -->
<table border="0" cellpadding="0" cellspacing="0"><tr>
<td><img src="$stylevar[imgdir_misc]/images/butt_lside.png" width="4" height="16" alt="Indevor"></td>
<td width="50" height="16" colspan="4" bgcolor="#000000" class="bg_link" class="vbmenu_control" nowrap="nowrap">
<a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&focus=1'
,'buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;"><span class="button_txt">$vbphrase[open_buddy_list]</span></a></td>
<td><img src="$stylevar[imgdir_misc]/images/butt_rside.png" width="4" height="16" alt="Indevor"></td>
</tr></table>
<!-- End Button -->
</td></if></if>
<if condition="$bbuserinfo['userid']">
<td><!-- Button -->
<table border="0" cellpadding="0" cellspacing="0"><tr>
<td><img src="$stylevar[imgdir_misc]/images/butt_lside.png" width="4" height="16" alt="Indevor"></td>
<td width="50" height="16" colspan="4" bgcolor="#000000" class="bg_link" class="vbmenu_control" nowrap="nowrap">
<a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out()"><span class="button_txt">$vbphrase[log_out]</span></a></td>
<td><img src="$stylevar[imgdir_misc]/images/butt_rside.png" width="4" height="16" alt="Indevor"></td>
</tr></table>
<!-- End Button -->
</td></if>
</tr></table>
<!-- / nav buttons bar -->
<!-- End Main Menu-->
</td>
<td><img src="$stylevar[imgdir_misc]/images/indevor_14.png" width="18" height="16" alt="Indevor"></td>
</tr></table>
</td>
</tr>
</table>
</td>
<td bgcolor="#000000" width="1"><img src="$stylevar[imgdir_misc]/images/spacer.gif" width="1" height="100%" alt="Indevor"></td>
<td bgcolor="#ffffff" width="1"><img src="$stylevar[imgdir_misc]/images/spacer.gif" width="1" height="100%" alt="Indevor"></td>
</tr>
</table>
<!--End Header-->
<!--Body-->
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_height">
<tr>
<td bgcolor="#ffffff" width="1"><img src="$stylevar[imgdir_misc]/images/spacer.gif" width="1" height="100%" alt="Indevor"></td>
<td bgcolor="#000000" width="1"><img src="$stylevar[imgdir_misc]/images/spacer.gif" width="1" height="100%" alt="Indevor"></td>
<td bgcolor="#ffffff" width="100%" valign="top">
<!-- content table -->
$spacer_open
$_phpinclude_output
that is the header for the template where all Buttons are. Please let me know if you need to see other portions of hte template. It is a very nice Template looks wise, just a pain when we have to chosse a different one to get the quicklinks etc to work. I can also post a link to the site if you want to see what it does. Any help on this would be very helpful and much appreciated.
|