Search Results for 'bbpress'
-
Search Results
-
I use the latest bbpress 2.6 RC5. The new feature mention is not working properly.
Whenever a user has email address in the text body, the domain after “@” is considered as mention.
ex: in text body info @ test.com (I use with space because the same case here in forum)
changes to:
and @test is clickable as a mention.
Topic: User Roles – Adding/Renaming
Hello,
I’m trying to rename the current roles as well as ADD new roles. When I add the filter to change the current role name, it doesn’t add the new user role I’ve added. If I remove that code, then the new user role shows up.This is the code I’m using.
//BBpress Custom Roles // function add_new_roles( $bbp_roles ) { /* Add a role called tutor */ $bbp_roles['bbp_lead'] = array( 'name' => 'Community Lead', 'capabilities' => custom_capabilities( 'bbp_lead' ) ); 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_lead' ) $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 'tutor' role */ case 'bbp_lead': return array( // Primary caps 'spectate' => true, 'participate' => true, 'moderate' => true, 'throttle' => false, 'view_trash' => false, // Forum caps 'publish_forums' => false, 'edit_forums' => false, 'edit_others_forums' => false, 'delete_forums' => false, 'delete_others_forums' => false, '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, ); break; default : return $role; } } // End BBpress Custom Roles // //BBpress Rename Roles // /* BBPress Renaming Roles */ add_filter( 'bbp_get_dynamic_roles', 'ntwb_bbpress_custom_role_names' ); function ntwb_bbpress_custom_role_names() { return array( // Keymaster bbp_get_keymaster_role() => array( 'name' => 'Administrator', 'capabilities' => bbp_get_caps_for_role( bbp_get_keymaster_role() ) ), // Moderator bbp_get_moderator_role() => array( 'name' => 'Moderator', 'capabilities' => bbp_get_caps_for_role( bbp_get_moderator_role() ) ), // Participant bbp_get_participant_role() => array( 'name' => 'Member', 'capabilities' => bbp_get_caps_for_role( bbp_get_participant_role() ) ), // Spectator bbp_get_spectator_role() => array( 'name' => 'Spectator', 'capabilities' => bbp_get_caps_for_role( bbp_get_spectator_role() ) ), // Blocked bbp_get_blocked_role() => array( 'name' => 'Blocked', 'capabilities' => bbp_get_caps_for_role( bbp_get_blocked_role() ) ));} //BBpress Rename Roles End //Hi there,
the issue here is that I have several bbpress add-on plugins. If I deactivate BBpress before deactivating all of the add-on plugins (e.g. google translate, AsynCRONous bbPress Subscriptions, bbpress Toolkit etc) the website crashes. If I deactivate all of them first, then no problem.
Is there is simple fix “if” statement that i can add to my functions.php file, whereby “if” Bbpress plugin is inactive, also make the following plugins inactive?
Apart from that, this plugin is great.
ThxHi
I used bbpress 2.6 RC 5 and migrated and an SMF forum to bbpress. All went well but the users ae being shown wrong posts .
Some users had 12000+ posts in SMF and now they have 2700 or 3000
Help please!
Kais
Hi, I am using bbPress 2.5 here: https://discusspf.com/community/
My problem is occurring as follows: I have the forum set up so it displays the recent topics as a shortcode on a page for the forum. This works fine for me (keymaster) and displays a create topic box at the bottom of the forum. However, for normal users it displays that they cannot create topics on the forum index, but when they navigate to a particular forum area they are able to create topics then. What is causing this issue and how might I fix it?
Thanks in advance.
Hi
I recently imported a huge SMF into bbpress 2.6 RC 5.
It was faster than 2.5.x and even 2.6 beta .Now i am facing a huge issue of misplacement of replies and users wrongly linked to replies. I am trying to run Recalculate position of each reply in each topic since past few hours and all i get is following error mesaged Fatal error: Out of memory (allocated 73400320) (tried to allocate 200704 bytes)
I have edited the PHP.in and put in highest values i could think of .
Can someone please help me here
@stephen_edgar says if it timesout and we re-run it , it starts from the index wher it had stopped. Is it so ?
Regards
KaisHello!
We are looking to modify BBpress meaning:
– remove the possibility for anonymous users posting answers to questions.
– remove BBpress notices like âYou can publish HTML contentâ or âYou can use BBCodes to format your contentâ.
– remove the website field request when asking a question, along subject type and question status.
– add a name for the description field regarding the title of the subject.
– customize the right sidebar to include: add a question, search and categories of the forum.We are using bbpress 2.5.14 and wordpress 4.7.9. Any help will be much appreciated.
Thank you!
Topic: multisite suggestions?
I have a big decision to make regarding bbPress. I have an eCommerce site we are about to launch which uses WooCommerce, with about 70 plugins.
I could install bbPress (with all the plugins I need) in the single site as it is, but I’m concerned about having 80-90 total plugins in a single site (bbPress + Woo plugins).
Also, I’m wondering how all those bbPress plugins in the same site as Woo will effect performance. I’d really rather not slow the eCommerce down, or bbPress for that matter.
I know some plugins (scripts, etc) also load on every page/post even when they aren’t being used. I’ve seen and used methods to manage this, but it’s not a perfect science. So I might have bbPress scripts loading on Woo pages and vice versa. Of course the more scripts that load on a page, the slower that page becomes.
What I was considering was creating a multisite installation and installing bbPress in a separate sub site from Woo. This way, all the bbPress plugins and performance drain would be isolated more to that specific site.
Then again, I’m really not sure the best path to take. Any suggestions on where to go from here? Thanks for any help.
My installation is here: https://discusspf.com/community/
My trouble is with font sizes. OP seems to be too small, all further replies are decent size and anything included in a quote is huge. Is there a way to change these just for the bbPress part of my theme? I have the ability to add custom CSS for bbPress but donât know what code to add. Can someone please supply code which will make OP and quote text the same size as all the replies. Thanks a bunch in advance!
WordPress 4.9.4, bbPress 2.5.14
From topic subscriptions I’m getting bounced email messages that look like this:
———- Forwarded message ———-
From: [name-of-site] <noreply@[name-of-site].org>
To: noreply@[name-of-site].org
Date: Thu, 8 Mar 2018 19:14:35 +0000
Subject: …You are receiving this email because you subscribed to a forum topic.
Login and visit the topic to unsubscribe from these emails.They bounce, obviously, because they have the same From and To addresses. There is no user who has this address, obviously. The mail is being generated by PHP–that is, I’m not using any additional plugin to send mail.
Any ideas on what might be causing this, and how it might be resolved?
I’m sorry that I can’t link to the site, but it is an intranet, so not publicly available.