Welcome Guest ( Log In | Register )


Check out the FREE chatroom mod for IPB 3.x

2 Pages V   1 2 >  
Reply to this topicStart new topic
BoardTracker Board Search Mod
BoardTracker
post Jun 14 2006, 10:58 PM
Post #1


Newbie
*

Group: Members
Posts: 23
Joined: 13-February 06
Member No.: 204,219
IPB Version: Not Applicable



BoardTracker Board Search Mod

Category: Full Modifications
Compatibility: Invision Power Board 2.1
Demo: http://forums.boardtracker.com


Quick Description:
Complete, integrated search engine for your board using BoardTracker for indexing and processing.

Description:
This search hack replaces the built in IPB search with BoardTracker search and results are fully integrated within your board. Search results can be threads from your board or all boards or a select group of boards - your choice!

This mod shifts all search processing onto boardtracker servers so saves your servers from the heavy loads often caused by search - now you can provide ALL your users with powerful search without worrying about your servers overloading!

This mod is very easy to install!

Once installed, search from the new search box/page will pull results from boardtracker and display them within your board. 'Advanced Search' can still link to the existing invision search script or you can remove that also.

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 ipb search whenever you want.

The following configuration options/defaults exist:

Switch search on/off

Switch 'safe filter' 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.

User selections on the search form override the defaults.

You can see a working example on boardtracker support forums although it is running phpbb but is functionally the same. Its also now being used on some very big boards like boards.ie

If your board is not yet indexed by BoardTracker, make sure to submit it!

---
- Upgrade instructions for v1.0.0 to v1.0.1

1. Open your admin control panel and goto 'TOOLS & SETTINGS/BoardTracker Search'
2. Click 'Edit' for 'Default Search Scope'
3. Change 'Setting Extra?' to this..

0=Day
1=Week
2=Month
3=Year
4=All

4. Save changes.
---
- Upgrade instructions for v1.0.1 to v1.0.2

Open 'Board Index/PageTop' template and change in both places..

ipb.member['id'] ==1 to ipb.member['id'] >=1

View Modification

This post has been edited by BoardTracker: Aug 26 2006, 03:59 AM
Go to the top of the page
 
+Quote Post
ihiustler
post Jun 15 2006, 05:21 PM
Post #2


Advanced Member
***

Group: Members
Posts: 329
Joined: 13-June 03
Member No.: 19,505



nice mod but why would you want members searching other sites, potentially leaving your site?


--------------------
user posted image
Go to the top of the page
 
+Quote Post
BoardTracker
post Jun 16 2006, 02:31 AM
Post #3


Newbie
*

Group: Members
Posts: 23
Joined: 13-February 06
Member No.: 204,219
IPB Version: Not Applicable



QUOTE(ihiustler @ Jun 15 2006, 11:21 PM) [snapback]1692591[/snapback]

nice mod but why would you want members searching other sites, potentially leaving your site?


Well you don't have to - its optional. You can set it to just search your own board or if you have several boards you can have it search all those so you circulate your traffic through all your boards. You could also make deals with other board owners to include their board in your search if they include your board in their search for example.

Setting it to search all boards is just a way to provide your users with a handy way to find things they want without having to leave your site to do the searching. Sure they will find other boards like that but they can do the same with google and many people even have google search right there on the board. People can be (and often are) members of more than one board anyway so you're more likely to gain from it than lose.. the more boards that offer a global search option, the more traffic there is circulating between the boards so everyone benefits. Its the "web2.0" way.. wink.gif

Anyway as I said its an option so just set it to search your own board(s) if you prefer.

Go to the top of the page
 
+Quote Post
ami
post Jun 16 2006, 08:25 AM
Post #4


Member
**

Group: Members
Posts: 241
Joined: 21-June 04
Member No.: 114,386



Do I need the forum ID as the last part of the instuctions have me confused if I need that or not or where it goes.


--------------------
I am a girl who is a hug fan of IPB and ocPortal.
Go to the top of the page
 
+Quote Post
BoardTracker
post Jun 17 2006, 03:42 AM
Post #5


Newbie
*

Group: Members
Posts: 23
Joined: 13-February 06
Member No.: 204,219
IPB Version: Not Applicable



QUOTE(ami @ Jun 16 2006, 02:25 PM) [snapback]1692812[/snapback]

Do I need the forum ID as the last part of the instuctions have me confused if I need that or not or where it goes.


Yes after your board is submitted/listed in boardtracker you get a board id which you enter into the invision control panel (under 'TOOLS & SETTINGS/BoardTracker Search') - until you enter a board id it will work in global mode, in other words it searches all boards in boardtracker.
Go to the top of the page
 
+Quote Post
SilverXX
post Jul 16 2006, 08:18 PM
Post #6


Newbie
*

Group: Members
Posts: 3
Joined: 21-September 05
Member No.: 176,043



does this still work with v2.1.7 ?
Go to the top of the page
 
+Quote Post
BoardTracker
post Jul 17 2006, 06:27 AM
Post #7


Newbie
*

Group: Members
Posts: 23
Joined: 13-February 06
Member No.: 204,219
IPB Version: Not Applicable



QUOTE(SilverXX @ Jul 17 2006, 02:18 AM) [snapback]1706747[/snapback]

does this still work with v2.1.7 ?


It does. I installed the 2.1.7 upgrade and just had to redo the template mods to get the search working again which only took a couple of minutes.
Go to the top of the page
 
+Quote Post
SilverXX
post Jul 17 2006, 02:29 PM
Post #8


Newbie
*

Group: Members
Posts: 3
Joined: 21-September 05
Member No.: 176,043



thanks for the answer. I was also wondering if security is OK.
Invision had huge security problems the last few weeks ... one of them included a way to upload file via an exploit in the search (after posting a specially crafted post and search for it).
This probably didn't work with the boardtracker search, but I'd just like to make sure you looked into it.

thx
Go to the top of the page
 
+Quote Post
BoardTracker
post Jul 17 2006, 05:15 PM
Post #9


Newbie
*

Group: Members
Posts: 23
Joined: 13-February 06
Member No.: 204,219
IPB Version: Not Applicable



The way the search mod works is by callling a Javascript from the HTML page by the browser. Nothing is executed on the server. Therefore there is no server risk at all.
Go to the top of the page
 
+Quote Post
13thDevil
post Jul 17 2006, 06:06 PM
Post #10


Advanced Member
***

Group: Members
Posts: 428
Joined: 9-January 06
From: England
Member No.: 196,851



and if the boardtracker server goes down?


--------------------
I'm a compulsive liar...
Go to the top of the page
 
+Quote Post
BoardTracker
post Jul 17 2006, 06:10 PM
Post #11


Newbie
*

Group: Members
Posts: 23
Joined: 13-February 06
Member No.: 204,219
IPB Version: Not Applicable



QUOTE(13thDevil @ Jul 18 2006, 12:06 AM) [snapback]1707224[/snapback]

and if the boardtracker server goes down?

It is not one server. These are many severs.
However, if the system is totally down for wharever reason, search will not show anything.
Go to the top of the page
 
+Quote Post
trucker124
post Jul 19 2006, 03:17 PM
Post #12


Newbie
*

Group: Members
Posts: 80
Joined: 12-December 04
Member No.: 136,369
IPB Version: 2.0.x



While installing BT_Search_IPB_1.0.1.zip on a 2.1.6 board I came across this:

CODE
open: Board Index/PageTop

find:

<else>
    <form action="{ipb.script_url}act=Search&amp;CODE=01&amp;forums=all" method="post">
        <input type="text" size="30" name="keywords"  onfocus="this.value=''" value="{ipb.lang['enter_search_words']}" />
        <input class="button" type="image" src="{ipb.vars['img_url']}/login-button.gif" />
    </form>
</else>

#

replace with:

<if="ipb.vars['bt_search_active'] ==1 and ipb.member['id'] ==1">
    <form action="{ipb.script_url}" method="get">
        <input type="hidden" name="act" value="SearchBT">
        <input type=hidden name="pagenav_add" value="act=searchBT">
        <input type="text" size="30" name="search" />
        <input class="button" type="image" src="{ipb.vars['img_url']}/login-button.gif" />
    </form>
</if>
<if="ipb.vars['bt_search_active'] ==0 and ipb.member['id'] ==1">
    <form action="{ipb.script_url}act=Search&amp;CODE=01&amp;forums=all" method="post">
        <input type="text" size="30" name="keywords"  onfocus="this.value=''" value="{ipb.lang['enter_search_words']}" />
        <input class="button" type="image" src="{ipb.vars['img_url']}/login-button.gif" />
    </form>
</if>

###

Sorry no search section in Board Index/PageTop Any suggestions?
Go to the top of the page
 
+Quote Post
BoardTracker
post Jul 21 2006, 02:30 AM
Post #13


Newbie
*

Group: Members
Posts: 23
Joined: 13-February 06
Member No.: 204,219
IPB Version: Not Applicable



Are you sure its not there? It is in my version.. I just reverted to the original template again to make sure and it is there..

It is in the 'if/else' section that adds the login form to the index page for guests or the search box for visitors who are logged in.

Try copy/paste the entire template into notepad and use 'find' to look for 'search'.. its easier than manually looking through the html.
Go to the top of the page
 
+Quote Post
BASHERS33
post Jul 21 2006, 02:39 AM
Post #14


Too Much Free Time
******

Group: Members
Posts: 2,893
Joined: 7-August 05
Member No.: 169,961



Maybe he has a skin which took the search off of the front page. Or else maybe someone moved it to somewhere else on the front page. Many skins do move it and then it would maybe be in a different area, maybe in all global html->global_board_header


--------------------
My sites: Got Talk and Got Zelda

Go to the Got Talk one if you're interested in my modifications. Some include: a point system app (free), sports betting app (paid), extremely in-depth review system (paid), and am currently finishing a trading system (paid). If you want me to make you a custom paid modification or have an idea for a public release please let me know in case I have time to make it.
Go to the top of the page
 
+Quote Post
BoardTracker
post Jul 21 2006, 04:45 AM
Post #15


Newbie
*

Group: Members
Posts: 23
Joined: 13-February 06
Member No.: 204,219
IPB Version: Not Applicable



QUOTE(BASHERS33 @ Jul 21 2006, 08:39 AM) [snapback]1709182[/snapback]

Maybe he has a skin which took the search off of the front page. Or else maybe someone moved it to somewhere else on the front page. Many skins do move it and then it would maybe be in a different area, maybe in all global html->global_board_header


Yep, that could be the reason. If you have a search box on the index page then try to find the template which contains the search form html and modify/replace it. If you don't have a search box there at all then just ignore that part of the install instructions.
Go to the top of the page
 
+Quote Post

2 Pages V   1 2 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 9th September 2010 - 06:17 PM

Search Engine Keywords
Invision Skins · IPB Skins