Points of Required Attention™
Please chime in on a proposed restructuring of the ROM hacking sections.
Views: 88,494,778
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search 04-28-24 02:05 AM
Guest: Register | Login

0 users currently in Help/Suggestions/Bug Reports | 2 guests

Main - Help/Suggestions/Bug Reports - Search function New thread | New reply


blackhole89
Posted on 01-04-10 04:44 PM Link | Quote | ID: 125009


The Guardian
Moloch whose eyes are a thousand blind windows!
Level: 124

Posts: 2824/4196
EXP: 21535743
Next: 300858

Since: 02-19-07
From: Ithaca, NY, US

Last post: 473 days
Last view: 85 days



To those who didn't know we had parts of it in for ages, the search function now also is accessible as a link in the board header. I gave it some finishing touches earlier (i.e. implemented all the filtering, fixed a handful of issues about data display).

Search queries function much like old-school search engines: words can be coupled with AND/OR and grouped into literal strings with doublequotes ("").

The bulk of the code was written by Boom.dk back in ancient times past.

I hope some of you can put it into good use.

____________________



Mega-Mario
Posted on 01-04-10 05:12 PM (rev. 5 of 01-04-10 05:18 PM) Link | Quote | ID: 125015

Spamming from alt accounts.
Level: 81

Posts: 348/1610
EXP: 4880820
Next: 112029

Since: 09-10-08

Last post: 3591 days
Last view: 3011 days
Posted by blackhole89
To those who didn't know we had parts of it in for ages, the search function now also is accessible as a link in the board header. I gave it some finishing touches earlier (i.e. implemented all the filtering, fixed a handful of issues about data display).

Search queries function much like old-school search engines: words can be coupled with AND/OR and grouped into literal strings with doublequotes ("").

The bulk of the code was written by Boom.dk back in ancient times past.

I hope some of you can put it into good use.

Nice.
I'm also glad this isn't a crappy search page powered by Google/Yahoo/whatever search engine which don't always find all the pages.

But what's that empty "Harbl" tab?

Also, I hope that:
Posted by blackhole89
Search queries function much like old-school search engines: words can be coupled with AND/OR and grouped into literal strings with doublequotes ("").
doesn't mean SQL knowledge is required to use it

Edit: When searching in post content, it displays that string:

pt.text LIKE '%[keyword_goes_here]%'
just before the results.

____________________
Kafuka -- ROM hacking
Kuribo64 -- we hack shit

blackhole89
Posted on 01-04-10 05:18 PM Link | Quote | ID: 125019


The Guardian
Moloch whose eyes are a thousand blind windows!
Level: 124

Posts: 2828/4196
EXP: 21535743
Next: 300858

Since: 02-19-07
From: Ithaca, NY, US

Last post: 473 days
Last view: 85 days



That's just debug info. Ignore it for now.

____________________



Mega-Mario
Posted on 01-04-10 05:23 PM (rev. 3 of 01-04-10 05:25 PM) Link | Quote | ID: 125020

Spamming from alt accounts.
Level: 81

Posts: 349/1610
EXP: 4880820
Next: 112029

Since: 09-10-08

Last post: 3591 days
Last view: 3011 days
Posted by blackhole89
That's just debug info. Ignore it for now.

Okay.

Also, searching in thread titles doesn't work if you don't specify a particular forum to search in. Makes the thing useless if, for example, the thread you're looking for has been moved/trashed and you don't know it.

____________________
Kafuka -- ROM hacking
Kuribo64 -- we hack shit

blackhole89
Posted on 01-04-10 05:26 PM Link | Quote | ID: 125021


The Guardian
Moloch whose eyes are a thousand blind windows!
Level: 124

Posts: 2829/4196
EXP: 21535743
Next: 300858

Since: 02-19-07
From: Ithaca, NY, US

Last post: 473 days
Last view: 85 days



Oops.

How... careless of me.

____________________



Mega-Mario
Posted on 01-04-10 05:29 PM (rev. 3 of 01-04-10 05:45 PM) Link | Quote | ID: 125022

Spamming from alt accounts.
Level: 81

Posts: 350/1610
EXP: 4880820
Next: 112029

Since: 09-10-08

Last post: 3591 days
Last view: 3011 days
Yay! Now it's becoming a great thing!

However, I hope the algorithm it uses isn't too slow. Otherwise, it may kill the server if you have too many users using it at the same time.

Also, it seems like there's no way to perform a search with single quotes within the keywords:

' -> disappears
'' (two single quotes) -> disappears
\' -> disappears
' -> changes to 039

____________________
Kafuka -- ROM hacking
Kuribo64 -- we hack shit

blackhole89
Posted on 01-04-10 05:54 PM Link | Quote | ID: 125026


The Guardian
Moloch whose eyes are a thousand blind windows!
Level: 124

Posts: 2830/4196
EXP: 21535743
Next: 300858

Since: 02-19-07
From: Ithaca, NY, US

Last post: 473 days
Last view: 85 days



At the moment, it eats most special chars.

I might try to think of a good escaping scheme later.

____________________



Mega-Mario
Posted on 01-04-10 10:43 PM Link | Quote | ID: 125044

Spamming from alt accounts.
Level: 81

Posts: 353/1610
EXP: 4880820
Next: 112029

Since: 09-10-08

Last post: 3591 days
Last view: 3011 days
Also, it should be considered to add support for pages. When there are lots of results, you end up with a huge page.

____________________
Kafuka -- ROM hacking
Kuribo64 -- we hack shit

Main - Help/Suggestions/Bug Reports - Search function New thread | New reply

Acmlmboard 2.1+4δ (2023-01-15)
© 2005-2023 Acmlm, blackhole89, Xkeeper et al.

Page rendered in 0.020 seconds. (321KB of memory used)
MySQL - queries: 32, rows: 48/49, time: 0.014 seconds.