Make selected forums completely hidden except to certain members or roles. Uses streamlined code and methods in bbPress 0.9 to be faster than previous solutions without their quirks.
bbPress plugin browser »
Hidden Forums (0.0.2)
Download
Version: 0.0.2
Last Updated: 2008-4-28
Requires bbPress Version: 0.9 or higher
Compatible up to: trunk
Average Rating





Your Rating
Author: _ck_
-
Version 0.0.1 is intended as a public beta test for the adventurous. Please report any errors or incompatibilities. You should find this solution faster than the other two plugins with similar abilities.
If you are using "My Views", please make sure you upgrade to 0.1.1 which fixes a compatibility bug with Hidden Forums.
There is no admin menu yet so you will have to edit the plugin directly for now. Thanks for any feedback.
Posted: 2 months ago # -
I'm tempted, but we can't afford any huge bugs. Perhaps on another release.
I look forward to it ck!
Posted: 2 months ago # -
works fine for me. had just one little bug everytime when editing the first post in a topic another [h] was added :D
Posted: 2 months ago # -
will be installing this in the next few days.
you rock.
Posted: 2 months ago # -
monstr could you clarify what you mean?
was it[h][h] topic title?Did the second one go away after you finished editing?
Oh wait, I know what it probably is doing.
I can fix it using a new feature in bbPress 0.9.0.2Give 0.0.2 a shot when you see it pop-up here shortly.
Posted: 2 months ago # -
Thank you for this plugin, _ck_. This solved a lot of the problems I had with the Private Forums plugin (i.e. it flips everything public when you make a change in the admin panel). The [h] is a nice reminder that you're hidden.
Posted: 2 months ago # -
Will you hide this in the RSS Feed as well? Because that's another main worry I have.
On another note: thanks - this is the first hidden forums plugin that has worked for me so far.Posted: 2 months ago # -
RSS feeds should also obey the hidden forums.
Are you finding that they are not?I believe I have covered virtually every type of page a forum or topic can appear on, including RSS, Views, favorites, profile pages, etc.
There is only one weakness and it's a bbPress limitation: tags on hidden posts can still be seen by all in the tag hotlist. However a user without priviledges to see the forum cannot see anything if they click on the tag.
Posted: 2 months ago # -
Well, in the RSS feed http://www.mysite.com/forums/rss.php I still get the hidden forums appearing :(
Actually - nevermind. I sent the link around to some people and it turns out only I can see it... Yay! Great plugin _ck_. Can I contact you with questions about the code in BBPress? (If so, how?)Posted: 2 months ago # -
Bug/Problem
Looks like topics created in hidden forums show up under the "Latest Discussions" section. Anonymous (ie not logged in) users can click on the topic and view the topic.BBpress 9.0.2
Hidden Forums 0.0.2
shows in both Firefox2 and IE7Feature Request
Generated [h] (instead of editing the actual subject of the topic and inserting an [h] - generate the text next to the listing (not sure how to technically say this))Posted: 2 months ago # -
lilnigsta, they most certainly should not show up in latest discussions and if clicked should not be able to visit.
Are you saying those topics have an [h] next to them when logged out? If there's no [h], you are not hiding the forum properly and may have the wrong id # ?
Please double-check the forum numbers you are trying to hide.
If you still think you are doing it properly, let me know what other plugins you use?
Posted: 2 months ago # -
They had the [h] next to them, i've since removed that just because i'd rather it not modify the subject line.
And no, i'm not confident I have it setup right :-/
Here are my settings, i'll explain after...
*later*
Okay so I decided to double check my settings before posting, and I did find my problem.
When i first setup everything I had 1 forum area I was hiding. But in between then and now I had created a Sub-forum area within that area, and I assumed that if a parent was hidden the child would also be hidden.
Its been corrected and everything is working as expected. Thanks :)
As soon as you get that admin panel working, these issues will be irrelevant, it was an issue of my not really getting how to setup the stuff in the plugin file. But i get it now.
Posted: 2 months ago # -
Is this plugin just like the private forums plugin except users can't see the topics listed?
Posted: 1 month ago # -
Hi _ck_, I use a lot of your plugins and they all make forum life a little easier ;)
A question regarding the hidden forums tho: I would expect a sub forum of a hidden forum to be automatically hidden too. Is this a deliberate choice, or something to be implemented in the future?Posted: 4 weeks ago # -
For maximum speed, all forums, including sub-forums have to be specified. To lookup all the sub-forums dynamically for every query would add significant overhead and the idea with this plugin is speed (and reliability).
Eventually when there is an admin menu, it very easy to make it automatically include all the sub-forums but of course this becomes a problem if more sub-forums are added later.
Posted: 4 weeks ago # -
OK I see, thanks!
Posted: 3 weeks ago # -
This plugin is excellent. Way better than "Private forums" in its handling of things. However, I would like to point out a kind of annoyance I encountered: if I post a topic under a hidden forum and let a conversation develop in this hidden forum, and then I promote (move) the whole topic to another forum which is not hidden, I then hear complaints from some members (the ones that are not capable of seeing the hidden forum) stating that they only see the first post of the topic but not the consequent responses (they can see that the topic points out there are x amount of responses although they only see the first one).
It seems as if every post made under the hidden forum was count as being "hidden", and by moving the whole topic they remain hidden. I edited the posts and save them (after the topic was made public) and now they behave as they should.
Could it be that the posts retain as metadata the forum in which they where originally posted and when you move the entire topic they do not change said metadata? If this is bbPress behaviour then it seems reasonable that by editing the posts under the new forum and saving them, they change the metadata linking them to the new forum.
Did this make any sense?
To conclude: does moving a topic to another forum change the metadata that links all the posts made in this topic to the original forum it was posted in?
Posted: 3 weeks ago # -
rosebud that's an interesting bug report. I have no idea why that happens. Individual posts do not have metadata, only the full topic.
I'll have to do some testing to find the cause (and to see if I can even reproduce the problem).
It occurs to me the bug might be within bbPress itself and not my plugin. Essentially every post keeps track of it's own forum_id in addition to it's topic_id. If for some reason bbPress only updated the first post's forum_id (in the topic table and not the post table) when an entire topic is moved, then that would explain this bug - as my plugin would do exactly what it's being told - the extra posts have a hidden forum_id so people aren't allow to see them.
If I am correct about this being a bbPress bug, not only would it have to be fixed but a routine would have to be written to go through every single topic, loop through every single post per topic, and make sure it's assigned the forum_id of it's parent (the topic's forum_id). Otherwise everything gets out of sync.
Someone needs to open a TRAC ticket... done
http://trac.bbpress.org/ticket/887Posted: 3 weeks ago # -
Hi _ck_, what a great plugin mate!
Just a tinsy suggestion. I use bbpress as a private forum in a multi-author blog. I used to show rss in wordpress' dashboard, so users don't have to check forum rss by themselves. The problem is that wp doesn't use (can't?) bbpress cookie to get the unhidden rss, so it always fetches it blank.In older versions of bbpress I had something like this in wp-admin/index-extra.php:
$rss = @fetch_rss('http://my.blog/bbpress/rss.php?adminkey=generic_password');
And then in bbpress/rss.php I use that key to check if the rss petition was made by someone who knows it. Then if the key was correct, show rss. If not show something like "sorry, private rss".I know it's very rudimentary but... it worked. May be this concept can be used in your plugin to allow fetching of private rss without user cookie.
Again, great work!
Posted: 1 day ago #
Add a Comment »
You must log in to post.