Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

 
 
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.7, by BoardTracker BoardTracker is offline
Developer Last Online: Mar 2012 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.6.0 Rating:
Released: 08-12-2006 Last Update: 01-16-2010 Installs: 33
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 easily switch the boardtracker search mod on or off 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.

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 plus some optional template edits. 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 another board for demo purposes (since there are no actual posts on the demo board to search )

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
Works with bad words search filter
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



updates:
v2.0.1 - fixed small 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 - added adv=1 to advanced search link (in plugin) to open search options automatically. Simplified navbar template edits (needed if installing tags mod also). Added 'search this forum' edits.
v2.0.7 - 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
  #22  
Old 08-30-2006, 02:31 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good idea, but would be dependent on how quickly your bot spiders the posts? And it won't be able to spider private forums.
Reply With Quote
  #23  
Old 08-30-2006, 03:21 AM
BoardTracker's Avatar
BoardTracker BoardTracker is offline
 
Join Date: Dec 2005
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Yorixz
I'm wondering; will this actually return better search results than the default search, as I know, out of experience, that it doesn't really check for relevance but mainly just lists the hits, while search engines like Google check other (probably more important) things.
Yes. BoardTracker search returns relevant results. Much more relevant than internal search does. And much more so than google.

Quote:
Originally Posted by Erwin
Good idea, but would be dependent on how quickly your bot spiders the posts? And it won't be able to spider private forums.
Indeed it is dependent of the crawler of BoardTracker. But this is much more timely and accurate than one might imagine. Threads are detected very accurately and efficiently. Most threads are indexed less than an hour after creation. In cases of busy forums, this is many times even more frequent.
BoardTracker can index private/hidden forums, but that requires the board administrator to ask for that specifically.
Reply With Quote
  #24  
Old 10-01-2006, 07:51 AM
BoardTracker's Avatar
BoardTracker BoardTracker is offline
 
Join Date: Dec 2005
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A couple of minor additions..

You can make the search page open the advanced options automatically by adding adv=1 to the link. For example if you use the hardcoded searchbt.php link on the 'advanced search' link in the little dropdown search box on every page which is in the navbar template.

The new link would look like: searchbt.php?adv=1

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");
to this..

Code:
header("Location: http://$bt_host$bt_uri/searchbt.php?adv=1");

You can also make 'search this forum' link/form work directly also..

Open the FORUMDISPLAY template..

Find..
Code:
<form action="search.php?do=process" method="post">
Replace with..
Code:
<form action="searchbt.php" method="get">
Find..
Code:
<a href="search.php?$session[sessionurl]f=$forumid" rel="nofollow">$vbphrase[advanced_search]</a>
Replace with..
Code:
<a href="searchbt.php?$session[sessionurl]frm=$forumid&adv=1" rel="nofollow">$vbphrase[advanced_search]</a>
Find..
Code:
<input type="hidden" name="do" value="process" />
<input type="hidden" name="forumchoice[]" value="$forumid" />
<input type="hidden" name="childforums" value="1" />
<input type="text" class="bginput" name="query" size="20" style="width:175px" />
Replace with..
Code:
<input type="hidden" name="frm" value="$forumid" />
<input type="text" class="bginput" name="search" size="20" style="width:175px" />
Reply With Quote
  #25  
Old 10-09-2006, 11:58 AM
BoardTracker's Avatar
BoardTracker BoardTracker is offline
 
Join Date: Dec 2005
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Version 2.0.6 released which includes the updates mentioned in the previous post plus simplified navbar template edits which will make it easier to add navbar edits required by our tags mod.

Reply With Quote
  #26  
Old 10-09-2006, 02:18 PM
soletrader soletrader is offline
 
Join Date: Jul 2006
Posts: 340
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to place inside a vbadvanced module?
Reply With Quote
  #27  
Old 10-09-2006, 03:06 PM
BoardTracker's Avatar
BoardTracker BoardTracker is offline
 
Join Date: Dec 2005
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by soletrader
Is it possible to place inside a vbadvanced module?
What exactly is a vbadvanced module?
Reply With Quote
  #28  
Old 10-09-2006, 04:08 PM
soletrader soletrader is offline
 
Join Date: Jul 2006
Posts: 340
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Check my site index at www.traderslaboratory.com

The navigation on the left, the skype on the right, the new articles in the middle, the welcome to traders laboratory box in the center are all examples of modules. I would like to bring the tags on my site index so would be a nice idea to stick it in a module.
Reply With Quote
  #29  
Old 10-10-2006, 12:30 AM
BoardTracker's Avatar
BoardTracker BoardTracker is offline
 
Join Date: Dec 2005
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by soletrader
Check my site index at www.traderslaboratory.com

The navigation on the left, the skype on the right, the new articles in the middle, the welcome to traders laboratory box in the center are all examples of modules. I would like to bring the tags on my site index so would be a nice idea to stick it in a module.
You refer to the tags mod...
It's very simple..
If you have the tags mod installed, you can use a very simple javascript to place a tagcloud whereever you want, even the index page. You can then visually format it it anyway you want.

As described here: https://vborg.vbsupport.ru/showthread.php?t=128642

Code:
<!-- Tag Cloud -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat">$vbphrase[bt_tag_cloud]</td>
</tr>
<tr>
<td class="alt1" align="center">
<script type="text/javascript" language=Javascript src="http://www.boardtracker.com/cloud/js/?board={$vbulletin->options['bt_tag_boardid']}&items=20&smallsize=6&bigsize=20&hot=e01010&cold=4090a0&days=90&linktype={$vbulletin->options['bt_tag_link_type']}"></script>
</td>
</tr>
</table>
<!-- End Tag Cloud -->
Configuring the following items in the script link: &items=, &smallsize=, &bigsize=, &hot=, &cold= and &days= you can decide exactly how you want the tag cloud to look like

I hope in answers the question.
Reply With Quote
  #30  
Old 10-11-2006, 03:53 PM
BoardTracker's Avatar
BoardTracker BoardTracker is offline
 
Join Date: Dec 2005
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Make sure to also check out our very cool thread tagging and tag search system for vb3.6 here!

It allows your members to tag threads and provides a fully integrated search engine - similar in appearance to this mod - which also shows a tag cloud and related tags and provides advanced seach options.

Tag links can use mod_rewrite or standard links and there's lots of options to play with in the control panel. Your tag cloud can easily be put on any page you want - even on other sites!

Tags are stored locally in your db as well as indexed by boardtracker and again all the heavy work of searching is handled by our servers!
Reply With Quote
  #31  
Old 11-07-2006, 07:44 AM
TRR TRR is offline
 
Join Date: Jan 2005
Location: San Antonio, TX
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I really like this search engine, but I really dislike that when users click the "New Posts" link in the Navbar, it redirects to a search page and doesn't display posts that the user has not yet read. This is one of my board's most used features so I had to disable boardtracker search so that my users could have the "New Posts" link work the way it is supposed to. Is there an easy fix for this? I really want to turn boardtracker back on...
Reply With Quote
 


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 01:50 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04718 seconds
  • Memory Usage 2,326KB
  • 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
  • (9)bbcode_code
  • (4)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