Search Results for 'bbpress'
-
Search Results
-
Participant-level users can create new topics, but after creation the participant is directed to a 404 page. Higher-level users can view the created topic, but not the participant that created the topic.
Site is running Twentyseventeen theme, and only bbPress and Buddypress plugins, plus the bbpress wp4fix plugins, are installed.
This site is a development site being used to diagnose and hopefully fix other forum visibility issues detailed in this post: https://bbpress.org/forums/topic/recurring-no-topics-found-message/
Any help is appreciated, URL and login can be provided on request.
Topic: Paypal plugin
Hallo my WordPress version is 4.9.6, bbPress version 2.5.14, i dont have a site im now install WP and bbPress on my localhost computer and im learning, i please of advice.
Im new in wordpress i want use bbpress commercially. I am looking for a solution which after payment of paypal, credit card, debit cart, automatically assigned to the user points that he could use for example his topic (in bbPress) would be sticked on top of the list etc. At the same time the plugin would protect against chargeback, etc.
I find the plugin “PayPal Plus for WooCommerce” but when i scan it with virustotal.com, by the way, see for yourself: https://www.virustotal.com/#/file/0a9bac644a1fd7c2bab5c56c067a9fef627bd84c59d5c36933aa4528024e7054/detection
Please help, give me some advice.
ThanksTopic: How delete all IP Addresses?
How can i delete all IP addresses that stored in the bbpress Data?
Hello there!
Ever since starting to work with bbPress (and Learnpress), all new users were assigned the site roles ‘subscriber, and participant’ and the forum role ‘instructor’.
I don’t want all forum users to have the role ‘instructor’, since they aren’t. I have checked, but my default is really set to participant.
See screenshots:
https://drive.google.com/open?id=1RlJVw0QHIVV3Hp-MWvOdtYjh5cKAM6MR
https://drive.google.com/open?id=1EAzfa2gQLyv20hmCVHGW65ueb8KBNUyV
How can I make sure people will be assigned a normal forum role instead?
My current versions (but I have had this issue for about 1,5 years now):
WordPress 4.9.6
BbPress Version 2.5.14
BuddyPress Version 3.0.0
LearnPress Version 3.0.8
LearnPress BbPress integration Version 3.0.1
LearnPress BuddyPress integration Version 3.0.2My website: http://www.InevitableBliss.com
The forum: https://inevitablebliss.com/community/Topic: Bug with Timestamp Link
We have a few forums using bbPress on our site and I think there may be a bug.
When you click on the time stamp under “Latest” for a particular forum, it is supposed to take you to that post, but sometimes it doesn’t. And sometimes when admin is logged out, the post doesn’t even show up when trying to go to it (even on the non-premium, unrestricted forums).
Also, we have 2 of the 4 forums restricted because they are premium. When on the forum list page, clicking on the forum title of a premium forum goes to a restricted page. BUT when clicking on the timestamp of the latest post for that premium forum, it lets you see the thread. This isn’t supposed to happen because the forum is restricted.
Please help! Thanks in advance!
When the Search EVerything plugin is activated, the topics won’t appear. What I did was deactivated all the plugins and reactivated them one by one to see what causes the problem. It was the Search Everyhing plugin.
I also deactivated the “Allow forum wide search” from the forum settings but it’s the same.
By the way, I am using the bbpress plugin inside a multisite. I’m not sure if that helps or not.
Is there a way to fix this?
Topic: change copy in error message
I am using a function to restrict the ability to create new topics in specific forums:
`function buddydev_is_restricted_forum( $forum_id ) {
$restricted_forum_ids = array( 1347, 93, 91, 89, 95, 1348, 1394, 1349 );
if ( in_array( $forum_id, $restricted_forum_ids ) ) {
return true;
}
return false;
}
function buddydev_bbp_restrict_topic_creation( $can ) {
if ( ! bbp_is_user_keymaster() && bbp_is_single_forum() && buddydev_is_restricted_forum( bbp_get_forum_id() ) ) {
$can = false;
}
return $can;
}
add_filter( ‘bbp_current_user_can_publish_topics’, ‘buddydev_bbp_restrict_topic_creation’ );function buddydev_restrict_from_posting_topic( $forum_id ) {
if ( ! bbp_is_user_keymaster() && buddydev_is_restricted_forum( $forum_id ) ) {
//set error on bbpress and it will not allow creating topic
bbp_add_error( 403, __( ‘Not allowed’ ) );
}
}
add_action( ‘bbp_new_topic_pre_extras’, ‘buddydev_restrict_from_posting_topic’ );’The function works and on those specific forum pages I get an error message that says “You cannot create new topics.” I want to change that copy to say something different but I can’t seem to find where it is coming from. I looked for a 403 error but found nothing and I tried to change the ‘Not allowed’ portion of the ( 403, __( ‘Not allowed’ ) ); but that changed nothing as well.
Topic: Change bbpress post type?
I would like to change my default post type from standard to video.
Is there any way to do this?
Topic: User Profile not working
Hi. I’ve been using bbpress for years but recently noticed the profile pages are not working. I just get a 404 error when clicking on the profile link.
The address it directs to is users/user_name which seems right but it can’t seem to access it properly. Any ideas why this could have stopped working?
I have recently moved my site over to Discourse. The software is good, but I should have done more research as there have been many things that have come up since I went live that are not to my liking.
The forum has over 550,000 posts and around 2,500 members (this information is difficult to find without installing a plugin – which is another thing that’s not to my liking).
I understand that there are some impediments in the way of migrating from Discourse to bbPress – the fact that it uses Postgres for starters. I also understand that there would be no “out of the box” solution.
My request is simple: would one of the members of this community be able to migrate my current Discourse forum to a bbPress forum? I am happy to pay for this to be done.
Please let me know if you are interested and how I may contact you.
Topic: Last posts widget in table
Running WordPress 4.9.5, bbPress 2.5.14, Buddypress 2.9.4
Forums are randomly becoming inaccessible to logged-in users, displaying only the “no topics found” message despite showing the appropriate number of topics in the forum listings. Most forums are rendered inaccessible when the error occurs, but not all. Forums that remain accessible show no obvious difference in configuration or status from the forums that display the “no topics found” message.
Problem persists regardless of theme or plugin configuration.
- I’ve tried both wpfix plugins, neither fixed the problem.
- I tried deactivating and reactivating all plugins on the actual site to no effect, then created a clone of the site and deactivated and deleted all plugins except bbPress, Buddypress, and the wpfix plugins. The problem persists.
- I’ve switched to the latest version of Twentyseventeen and the problem persists.
- I’ve tried using both Forum Tools and Buddypress tools to repair issues, to no effect.
- Also tried resetting permalinks, no effect
The only thing that repairs the issue is switching each forum to public, saving the forum, then returning the forum to private status and saving again. Bulk edit doesn’t work — only updating each forum individually.
After being fixed, the forums sometimes slip back into inaccessibility, even if no change has been made to the forum itself.
Any help in fixing this issue would be greatly appreciated. Thanks.
Topic: Editing Main Forums Page
We are using bbPress Version 2.5.14 on our website at http://www.nationalbraille.org/forums using WordPress. Everything is latest version and all is up to date.
I’d like to add a list of site rules on this page just above the list of groups. I thought I’d find it in the list of Pages on our website, but it’s not there, and the Settings for bbPress don’t give me an option either.
Is this just not possible?
We have a few forums using bbPress on our site and I think there may be a bug.
When you click on the time stamp under “Latest” for a particular forum, it is supposed to take you to that post, but sometimes it doesn’t. And sometimes when admin is logged out, the post doesn’t even show up when trying to go to it (even on the non-premium, unrestricted forums).
Also, we have 2 of the 4 forums restricted because they are premium. When on the forum list page, clicking on the forum title of a premium forum goes to a restricted page. BUT when clicking on the timestamp of the latest post for that premium forum, it lets you see the thread. This isn’t supposed to happen because the forum is restricted.
Please help! Thanks in advance!
I’m using moderation tools for bbpress. Does anyone know how to allow users to “reply” before topics are made public? It looks like the topic has to be approved by an administrator before the reply box will appear. I’d like to allow them to reply before so they can add more content to the thread until our moderator has a chance to reply.
Topic: WordPress – No Welcome
After activating bbPress plugin:
– no “Welcome” page appears
– No “Forums” menu appears in admin bar
– No “Forums” appears in Settings sub-menu
– Any “Forum” activity from Dashboard, results in error: “Sorry, you are not allowed to edit posts in this post type.”
– Administrator” accounts are given new role: Keymaster, but Keymaster role appears to have no Forums capabilities; adding capabilities does not change behavior described above.WordPress 4.9.5
bbPress: 2.5.14-6684Hi!
I am trying to make any topics and replies submitted on the front end have a default category (I have extended the custom post type of bbPress to support categories). This works for everything submitted on the back end, but not everything submitted on the front end. I have played around with this a lot, and have not made any progress.
I am using WordPress 4.9.5, bbPress 2.5.14 and the site I am working on (locked so this link probably won’t do any good) is https://gateway.aishasalem.com
// adding possibilities to have categories for custom post types public function gt_custom_post_type_categories() { register_taxonomy_for_object_type( 'category', 'topic' ); register_taxonomy_for_object_type( 'category', 'reply' ); } add_action( 'init', 'gt_custom_post_type_categories', 11 );
And this code to assign the categories as default when a post is saved / published. It works on the back end, but only partially on the front end.
// setting default post catagory when saving public function gt_set_default_category( $post_id, $post, $update ) { // Slugs of the custom post types $slugs = array('topic', 'reply'); // current post type $current_post_type = $post->post_type; // If this post isn't a custom posty type, don't update if ( !in_array($current_post_type, $slugs) ) { return; } // Sets the default category depending on the current post type switch ($current_post_type) { case 'topic': $default_category = 'livingroom-topics'; break; case 'reply': $default_category = 'livingroom-replies'; // does not hook in on the fron end break; default: return; } // sets the default category $default_term = get_term_by('slug', $default_category, 'category'); wp_set_object_terms(get_the_ID(), $default_term->term_id, 'category'); } add_action( 'save_post', 'gt_set_default_category', 9, 3 );
I have tried hooking into ‘bbp_new_reply’ but this doesn’t seem to help (maybe I am doing it wrong). Do you have any advice of how to do this? Where to hook into? If it should be a filter and a function of a different form (if so, please give as much info as possible, I am new to php wordpress and especially filters)?
Thank you so much!!
Topic: New to bbPress
Hi Friends
I had recently started a blog on WordPress. Now I want to start a discussion froum that is fully compatiable with the installed wordpress. Right now, the option available with me is SMF forum ( this is because I am already using it for other website). But in this case, forum and website will work seprately.
So, I have decided to drop the plan of SMF forum and look something similar to it and related to WordPress.
To simply, I am looking for the forum which will get easily intergrated with my blog
Of course, it should get fully integrated with the wordpress.
Will bbpress with suffice my purpose. Please guide me in installing it on my wordpress. Sorry for the bad english. English is not my first language.
Topic: User Role Modification
Hello,
I have a bbPress site. I want to change some role permission.
1. Participant Role will be able to delete their post and topic.
2. Annonymous user can delete their post and reply.
For number 1. I tried to follow this post but i am very confused. I added this code to theme childfunction.php
add_filter ('bbp_get_topic_trash_link', 'topic_dont_delete'); add_filter ('bbp_get_reply_trash_link', 'reply_dont_delete'); function topic_dont_delete( $args = '') { // Parse arguments against default values $r = bbp_parse_args( $args, array( 'id' => 0, 'link_before' => '', 'link_after' => '', 'sep' => ' | ', 'trash_text' => esc_html__( 'Trash', 'bbpress' ), 'restore_text' => esc_html__( 'Restore', 'bbpress' ), 'delete_text' => esc_html__( 'Delete', 'bbpress' ) ), 'get_topic_trash_link' ); $actions = array(); $topic = bbp_get_topic( bbp_get_topic_id( (int) $r['id'] ) ); if ( empty( $topic ) || !current_user_can( 'delete_topic', $topic->ID ) ) { return; } if ( bbp_is_topic_trash( $topic->ID ) ) { $actions['untrash'] = '<a title="' . esc_attr__( 'Restore this item from the Trash', 'bbpress' ) . '" href="' . esc_url( wp_nonce_url( add_query_arg( array( 'action' => 'bbp_toggle_topic_trash', 'sub_action' => 'untrash', 'topic_id' => $topic->ID ) ), 'untrash-' . $topic->post_type . '_' . $topic->ID ) ) . '" class="bbp-topic-restore-link">' . $r['restore_text'] . '</a>'; } elseif ( EMPTY_TRASH_DAYS ) { $actions['trash'] = '<a title="' . esc_attr__( 'Move this item to the Trash', 'bbpress' ) . '" href="' . esc_url( wp_nonce_url( add_query_arg( array( 'action' => 'bbp_toggle_topic_trash', 'sub_action' => 'trash', 'topic_id' => $topic->ID ) ), 'trash-' . $topic->post_type . '_' . $topic->ID ) ) . '" class="bbp-topic-trash-link">' . $r['trash_text'] . '</a>'; } if ( bbp_is_topic_trash( $topic->ID ) || !EMPTY_TRASH_DAYS ) { if ( bbp_is_user_keymaster()) { $actions['delete'] = '<a title="' . esc_attr__( 'Delete this item permanently', 'bbpress' ) . '" href="' . esc_url( wp_nonce_url( add_query_arg( array( 'action' => 'bbp_toggle_topic_trash', 'sub_action' => 'delete', 'topic_id' => $topic->ID ) ), 'delete-' . $topic->post_type . '_' . $topic->ID ) ) . '" onclick="return confirm(\'' . esc_js( __( 'Are you sure you want to delete that permanently?', 'bbpress' ) ) . '\' );" class="bbp-topic-delete-link">' . $r['delete_text'] . '</a>'; } } // Process the admin links $retval = $r['link_before'] . implode( $r['sep'], $actions ) . $r['link_after']; return $retval ; } function reply_dont_delete( $args = '' ) { // Parse arguments against default values $r = bbp_parse_args( $args, array( 'id' => 0, 'link_before' => '', 'link_after' => '', 'sep' => ' | ', 'trash_text' => esc_html__( 'Trash', 'bbpress' ), 'restore_text' => esc_html__( 'Restore', 'bbpress' ), 'delete_text' => esc_html__( 'Delete', 'bbpress' ) ), 'get_reply_trash_link' ); $actions = array(); $reply = bbp_get_reply( bbp_get_reply_id( (int) $r['id'] ) ); if ( empty( $reply ) || !current_user_can( 'delete_reply', $reply->ID ) ) { return; } if ( bbp_is_reply_trash( $reply->ID ) ) { $actions['untrash'] = '<a title="' . esc_attr__( 'Restore this item from the Trash', 'bbpress' ) . '" href="' . esc_url( wp_nonce_url( add_query_arg( array( 'action' => 'bbp_toggle_reply_trash', 'sub_action' => 'untrash', 'reply_id' => $reply->ID ) ), 'untrash-' . $reply->post_type . '_' . $reply->ID ) ) . '" class="bbp-reply-restore-link">' . $r['restore_text'] . '</a>'; } elseif ( EMPTY_TRASH_DAYS ) { $actions['trash'] = '<a title="' . esc_attr__( 'Move this item to the Trash', 'bbpress' ) . '" href="' . esc_url( wp_nonce_url( add_query_arg( array( 'action' => 'bbp_toggle_reply_trash', 'sub_action' => 'trash', 'reply_id' => $reply->ID ) ), 'trash-' . $reply->post_type . '_' . $reply->ID ) ) . '" class="bbp-reply-trash-link">' . $r['trash_text'] . '</a>'; } if ( bbp_is_reply_trash( $reply->ID ) || !EMPTY_TRASH_DAYS ) { if ( bbp_is_user_keymaster()) { $actions['delete'] = '<a title="' . esc_attr__( 'Delete this item permanently', 'bbpress' ) . '" href="' . esc_url( wp_nonce_url( add_query_arg( array( 'action' => 'bbp_toggle_reply_trash', 'sub_action' => 'delete', 'reply_id' => $reply->ID ) ), 'delete-' . $reply->post_type . '_' . $reply->ID ) ) . '" onclick="return confirm(\'' . esc_js( __( 'Are you sure you want to delete that permanently?', 'bbpress' ) ) . '\' );" class="bbp-reply-delete-link">' . $r['delete_text'] . '</a>'; } } // Process the admin links $retval = $r['link_before'] . implode( $r['sep'], $actions ) . $r['link_after']; return $retval ; }
But as I understood that, it was trashing post not deleting them. What I have missed? This code didnot worked for me. May be I have missed some steps.
And for 2, I don’t know if its possible or not. Searched a lot but haven’t found any solution yet. My understanding is annonymous is not a role, nore a user. So how we can achieve that?
Thank You