vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Please someone help! (Search) (https://vborg.vbsupport.ru/showthread.php?t=155811)

EvilKitty 08-21-2007 02:44 AM

Please someone help! (Search)
 
I've done everything i can think thats humanly possible to incorporate the 'quick search' and 'quick links' functionality to the respective buttons, but with no success.

My search button 'always' directly me to search.php - i'm a PHP n00b, but that doesn't compare to my lack of knowledge in the realm of javascript. Does anyone know what the problem could be?

I tried sharing the varieties of code i've tried, but it would be a touch excessive at this point to share it all.

I want quick link and quick search functionality on an image - can someone please help?

Dave Hawley 08-21-2007 07:38 AM

Just pinch the required code from the Navbar template

EvilKitty 08-21-2007 02:57 PM

See, thats the problem - I did and nothing happened. Its nothing to do on my end because the Javascript worked on every other style... so my natural assumption was that there was something in my code thats conflicting.

But after wading through it, i havent found anything.

Lynne 08-21-2007 03:07 PM

Post the code here and maybe we can see what is wrong - or post a link to your forum so we can look at the source code.

EvilKitty 08-21-2007 03:26 PM

Code:

<td id="navbar_search" class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search"); </script></if></td>
I lifted that code right from the default vbulletin style and then put and image in place of '$vbphrase[search].


All times are GMT. The time now is 01:26 AM.

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.01049 seconds
  • Memory Usage 1,709KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete