Forum Search

As the description says!

Moderator: Game Administrators

User avatar
LostKnight
Posts: 6446
Joined: Sat Sep 09, 2017 8:02 pm
Location: Rockhiem nord i Steinhus nær Kedington

Forum Search

Post by LostKnight »

I have been using forums for years and am familiar with using the search tools but this one fails me.

How do I get the search to search for a phrase or even multiple words:

Code: Select all

Searched query: +fast+13+level

ignored: level 13
I'll fight for what I think is right!
User avatar
MadMikael
Posts: 3301
Joined: Sat Mar 08, 2014 5:54 pm
Location: Windsor, Ontario, Canada (EST time zone)

Re: Forum Search

Post by MadMikael »

There is a little you can do with the advanced search option...
But I have not bothered to lookup the forum software to see if there are advanced commands like you suggest.
Although it would be helpful...

Maybe I'll get around to it in time, or you can search the net for it yourself.
I have a bit of a to do list atm.
RETIRED [GM] - Game Master

Please contact GM Inbox for help if you need it.

⬇️ GM Inbox contact link ⬇️
ucp.php?i=pm&mode=compose&u=9711
User avatar
LostKnight
Posts: 6446
Joined: Sat Sep 09, 2017 8:02 pm
Location: Rockhiem nord i Steinhus nær Kedington

Re: Forum Search

Post by LostKnight »

I can find what I want using a Linux bash script ... but not for Windows:

Code: Select all

#!/bin/bash

USAGE='USAGE:
search words  - search the forum with several words, other google stuff like OR also OK.
"search phrase" - search for fixed phrase
-t topic word - search for topic in title, word anywhere
-t "topic phrase" word - search for "topic phrase" in title, word anywhere
-t topic -t subject - search for topic AND subject in title
-h or --help - this message
etc...'

unset q
while [[ $1 ]]
do
    case $1 in
        -t)
        shift
        if [[ $(echo $1 | wc -w) -eq 1 ]]
        then
            q="$q intitle:$1"
        else
            q="$q intitle:\"$1\""
        fi
        ;;

        -h|--help)
        echo "$USAGE"
        exit 0
        ;;

        *)
        if [[ $(echo $1 | wc -w) -eq 1 ]]
        then
            q="$q $1"
        else
            q="$q \"$1\""
        fi
        ;;
    esac
    shift
done

firefox "https://startpage.com/do/search?q=host:http://forum.dmgamestudio.com $q" &
exit 0
so in a terminal:

Code: Select all

fts "level 13"
finds:
How to level up quickly because the phrase "level 13" is in the post:
You will be at level 13.
Just trying to find a way to do it in the forum is all.
I'll fight for what I think is right!
User avatar
MadMikael
Posts: 3301
Joined: Sat Mar 08, 2014 5:54 pm
Location: Windsor, Ontario, Canada (EST time zone)

Re: Forum Search

Post by MadMikael »

The forum software is phpBB. Not sure what version.
Looking up the codes and colours are things I've done in the past - there are more buttons now, but not all have buttons.
Like this for example, find the button.
I bet there's a guide somewhere for how to use the integrated search in the software with advanced syntax (probably, on their official site... hey, isn't there a link on the main page?)
I will seriously look when I have time.
But I've given you clues on where to look if you really want to know.

I've spent hours in training and in writing a few guides; I have a lot more to do yet (I wasn't joking when I said I still have work to do).
And now it's time for bed.

As for tomorrow, I have a fairly full schedule as well.
And yes, I schedule fun time. I'm not going without anymore.

So the info is there, if anyone wants to go looking.
RETIRED [GM] - Game Master

Please contact GM Inbox for help if you need it.

⬇️ GM Inbox contact link ⬇️
ucp.php?i=pm&mode=compose&u=9711
User avatar
LostKnight
Posts: 6446
Joined: Sat Sep 09, 2017 8:02 pm
Location: Rockhiem nord i Steinhus nær Kedington

Re: Forum Search

Post by LostKnight »

Yup your example worked, mine didn't.

There is a link on the bottom of every page in the forum and I've been there, phpBBS Support site uses: Sphinx, can't give a link but it's a 3rd party search engine that must be installed on the server. So phpBBS doesn't use the built in search function.

And one user over there :
I was wondering, what search engine is used on this forum? It's much better than the phpbb search engine installed in the template, which is not able to find many terms and topics for some reason, and doesn't seem very functional. The Google search box works much better at finding stuff, especially topic titles. So I've always used that in my phpbb forums.

Is this forum using Google search engine too? If so how was it installed? It doesn't look like an ordinary Google search engine. How was it customized?

Thanks.
The reply:
Sphinx

Do a search, there is a MOD in development for adding it to phpBB 3.0.x, however, you first need to install Sphinx on the server. If Sphinx is installed on the server phpBB 3.1.x provides that as an option for the search backend.
Sphinx of course was linked. Sorry for ruffling any feathers.
I'll fight for what I think is right!
User avatar
MadMikael
Posts: 3301
Joined: Sat Mar 08, 2014 5:54 pm
Location: Windsor, Ontario, Canada (EST time zone)

Re: Forum Search

Post by MadMikael »

No it's all good, I'm sorry too.
Just a long day...
I'm hard at work again on the projects I started or intended.
I didn't mean to be snappy about it - but I was a little - sorry.

I will want to look into this later - and with the bit of leg work you've done, I'll save some time now - thanks ;)

I've been on this forum for years, but it is actually my first forum.
I've learned as I went along; and I know some - probably yourself included - are more knowledgeable than I when it comes to it.
This "new version" is a bit strange to me too; this is like the 4th time the forum has been updated, and each time, new stuff to learn.
Us old timers don't like change you know.... we resist it... :lol: ;)

But, there are some neat things if you do look up BBCodes and colours and what not, if you're not aware of them.
Although, I think you know more of them than I do haha

Thanks for looking the stuff up, and I'll cya around.
RETIRED [GM] - Game Master

Please contact GM Inbox for help if you need it.

⬇️ GM Inbox contact link ⬇️
ucp.php?i=pm&mode=compose&u=9711
User avatar
LostKnight
Posts: 6446
Joined: Sat Sep 09, 2017 8:02 pm
Location: Rockhiem nord i Steinhus nær Kedington

Re: Forum Search

Post by LostKnight »

Not a problem Mad, it did catch me off guard though.

Also that Linux .sh script could quite possibly be turned into a Windows "bash" script. Been 14 years since I wrote a bash script so I'm more than a tad rusty with that, plus I have no system to test it on.
I'll fight for what I think is right!
User avatar
MadMikael
Posts: 3301
Joined: Sat Mar 08, 2014 5:54 pm
Location: Windsor, Ontario, Canada (EST time zone)

Re: Forum Search

Post by MadMikael »

LostKnight wrote: Sun Jan 21, 2018 5:56 pm Not a problem Mad, it did catch me off guard though.

Also that Linux .sh script could quite possibly be turned into a Windows "bash" script. Been 14 years since I wrote a bash script so I'm more than a tad rusty with that, plus I have no system to test it on.
Windows....
smh...

I used to have a Murphy's law poster.
I always think of this saying:
"Make something that even a fool could use, and only a fool will use it."
RETIRED [GM] - Game Master

Please contact GM Inbox for help if you need it.

⬇️ GM Inbox contact link ⬇️
ucp.php?i=pm&mode=compose&u=9711
blitzcraig
Posts: 3032
Joined: Fri Oct 18, 2013 12:00 am
Location: United States of America

Re: Forum Search

Post by blitzcraig »

MadMikael wrote: Sun Jan 21, 2018 6:40 pm "Make something that even a fool could use, and only a fool will use it."
JaJaJaJa, I love it - this is EXACTLY how I feel about Apple products as well :p
Beeware the Spiral Blitzbees...
⬜ 💣 🌏
User avatar
MadMikael
Posts: 3301
Joined: Sat Mar 08, 2014 5:54 pm
Location: Windsor, Ontario, Canada (EST time zone)

Re: Forum Search

Post by MadMikael »

I don't really have any experience with apple products (well, not since the 80s)
But I have pulled out my hair more than once over something stupid that windows does.
I love the fact that it can work across so much different hardware, and that it supports so much software...
But it is far from perfect.
Meh, what they've achieved is nothing short of great, but there is room for improvement I think.
RETIRED [GM] - Game Master

Please contact GM Inbox for help if you need it.

⬇️ GM Inbox contact link ⬇️
ucp.php?i=pm&mode=compose&u=9711
Post Reply