Search

bbPress Showcase » Plugins by _ck_

Hidden Forums extension for BuddyPress

RSS

Tags:


  1. burtadsit
    burtadsit

    junior member
    Joined: Jan '09
    Posts: 8

    offline

    Howdy, I've developed a plugin for buddypress and bbpress called bp group forums. It uses the group forums in buddypress and configures bbpress so that public, private and hidden forums are possible. It also implements group forum moderation for buddypress group admins and moderators. I've done the link and configuration between bp and bbpress.

    The public group forums are configured to be read only. The private and hidden bp group forums are configured to be hidden except for bp users who belong to that group.

    I've implemented read only and hidden forums using your read-only-forums and hidden-forums plugins. I haven't even modified those two plugins at all. I just configure all the global vars before your plugins get triggered. Thanks for these by the way. I'm packaging up my plugin and I wanted to distribute your two plugins in the same zip as a convenience.

    Do you mind? My stuff is GPL 3.0 licensed.

    You're not doing anything wrong. Stop trying to do it right.
    Posted 2 years ago #
  2. _ck_
    _ck_

    senior admin
    Joined: Jul '06
    Posts: 884

    offline

    I don't mind at all.

    You might also be interested in knowing I am adding a feature to Hidden Forums that allows a forum to become semi-private in that members can only see messages started by mods/admin and then when they post a topic, only the mods/admin can see/respond to it for them. Sort of like a semi-private support forum.

    Haven't had much time to finish/test it but should be ready by end of February.

    Posted 2 years ago #
  3. burtadsit
    burtadsit

    junior member
    Joined: Jan '09
    Posts: 8

    offline

    Cool. Sounds like an interesting addition. Thanks for the permission.

    Posted 2 years ago #
  4. burtadsit
    burtadsit

    junior member
    Joined: Jan '09
    Posts: 8

    offline

    BuddyPress Group Forums for bbPress

    I've got this plugin up to something testable and releaseable. v0.21
    -----------------------------------------------------------------------------
    Description
    -----------------------------------------------------------------------------
    Enable BuddyPress group forum features in bbPress.

    BuddyPress has three types of groups. Public, Private and Hidden. In all three cases users must be members of a group to participate in group forum conversations.

    These two plugins modify a standard bbPress forum installation to allow
    BuddyPress group members to carry on discussions in bbPress.

    BuddyPress public groups will be read only in bbPress. Anyone wishing to participatein a public group discussion must be a member of that group in bp.

    BuddyPress private and hidden groups will be hidden in bbPress. Only members of these groups will see the forums and be able to participate.

    BuddyPress group admins and mods have moderator privileges in bbPress.
    The moderator role is restricted to their group forum.

    Read more and download:

    http://code.ourcommoninterest.org/2009/02/14/buddypress-group-forums-for-bbpress/

    Posted 2 years ago #
  5. burtadsit
    burtadsit

    junior member
    Joined: Jan '09
    Posts: 8

    offline

    Hey _ck_, I could use your help if you have some time. The bbGroups project that I just announced has forum moderators as part of the package. Perhaps if you have the time and the willingness, you could take a look at that area of the plugin. It seems to be working OK but my skill set in bbpress is not exactly up to your level yet.

    The functions that manage group forum moderation are these:

    oci_capability_filter() - a bb filter for 'bb_current_user_can'

    oci_staff_has_capability() - a function that just looks up what capabilities a forum moderator should have such as 'close_topic', 'delete_post', 'edit_post'

    oci_is_user_staff() - the moderator status is granted if the user is either a bp group admin or moderator and the 'staff' status is stored in user meta as an array of forum ids for any user who has staff status.

    You'll see these things in the zip package that is available in my previous post in this thread. I also stuck the three fns up here: http://pastie.org/391602

    Does this look like it's robust enough and am I missing something dumb and obvious?

    Posted 2 years ago #

RSS feed for this topic

Post a reply to “Hidden Forums extension for BuddyPress”

You must log in to post.

keep _ck_ coding >> donate $5 <<     Theme Switcher:
38 users online from in the past 30 minutes. 16 bots 22 guests
1,114 views today 8,665 yesterday 14,010 peak. Most at once 42 today 48 yesterday 131 peak. Visited today: Dickinsonjohn9, shairah27
2,245 posts in 385 topics over 63 months by 426 of 1,989 members. Latest: dxdiag02, Pablo01, Dickinsonjohn9