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)

saviola8x 09-05-2008 04:16 AM

Thanks so much.

JVSP 09-05-2008 08:32 AM

How do you get this to work with a vbadvanced page at .com and the forum which is at .com/forum? I placed the search box in my navbar left of the welcome message... it works fine on the forum but not on the .com....the search results do not pop up.

mad@Max 09-05-2008 09:34 AM

Because i use one directory were placed forum and vbadvanced (/forum.php, /index.php).
In the next version with ajax - TODO:
  • search members (by request rovokop);
  • search in each forum, like "Search this forum";
  • more capability and functionality;

maidos 09-05-2008 11:22 AM

theres a bug when i add the code id="search_input" name="query" onkeyup="showHint(this.value)"

the profile tabs is gone and when i remove it its there again

Can you make the live search, search for files for DownloadsII a vb mods

Magnumutz 09-05-2008 04:39 PM

The demo video is enough.
Good job, i remember having a similar mod in the 3.5/3.6 days... but it died.

JVSP 09-05-2008 07:36 PM

Thanks,

How can you make the search results show up newest to oldest?

-and-

I also noticed when the product is enabled the rss feed detector in IE does not work, when I disable this product the feed detector works.

-----------------------------------------

Quote:

Originally Posted by mad@Max (Post 1614989)
Because i use one directory were placed forum and vbadvanced (/forum.php, /index.php).
In the next version with ajax - TODO:
  • search members (by request rovokop);
  • search in each forum, like "Search this forum";
  • more capability and functionality;

if this search could work on all pages that would be great..

Skyrider 09-06-2008 08:57 AM

I'm confused how to install this mod O_o.

mad@Max 09-06-2008 09:34 AM

FF|Skyrider, read first post.
fxlr8, in ajax_search.php:
before LIMIT add ORDER BY dateline DESC or ORDER BY dateline ASC.

maidos 09-06-2008 10:08 AM

max what about myreplies?

Skyrider 09-06-2008 10:19 AM

Quote:

Originally Posted by mad@Max (Post 1615731)
FF|Skyrider, read first post.
fxlr8, in ajax_search.php:
before LIMIT add ORDER BY dateline DESC or ORDER BY dateline ASC.

I have read it, and I am still confused.

Quote:

Installation:
Upload all files from folder "upload" in root directory of your forum.
Import product
If you dont have opened search field, add this code where you prefer:
HTML Code:
Code:

                                        <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>

If you already have this form, find <input type="text" ... /> and after type="text" add id="search_input" name="query" onkeyup="showHint(this.value)"

The place of the window and his style you can change in the file live_search.css
I'm sorry, but I don't understand this. Would be great if you add the details what files / templates to edit in order for the AJAX search function to work.

EDIT:
I got it to work thanks to someone's post in this thread. You might want to include that you have to edit one of the templates and add that code in it to make it to work.


All times are GMT. The time now is 07:56 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.01352 seconds
  • Memory Usage 1,744KB
  • 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
  • (3)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