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