Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

Reply
 
Thread Tools
[AJAX] Live Search Details »»
[AJAX] Live Search
Version: 1.6, by mad@Max mad@Max is offline
Developer Last Online: Jun 2013 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.7.x Rating:
Released: 09-02-2008 Last Update: 12-23-2008 Installs: 100
Uses Plugins Template Edits Auto-Templates
Re-useable Code Additional Files  
No support by the author.

This is mod rewrite of that: https://vborg.vbsupport.ru/showthread.php?t=154694

Version 1.6

Continue (v2.0) of this mod is here: https://vborg.vbsupport.ru/showthread.php?t=204517

I'm added few functions:
  • search only, if typed >= 3 symbols;
  • header to window with button close;
  • message about no result;
  • limit number of threads;
  • highlight words in result
  • trim title of thread, if it large (optional)
  • edit position of pop-up window
  • work with vBadvanced
  • limit the number of displayed results
  • group permission
  • search by your own forums
  • sort results of search

Installation:
Import product

Upgrade
Uninstall the old version, delete files (if you has use it) and install new version.

Live DEMO: http://mixplay.ru/
Live video: http://ru.youtube.com/watch?v=qDWQ7vz5vts

PS Some function writed by ChangUonDyU

Spanish translation v1.6

If you like this mod - Click Install it

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 09-05-2008, 04:16 AM
saviola8x's Avatar
saviola8x saviola8x is offline
 
Join Date: May 2006
Location: Paris
Posts: 195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks so much.
Reply With Quote
  #33  
Old 09-05-2008, 08:32 AM
JVSP JVSP is offline
 
Join Date: Jul 2007
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #34  
Old 09-05-2008, 09:34 AM
mad@Max's Avatar
mad@Max mad@Max is offline
 
Join Date: Jul 2007
Location: Russia
Posts: 536
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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;
Reply With Quote
  #35  
Old 09-05-2008, 11:22 AM
maidos maidos is offline
 
Join Date: Jul 2006
Posts: 925
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #36  
Old 09-05-2008, 04:39 PM
Magnumutz's Avatar
Magnumutz Magnumutz is offline
 
Join Date: Feb 2006
Location: Romania
Posts: 731
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The demo video is enough.
Good job, i remember having a similar mod in the 3.5/3.6 days... but it died.
Reply With Quote
  #37  
Old 09-05-2008, 07:36 PM
JVSP JVSP is offline
 
Join Date: Jul 2007
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 View Post
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..
Reply With Quote
  #38  
Old 09-06-2008, 08:57 AM
Skyrider Skyrider is offline
 
Join Date: Feb 2006
Location: Netherlands
Posts: 1,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm confused how to install this mod O_o.
Reply With Quote
  #39  
Old 09-06-2008, 09:34 AM
mad@Max's Avatar
mad@Max mad@Max is offline
 
Join Date: Jul 2007
Location: Russia
Posts: 536
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

FF|Skyrider, read first post.
fxlr8, in ajax_search.php:
before LIMIT add ORDER BY dateline DESC or ORDER BY dateline ASC.
Reply With Quote
  #40  
Old 09-06-2008, 10:08 AM
maidos maidos is offline
 
Join Date: Jul 2006
Posts: 925
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

max what about myreplies?
Reply With Quote
  #41  
Old 09-06-2008, 10:19 AM
Skyrider Skyrider is offline
 
Join Date: Feb 2006
Location: Netherlands
Posts: 1,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mad@Max View Post
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.
Reply With Quote
Reply

Thread Tools

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 04:37 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.12677 seconds
  • Memory Usage 2,304KB
  • Queries Executed 25 (?)
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)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete