bbPress

Simple, fast, elegant

bbPress Plugin Browser »

Hidden Forums (0.0.9)

Download

Version: 0.0.9

Last Updated: 2009-5-13

Requires bbPress Version: 0.9 or higher

Compatible up to: 0.9

Author Homepage »

Plugin Homepage »

Donate to this plugin »

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(20)

Your Rating

Author: _ck_


  1. _ck_

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Moderator

    I guess I follow what you are saying in that WP is fetching the bbPress RSS feed via PHP. If your cookie method works in other cases, it should work with my plugin. But I don't think it's possible to send passwords via URL ("get") anymore in bbPress? This isn't a limitation of my plugin but of (newer?) bbPress.

    By the way, kinda dangerous to send passwords that way as it will show in the logs.

    In theory, you could show the feed via ajax (thereby using the user's password/browser) but that's probably more work that you want to do.

    Posted: 1 year ago #
  2. goran_tss

    Member

    Oh, I didn't know that those passwords will be shown in the logs, kind of a serious drawback.

    I will try to use ajax as you suggest... even though it is probably more work that I wanted to do... or capable of doing...

    Thanks for your help, I really appreciate it!

    Posted: 1 year ago #
  3. Any idea why when I hide forum "10", "1" also gets hidden. If I turn off the plugin, "1" appears and "10" is hidden.

    This happens to everyone, even keymasters.

    Posted: 1 year ago #
  4. _ck_

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Moderator

    bbPress has no built-in hide features. If 10 disappears when the plugin is off, there might be some corruption in your forum setup? Is 10 a regular forum or a subforum? Show me what your config looks like at the top of the plugin?

    Posted: 1 year ago #
  5. I seem to have left the file on my desktop at home (horrible file management I know...). I'll post it when I get back.

    It could be corruption given my import of a phpBB dump. I trashed the database, but I'm a tad scared to try again. At least I'll post the config for the plugin so you can review what I did.

    Posted: 1 year ago #
  6. It works on a virgin install of BBPress, but my import of the phpBB data must be corrupt.

    Posted: 1 year ago #
  7. _ck_

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Moderator

    The corruption might be something very minor.
    The forum table in bbPress 0.9 has no meta so it's very simple to examine.

    I suggest you look at all the rows at once in phpmyadmin and look for something out of whack, like a forum that has a parent stated which doesn't exist (ie. forum 10 has parent forum 2, but forum 2 has been deleted)

    Posted: 1 year ago #
  8. How would I go about using an image to label hidden forums?

    Posted: 1 year ago #
  9. _ck_

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Moderator

    change the [H] part of the text to an image
    ie. <img src="blah">

    Posted: 1 year ago #
  10. hmm..

    I tried that, still nothing, it just displays the html code in front of the forum.

    Is this right?

    $hidden_forums['label']="<img src='linkpearl.gif'>"

    Posted: 1 year ago #
  11. csseur3

    Member

    hey, this plugin is compatible with the 1.0 alpha ?

    Posted: 1 year ago #
  12. _ck_

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Moderator

    mcshockency, hmm - that should work - it's possible that bbpress's filters are stripping the img tag out. I'll have to investigate. Try changing the "10" in these two lines to "11" so they run AFTER bbpress's filters. It may not change anything though.

    add_filter( 'get_forum_name', 'hidden_forums_label',10,2);
    add_filter( 'get_topic_title', 'hidden_forums_label_topic',10,2);

    csseur3, in theory it should work. I have not tested it yet but a quick glance at the code shows it does not user anything that's not available in 1.0 or that has changed.

    Posted: 1 year ago #
  13. _ck_,
    That fix worked about halfway. It shows the image in the forums list, however, in the latest discussions, it still displays the HTML.

    csseur3,
    I'm using this plugin with the 1.0 alpha, works just great ^.^

    Posted: 1 year ago #
  14. Again, you have come to my rescue...and I've only had this forum going for 3 days! I was getting sick of having to reset the privacy on the forums with every change. I made the changes to the php in your plugin, and now I don't have to think about it anymore. Woohoo!

    Posted: 1 year ago #
  15. _ck_

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Moderator

    mcshockency, sorry I missed your message, my rss reader is not triggering like it's supposed to for some reason...

    I think I have a fix, instead of using get_ trying removing that part here:

    add_filter( 'topic_title', 'hidden_forums_label_topic', 11,2);

    and I missed telling you about this function at the end which should be replaced with this:

    function hidden_forums_label_topic_stop() {remove_filter( 'topic_title', 'hidden_forums_label_topic', 11);}
    Posted: 1 year ago #
  16. Awesome, that worked!

    Thanks a ton!

    Posted: 1 year ago #
  17. _ck_

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Moderator

    Apparently this plugin no longer works correctly for some people under the latest bbPress alpha and should only be used with bbPress 0.9

    I personally cannot reproduce the problem and it works just fine for me under the 1.0 trunk, so it might just be their own configuration.

    The effect is it causes excessive queries on their forum.
    I cannot reproduce the problem, so I cannot fix it.

    Posted: 1 year ago #
  18. _ck_

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Moderator

    Update: I've now figured out a workaround for bbPress 1.0 and have posted 0.0.3 with the fix.

    Posted: 1 year ago #
  19. 1 Question: ive installed the "say my name" plugin, now, if i write a name of somebody who is not allowed to read in these hidden forums, will he still get a notification?

    sry 4 my worse english

    Posted: 1 year ago #
  20. another problem, everybody can see the tags, of an hidden forum

    Posted: 1 year ago #

RSS feed for this topic

Add a Comment »

You must log in to post.

Code is Poetry.