phpBB

Development Discussion Board

phpBB's testing ground of bleeding edge code
Advanced search

[RFC] blacklist forums in default searches

Publish your own request for comments or patches for the next version of phpBB. Discuss the contributions and proposals of others. Upcoming releases are 3.1/Ascraeus and 3.2/Arsia.

[RFC] blacklist forums in default searches

Postby Erik Frèrejean » Mon Jul 02, 2012 10:58 am

Currently if you use the "view unanswered posts", "view unread posts", "view new posts" or "view active topics" searches phpBB will include all forums in the result and there is no way to limit these results. This is a problem as search results might become cluttered with forums you don't wan't/need in your result set. Examples being a "trash" forum or when looking at phpbb.com the "[3.0.x] Abandoned MODs" forum. Also if you visit a board just because you are interested in some forums it would be nice when those quick searches only display the results you are actually looking for.

I'd suggest adding a select box to the ucp (can be added to the "Edit display options" section) where a user can blacklist forums, these blacklisted forums will be taken in account when one of these default searches is used. Also if a blacklist is used the search results page will contain a link which can be used to display all results without having the need to reset your settings if you quickly want to see the result set for the complete board.
Available on .com
Support Toolkit developer
User avatar
Erik Frèrejean
Registered User
 
Posts: 207
Joined: Thu Oct 25, 2007 2:25 pm
Location: surfnet

Re: [RFC] blacklist forums in default searches

Postby Senky » Mon Jul 02, 2012 11:10 am

+1, we all should know how abusing it is to see all new posts from all forums.

I would maybe suggest adding selectbox to the UCP, but also show it in the page of that searches to see another results you want in quick manner. Of course, this selection would be temporary and after next visiting of search, default setting from UCP would be used again.
Senky
Registered User
 
Posts: 222
Joined: Thu Jul 16, 2009 4:41 pm

Re: [RFC] blacklist forums in default searches

Postby Erik Frèrejean » Mon Jul 02, 2012 11:42 am

Senky wrote:but also show it in the page of that searches to see another results you want in quick manner.

I'm kinda +1 on that, however that might clutter the page a lot as well. Although it could be hidden with some javascript and a "adjust filter" link so something similar.
Available on .com
Support Toolkit developer
User avatar
Erik Frèrejean
Registered User
 
Posts: 207
Joined: Thu Oct 25, 2007 2:25 pm
Location: surfnet

Re: [RFC] blacklist forums in default searches

Postby Jacob » Mon Jul 02, 2012 3:48 pm

Really good idea.
User avatar
Jacob
Registered User
 
Posts: 52
Joined: Wed Jan 04, 2012 1:41 pm

Re: [RFC] blacklist forums in default searches

Postby drathbun » Mon Jul 02, 2012 5:11 pm

I've had this for years on my phpBB2 board. :) Each user has three choices for every forum on the board. Do I want to show or hide the forum (which will make the forum visible / not visible on places like the index and jumpbox), do I want to search / non search the forum (note that it is possible to search a forum that is hidden by the prior setting), and do I want to subscribe to a forum. Obviously phpBB3 already has the forum subscription option. I can tell you that my users very much like the show / hide option. Why have a different tag for search /no search and show / hide? Because as an example, I don't want to search the "off topic" forum but I do occasionally want to read it. So the "new topics since last visit" search results should not include anything from OT, but I can still see the forum on the index and go read it if / when I want to.

As a final note, the board admin / owner has the ability to set which forums can be hidden or not. For example, there's no impact to hiding the "off topic" forum, but I don't want users to hide the "board announcements" forum.
Sometimes you're the windshield, sometimes you're the bug.
User avatar
drathbun
Registered User
 
Posts: 72
Joined: Wed Feb 15, 2006 6:40 pm
Location: Texas

Re: [RFC] blacklist forums in default searches

Postby Erik Frèrejean » Mon Jul 02, 2012 5:14 pm

I'm actually doing the same thing on one of my boards, though we have various groups with "never" permissions if users want to hide a forum, although that isn't exactly the nicest/most user friendly way to handle that. I actually like the idea of hiding the forum completely.

drathbun wrote:As a final note, the board admin / owner has the ability to set which forums can be hidden or not. For example, there's no impact to hiding the "off topic" forum, but I don't want users to hide the "board announcements" forum.

The permissions system can be utilised for that, simply add one (or two incase the "hide" feature also comes) forum permissions.
Available on .com
Support Toolkit developer
User avatar
Erik Frèrejean
Registered User
 
Posts: 207
Joined: Thu Oct 25, 2007 2:25 pm
Location: surfnet

Re: [RFC] blacklist forums in default searches

Postby Senky » Mon Jul 02, 2012 5:56 pm

Erik Frèrejean wrote:
Senky wrote:but also show it in the page of that searches to see another results you want in quick manner.

I'm kinda +1 on that, however that might clutter the page a lot as well. Although it could be hidden with some javascript and a "adjust filter" link so something similar.

Yes, of course it would be defaultly hidden. But general idea is to give users real flexibility.
Senky
Registered User
 
Posts: 222
Joined: Thu Jul 16, 2009 4:41 pm


Return to [3.x] RFCs

Who is online

Users browsing this forum: No registered users and 13 guests