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
  #42  
Old 09-06-2008, 10:42 AM
-=Leb=-'s Avatar
-=Leb=- -=Leb=- is offline
 
Join Date: Jan 2008
Location: Sweden
Posts: 353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi mad@max, i'm wondering how can i put the search box from the left side of the forum to the right side?
That will be awesome if you could help me with that.
Also is there anyway to change background color for the search results

Anyway, thank you installed and nominated
Reply With Quote
  #43  
Old 09-06-2008, 11:25 AM
mad@Max's Avatar
mad@Max mad@Max is offline
 
Join Date: Jul 2007
Location: Russia
Posts: 536
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

maidos, i'm not using this mod, may be in the future...
Leb, in the next version i did interface of setting style. Now you can change style in the file ajax_search.css.
Reply With Quote
  #44  
Old 09-06-2008, 03:27 PM
maidos maidos is offline
 
Join Date: Jul 2006
Posts: 925
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

as for the bugs i posted? and feature to move the searchresult?
the profile tabs disappears, and when im not on index.php and click the close the result i will be redirected to the index page
Reply With Quote
  #45  
Old 09-06-2008, 03:42 PM
JVSP JVSP is offline
 
Join Date: Jul 2007
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mad@Max View Post
fxlr8, in ajax_search.php:
before LIMIT add ORDER BY dateline DESC or ORDER BY dateline ASC.
Works a treat, Thanks!!!
Reply With Quote
  #46  
Old 09-06-2008, 04:02 PM
JVSP JVSP is offline
 
Join Date: Jul 2007
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Leb View Post
Also is there anyway to change background color for the search results
edit live_search.css
Reply With Quote
  #47  
Old 09-07-2008, 12:48 PM
FiMeTi FiMeTi is offline
 
Join Date: May 2008
Location: Germany
Posts: 157
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Man this is great!! Works fine. Installed and nominated.

Could you please integrate this into vbadvanced?
Possible?
Reply With Quote
  #48  
Old 09-07-2008, 02:03 PM
WildSoftCat WildSoftCat is offline
 
Join Date: Mar 2007
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It works fine in IE 8 and Google chrome, but in Opera and Firefox doesn't . Shows "nothing found". What can It mean ?
Reply With Quote
  #49  
Old 09-07-2008, 03:26 PM
XxSparks XxSparks is offline
 
Join Date: Sep 2008
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm sorry to be such a newbie at this but would anyone possibly mind helping me out?

I'm not quite sure where to find this:

Quote:
If you already have this form, find <input type="text" ... /> and after type="text" add id="search_input" name="query" onkeyup="showHint(this.value)"
I've also uploaded the xml as a import plugin. And uploaded all my files to my room directory public_html/forum.
I also can't see the option for it in the vBulletin Options menu. What might be the problem?

Thanks in advanced.
Reply With Quote
  #50  
Old 09-07-2008, 04:33 PM
FiMeTi FiMeTi is offline
 
Join Date: May 2008
Location: Germany
Posts: 157
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@ XxSparks: You dont need that info u?ve posted anyway.

Just put this 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>
on the place, that you want the search-function to be shown.
Edit the template where you want it to be and paste the code.
Reply With Quote
  #51  
Old 09-07-2008, 06:17 PM
XxSparks XxSparks is offline
 
Join Date: Sep 2008
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you so much FiMe ^_^ It worked like a charm.
But I hope it's not too much trouble for me asking.

I've actually played around with it, i've gotten the search bellow the other Search buttom.
Above the Sub forums, above Threads, but I'm wondering if there's any way to get it in the header like in this place here:



I would assume its in the forum header, i looked there, but its all above or bellow the headers.
So it looks rather odd. o.o
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:08 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.07985 seconds
  • Memory Usage 2,305KB
  • 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