); ?>

forums settings', 'bbp-private-groups') ?> See help tab for more information

If you have activated forum visibility above, then users without access will see forums headings and descriptions. When they click these forum titles, they need to be sent somewhere, if only to say that they do not have access. However this is an excellent opportunity to "sign them up" so you can send them to say a register or buy access page. ', 'bbp-private-groups'); ?>





If you have activated forum visibility above, for private group forums, when user does not have access, you can either show a message in freshness column, or leave it as the default time since last post. In both cases for users without access they will be taken to the redirect page above. ', 'bbp-private-groups'); ?>



This section allows you to set up groups. Enter a Description for each group eg gamers, teachers, group1 etc.

' ; ?>

Forum Visibility Settings

You have various display options

Only logged in users see group forums, and even then only ones that they have access to.

Description : the default view. Allows up to 8 groups with unique combination of access to forums, but they only see those they have access to.

To set : Do not set the visibility.

All forum titles (and optionally descriptions) visible to both logged on and non-logged on users.

Description: Users and non-users will be able to see that group forums exist, but not access topics/replies.

Possible Usage : show that lots of forums exist, with ability to go to “sign-up” page.

To set: Set visibility to public below and set forums to public in each forum’s attributes (dashboard>forums).

Public forums titles (and optionally descriptions) visible to logged on and non-logged on users. Private forums set visible to logged on users

Description : Non-logged in will only see group forums that are public, but not access topics/replies. Logged in users will see and access topics/replies for Private Group forums that are set to public, private forums that have no groups set will be accessible to all logged in users, but private group forums that the user does not belong to will be hidden.

Possible Usage : Show some group forums exists, whilst keeping others visible only for private groups. Allows rich display options for each group, and user.

To set : Set visibility to public below and set any private forums to private in that forum’s attributes (dashboard>forums).

Group name : ' ; ?> No. users in this group : get_col("select ID from $wpdb->users") ; $countu=0 ; foreach ($users as $user) { $check= get_user_meta( $user, 'private_group',true); if ($check==$name) $countu++ ; } echo $countu ; ?>
Forums in this group : get_col("select ID from $wpdb->posts where post_type='$forum'") ; $countu=0 ; echo '
    ' ; foreach ($forums as $forum) { $meta = (array)get_post_meta( $forum, '_private_group', false ); foreach ($meta as $meta2) { if ($meta2==$name) { $ftitle=bbp_forum_title($forum) ; echo '
  • '.$ftitle.'
  • ' ; $countu++ ; } } } echo '
' ; echo 'No. forums that have this group set : '.$countu ; ?>
Click to activate forum visibility'; } function freshness_checkbox() { global $rpg_settingsf ; $item4 = $rpg_settingsf['set_freshness_message'] ; echo ' Click to activate a freshness message'; } function activate_hide_counts_checkbox() { global $rpg_settingsg ; $item1 = $rpg_settingsg['hide_counts'] ; echo ' Hide topic and reply counts'; } function activate_descriptions_checkbox() { global $rpg_settingsg ; $item2 = $rpg_settingsg['activate_descriptions'] ; echo ' Show forum content (Descriptions) on main index'; } function activate_private_prefix_checkbox() { global $rpg_settingsg ; $item3 = $rpg_settingsg['activate_remove_private_prefix'] ; echo ' Remove Private prefix'; } function activate_new_group() { global $rpg_groups ; $item6 = $rpg_groups['activate_new_group'] ; echo ' Click and then press "save groups" to add a new group' ; }