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.
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
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.
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
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.
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
Can you tell me if you’re using 2.5 or 2.5.1 of the private groups plugin?
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
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.
Yes I’m using MAMP but php5.5.10
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.
Thanks for your help 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
@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
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 ?
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 !