Jump to content
Sign in to follow this  
as-33

Forum search

Recommended Posts

It don't like that the search function doesn't show you on which page the result was found. This is already annoying on 5 page threads, but when it gets to hundreds of pages it is simply impossible to find something.

Share this post


Link to post
Share on other sites

that is problem with iKonboard and nothing can be done on user end. However, you can use a small program one of our member made.

author: denoir

file: forsearch

Quote[/b] ]You need microsoft .NET 1.1 framework installed. If you've done your windows updates, you should have it already. If not, download it here from ms. You'll need it sooner or later anyhow.

If you have it installed then all you need is the "forsearch.exe" program. Start it and do your searching.

Ok, about the search tool. It's quite primitive - a brute force search. You define the thread and the range of pages and it searches all of them for a string you specify. It's slow as it downloads the whole html for every page it searches.

AS for using it, the interface should be pretty much self-explanatory. Under thread, you put the thread URL. For instance this topic would be:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

http://www.flashpoint1985.com/cgi-bin/ikonboard311/ikonboard.cgi?act=ST;f=11;t=31544

(ends with t=threadnr)

start page, end page: pages of the topic to start and end the search

search string: the text you wish to search for. it searches for an exact match only.

Don't expect too much of it, and no I won't be releasing any new versions. This is what it is.

Share this post


Link to post
Share on other sites

The only problem you may find is that it takes quite long to search through all the pages, and I would say use it with moderation not to cause all that traffic. smile_o.gif

Share this post


Link to post
Share on other sites

Yepp, it's a brute-force search tool. It downloads the html from every page in the defined range and searches it. Without having access to the SQL database, it's the only doable way.

One thing that could be done to speed things up on the user side is to make it multithreaded so that it downloads several pages simultaneously. That could however get pretty rough on the server, so I chose not to implement it.

As it is, the current one uses very little bandwith and few http requests per second, so it shouldn't be any problem.

Share this post


Link to post
Share on other sites

ForSearch is the dog's doodaahs, great aid to moderating smile_o.gif

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×