Author Topic: The search function is broken, what I do?  (Read 10974 times)

0 Members and 1 Guest are viewing this topic.

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
The search function is broken, what I do?
« on: May 04, 2013, 08:41:07 pm »
Several people asked us on IRC and on the forums why they aren't allowed to search the forums, the simple answer is: We've disabled the search engine.

Why? Well, the search engine was taking up lots of resources on the server and was painfully slow each time someone would use it, so we just disabled it.

Okay then, but how I would search the forums now? Use your favorite search engine such as Google and prefix your query with "site:omnimaga.org", like on this picture:



Otherwise, some members set us up personalized Google Searches just here and here so you don't have to type the prefix out.

Now next time someone asks, you can link them this topic! And as always, thanks for flying Omnimaga.
« Last Edit: May 04, 2013, 08:41:54 pm by Juju »

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: The search function is broken, what I do?
« Reply #1 on: May 04, 2013, 08:50:23 pm »
Hopefully people see this news and no longer ask everyday :P

Also trying site:www.omnimaga.org can possibly yield extra results. I noticed this happening with simplemachines.org.

Btw is the search engine slowness due to server misconfig or is the calculator Omnimaga runs on simply not powerful enough to sustain the extreme load?

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: The search function is broken, what I do?
« Reply #2 on: May 04, 2013, 08:52:00 pm »
Nice to see this newsed, hopefully it'll lead to less people asking about it. :P
Another option (kind of a personal preference) is to have a bookmarklet do the site:<current site> for you.

Spoiler For bookmarklet code:
javascript:q=""+(window.getSelection?window.getSelection():document.getSelection?document.getSelection():document.selection.createRange().text);if(!q)q=prompt("No%20selected%20text;%20enter%20search%20term.").replace(/\s\+/g,"%252B");if(q!=null)location="http://www.google.com/search?q="+q.replace(/\s+/g,"+")+"+site:"+location.hostname;void(0);

https://www.squarefree.com/bookmarklets/search.html
Vy'o'us pleorsdti thl'e gjaemue

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: The search function is broken, what I do?
« Reply #3 on: May 04, 2013, 09:32:45 pm »
Sorunome could add word filters on OmnomIRC that can detects if somebody asks why the search is broken or why can't I search and make OmnomIRC automatically redirect them here in an iframe, with a rickroll right besides. :P

Offline jessedog3

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 6
  • Rating: +0/-0
    • View Profile
Re: The search function is broken, what I do?
« Reply #4 on: May 04, 2013, 10:56:09 pm »
Speaking of search engines, I noticed this:

...

User-agent: Baiduspider
Disallow: /

...

User-agent: Baiduspider
...
Disallow: /

...

User-agent: Baiduspider
Disallow: /

...

Did Baidu not get the message the first time?

Offline ralphdspam

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 841
  • Rating: +38/-1
  • My name is actually Matt.
    • View Profile
Re: The search function is broken, what I do?
« Reply #5 on: May 05, 2013, 01:20:01 am »
Can you put a display:none on the search box?  That way, nobody would type in it by accident.
ld a, 0
ld a, a

Offline zero44

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 128
  • Rating: +21/-0
  • <!--//www.ustr.net/infrared/infrared1.shtml-->
    • View Profile
    • zero44
Re: The search function is broken, what I do?
« Reply #6 on: May 05, 2013, 08:02:40 am »
Maybe you could redirect any search entered to this
"https://www.google.com/search?q=site%3Aomnimaga.org".$_POST['search']

(I don't know how it was managed, but a simple redirection should be ok, or include this page with an omnimaga header if you want)
____________

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: The search function is broken, what I do?
« Reply #7 on: May 05, 2013, 12:59:02 pm »
Or someone should replace the search box completely with Google's.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: The search function is broken, what I do?
« Reply #8 on: May 05, 2013, 01:02:01 pm »
That's a better way of dealing with this issue indeed. As long as this search bar is there and it doesn't work even for registred users people will ask the same question over and over. Is it possible to use an SFM plugin that replaces the search with google custom search?
If you like my work: why not give me an internet?








Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: The search function is broken, what I do?
« Reply #9 on: May 05, 2013, 01:21:29 pm »
That's a better way of dealing with this issue indeed. As long as this search bar is there and it doesn't work even for registred users people will ask the same question over and over. Is it possible to use an SFM plugin that replaces the search with google custom search?
Yeah, you're right. But I think admins don't really have much time lately, so we're just telling people the search bar is broken until some admin have time to deal with this.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Re: Re: The search function is broken, what I do?
« Reply #10 on: May 05, 2013, 02:42:55 pm »
That's a better way of dealing with this issue indeed. As long as this search bar is there and it doesn't work even for registred users people will ask the same question over and over. Is it possible to use an SFM plugin that replaces the search with google custom search?
Only in SMF 2.0. People have pretty much stopped creating/maintaining SMF 1.1.x plugins.

Offline blue_bear_94

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 801
  • Rating: +25/-35
  • Touhou Enthusiast / Former Troll / 68k Programmer
    • View Profile
Re: The search function is broken, what I do?
« Reply #11 on: May 05, 2013, 03:33:54 pm »
Only in SMF 2.0. People have pretty much stopped creating/maintaining SMF 1.1.x plugins.
What's deterring us from updating?
Due to dissatisfaction, I will be inactive on Omnimaga until further notice. (?? THP hasn't been much success and there's also the CE. I might possibly be here for a while.)
If you want to implore me to come back, or otherwise contact me, I can be found on GitHub (bluebear94), Twitter (@melranosF_), Reddit (/u/Fluffy8x), or e-mail (if you know my address). As a last resort, send me a PM on Cemetech (bluebear94) or join Touhou Prono (don't be fooled by the name). I've also enabled notifications for PMs on Omnimaga, but I don't advise using that since I might be banned.
Elvyna (Sunrise) 4 5%
TI-84+SE User (2.30 2.55 MP 2.43)
TI-89 Titanium User (3.10)
Casio Prizm User? (1.02)
Bag  東方ぷろの

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: The search function is broken, what I do?
« Reply #12 on: May 05, 2013, 04:17:42 pm »
Only in SMF 2.0. People have pretty much stopped creating/maintaining SMF 1.1.x plugins.
What's deterring us from updating?
We have like 6 themes we have to update to SMF 2.0 format, plus updating all the plugins we have to SMF 2.0 as well, maybe even rewrite our homemade plugins such as OmnomIRC, which is pretty much a tedious task. We're working on it though.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Re: Re: The search function is broken, what I do?
« Reply #13 on: May 05, 2013, 05:24:05 pm »
Only in SMF 2.0. People have pretty much stopped creating/maintaining SMF 1.1.x plugins.
What's deterring us from updating?
We have like 6 themes we have to update to SMF 2.0 format, plus updating all the plugins we have to SMF 2.0 as well, maybe even rewrite our homemade plugins such as OmnomIRC, which is pretty much a tedious task. We're working on it though.
i know the v5 themes and to a lesser extent v2 are based on v4 (which is based on SMF 1.1 default), so those might take less time to update (mostly CSS color and image set changes), but the other two themes are different and v5 has to be converted to begin with. Thankfully the smf 1.1 classic style theme is still available in v2 format so it saves some work, but I would still say 60-90 hours total, based on how long it took me to create the themes.

For now I guess a custom search could be added in the current themes via the editor there (I think we can even hide the current search then add our own HTML or PHP code).

I think there is a 1.1 to 2.0 converter when you attempt to upgrade the board, but I tried it once and it totally destroyed the theme.
« Last Edit: May 05, 2013, 06:56:22 pm by DJ Omnimaga »

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: The search function is broken, what I do?
« Reply #14 on: May 05, 2013, 05:57:11 pm »
You should add to your post the @omnimaga <search> :P

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!