Enable search within topic

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Scam Warning
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
gelite33
Registered User
Posts: 10
Joined: Sat Jun 26, 2010 11:42 pm

Enable search within topic

Post by gelite33 »

How can one enable searching within a topic in phpbb3?
User avatar
AdamR
Former Team Member
Posts: 9731
Joined: Tue Mar 02, 2004 5:40 pm
Location: Tampa, Florida
Name: Adam Reyher
Contact:

Re: Enable search within topic

Post by AdamR »

This should be enabled by default provided permissions were set up properly. Check the groups' forum permissions and ensure that "Can search forum" is set to yes.

Could you please fill out the Support Request Template so we can get a better idea of the issue?

- Adam
phpBB Support: Welcome | Userguide | Knowledge Base | Search
Honored supporter of the phpBB Group!
"If I have seen a little further it is by standing on the shoulders of Giants." - Isaac Newton
gelite33
Registered User
Posts: 10
Joined: Sat Jun 26, 2010 11:42 pm

Re: Enable search within topic

Post by gelite33 »

Well if I look at the viewtopic_body file there is this:
<td><!-- IF S_DISPLAY_SEARCHBOX_DONOTSHOW --><!-- INCLUDE searchbox.html --><!-- ENDIF --></td>

So there seems to be an option to disable it afterall.
gelite33
Registered User
Posts: 10
Joined: Sat Jun 26, 2010 11:42 pm

Re: Enable search within topic

Post by gelite33 »

So any ideas concerning this?
User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 52340
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: Enable search within topic

Post by stevemaury »

That code is not from a standard phpbb file. This is:

Code: Select all

<td><!-- IF S_DISPLAY_SEARCHBOX --><!-- INCLUDE searchbox.html --><!-- ENDIF --></td>
It hides the searchbox if the permission to search is off.

If you want to search on the topic level instead of the forum level, you cannot with the standard phpbb search function.
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)
gelite33
Registered User
Posts: 10
Joined: Sat Jun 26, 2010 11:42 pm

Re: Enable search within topic

Post by gelite33 »

http://www.phpbb.com/about/features/

this page says there is topic search in phpbb3...
User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 52340
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: Enable search within topic

Post by stevemaury »

You mean this?
Attachments
st.png
st.png (11.18 KiB) Viewed 1706 times
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)
gelite33
Registered User
Posts: 10
Joined: Sat Jun 26, 2010 11:42 pm

Re: Enable search within topic

Post by gelite33 »

Yup.
User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 52340
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: Enable search within topic

Post by stevemaury »

If the Registered users group has the permission "Can search board" you should see it either at the top (prosilver and prosilver-based styles), or lower left in ss2 and styles based on it - here:
Attachments
sss.png
sss.png (8.15 KiB) Viewed 1695 times
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)
gelite33
Registered User
Posts: 10
Joined: Sat Jun 26, 2010 11:42 pm

Re: Enable search within topic

Post by gelite33 »

Users can search the board and yet its not there. Whats is the exact set of code that adds the box to the template?
User avatar
Brf
Support Team Member
Support Team Member
Posts: 52573
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: Enable search within topic

Post by Brf »

stevemaury already explained that to you:
gelite33 wrote:Well if I look at the viewtopic_body file there is this:

Code: Select all

<td><!-- IF S_DISPLAY_SEARCHBOX_DONOTSHOW --><!-- INCLUDE searchbox.html --><!-- ENDIF --></td>
stevemaury wrote:That code is not from a standard phpbb file. This is:

Code: Select all

<td><!-- IF S_DISPLAY_SEARCHBOX --><!-- INCLUDE searchbox.html --><!-- ENDIF --></td>
You need to take out that "_DONOTSHOW"
Locked

Return to “[3.0.x] Support Forum”