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
Moderator: Game Administrators
Code: Select all
Searched query: +fast+13+level
ignored: level 13
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
Code: Select all
fts "level 13"
Just trying to find a way to do it in the forum is all.You will be at level 13.
The reply: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.
Sphinx of course was linked. Sorry for ruffling any feathers.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.
Windows....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.
JaJaJaJa, I love it - this is EXACTLY how I feel about Apple products as well :pMadMikael wrote: Sun Jan 21, 2018 6:40 pm "Make something that even a fool could use, and only a fool will use it."