vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Add-On Releases - [AJAX] Live Search (https://vborg.vbsupport.ru/showthread.php?t=189970)

FiMeTi 09-07-2008 06:51 PM

:) that was also the place where I was going to put it in, but after 2 hours of experimenting I just surrender. Hope someone can help ^^

JVSP 09-07-2008 06:53 PM

I have mine to the left of the welcome box in the navbar. Here is the code I used.

Code:

<td class="alt1">
<form action="search.php?do=process" method="post">
                                        <div id="tb-searchdiv">
                                                <div id="tb-searchbox"><input type="text" id="search_input" name="query" tabindex="1001" maxlength="128" value="$vbphrase[search_forums]" onfocus="if(this.value=='$vbphrase[search_forums]')this.value='';" onblur="if(this.value=='$vbphrase[search_forums]')this.value='';" onkeyup="showHint(this.value)" /></div>
                                                <input type="hidden" name="do" value="process" />
                                                <input type="hidden" name="quicksearch" value="1" />
                                                <input type="hidden" name="childforums" value="1" />
                                                <input type="hidden" name="exactname" value="1" />
                                                <input type="hidden" name="s" value="$session[sessionhash]" />
                                                <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
                                        </div>
                                        </form>
</td>

Place it right after
Code:

<div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div>               
</if>
        </td>

in the navbar template.

Here is a pic: CLICK

FiMeTi 09-07-2008 07:13 PM

THATS PERFECT! :D
Thx br0 really do appreciate it.

chEErs

XxSparks 09-07-2008 08:31 PM

Thanks any who Fi :).
And fx that's PERFECT! ^_^ heh.

Thanks for that.

mad@Max 09-09-2008 07:02 PM

In version 1.2 i'm remove css file. Added highlight words in result, trim title of thread, if it large, and more compatible with different style.

mad@Max 09-09-2008 07:57 PM

Hot fix. Reuploaded.

JVSP 09-09-2008 08:54 PM

thanks..

Would be nice if it worked on all pages.

Also another question.....
How can I get the search window to look the same in both IE and FF.
https://vborg.vbsupport.ru/external/2008/09/43.jpg
Top pic is IE
Bottom is FF

mad@Max 09-09-2008 09:24 PM

Its worked on all pages...
Strange, im get one result from both browsers.

JVSP 09-09-2008 09:27 PM

Quote:

Originally Posted by mad@Max (Post 1618527)
Its worked on all pages...

It works on my .com/forum but not .com

mad@Max 09-09-2008 09:32 PM

Hm, in vbulletin_ajax_live_search.js find ajax_search.php and replace with http://www.your_site.com/forum/ajax_search.php.


All times are GMT. The time now is 11:08 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.01153 seconds
  • Memory Usage 1,739KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete