![]() |
|
|
Mod Options |
Live Search 1.0 (AJAX) Details »»
|
|||||||||||||||||
About the hack
============== The hack adds a quick live search form to your forum's at any place you want it, results are to be shown exactly under the search field as you type (by ajax) Supported browsers ============== IE6, IE7, FF2, Opera 9 Demo ==================== http://www.montadaphp.net right under the logo ![]() How to Install ============== 1- Add the following code to the end of ur "headinclude" template:
2- Add the following code wherever you want the search field to appear, for me i added to the "header" template exactly under the logo:
3- Upload the contents of folder "Upload" to ur froum's home directory. and u r done If u like the hack please dont forget to click INSTALL ![]() Download Now Only licensed members can download files, Click Here for more information. Screenshots Show Your Support
No members have liked this post.
|
|||||||||||||||||
Similar Mod
|
||||
| Mod | Developer | Type | Replies | Last Post |
| [AJAX] Live Search | mad@Max | vBulletin 3.7 Add-ons | 267 | 06 Jun 2012 19:16 |
|
#46
|
||||
|
||||
|
This is awesome... Thanks.
*Installed* No members have liked this post.
|
|
#47
|
|||
|
|||
|
Someone asked earlier about queries... does this not query the server on every key press?
It's a very good idea but not too sure it is friendly for a large, busy site? Cheers, ~Regs. No members have liked this post.
|
|
#48
|
||||
|
||||
|
There's only 1 (ONE) query: http://www.vbulletin.org/forum/showp...5&postcount=16
No members have liked this post.
|
|
#49
|
|||
|
|||
|
Yes, I read that. But my question remains - is this one query on every keystroke?
No members have liked this post.
|
|
#50
|
||||
|
||||
|
Difference between IE and FF
In FireFox the mod looks great but it's a bit different in IE. The box comes up too small in IE.
EDIT: I forgot to mention that the below pics were taken after adding the code for the div statement from another reply; overflow:auto; height:200px but the layout is the same with or without the change. Examples below..The first image is FF the second is IE..
__________________
The Ultimate Chiller ¨˜”°º•BREW•º°”˜¨ www.politicalforums.net www.oldhouseforums.com No members have liked this post.
Last edited by Brew : 09 Aug 2007 at 15:49. |
|
#51
|
||||
|
||||
|
Seeing as how the script grabs info from the server in order to insert the links I would say it's safe to assume that each keystroke causes one query.
__________________
The Ultimate Chiller ¨˜”°º•BREW•º°”˜¨ www.politicalforums.net www.oldhouseforums.com No members have liked this post.
|
|
#52
|
|||
|
|||
|
Originally Posted by valdet
it seems u have a problem in the file "ajax_search.php"
Please try to upload the file again... and tell me if the problem presists thanx ![]()
Originally Posted by Regs
Yes ti do one query every keypress
again i tested on medium forum (mine) and it didnt show any problems till now i didnt test on large forums if it appear to be a problem on large forums we could add a time limit then but i dont like to do so now cause it no longer be LIVE SEARCH
Originally Posted by Regs
yes as mentioned on every key stroke
Originally Posted by Brew
what versions do u use of browsers? i tested it on the browsers mentioned in the first post and it is working good
![]() No members have liked this post.
|
|
#53
|
|||
|
|||
|
Originally Posted by StrifeX
table prefix already added
also template edit updated.. please install the updated ones No members have liked this post.
|
|
#54
|
|||
|
|||
|
Originally Posted by Brew
i think that is because u combine the mod to the DHTML search menu
infact i didnt test it in the DHTML menu but only in the header portion of the page, outside the DHTML menu No members have liked this post.
|
|
#55
|
||||
|
||||
|
Originally Posted by coderphp
I really don't know much about DHTML and AJAX.
I wonder if there is something to add to either the DHTML or this mod to make it work correctly in IE within the stock search dropdown. BTW, My Internet Explorer version is 7.0.5730.11
__________________
The Ultimate Chiller ¨˜”°º•BREW•º°”˜¨ www.politicalforums.net www.oldhouseforums.com No members have liked this post.
|
|
#56
|
|||
|
|||
|
Very nice mod. Installed.
In my search, there is a radio button to select Post or Thread, can you modify the code so it can search post as supposed to search Thread by default now. You can look at the site on my signature to see my search box No members have liked this post.
|
|
#57
|
|||
|
|||
|
not sure if this is a bug
On FF, the search result displayed on the ajax box is left aligned while in Opera 9.22, it's right aligned Also, i have a wiki on my site at www.quantnet.org/wiki but the search box is no longer working there. The default select radio button is disappear on the wiki site. Thread is selected by default on the forum site but as soon as i go to my wiki site, the select disappear so i can't search anymore No members have liked this post.
|
|
#58
|
||||
|
||||
|
Here is the code of the search box that i have in my navbar template
No members have liked this post.
|
||||
|
#59
|
|||
|
|||
|
Found another error:
I have this error when i search while I'm on the home page (i have vbAdvanced as homepage) http://www.mysite.com/ 68.198.xxx.xxx /ajax_search.php?query=ds www.mysite.com Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6 404 Please contact admin@xxx.org if you can not find the content you are looking for. No members have liked this post.
|
|
#60
|
|||
|
|||
|
Originally Posted by Brew
again the problem is the width of DHTML drop down menu is fixed
so u should better install this mod directly in the header portion of the page or any place outside the drop down menu No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
| Mod Options | |
|
|
| New To Site? | Need Help? |
All times are GMT. The time now is 14:24.







.
