![]() |
[YUI] Live Search
1 Attachment(s)
Features:
Known Issues Double click in search field - still not fixed. Installation: Upload all files from folder upload to forum folder. Import product. Upgrade Uninstall the old version, delete files (if you has use it) and install new version. If you already have opened search field, do following. Search field look like this: HTML Code:
<form action="search.php?do=process" method="post"> HTML Code:
<div id="lsa_window"> HTML Code:
</div> For this in tag <input type="text" /> add id="lsa_input" As a result, you should get some of this code: HTML Code:
<form action="search.php?do=process" method="post"> Open the template lsa_script and edit the line var lsa = new AJAX_LiveSearch_Prepare("lsa", "lsa_input", "lsa_window"); where the arguments of the class: lsa - variable name initialize class js lsa_input - search field id lsa_window - pop-up window id Thus, changing the arguments of the class AJAX_LiveSearch_Prepare, you can not edit the search field. Live DEMO: http://mixplay.ru/ (user: test, pass: 123456) Live video: http://www.youtube.com/watch?v=t_16fk5VGYw PS Some function writed by ChangUonDyU If you like this mod - Click Install it:) |
Great Hack ,
thanks |
thanks good work.. I will do it soon.. ASAP
|
can you do the same as: http://www.thienduongnhac.com/forum/index.php where the results appear below navbar instead of a popup?
|
awesome hack .. does this add any queries or slow down the server in any way ..
ajax :eek: |
Let me know when this works with the standard search in navbar, I would love that.
At the moment, I get some kinda browser error when I try to install it into navbar vb search. It does work well though if I have a standalone live search below navbar. |
hopefully vb4 will take something like this on and improve upon it.
|
thanks ,
very nice , |
thanks :)
|
vietfancy, this is not hard, but i think that disappearing window is better:)
lazyindian, i have installed this hack on 2 and more forums and no one went to work slowly and do not get down. In any case, you can disable it work for certain groups in settings smirkley, i will try but not promise:) hornstar1337, i too:) |
hello
i think have problem with UTF-8 (arabic & persian) because after type word in box show no result |
Try comment string in plugin Live Search AJAX
PHP Code:
|
An error occurred while attempting to execute your query. The following information was returned.
error number: 1064 error desc: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '$query = iconv('UTF-8', $stylevar['charset'], $query)' at line 1 |
hello i run query :
Quote:
|
Yeah,
This is cool, but having 2 search fields is lame. Is there not a way to just replace the regular search field in the navbar with this? |
yes i think again update previous was better
|
Thanks for this mod.... it installs fine..
Just no results show up when a search is entered... keeps on with the loading but nothing appears... any ideas? |
relaxiha, open plugin Live Search AJAX and then find this string and comment it:
Code:
// $query = iconv('UTF-8', $stylevar['charset'], $query); |
hello
my charset is UTF-8 !!! unknow change this! plz say better information to me! Code:
// $query = iconv('????', $stylevar['charset'], $query); or no! |
// mean that string makes comment.
I not saying change utf-8. What collocation your db? |
Why doesn't the mod actually look like the one in the demo?
Do we need to customize the look ourselves? |
What look do you mean?
|
Quote:
But when I add "$lsaform", a very simple search form shows up... Shouldn't it come with some style, background image or something? :) |
Quote:
Thanks :) |
AcidX, this is css:) Hm, mb in next version i add this.
DjEddie, so, what your charset and collocation?:) |
i have problem again with LANg Persian and no result search//
i put Code:
// $query = iconv('UTF-8', $stylevar['charset'], $query); |
Version 2.0.1
Fixed work with non english language:) |
Hello
i have problem yet! in CP live chat : Code:
Search in your own forums Code:
���������1|1,2,5 |
I just forgot translate this setting. Reuploaded.
|
Can someone please show/guide how to put the search field on the navbar with this http://mixplay.ru/images/as4/global/..._searchbox.png? Thanks.
Also, how can we make it searching with UTF language? Also, how can we make it search throughout the entire board? Also, will this hack search or work for blog? |
About search field:
CSS: Code:
#tb-searchdiv{float:right;padding:8px 5px 0 0;text-align:center;line-height:13px;cursor:default}#tb-searchdiv a{color:#000;font-size:11px;text-decoration:none;cursor:pointer}#tb-searchbox{padding:4px 11px 11px 22px;width:119px;background:url(images/as4/global/toolbar_searchbox.png) no-repeat;text-align:left;height:14px}#tb-searchbox input{border:0;padding:0;width:119px;background:#fff;color:#000;font:12px/12px 'Lucida Grande',Verdana,sans-serif;height:14px;outline:none;cursor:text} HTML Code:
<div id="tb-searchdiv"><div id="lsa_window"> Search work throughout board. What do you mean about blog? |
Updated video work of mod. http://www.youtube.com/watch?v=4w6AankLJkY :)
|
Thanks Max for the guiding. However, I am trying to understand:
1/ where to put the HTML code? The CSS part, I assume, I need to put to the bottom of the CSS section. 2/ When I tried the Search from the Search drop down function, with few words that I recently posted, it did not come up. 3/ About blog, does this hack also work for searching in Blog? When I tried to do a blog search from Search drop down function, it's not working... or did I do something not right? |
Quote:
|
lol !!!!!! Sorry))))))))))))))))))))))))))))))))
Here that video http://www.youtube.com/watch?v=t_16fk5VGYw |
I watched video but have no clue on how to add the Search field on the navbar... any hints? Thanks and sorry for stupidity!
|
Do following. In template navbar find:
HTML Code:
<td class="alt2" nowrap="nowrap"> HTML Code:
<td class="alt1" align="center" nowrap="nowrap"> |
that did the job. however, I am finding difficulty to make it show this toolbar_searchbox.png. I did change the image path, uploaded the image, add CSS and nothing work.
Did I miss the HTML part? If so, where to I place those HTML codes? Thanks so much! |
In next version i myself add this as feature.
|
Thanks Max... so, right now, I just have to wait for your next version? Can you manual guide me to put it on?
Can you also make it search result for Blog too? or at least make it an option for admin to decide? |
All times are GMT. The time now is 05:25 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|