vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   BoardTracker Search Mod v2 - a full search engine for your board! (https://vborg.vbsupport.ru/showthread.php?t=114515)

BoardTracker 05-03-2006 05:51 PM

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.

BoardTracker 05-04-2006 03:28 PM

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. :cool:

ShiningArcanine 05-14-2006 03:19 PM

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.

BoardTracker 05-14-2006 08:09 PM

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.

ShiningArcanine 05-15-2006 12:53 AM

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

http://validator.w3.org/

Cloud-Warrior 05-25-2006 05:39 PM

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.
--

Sparky_s 05-26-2006 11:56 PM

I am also a daily user of boards.ie and know how slow the site was before the boardtracker mod.
Great work.

Kevlar 06-15-2006 02:49 PM

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...

BoardTracker 06-15-2006 03:13 PM

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:

Kevlar 06-15-2006 04:27 PM

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


All times are GMT. The time now is 10:37 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.01214 seconds
  • Memory Usage 1,836KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete