Skip to:
Content
Pages
Categories
Search
Top
Bottom

Hidden private forum


  • ttmt
    Participant

    @ttmt

    Hi all

    I have bbpress all installed and everything seems to be working fine.

    I currentlt have 3 forums and about 200 users that have aacess to all forums

    I’d like to create a new forum that is only accessible to some users

    Is it possible to a have a forum only visible to certain users.

    I currently have a forum index like

    Forum 1
    Forum 2
    Forum 3

    This is visible to all users

    I would like some users to see

    Forum 1
    Forum 2
    Forum 3
    Forum 4 – Private

    Is this possible

Viewing 17 replies - 1 through 17 (of 17 total)

  • Robin W
    Moderator

    @robin-w

    yes, use this in addition to bbpress

    https://wordpress.org/plugins/bbp-private-groups/


    ttmt
    Participant

    @ttmt

    Hi Robin

    Thanks for the reply and the plugin.

    This looks like it could be exactly what I need but I’m having a few problems getting it to work the way I need it

    Is it possible to have a forum that is completely hidden from some users.

    I just need a forum that only some users can see.

    So for the majority of users the forum index would be:

    Forum 1
    Forum 2
    Forum 3

    For users with access to the hidden forum the forum index would be

    Forum 1
    Forum 2
    Forum 3
    Forum 4 – Private Forum

    I don’t want users without access to the hidden forum to know it exists.

    Is this possible with your plugin.

    If this is possible could you briefly describe the process to do this.


    Robin W
    Moderator

    @robin-w

    So given forums 1, 2, 3 & 4

    a. Not logged in user – should they see any forums or existenece of forums?
    b. Logged in users – majority would have access to forums 1, 2 & 3 , but not know 4 esists
    c. Chosen users – access to forums 1, 2, 3, & 4.

    Your answer to a. is needed first


    ttmt
    Participant

    @ttmt

    Hi Robin

    My site is set up so only users that are logged in can see the forum.

    All users that are logged into the site are participants in the forum.

    I just need a forum that only some of the users can see.


    Robin W
    Moderator

    @robin-w

    ok, so set up that forums 1, 2, & 3 are private forums

    Dashboard>forums>all forums and edit each to set visibility on right hand side to private

    These will then only be seen by logged on users.

    Then for forum 4 set up a group using private groups plugin

    Dashboard>settings>bbp private groups and set up a group under the ‘group name’ settings tab

    then set the private forum to this group

    then set any special users to this group


    ttmt
    Participant

    @ttmt

    Hi Robin

    Thanks again for your help.

    I think I had it working but now I’m getting an error when I activate the plugin.

    Warning: Illegal string offset ‘activate_remove_private_prefix’ in /Users/chris.dickinson/Desktop/MAMP-DocRoot/explore_ideas/src/php/wp-content/plugins/bbp-private-groups/includes/functions.php on line 140

    This error message appears above the name of the forum in the forum list

    Have you any idea hoe to fix this or what might be causing it.


    ttmt
    Participant

    @ttmt

    Hi Robin

    I have error messages in the plugin as well next to the Activate buttons.

    Dashboard > Settings > bbp Privarte Group > General Settings:

    Under Hide topic and reply counts

    Warning: Illegal string offset 'hide_counts' in /Users/chris.dickinson/Desktop/MAMP-DocRoot/explore_ideas/src/php/wp-content/plugins/bbp-private-groups/includes/settings.php on line 414
    

    Under Show Descriptions

    Warning: Illegal string offset 'activate_descriptions' in /Users/chris.dickinson/Desktop/MAMP-DocRoot/explore_ideas/src/php/wp-content/plugins/bbp-private-groups/includes/settings.php on line 420

    Under Remove ‘Private’ prefix

    Warning: Illegal string offset 'activate_remove_private_prefix' in /Users/chris.dickinson/Desktop/MAMP-DocRoot/explore_ideas/src/php/wp-content/plugins/bbp-private-groups/includes/settings.php on line 426


    Robin W
    Moderator

    @robin-w

    Can you tell me if you’re using 2.5 or 2.5.1 of the private groups plugin?


    ttmt
    Participant

    @ttmt

    Hi Robin

    I downloaded from the link you provided

    https://wordpress.org/plugins/bbp-private-groups/

    2.5

    If I select all the activate buttons mentioned above the error message disappear


    Robin W
    Moderator

    @robin-w

    You are using mamp – I suspect you have php5.4 within that?

    If you confirm yes, then I suspect I know the source of the issue, and I’ll need to work a solution out.


    ttmt
    Participant

    @ttmt

    Yes I’m using MAMP but php5.5.10


    Robin W
    Moderator

    @robin-w

    ok, for the moment either ignore or set them on.

    I’m just fixing another issue in another plugin for someone else, and I’ll look at this after that.


    ttmt
    Participant

    @ttmt

    Thanks for your help Robin W


    Robin W
    Moderator

    @robin-w

    from php 5.4 onwards php was stricter when looking at strings and arrays.

    I’ll need to correct the code to work with later php versions


    Robin W
    Moderator

    @robin-w

    @ttmt

    I have created a version that should work with php5.4 and above, but need you to test as I don’t have that version !

    Can you go to my site and download the beta version

    http://www.rewweb.co.uk/private-groups-2-5-3/

    Can you let me know if the errors disappear and do a quick check across all the settings tabs so see that there are none in other tabs

    Thanks

    Robin


    ttmt
    Participant

    @ttmt

    Hi Robin

    I haven’t used your new beta version but the errors seemed to have cleared now.

    Do you think it’s best to use your updated beta version anyway ?


    Robin W
    Moderator

    @robin-w

    No leave it at 2.5.2 – might have been an issue with you mamp.

    The reference to php 5.4 being stricter I found seemed to indicate that there was an issue in certain circumstances, so unless it is a firm problem I don’t want to alter code.

    I know which files I changed (only 2) and will keep this as a reserve in case.

    Thanks for coming back ! much appreciated !

Viewing 17 replies - 1 through 17 (of 17 total)
  • You must be logged in to reply to this topic.
Skip to toolbar