Search Results for 'bbpress'
-
Search Results
-
Topic: add new roles
Hello,
I would like to create new roles in bbpress.
Since this is not easy, I have used this code/** * Neue Benutzerrollen */ function add_new_roles( $bbp_roles ) { /* Add a role called Super-Administrator */ $bbp_roles['bbp_super-administrator'] = array( 'name' => 'Super-Administrator', 'capabilities' => custom_capabilities( 'bbp_super-administrator' ) ); /* Add a role called Administrator */ $bbp_roles['bbp_administrator'] = array( 'name' => 'Administrator', 'capabilities' => custom_capabilities( 'bbp_administrator' ) ); /* Add a role called VIP-Member */ $bbp_roles['bbp_vip-member'] = array( 'name' => 'VIP-Member', 'capabilities' => custom_capabilities( 'bbp_vip-member' ) ); /* Add a role called Member */ $bbp_roles['bbp_member'] = array( 'name' => 'Member', 'capabilities' => custom_capabilities( 'bbp_member' ) ); /* Add a role called Trial-Member */ $bbp_roles['bbp_trial-member'] = array( 'name' => 'Trial-Member', 'capabilities' => custom_capabilities( 'bbp_trial-member' ) ); /* Add a role called User */ $bbp_roles['bbp_user'] = array( 'name' => 'User', 'capabilities' => custom_capabilities( 'bbp_User' ) ); return $bbp_roles; } add_filter( 'bbp_get_dynamic_roles', 'add_new_roles', 1 ); function add_role_caps_filter( $caps, $role ) { /* Only filter for roles we are interested in! */ if( $role == 'bbp_super-administrator' ) $caps = custom_capabilities( $role ); if( $role == 'bbp_administrator' ) $caps = custom_capabilities( $role ); if( $role == 'bbp_vip-member' ) $caps = custom_capabilities( $role ); if( $role == 'bbp_member' ) $caps = custom_capabilities( $role ); if( $role == 'bbp_trial-member' ) $caps = custom_capabilities( $role ); if( $role == 'bbp_user' ) $caps = custom_capabilities( $role ); return $caps; } add_filter( 'bbp_get_caps_for_role', 'add_role_caps_filter', 10, 2 ); function custom_capabilities( $role ) { switch ( $role ) { /* Capabilities for 'Super-Administrator' role */ case 'bbp_super-administrator': return array( // Keymasters only 'keep_gate' => true, // Primary caps 'spectate' => true, 'participate' => true, 'moderate' => true, 'throttle' => true, 'view_trash' => true, // Forum caps 'publish_forums' => true, 'edit_forums' => true, 'edit_others_forums' => true, 'delete_forums' => true, 'delete_others_forums' => true, 'read_private_forums' => true, 'read_hidden_forums' => true, // Topic caps 'publish_topics' => true, 'edit_topics' => true, 'edit_others_topics' => true, 'delete_topics' => true, 'delete_others_topics' => true, 'read_private_topics' => true, // Reply caps 'publish_replies' => true, 'edit_replies' => true, 'edit_others_replies' => true, 'delete_replies' => true, 'delete_others_replies' => true, 'read_private_replies' => true, // Topic tag caps 'manage_topic_tags' => true, 'edit_topic_tags' => true, 'delete_topic_tags' => true, 'assign_topic_tags' => true ); /* Capabilities for 'Administrator' role */ case 'bbp_administrator': return array( // Primary caps 'spectate' => true, 'participate' => true, 'moderate' => true, 'throttle' => true, 'view_trash' => true, // Forum caps 'publish_forums' => true, 'edit_forums' => true, 'read_private_forums' => true, 'read_hidden_forums' => true, // Topic caps 'publish_topics' => true, 'edit_topics' => true, 'edit_others_topics' => true, 'delete_topics' => true, 'delete_others_topics' => true, 'read_private_topics' => true, // Reply caps 'publish_replies' => true, 'edit_replies' => true, 'edit_others_replies' => true, 'delete_replies' => true, 'delete_others_replies' => true, 'read_private_replies' => true, // Topic tag caps 'manage_topic_tags' => true, 'edit_topic_tags' => true, 'delete_topic_tags' => true, 'assign_topic_tags' => true, ); /* Capabilities for 'VIP-Member' role */ case 'bbp_vip-member': return array( // Primary caps 'spectate' => true, 'participate' => true, // Forum caps 'read_private_forums' => true, // Topic caps 'publish_topics' => true, 'edit_topics' => true, // Reply caps 'publish_replies' => true, 'edit_replies' => true, // Topic tag caps 'assign_topic_tags' => true, ); /* Capabilities for 'Member' role */ case 'bbp_member': return array( // Primary caps 'spectate' => true, 'participate' => true, // Forum caps 'read_private_forums' => true, // Topic caps 'publish_topics' => true, 'edit_topics' => true, // Reply caps 'publish_replies' => true, 'edit_replies' => true, // Topic tag caps 'assign_topic_tags' => true, ); /* Capabilities for 'Trial-Member' role */ case 'bbp_trial-member': return array( // Primary caps 'spectate' => true, 'participate' => true, // Forum caps 'read_private_forums' => true, // Topic caps 'publish_topics' => true, 'edit_topics' => true, // Reply caps 'publish_replies' => true, 'edit_replies' => true, // Topic tag caps 'assign_topic_tags' => true, ); /* Capabilities for 'User' role */ case 'bbp_user': return array( // Primary caps 'spectate' => true, 'participate' => true, // Forum caps 'read_private_forums' => true, // Topic caps 'publish_topics' => true, 'edit_topics' => true, // Reply caps 'publish_replies' => true, 'edit_replies' => true, // Topic tag caps 'assign_topic_tags' => true, ); break; default : return $role; } }
Unfortunately, I have the problem that the rights are all set to deny, as soon as the user changes something in his profile.
Can I prevent that?In addition I have installed the plugin “bbPress Advanced Capabilities”
VeePay
I am using the bbPress import tool to try and move my old Joomla Kunena forum to bbPress on our new WordPress site, but on the conversion box it just says there are no users, topics, forums, etc. Any ideas?
New Site: http://www.mythicrealms.com/wordpress_new/forums
Old Site: http://www.mythicrealms.comWordpress version 4.9.5
bbPress version 2.5.14Please help!! Thank you!
MichelleHi there.
I tried to install bbpress in Joomla, but I can`t understand how it works. so please guide me..Topic: Private Forum issue
I am using WP 4.9.5 and bbpress 2.5.14 for a closed user group. Access to the forum main page needs registration and sign in. That works well. On the forum main page the different forums are marked as privat. When I am on the page of a specific forum, in the title “Privat” appeards twice. This is not a critical issue, but not nice. What do I have to do to change that?
Hello,
How to show bbpress Post Count, Author Count, Last Post Date in Google results?
The info below was submitted to Elementor tech support. They are stumped after several days and iterations and asked me to inquire here if someone had seen something similar and might give us a clue as to what is happening.
*******************
Using bbpress, I have subforums, as defined by the parent child relationship. Now it seems that bbpress is refusing to assign ANY parents to any forum. If I take a child forum (any forum) and try to assign it to a new parent, when I update it it ends up with no parent. Every single time.Oddly (LOL), I do have two older test sites where it is working okay. I am stumped about what is different.
I did about an hour of trying to track this down. My final step was to disable every plugin except for buddypress and bbpress. That caused it to start working properly again. I next added Elementor 2.0.4 and that immediately recreated the problem
I downgraded back to Elementor 1.9.8 and the problem persists. I also tried 1.9.6
Buddypress 2.9.4
bbpress 2.5.14
wordpress 4.9.5
elementor (various, 1.9.6, 1.9.8, 2.0.4)I have a site where the parent function is working properly. It is running all the same versions of plugins listed above. The theme in both cases is identical (Astra 1.2.5). The plugins shown are the ONLY plugins activated on the broken site.
I have left my development site with everything disabled for now, but I need to get back to work within a day on this site.
*************************
I have a test site available with the minimal configuration of plugins.I can share the admin login if needed with someone from the bbpress team if they wish to do some deep digging. You can see the site as a user at
Topic: How can I achieve this !
Is there possible from bbPress.org!
I want to setup a forum based on bbPress but to look and have all the functions like bbPress.org has is that possible !
Will bbPress want to help on that !, but just to be it responsive for god sake ^_^
PS Regards from me!
I want to close svn account
http://plugins-svn.bbpress.org/xili-new-post-notification/
What to do ?
Michel
xiligroup.devTopic: Update the Examples
Hi, I’m trying to illustrate to my community organisation the possibilities of forums in general, and specifically bbPress.
But the examples at https://bbpress.org/about/examples/ are mostly quite old, many broken, or much larger forums such as wordpress.org which doesn’t lend itself to being shown as an example of what we can do as a little organisation with such awesome software.
I could help by letting you know which of those links on that page are broken? But does anyone want to help with links to any current, modern responsive designed community forums so I can convince my little org to get on board?
Also this ‘Showcase’ forum seems like its a general support forum? which isn’t a great advertisement for great forum, TBH, but I did find a couple of examples of forums which are nice on the 1st page, so thanks for those
Hey guys!
Is it possible to use WP Forms as the user registration and login for bbpress? I know they both use the same wordpress database to store user info so assume it should be ok?
Would love some help as I have been trying to create the perfect forum for so long!!!
Thanks!How do I make new subscribers to my WP website automatically blocked from bbpress? Or indeed just assign a specific role upon registration to my website? I want to manually decide which new subscribers have access to my forum.