Search suggestion (LiveSearch)
By: fa23
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
| June 25 2009, 07:18 AM | |
|---|---|
| by cremac | |
| June 24 2009, 04:19 AM | |
| by my swagg |
so the same instructions for 2.3?
|
| June 23 2009, 08:16 PM | |
| by cremac |
Elad Nava: Well, its basically same with my mod and it can be easily modified. You can add <div> under this form too. Look. Its crappy, because it has no css and div is too big, but its just an example..
http://snap.cremac.net/livesearch_quick.bmp Bold is what i added to ALL Global HTML -> global_board_header template: (javascript was added too at the beginning of the template).. QUOTE <form action="{$this->ipsclass->base_url}act=Search&CODE=01" method="post" name="sForm"> <input type='hidden' name='forums' id='gbl-search-forums' value='all' /> <input type="text" size="20" name="keywords" id='ipb-tl-search-box' onkeyup="doDropDown()"/> <br /><div id="search-result"></div> <input class="button" type="image" style='border:0px' src="{$this->ipsclass->vars['img_url']}/login-button.gif" /> <if="($this->ipsclass->input['act'] == 'sf' OR $this->ipsclass->input['act'] == 'st') AND $this->ipsclass->input['f']"> <br /><input type='checkbox' id='gbl-search-checkbox' value='1' onclick='gbl_check_search_box()' checked='checked' /> {$this->ipsclass->lang['gbl_forum_search']} </if> </form> So if someone is interested, i can modify it for 2.3.x and this quick search form.. PS: Sorting by date, replies, popularity, views etc can be easily changed in "in-search.php" on line CODE $getName_sql = "SELECT title,tid FROM ibf_topics WHERE title LIKE '%".$searchq."%' ORDER BY start_date desc LIMIT 0,100"; in ORDER BY xxx condition..
|
| June 23 2009, 06:22 PM | |
| by Elad Nava |
Nice mod, I am writing a similar one but for the quick search:
http://forums.invisionize.com/index.php?s=...mp;p=1175394826 No idea when it will be ready, I am a bit busy nowadays. |
| June 23 2009, 05:31 PM | |
| by cremac |
QUOTE (my swagg @ Jun 23 2009, 01:00 PM) <{POST_SNAPBACK}> nope doesnt work with 2.3 Tested with IPB 2.3.5 and it is working like a charm. Screenshots as a proof. http://snap.cremac.net/livesearch235a.png http://snap.cremac.net/livesearch235b.png If you need some help, let me know. For example send me PM with your URL.. |
| June 23 2009, 12:00 PM | |
| by my swagg |
nope doesnt work with 2.3
|
| June 23 2009, 11:02 AM | |
| by dheyrman |
QUOTE (my swagg @ Jun 21 2009, 01:50 PM) <{POST_SNAPBACK}> mod isnt working for me. nothing happens when searching. Search suggestion (LiveSearch) Category: Global View Compatibility: Invision Power Board 2.1 so its not working on 2.3 |
| June 21 2009, 12:50 PM | |
| by my swagg |
mod isnt working for me.
nothing happens when searching. |
| June 7 2009, 08:03 PM | |
| by Tom Next |
Seems that invisionize cheats links.
corebay will be rewritten to ebay. |