phpBB3 Site Search

x.15a2 Community Leader x.15a2
Created: 6 years and 6 months ago
I admin a phpBB3 forum. By default, searches for the forums (searching for forum content) is performed by built in searches. I have noticed that quite a few phpBB3 forums use Google () for their searches. What I'd like to do is adapt what is described in this post: to have DDG as my forum's search engine. Does anyone have experience with doing this?

Death is conquered though you is the perfect number

This forum has been archived

Thank you all for the many comments, questions and suggestions. Particular thanks go to user x.15a2 for constantly monitoring, replying and helping so many users here. To continue these discussions, please head over to the DuckDuckGo subreddit.

Replace action="" with action=""
Not sure if the site search stuff would work, but name="site" might work for the site search part of the code.
<div class="panel bg3">
  <div class="inner">
    <span class="corners-top"><span></span></span>
   <h3>Duckduckgo Search query</h3>
        <dt><label for="q">ddg Site Search:</label><br><span>To search a phrase, surround in double quotes ""<br/> To exclude terms, lead with -<br/>  For exact terms, lead with +<br/>For wildcards use * </span></dt>
          <form method="get" action="">
            <input type="text" name="q" size="40" maxlength="255" value="" class="inputbox"/><br/>
            <input type="radio" name="site" value="" checked="checked" /> Forums Only <br/>
            <input type="radio" name="site" value="" /> Entire Site<br/>
            <input type="submit" value="Duckduckgo Search" />
  <span class="corners-bottom"><span></span></span>

No idea if that code will work in practice, but it should
posted by [Old Forum atomic1fire] • 6 years and 5 months ago Link
Hacking through this might help, too.
posted by [Old Forum rocky1138] • 6 years and 5 months ago Link
That's what I used to figure out the necessary changes, but OP (original poster) is probably long gone.
posted by [Old Forum atomic1fire] • 6 years and 5 months ago Link
Nope, just short gone, but back now. Thanks all, for the input. I'll pour through this and give it a try. I really appreciate the time and effort that you have expended on this!

Death is conquered though you is the perfect number
posted by x.15a2 Community Leader6 years and 5 months ago Link
Well, unfortunately, none of these work, but I suspect it is due to the web content being stored in MySQL database. For now, I think I'll need to use phpBB3's built-in search.


Or, it could be that the DDG crawler has never visited my site. Sigh.

posted by x.15a2 Community Leader5 years and 11 months ago Link