Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 9,726 through 9,750 (of 64,535 total)
  • Author
    Search Results
  • #180639

    In reply to: New topics

    Robin W
    Moderator

    not available in bbpress, so would require code, so might as well be a plugin !

    Robin W
    Moderator

    Quick one on your NOTE: Yes that was a previous version of the plugin that no longer exists.

    user creation is a wordpress thing – bbpress is not involved. It only allocates the default role on first login.

    Would be worth you googling ‘wordpress register email not working’, but it can be a host thing, and is worth talking to your host provider about.

    climbingturtle
    Participant

    Really having a hard time with Registration emails. I’ve spent most of the weekend getting nowhere.

    WordPress 4.7.1
    bbPress 2.5.12
    Theme bbPress (Twenty Ten)Version: 1.4.1

    Emails are working from the same wordpress installation. I have the “Check Email” plug-in installed, and use to confirm that emails are working fine.

    When a user registers, the user is created, but the email never seems to get out.

    Any help or troubleshooting advice is sincerely appreciated. Thanks!


    NOTE: A topic by this name seems to exist (https://bbpress.org/forums/topic/registration-email-not-being-sent-new-issue/page/2/), but it’s over a year old, seems to deal with people whose servers are blocking email, and makes references to files that no longer exist in the plugin (bb-includes/pluggable.php).

    #180624
    Shaped Pixels
    Participant

    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.

    #180623

    In reply to: Form to forum

    Barry
    Participant

    There is of course the [bbp-topic-form] shortcode that ships with bbPress itself … but if that’s unsuitable or if customizing it to meet your goals isn’t an option for any reason, then you could roll your own solution quite easily.

    Here is a (super simple) example of just that – it creates an extremely simple (single field!) form via the [post_to_bbp] shortcode and uses the submitted data to create a new forum topic. Of course, there is a great deal it doesn’t do that you’d probably want in place before using it in production, but it’s just an example after all ๐Ÿ™‚

    #180622

    Topic: Form to forum

    in forum Plugins
    brandysve
    Participant

    Hi !

    I have a website with bbpress and I want than when user fill a form (I can do it myself or by a form plugin) it create a new post with the element of the form (like name and message).

    Any idea?

    Thank you !

    #180621
    paxrisen
    Participant

    I need help and although I have 2 domains once .com and .de. These two sides I have installed on my Websever in 2 different folders and installed both the same plugins. I would like to have a possibility to connect both sides. So the bbpress on both sides the same user possesses however one one on .de or .com in the profile go can be without the bbpress only over one domain is callable.
    The problem I had namely with the test it as multisite run. There bbpress was then only over the main page, ie the first page attainable and the subdomain which I had with a plugin on .de changed had no bbpress profile.

    I would like to have the profile with the .de or .com menu bar on top and thus the profiles have to be retrievable on both sides. Is there such a possibility

    #180618
    sally
    Participant

    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
    Sally

    #180605
    Loinim
    Participant

    Same problem here.

    Adding in forums and topics the topic says which forum it’s linked too. But to get it to actually I have to manually click topic then hit update to get it to actually sit in place ๐Ÿ™

    Only have bbpress active.

    Only have twenty 15 theme on

    #180591
    bjorngus
    Participant

    I copied the code from the bbpress template and it worked perfect. Thanks!

    #180590
    bjorngus
    Participant

    Oh thanks great. My bbpress version was edited so that button is not added to the form. But i guess i have to add it with some code. Thanks

    #180584
    Robin W
    Moderator

    ok, something has changed, it could be a theme or plugin update

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Then come back

    #180572

    In reply to: Not found

    Stephen Edgar
    Keymaster

    Right, thanks, this is a BuddyPress issue and not bbPress.

    That said, you need to create pages for each of those BuddyPress menu items

    If you go to your BuddyPress settings page e.g https://example.com/wp-admin/admin.php?page=bp-page-settings it should show what pages are and are not associtaed with the BuddyPress components you activated.

    For each one missing a page, go create a new WordPress page for each then return and associate each page with the BuddyPress component and hit save ๐Ÿ™‚

    #180550
    Barry
    Participant

    This is great news!

    Unfortunately I did pretty much hit a fatal error straight away (I reported it and added a patch here – hopefully that was the right place/course of action) though I believe that will only impact those who test this out in a site that was already running bbPress, vs a clean installation.

    #180548
    Barry
    Participant

    Additionally, as an example of how you can add pretty much anything you want to the JSON responses returned by the REST API:

    function bbpress_rest_api_replies_extra_data( WP_REST_Response $response ) {
    	if ( ! is_array( $response->data ) ) {
    		return $response;
    	}
    
    	foreach ( $response->data as $key => $single_item ) {
    		// Only modify replies
    		if ( bbp_get_reply_post_type() !== $single_item['type'] ) {
    			continue;
    		}
    
    		// Add the author's details using a custom format
    		$author_id = get_post( $single_item['id'] )->post_author;
    		$author = get_user_by( 'ID', $author_id );
    		$response->data[ $key ]['author'] = "{$author->display_name} <{$author->user_email}>";
    	}
    
    	return $response;
    }
    
    add_filter( 'rest_request_after_callbacks', 'bbpress_rest_api_replies_extra_data' );

    You could say this is a bit of a brute force hack and although when combined with my last snippet it successfully adds the author’s display name and email address to replies (not topics), it shouldn’t really be used for that purpose “as is”: it doesn’t escape the author details, you probably don’t want to expose their email addresses, plus it’s out of alignment with how author meta is returned for other post types … However, I felt it was worth sharing an example of how you can quite quickly add arbitrary fields to REST API output.

    #180547
    Barry
    Participant

    What do you know, it worked!

    So getting back to business – thanks for catching that error in my earlier snippet, Robin. I think yours is perfectly fine (also, great links re adding author meta) but just to ‘close the circle’ on my own snippet, here’s a revision:

    function bbpress_enable_rest_api() {
    	$types = array(
    		bbp_get_reply_post_type(),
    		bbp_get_forum_post_type(),
    		bbp_get_topic_post_type(),
    	);
    
    	foreach ( $types as $slug ) {
    		$definition = (array) get_post_type_object( $slug );
    		$definition['show_in_rest'] = true;
    		$definition['rest_controller_class'] = 'WP_REST_Posts_Controller';
    		register_post_type( $slug, $definition );
    	}
    }
    
    add_action( 'bbp_register_post_types', 'bbpress_enable_rest_api', 11 );
    #180546
    Barry
    Participant

    My replies seem to keep disappearing into the bbPress void … trying again just to see if this one will show up.

    #180545
    bymiki
    Participant

    Thanks bbpress team for your great job!

    #180544
    senatorman
    Participant

    use this pluging for searching.It works perfect.

    Finaly i found perfect search plugin for Bbpress

    Try it live on http://www.opel-forum.nl

    #180543
    senatorman
    Participant

    Great plugin, but there is no option to remove specific forums or topics.

    i mean:
    can i remove also complete forums with related topics and post in one time by forumname (slug)

    And

    Remove topic with related posts by name (slug)

    when you can make this, this is a perfect complete tool for every bbpress owner

    #180537
    Stephen Edgar
    Keymaster

    I hope you saw that we released bbPress 2.6 beta last night ๐Ÿ™‚

    https://bbpress.org/forums/topic/bbpress-2-6-beta-1/

    There are significant performance increases with 2.6, wordpress.org/support is now running 2.6 alpha, we’ll update it shortly to 2.6 beta.

    We’ve got further performance enhancements to come, one that I think you may be running into is the time it takes to post a reply, one change that was merged last night and is now being used here on bbPress.org significantly imporoves that time for adding new replies, another in the works for the same issue is to optimize how subscribers are notified of a new reply in a topic, currently most of that wait period you’re experiencing I would think is coming from topics that have high number of subscribers.

    Anyway, I hope this is better news for you ๐Ÿ™‚

    p.s. WordPress dot org support has ~2.5 million topics and 6 million replies

    #180535

    In reply to: Not found

    Stephen Edgar
    Keymaster

    It sounds like you might be best of posting on buddypress.org?

    If you think it is here on the bbPress side of things could you clarify which menu links you are clicking please? Maybe some screenshots would be helpful, share them via imgur.com

    #180534
    senatorman
    Participant

    Yes i use buddypress and that is not the problem

    i’ve tried all other plugins but iรกm sure the problem is that bbpress is slow with big tables

    #180530

    In reply to: Slow to Post

    senatorman
    Participant
    #180529
    senatorman
    Participant

    i’ve the same problem with 1,1 miljon posts.
    Here it takes 4 to 6 seconds to post. Not very fast.

    There a serveral topics about this problem.
    It looks like the author’s of Bbpress don’t see that as a big problem.
    for them Bbpress posting is fast. (i think they testing on a small forum)

Viewing 25 results - 9,726 through 9,750 (of 64,535 total)
Skip to toolbar