The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
BoardTracker Search Mod v2 - a full search engine for your board! Details »» | |||||||||||||||||||||||||||
BoardTracker Search Mod v2 - a full search engine for your board!
Developer Last Online: Mar 2012
BoardTracker Search Mod - Version 2
This search hack replaces the built in vb search with boardtracker search and results are fully integrated with your board. Search results can be threads from your board or all boards or a select group of boards - your choice! Once installed, search from the search box on any page will pull results from boardtracker and display them within your board. 'Advanced Search' can still link to the existing vb search script or you can disable or restrict access to specific users (ie. admins, mods, paying members etc). Results can be formated in any way you want with some simple template variables. Options control panel allows you to switch the boardtracker search mod on or off at any time so you can switch between boardtracker and vb search whenever you want. The following configuration options/defaults exist: Switch search on/off Switch 'safe filter' on/off Switch global search option on/off Board ID - you can limit search to just your board, or several boards you choose or ALL boards indexed by boardtracker. Category ID - you can define a category on boardtracker and searches will only pull results from that category. Default Sort Order - you can sort results by relevancy or by post date. Default Search Scope - results can be limited to last day, week, month, year or all time. Default Search Query - a search term that will be executed whenever the boardtracker search script is called directly with no params. For example you could set it to "site:yourdomain.com blah" and it will display all threads from your board about "blah" Find Posts By User - replace the search links on user profiles and postbits. Internal vB Search Allowed Usergroups - specify which usergroups are allowed to still use the built in vb search (search.php) and redirect all others to the bt search (searchbt.php). Leave empty to allow all users to still access search.php User selections on the search form override the defaults. The mod is very easy to install and consists of 1 php script to upload, 1 product xml file to install, 1 simple template edit. The xml product file creates one new template, an options panel and a few phrases. You can see a demo here which has the search set to global so results come from all boards in boardtracker (since there are no actual posts on the demo board to search ) Also check out our topic tagging mod with cool tag clouds here If your board is not yet indexed by BoardTracker, make sure to submit it! ## New features in version 2.. Search posts by username Search in specific forums Search in related forums Search by boardtracker category RSS feed and alerts for searches Global search option Block or restrict the built in search to specific usergroups More integration with vb search links (such as from member profile) More widgets in the control panel to play with We also have a version for vB3.6 here.. https://vborg.vbsupport.ru/showthread.php?t=123862 updates: v2.0.1 - fixed typo in one phrase setting v2.0.2 - fixed bug in searchbt.php affecting some people. To upgrade, just upload the new searchbt.php, no other action required. v2.0.3 - minor html change in templates - not a required upgrade v2.0.4 - update to searchbt.php v2.0.5 - small change to 'stopwords' in search_boardtracker template v2.0.6 - updated for new BoardTracker 2010. To upgrade, upload searchbt.php, install xml, minor template edits (param names) Show Your Support
|
Comments |
#52
|
||||
|
||||
Quote:
|
#53
|
|||
|
|||
When will the 3.6 version be available?
|
#54
|
||||
|
||||
Quote:
|
#55
|
|||
|
|||
Great. Thanks for the heads up.
|
#56
|
||||
|
||||
We just released version 2 of this mod here for vb3.5 and also for vb3.6 here..
https://vborg.vbsupport.ru/showthread.php?t=123862 Lots of new features to play with! |
#57
|
|||
|
|||
How can I have the advanced searching options shown by default?
|
#58
|
||||
|
||||
Quote:
On the advanced link add ?adv=1 So the URL should be /searchbt.php?adv=1 That way, when people click that link, they will be taken to the search page which will soon after, open the advanced search pane automatically. Also, you can now link the "Search this forum" by changing the URL to /searchbt.php?adv=1&frm=%ForumID% (replace %ForumID% with your forum ID of course). Or alternatively (in the little search forum there) add a Code:
<input type=hidden name="frm" value="%ForumID%"/> |
#59
|
|||
|
|||
Quote:
In the navbar template I have this: Code:
<!-- NAVBAR POPUP MENUS --> <if condition="$show['searchbuttons']"> <!-- header quick search form --> <div class="vbmenu_popup" id="navbar_search_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0"> <tr> <td class="thead">$vbphrase[search_forums]</td> </tr> <tr> <td class="vbmenu_option" title="nohilite"> <if condition="$vboptions['boardtracker_search_active']"> <form action="searchbt.php" method="get"> <input type="text" class="bginput" name="search" size="20" /> $gobutton<br /> <else /> <form action="search.php" method="post"> <input type="hidden" name="do" value="process" /> <input type="hidden" name="showposts" value="0" /> <input type="hidden" name="quicksearch" value="1" /> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="text" class="bginput" name="query" size="20" /> $gobutton<br /> </if> </form> </td> </tr> <tr> <td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td> </tr> </table> </div> <!-- / header quick search form --> |
#60
|
||||
|
||||
Actually if you are using the dynamic method rather than just hardcoding the advanced search link in the template then you just need to edit the url in the "Restrict vbsearch to certain usergroups" plugin. Just open that and change this line..
Code:
header("Location: http://$bt_host$bt_uri/searchbt.php"); Code:
header("Location: http://$bt_host$bt_uri/searchbt.php?adv=1"); |
#61
|
|||
|
|||
Ok, now it works. Thanks!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|