Search Results for '"wordpress"'
-
Search Results
-
I went to use a plugin FG Joomla to WordPress with the Kunena plugin addon to import all my Joomla users into WordPress, plus the Kunena forum posts (3000+). Most went fine but I noticed that my admin user on the Joomla site was turned into Anonymous with no link to a profile. All my post replies are now done by Anonymous.
Is there a way to change this Anonymous to my admin user and be linked to the profile? I went to look in the database, but I do not see where bbpress posts and post user names are.
Hi,
I’m working on WP 4.7.1 and BBPress Version 2.5.12. I would like to allow Participants to Trash there own Topics and Posts. I found the following code here in the Forum and added it to my functions.php. When i register as Participant and create a new Topic I have only EDIT / REPLY available, but not TRASH.
/*Customize the BBPress roles to allow Participants to trash topics add_filter( 'bbp_get_caps_for_role', 'ST_add_role_caps_filter', 10, 2 ); function ST_add_role_caps_filter( $caps, $role ){ // Only filter for roles we are interested in! if( $role == 'bbp_participant' ) { $new_caps = array( // Primary caps 'spectate' => true, 'participate' => true, 'moderate' => false, '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' => false, 'read_hidden_forums' => false, // Topic caps 'publish_topics' => true, 'edit_topics' => true, 'edit_others_topics' => false, 'delete_topics' => true, 'delete_others_topics' => false, 'read_private_topics' => false, // Reply caps 'publish_replies' => true, 'edit_replies' => true, 'edit_others_replies' => false, 'delete_replies' => true, 'delete_others_replies' => false, 'read_private_replies' => false, // Topic tag caps 'manage_topic_tags' => false, 'edit_topic_tags' => false, 'delete_topic_tags' => false, 'assign_topic_tags' => true, ); } return $new_caps; } /*Fixes an issue that only allows mods to trash topics. bbpress.trac.wordpress.org/changeset/5852 bbpress.trac.wordpress.org/ticket/2685*/ add_filter( 'bbp_map_reply_meta_caps', 'ST_tweak_trash_meta_caps', 11, 4 ); add_filter( 'bbp_map_topic_meta_caps', 'ST_tweak_trash_meta_caps', 11, 4 ); // tweak for replies function ST_tweak_trash_meta_caps( $caps, $cap, $user_id, $args ){ // apply only to delete_reply and delete_topic if ( $cap == "delete_reply" || $cap == "delete_topic" ){ // Get the post $_post = get_post( $args[0] ); if ( !empty( $_post ) ) { // Get caps for post type object $post_type = get_post_type_object( $_post->post_type ); $caps = array(); // Add 'do_not_allow' cap if user is spam or deleted if ( bbp_is_user_inactive( $user_id ) ) { $caps[] = 'do_not_allow'; // Moderators can always edit forum content } elseif ( user_can( $user_id, 'moderate' ) ) { $caps[] = 'moderate'; // User is author so allow edit if not in admin } elseif ( ! is_admin() && ( (int) $user_id === (int) $_post->post_author ) ) { $caps[] = $post_type->cap->delete_posts; // Unknown so map to delete_others_posts } else { $caps[] = $post_type->cap->delete_others_posts; } } } // return the capabilities return $caps; }Can someone help me with this, or has a other code snippet what is working?
Thx
SallyHey everyone! Guess what?
bbPress 2.6, Release Candidate 3, is now available for testing.
Download it from here: https://downloads.wordpress.org/plugin/bbpress.2.6-rc-3.zip
Why is this cool? For starters, @jeffr0 may finally climb down off my back and stop giving me grief for how long it’s been since we shipped a major release.
bbPress 2.5.0 in 2014, 3 years ago.
Most people wouldn’t be proud to say that, but… I am. The 2.5 branch of bbPress has been so stable & well received, we were able to take our time with 2.6 and double-down on upstream improvements to WordPress.
bbPress 2.6 will come with:
* Per-forum moderators
* Improved favorites & subscriptions management
* Improved BuddyPress integration
* Performance improvements across the board
* UX improvements to meta-boxes and admin-area tools
* Tighter integration with WordPress’s Dashboard
* Template tweaks & clean-up
* About 110 other thingsIf you’re going to test 2.6 on a live site, maybe don’t just yet. It runs a database upgrade routine to migrate favorites & subscriptions from
usermetatopostmeta, and for large forums that may take a while or possibly lock things up for a bit.We are already running 2.6 here and on bbPress.org, so enjoy the speedier new posting experience, and we’ll let you know when the next beta is ready!
Topic: Topics Not Showing on Forum
Hello,
Our topics are no longer being listed on our forum except for sticky topics I believe.
Top blue box says “This forum contains 32 topics and 24 replies, and was last updated by…” but it then only lists 3 topics “Viewing 3 topics – 1 through 3 (of 3 total)”
WordPress: 4.7.1
bbPress: 2.5.12
Theme: Salutation by Parallelus v3.0.2Please help. Thank you.
Wordpress: 4.7.1
bbPress: 2.5.12-6148
theme: Zippy CoursesI have a new bbPress forum and just recently lost the formatting options–there’s just an empty rectangle where the formatting buttons formerly were. Under Forums and then Settings I have several things checked that don’t seem to be available in the forum. For instance: “Add toolbar & buttons to textareas to help with HTML formatting” and “Embed media (YouTube, Twitter, Flickr, etc…) directly into topics and replies” are selected. But these aren’t available.
I would love any direction so I can add basic formatting functionality. I added Forum Beginner Posts plugin but that didn’t change anything so I uninstalled it.
WordPress 4.7 bbPress 2.5.12 http://members.thesoulscripts.com
There seems to be no way for admins or users to unsubscribe from email notifications when they are no longer Participant. After they stop paying to be a member of our site, their Participant role is removed. They should be removed from all email notifications as well at that point. Many angry people! Help!!
Hello,
I am getting the following errors:
Warning: ksort() expects parameter 1 to be array, object given in /home/content/p3pnexwpnas10_data01/99/2483599/html/wp-content/plugins/bbpress/includes/core/template-functions.php on line 316Warning: Cannot modify header information – headers already sent by (output started at /home/content/p3pnexwpnas10_data01/99/2483599/html/wp-content/plugins/bbpress/includes/core/template-functions.php:316) in /home/content/p3pnexwpnas10_data01/99/2483599/html/wp-login.php on line 394
Warning: Cannot modify header information – headers already sent by (output started at /home/content/p3pnexwpnas10_data01/99/2483599/html/wp-content/plugins/bbpress/includes/core/template-functions.php:316) in /home/content/p3pnexwpnas10_data01/99/2483599/html/wp-login.php on line 407
I cannot log in as an admin. My site is artintheblood.net. I should have the latest update of WordPress, but I cannot confirm because I cannot enter the site. Any advice you can offer is greatly appreciated.
Hi, I’ve been working on migrating my large Drupal site to WordPress. I’ve managed to do the majority of the site but now I’m stuck on the forum.
I’m using Drupal 6 and Advanced Forum, I have 26K topics and 700K replies.
I’ve tried running the script on a couple of different local machines, and on my VPS server where I’ve had the most success; the script does the 26K topics smoothly but then hangs pretty early in the replies, around the 700th row. Locally, it gets stuck before. Weird thing is that a couple of times I’ve left it running for longer, eventually it manages to go past that sticking point and just continues extremely slowly.
Also: I’ve read the troubleshooting instructions, which make sense but I don’t understand how to pinpoint the line numbers within the database, specifically these points:
- “Now drop all the rows in the database that are not in the range of rows that failed during import”
- “Once you have your list of offenders and the import has finished delete these rows from the database and test again to make sure it completes without hanging
So question #1: if I look at my database in phpMyAdmin for example, and I know the problem is in rows 700-799 of my replies, how do I locate these rows?
Question #2: Is there a way to know for sure if the problem is performance/memory related or if it’s an encoding issue in a specific row? I don’t know if I should be directing my efforts to solving performance issues or pinpointing problem rows.
And finally question #3: Does anybody here have experience with these issues and would be willing to be hired to do this migration? Contact me if you do please!
Thank you very much for any help you can provide π
Hello,
I am running bbPress v2.5.12 on WordPress 4.7 with a child theme I’ve developed based on Imaginem Themes’ Sentric Theme.
The problem:
In my child theme’s functions, I have added the following code to make two custom roles, Professional and Member, for my Q&A/”Ask the Expert”-style forum called “Ask a Professional.” Essentially, Members can make threads asking questions, but only screened Professionals have the ability to reply and provide answers.I want everyone to automatically be assigned the Member role upon registration. Then I can manually “upgrade” their roles to Professional once they’ve been successfully screened. However, when a user registers and logs in, they inherit Member capabilities, but are not assigned the Member role. Manually selecting the user and assigning them the Member role doesn’t work; their role immediately reverts back to “β No role for these forums β”

When I select the user and manually assign the Participant role, the role “sticks” β meaning, it doesn’t revert back to “No Role.” However, the “Member” capabilities remain.

Does anyone know why this problem persists and how to fix it? This is the final thing that needs to be ironed out before my site goes live. π Thank you!
//code to add custom roles function add_new_roles( $bbp_roles ) { /* Add a role called professional */ $bbp_roles['bbp_professional'] = array( 'name' => 'Professional', 'capabilities' => custom_capabilities( 'bbp_professional' ) ); /* Add a role called member */ $bbp_roles['bbp_member'] = array( 'name' => 'Member', 'capabilities' => custom_capabilities( 'bbp_member' ) ); 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_professional' ) $caps = custom_capabilities( $role ); if( $role == 'bbp_member' ) $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 'professional' role */ case 'bbp_professional': return array( 'spectate' => true, 'participate' => true, 'moderate' => false, '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' => false, 'delete_topics' => true, 'delete_others_topics' => true, 'read_private_topics' => true, // Reply caps 'publish_replies' => true, 'edit_replies' => true, 'edit_others_replies' => false, 'delete_replies' => false, 'delete_others_replies' => false, '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 'member' role */ case 'bbp_member': return array( // Primary caps 'spectate' => true, 'participate' => true, 'moderate' => false, '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' => false, // Topic caps 'publish_topics' => true, 'edit_topics' => true, 'edit_others_topics' => false, 'delete_topics' => false, 'delete_others_topics' => false, 'read_private_topics' => true, // Reply caps 'publish_replies' => false, 'edit_replies' => false, 'edit_others_replies' => false, 'delete_replies' => false, 'delete_others_replies' => false, 'read_private_replies' => true, // Topic tag caps 'manage_topic_tags' => false, 'edit_topic_tags' => false, 'delete_topic_tags' => false, 'assign_topic_tags' => false, ); break; default : return $role; } }Troubleshooting:
- I’ve tried to disable plugins and see if any of them are causing this issue. This hasn’t yielded any different results.
- I’ve checked with the Twenty Sixteen and Twenty Seventeen theme.