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 |
#32
|
||||
|
||||
Quote:
If errors continue we will ivestigate further. BT koalas scan only new threads They don't aimlessly go to the same thread again and again. |
#33
|
||||
|
||||
Quote:
http://mods.invisionize.com/db/index.php/f/6314 http://www.phpbbhacks.com/download/6145 https://vborg.vbsupport.ru/showthread.php?t=111887 We'll add tags to the search results in next version of this mod very soon. |
#34
|
|||
|
|||
I am looking through your modification's XHTML code and I can see that it is not XHTML compliant. Is there any possibility of fixing this in version 1.0.2?
Edit: I tried cleaning up the XHTML as much as I could but I could not make it XHTML compliant without breaking the plugin. If it helps, here is what I managed to do: HTML Code:
$stylevar[htmldoctype] <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]"> <head> $headinclude <title>$vboptions[bbtitle] - $vbphrase[search_forums]</title> </head> <body> $header $navbar <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="tcat">BoardTracker $vbphrase[thread] $vbphrase[search]</td> </tr> <tr> <td class="alt1"> <table width="100%" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]"> <tr> <td align="left"> <form style="margin: 0px;" action="" method="get"> <table cellpadding="0" cellspacing="4"> <tr> <td>$vbphrase[key_words]</td><td><input name="search" id="BT_SEARCH_INPUT" value="" /><input type="submit" value="$vbphrase[search_now]" /></td> </tr> <tr> <td>$vbphrase[find_posts_from] </td> <td><select name="scope" id="BT_SEARCH_SCOPE"> <option value="0">$vbphrase[yesterday]</option> <option value="1">$vbphrase[a_week_ago]</option> <option value="2">$vbphrase[a_month_ago]</option> <option value="3">$vbphrase[a_year_ago]</option> <option value="4">$vbphrase[any_date]</option> </select></td> </tr> <tr> <td>$vbphrase[sort_results_by]</td> <td><select name="order" id="BT_SEARCH_ORDER"> <option value="0">$vbphrase[thread_start_date]</option> <option value="1">$vbphrase[relevancy]</option> </select></td> </tr> </table> </form> </td> <td align="right"> <span><span id="BT_SEARCH_POWEREDBY" name="BT_SEARCH_POWEREDBY" /></span><br /> <br /> <span id="BT_SEARCH_NAVBAR" name="BT_SEARCH_NAVBAR" style="display:none"> <table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px"> <tr valign="bottom"> <td align="right"><div class="pagenav" align="right"> <table class="tborder" cellpadding="3" cellspacing="1" border="0"> <tr> <td class="vbmenu_control" style="font-weight:normal"><phrase 1="<SPAN ID=BT_SEARCH_RESULTS_PAGES_CURRENT NAME=BT_SEARCH_RESULTS_PAGES_CURRENT></SPAN>" 2="<SPAN ID=BT_SEARCH_RESULTS_PAGES_COUNT NAME=BT_SEARCH_RESULTS_PAGES_COUNT></SPAN>">$vbphrase[page_x_of_y]</phrase></td> <td class="alt2 smallfont"><span id="BT_SEARCH_RESULTS_PAGENAV" name="BT_SEARCH_RESULTS_PAGENAV"></SPAN></td> </tr> </table> </div></td> </tr> </table> </span> </td> </tr> </table> <span id="BT_SEARCH_RESULTS" name="BT_SEARCH_RESULTS" style="display:none;"> <table name="BT_SEARCH_RESULTS_TABLE" id="BT_SEARCH_RESULTS_TABLE" class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center" id="threadslist"> <tr> <td class="tcat" colspan="5" style="font-weight:normal"> <span class="smallfont" style="float:right"> <span class="smallfont"><phrase 1="<SPAN ID=BT_SEARCH_RESULTS_THREADS_START NAME=BT_SEARCH_RESULTS_THREADS_START></SPAN>" 2="<SPAN ID=BT_SEARCH_RESULTS_THREADS_END NAME=BT_SEARCH_RESULTS_THREADS_END></SPAN>" 3="<SPAN ID=BT_SEARCH_RESULTS_THREADS_COUNT NAME=BT_SEARCH_RESULTS_THREADS_COUNT></SPAN>">$vbphrase[showing_results_x_to_y_of_z]</phrase> </span> </td> </tr> <tr> <td class="thead" width="75%">$vbphrase[thread] / $vbphrase[thread_starter]</td> <td class="thead" width="150" align="center" nowrap="nowrap">$vbphrase[bt_thread_created_on]</td> <td class="thead" align="center" nowrap="nowrap">$vbphrase[replies]</td> <td class="thead" align="center" nowrap="nowrap">$vbphrase[views]</td> </tr> <!--[BT_SEARCH_RESULTS_TABLE_FILL]--> </table> <table id="BT_SEARCH_RESULTS_TEMPLATE" style="display:none"> <tr> <td class="alt1"> <div> <a href="[HREF]&highlight=[SEARCH]">[TITLE]</a> </div> <div class="smallfont"> <span style="cursor:pointer" onclick="window.open('[AUTHOR_URL]')">[AUTHOR_NAME]</span> </div> </td> <td class="alt2" title="Replies: [REPLIES], Views: [VIEWS]"> <div class="smallfont" style="text-align:right; white-space:nowrap"> <span class="time">[CREATED]</span> </div> </td> <td class="alt1" align="center">[REPLIES]</td> <td class="alt2" align="center">[VIEWS]</td> </tr> <tr> <td class="alt1 smallfont" colspan=4>[SNIPPET]</td> </tr> <tr> <td class="alt2" colspan=4 style="font-size:6px; height:10px"></td> </tr> </table> <table width="100%" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]"> <tr> <td align="right"> <span id="BT_SEARCH_POWEREDBY" name="BT_SEARCH_POWEREDBY" /> </td> </tr> </table> </span> <span id="BT_SEARCH_NORESULTS" name="BT_SEARCH_NORESULTS" style="display:none;"> <br /> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="70%" align="center"> <tr> <td class="tcat">vBulletin Message</td> </tr> <tr> <td class="panelsurround" align="center"> <div class="panel"> <div align="left"> <blockquote><p>Sorry - no matches. Please try some different terms.</p></blockquote> </div> </div> </td> </tr> </table> <br /> <br /> </span> <span id="BT_SEARCH_INPROGRESS" name="BT_SEARCH_INPROGRESS" style="display:none;"> <center> <br /> <font size="1"> $vbphrase[bt_search_loading_results]<br /><img src="http://www.boardtracker.com/images/dog_hourglass_small.gif" alt ="" /> </font> <br /> <br /> </center> </span> </td> </tr> </table> $footer <script type="text/javascript"> var Search_SafeFilter = {$vbulletin->options['boardtracker_search_safe_filter']}; //Default var Search_Category = {$vbulletin->options['boardtracker_search_categoryid']}; //Default var Search_Order = {$vbulletin->options['boardtracker_search_order']}; //Default var Search_Scope = {$vbulletin->options['boardtracker_search_scope']}; //Default var Search_BoardLimit = "{$vbulletin->options['boardtracker_search_boardid']}"; //Default (empty) = All boards. Can chain board IDs using comma (i.e. 25,26,45) var Search_SearchTerm_Default = "{$vbulletin->options['boardtracker_search_default']}" // Can be set to force default search </script> <script type="text/javascript" src="http://www.boardtracker.com/search.js"></script> </body> </html> |
#35
|
||||
|
||||
Which bits need xhtml that you weren't able to do?
Regarding IE7/Opera9 we will look into fixing them if needed when they are out of beta.. maybe the problem is on their side. |
#36
|
|||
|
|||
|
#37
|
||||
|
||||
Hi all -
Just wanted to tell you all about our experience with this BoardTracker search modification, which has all been good - in fact, better than good. It's brilliant! We had very high load problems with all the searches that people have been performing on our site, www.boards.ie - Ireland's largest bulletin board community. Since we installed the BT Search modification, loads have dropped significantly. Also, the mod integrates so well with the site you don't even realise the search results are powered by the BoardTracker facility. I can't recommend this highly enough. If you find you have speed problems with your vBulletin installation and you suspect it's due to search, give it a go. Feel free to ask any questions on our experiences, I'll do best to answer and I know BoardTracker will too. All the best, John. -- |
#38
|
|||
|
|||
I am also a daily user of boards.ie and know how slow the site was before the boardtracker mod.
Great work. |
#39
|
||||
|
||||
Quote:
|
#40
|
||||
|
||||
We index all threads right from the start on forums we can access. We basically index all new threads as they are posted to power the persistant search features and have a fresh index while in the background we do a full historical scan to get existing threads which we do gradually and in a smart way to ensure it causes no load issues - on a big board this can take a while but we do eventually get pretty much all the visible threads.
:banana: |
#41
|
||||
|
||||
Is there a way to know when you have indexed all the past posts and are up-to-date?
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|