Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
BoardTracker Search Mod v2 - a full search engine for your board! Details »»
BoardTracker Search Mod v2 - a full search engine for your board!
Version: 2.0.6, by BoardTracker BoardTracker is offline
Developer Last Online: Mar 2012 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 04-30-2006 Last Update: 01-16-2010 Installs: 15
Uses Plugins Template Edits
Additional Files  
No support by the author.

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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 05-03-2006, 05:51 PM
BoardTracker's Avatar
BoardTracker BoardTracker is offline
 
Join Date: Dec 2005
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vampireus
Ok, thanks. I see there are successful scans & errors. What can be errors?

Will BT spider all my current & new threads or only new & a part of current threads?
Errors might be missing threads (errors in VB system), wrong detection process on part of the BT Koalas, learning curve issues or timeouts etc..
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.
Reply With Quote
  #33  
Old 05-04-2006, 03:28 PM
BoardTracker's Avatar
BoardTracker BoardTracker is offline
 
Join Date: Dec 2005
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cd1986
Yes, i was playing with adding tags to my threads yesterday, and thought maybe if a tag was clicked on it could present threads from other boards with the same tags (if they exist) using the boardtracker system. I doubt many forums use tags (although i don't know), but would be great to have that kind of flexibility for the future!
Actually there could be quite a few forums with tags..

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.
Reply With Quote
  #34  
Old 05-14-2006, 03:19 PM
ShiningArcanine ShiningArcanine is offline
 
Join Date: May 2003
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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]&amp;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>
By the way, it seems that the default BoardTracker Search plugin does not work in Internet Explorer 7.0 Beta 2 and Opera 9.0 Beta 2. Also, I noticed that the default page navigation does not match the style used by vBulletin.
Reply With Quote
  #35  
Old 05-14-2006, 08:09 PM
BoardTracker's Avatar
BoardTracker BoardTracker is offline
 
Join Date: Dec 2005
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #36  
Old 05-15-2006, 12:53 AM
ShiningArcanine ShiningArcanine is offline
 
Join Date: May 2003
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The HTML validator should be able to point those out to you:

http://validator.w3.org/
Reply With Quote
  #37  
Old 05-25-2006, 05:39 PM
Cloud-Warrior's Avatar
Cloud-Warrior Cloud-Warrior is offline
 
Join Date: Feb 2002
Location: Galway, Ireland
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
--
Reply With Quote
  #38  
Old 05-26-2006, 11:56 PM
Sparky_s Sparky_s is offline
 
Join Date: Nov 2005
Location: Dublin, Ireland
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am also a daily user of boards.ie and know how slow the site was before the boardtracker mod.
Great work.
Reply With Quote
  #39  
Old 06-15-2006, 02:49 PM
Kevlar's Avatar
Kevlar Kevlar is offline
 
Join Date: Nov 2001
Location: Ft. Lauderdale, FL.
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BoardTracker
BT koalas scan only new threads They don't aimlessly go to the same thread again and again.
What about threads that were created before BT koalas ever existed? We have threads going back to 2001. :surprised: This plugin looks rather interesting, but I'm curious how far back to goes to index the entire forum...
Reply With Quote
  #40  
Old 06-15-2006, 03:13 PM
BoardTracker's Avatar
BoardTracker BoardTracker is offline
 
Join Date: Dec 2005
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
Reply With Quote
  #41  
Old 06-15-2006, 04:27 PM
Kevlar's Avatar
Kevlar Kevlar is offline
 
Join Date: Nov 2001
Location: Ft. Lauderdale, FL.
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to know when you have indexed all the past posts and are up-to-date?
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:14 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05282 seconds
  • Memory Usage 2,357KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_html
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete