Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
  #1  
Old 10-17-2005, 12:24 PM
wolfyman's Avatar
wolfyman wolfyman is offline
 
Join Date: Apr 2005
Posts: 719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default please help with my dropdowns in custom template

they won't work except from the main page (search, quicklinks, etc)

I really need some help on this one, I have no idea what I did!
Reply With Quote
  #2  
Old 12-15-2005, 01:44 PM
brvheart's Avatar
brvheart brvheart is offline
 
Join Date: Jul 2005
Posts: 477
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any help on this would be great, I also have the same issue
Reply With Quote
  #3  
Old 12-15-2005, 01:57 PM
Cyricx Cyricx is offline
 
Join Date: Aug 2002
Location: Missouri
Posts: 1,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

More info would help us help

Where did you put the code, (hooks, templates, which ones), and what code did you put in?
Reply With Quote
  #4  
Old 12-15-2005, 07:06 PM
wolfyman's Avatar
wolfyman wolfyman is offline
 
Join Date: Apr 2005
Posts: 719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

that only took 2 months, I'm impressed!

My problem was simple - I left the class out of one of the div tags in the navbar. might want to reload the original navbar and cross check it carefully, ravenes
Reply With Quote
  #5  
Old 12-16-2005, 03:15 PM
brvheart's Avatar
brvheart brvheart is offline
 
Join Date: Jul 2005
Posts: 477
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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&amp;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&amp;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.
Reply With Quote
  #6  
Old 12-16-2005, 03:29 PM
Cyricx Cyricx is offline
 
Join Date: Aug 2002
Location: Missouri
Posts: 1,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

link to where this template is running?

And at a glance...

you have two classes defined..

Code:
         <td width="50" height="16" colspan="4" bgcolor="#000000" class="bg_link" class="vbmenu_control" nowrap="nowrap">
should be like

Code:
         <td width="50" height="16" colspan="4" bgcolor="#000000"  class="vbmenu_control" nowrap="nowrap">
Reply With Quote
  #7  
Old 12-16-2005, 03:51 PM
brvheart's Avatar
brvheart brvheart is offline
 
Join Date: Jul 2005
Posts: 477
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

www.ideninfo.com


indevor full_2
Reply With Quote
  #8  
Old 12-18-2005, 05:13 PM
brvheart's Avatar
brvheart brvheart is offline
 
Join Date: Jul 2005
Posts: 477
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cyricx
link to where this template is running?

And at a glance...

you have two classes defined..

Code:
         <td width="50" height="16" colspan="4" bgcolor="#000000" class="bg_link" class="vbmenu_control" nowrap="nowrap">
should be like

Code:
         <td width="50" height="16" colspan="4" bgcolor="#000000"  class="vbmenu_control" nowrap="nowrap">
I changed that and it did not fix anything for me...I did not know that define 2 classes had anything to do with the drop downs....does it or where you just pointing that out?
Reply With Quote
  #9  
Old 12-20-2005, 12:23 PM
brvheart's Avatar
brvheart brvheart is offline
 
Join Date: Jul 2005
Posts: 477
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

here is the .xml file, I have found a few things wrong, but still do not know why the Search and Quicklinks only works on the index.php page :-/ I would be greatful for any help anyone can give me on this.
Attached Files
File Type: xml indevor_full.xml (73.4 KB, 3 views)
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:02 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05552 seconds
  • Memory Usage 2,477KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_code
  • (1)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (1)postbit_attachment
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete