Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 9,326 through 9,350 (of 64,455 total)
  • Author
    Search Results
  • #182569
    patlas1
    Participant

    Hi,

    I have a problem here that I don’t know how to resolve. My page patlas.org/college seems to be under the influence of BBpress. However, it should be no different than patlas.org/career or patlas.org/company. I tried deleting the patlas.org/college page once and recreating it, but it continues to direct me to a BBPress page. I uninstalled BBpress, but that didn’t resolve it either. Any advice?

    Best,

    Patlas

    #182568

    In reply to: Hiding Comments

    Pascal Casier
    Moderator

    Unfortunately that is not possible in bbPress and to be honest I have not seen any plugin doing that so far. There are some discussions ongoing concerning bumping and sinking where replies could go higher or lower in the list, but that discussion is still ongoing and not so easy to implement.

    If you want to program yourself, I would think about adding the ID of the replies you are hiding to the meta of a user, or adding the ID of the user as a meta of the reply and then based on that display the reply or not.

    Pascal.

    #182563

    In reply to: Topic Info

    Marcos
    Participant

    I think also the “forum info” is a good widget to have in default instalation of bbpress.

    #182562

    In reply to: Topic Info

    Marcos
    Participant

    I want this also. Maybe a lot of people love this.
    Is not possible made a default widget with these information for the next versions of bbpress?

    #182561
    Marcos
    Participant

    Hi, in the bbpress forum works.
    Some way to add this option in bbpress next release?

    #182555
    russ8523
    Participant

    Hi Dominic,
    I think you misunderstood my post. I simply want to reduce the required password length to 8, rather than 10. I have changed this setting in Profile Builder Pro to eight, and that iis actually working ie 8 character passwords are accepted, but this dialogue box is still saying 10, which is confusing for visitors (and me!)

    I think this is a BBPress issue, but I can’t find where to change this anywhere! Iv’e searched every CSS file i can find!
    Any help would be much appreciated

    #182554
    Kalusha
    Participant

    I have now this code into functions

    ##Name ändern Participant in User Standard User
    function my_custom_roles( $role, $user_id ) {
    if( $role == ‘Teilnehmer’ )
    return ‘Standard User’;

    return $role;

    }

    add_filter( ‘bbp_get_user_display_role’, ‘my_custom_roles’, 10, 2 );

    function my_custom_roles2( $role, $user_id ) {
    if( $role == ‘Keymaster’ )
    return ‘Michael’;

    return $role;
    }

    add_filter( ‘bbp_get_user_display_role’, ‘my_custom_roles2’, 10, 2 );

    function my_custom_roles3( $role, $user_id ) {
    if( $role == ‘Zuschauer’ )
    return ‘Premium User’;

    return $role;
    }

    add_filter( ‘bbp_get_user_display_role’, ‘my_custom_roles3’, 10, 2 );

    So I change only the names. Now I must to have that the spectator has the same capability as the participants. So I have no code for this found, I have change the capability.php in bbpress core. I know it´s not the best way and after a Update I must change it again but it works. I have no other idea. 🙁

    #182551
    Robin W
    Moderator

    follow this link with a description on how to do this

    Custom Capabilities

    igirisjin
    Participant

    I want to convert my bbpress forum to wordpress type posts. There are older posts about plugins for this but seems like they are not working now.

    So… I tried exporting the topics and (separately the) replies using the xml exporter. I did a search and replace on the whole file for types [topics] _topics_ and replaced with [post] and _post_
    (well I think they were the replacements as afterwards I tried several others for the replies).

    Anyway, this worked when importing the topics as posts into wordpress – I was very happy with that. Then I though it would be great if I could also get the topic replies converted to post comments. I tried several replacement tags (changing reply to comment, comments …) but the only one to get imported was changing [reply] to [post].
    It imported but did not add as a thread of comments but each one as a new post “RE: Topic title”.

    Is there any way I can use the export/import function to get my topics and replies over to a blog style post with comments?
    Or a way of editing the xml file to import correctly and add the replies as comments to the original post?

    I was almost there but fell at the last fence.
    Andy

    #182530
    Kalusha
    Participant

    Hello,

    I need 2 User Names which have the same capabilitys. I have try it with this:

    add_filter( ‘bbp_get_dynamic_roles’, ‘ntwb_bbpress_custom_role_names’ );

    function ntwb_bbpress_custom_role_names() {
    return array(

    // Participant
    bbp_get_participant_role() => array(
    ‘name’ => ‘Standard User’,
    ‘capabilities’ => bbp_get_caps_for_role( bbp_get_participant_role() )
    ),

    // Spectator
    bbp_get_spectator_role() => array(
    ‘name’ => ‘–>Premium User<–‘,
    ‘capabilities’ => bbp_get_caps_for_role( bbp_get_participant_role() )
    )
    );
    }

    Now I can swith between “Standard User” and “Premium User” which is perfect, but he Premium User can not write any reply or other things. So they have not the same capaboility.

    Have anybody an idea where the mistake is?

    Which Member Plugin works good with WordPress and bbPress? All I try were not good 🙁

    #182478

    In reply to: User Role

    Kalusha
    Participant

    OK, I have tried it with this…

    add_filter( ‘bbp_get_dynamic_roles’, ‘ntwb_bbpress_custom_role_names’ );

    function ntwb_bbpress_custom_role_names() {
    return array(

    // Participant
    bbp_get_participant_role() => array(
    ‘name’ => ‘Standard User’,
    ‘capabilities’ => bbp_get_caps_for_role( bbp_get_participant_role() )
    ),

    // Spectator
    bbp_get_spectator_role() => array(
    ‘name’ => ‘–>Premium User<–‘,
    ‘capabilities’ => bbp_get_caps_for_role( bbp_get_participant_role() )
    )
    );
    }

    I can now change every User to a “Standard User” or “Premium User”. That is what I want, BUT with the Premium User I can not write any replies or others. With the Standard User is everything ok.

    Where is the mistake???

    #182475

    In reply to: Forum topic issue

    Robin W
    Moderator

    it may be a conflict ot it could be a theme or plugin issue

    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

    #182467
    Robin W
    Moderator

    ok, this code allows participabts to

    trash their own replies and
    trash their own topics where there have been no replies, once a reply has been posted then they can no longer delete.

    it does display slightly weirdly when you delete a topic, but it is the best you are going to get from me.

    give it a try and see if you still have the admin problems

     /*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_get_participant_role() ) {
    			
    			$newcaps = array(
    
    				// Primary caps
    				'spectate'              => true,
    				'participate'           => true,
    
    				// Forum caps
    				'read_private_forums'   => true,
    
    				// Topic caps
    				'publish_topics'        => true,
    				'edit_topics'           => true,
    				'delete_topics'         => true,
    				'view_trash'			=> true,
    				
    
    				// Reply caps
    				'publish_replies'       => true,
    				'edit_replies'          => true,
    				'delete_replies'        => true,
    				
    				
    				// Topic tag caps
    				'assign_topic_tags'     => true,
    			);
    	
    	return $newcaps;
    	}
    	
        return $caps;
    }
    
    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 );
    
    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 =  $_post->post_type ;
    			
    			
    			// 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 particiapte so allow delete 
                } elseif ( user_can( $user_id, 'participate' ) && ( (int) $user_id === (int) $_post->post_author ) ) {
                 
    			//allow any reply to be deleted
    			if ($post_type == bbp_get_reply_post_type()) $caps  = array('delete_replies') ;
    			
    			//only allow topic delete if there are no replies
    			if ($post_type == bbp_get_topic_post_type()) {
    				$reply_count = bbp_get_topic_reply_count();
    
    				if ( $reply_count == 0)  $caps  = array('delete_topics') ;
    			}
    			
    			// Unknown so do not allow
    			} else {
    				$caps[] = 'do_not_allow';
    			}
    		}
    		
    	}
    	
    	// return the capabilities
    	return $caps;
    	
    }
    #182447
    Pascal Casier
    Moderator

    I have added it for now into my ‘bbP Toolkit’ plugin (v1.0.8) while waiting for https://bbpress.trac.wordpress.org/ticket/3046 to be implemented.

    Pascal.

    #182429

    In reply to: Captcha-plugin

    Michael J Challis
    Participant

    I have two plugins that fully support bbPress CAPTCHA

    Fast Secure reCAPTCHA
    https://wordpress.org/plugins/fast-secure-recaptcha/

    SI CAPTCHA Anti-Spam
    https://wordpress.org/extend/plugins/si-captcha-for-wordpress/

    Mike Challis

    #182426
    Robin W
    Moderator

    I think you have done so much on the current site that it is impossible to say what is wrong.

    I think you need to create a totally fresh site, and start again with just a standard theme (say twentyfifteen) and bbpress.

    Then build form there.

    #182424
    stopher
    Participant

    Hello… I have been trying many different ways to get into the forums page, but I not having any luck….
    I have tried to remove the plugin and reinstall.. That didn’t work
    I tried to remove all bbpress data with the forum reset option in tools… which didn’t work
    I have had a look through the editable files of the plugin….bbpress/bbpress.php
    It stated that if the plugin was installed more than once, it can create ‘Ghost’ versions of BBP which could be the issue?
    Is there any way someone can help me fix this? I’m concerned that I wont be able to use this plugin…
    Kind Regards
    Chris

    #182415
    Robin W
    Moderator

    ok, whilst out I think I know what the issue is.

    Firstly can you confirm that apart from redirecting you to home, the code at the top of this thread works? ie redirection to the wrong place is the only outstanding issue.

    If so, the issue is that after you delete a topic, bbpress sends you to back to the topic, which as a moderator you are allowed to see trashed topics, but as a partyicipant you are not. This then will send you to a 404 page, which in your case I think just sends you to home.

    So let me look at ways to get around this.

    #182414

    In reply to: Forum topic issue

    pepperwoodlp
    Participant

    The theme is named “agama”. The bbpress related plugins are: https://gyazo.com/5fae44b6bac68ac591b7f4fdcdcb26a0

    #182411

    In reply to: bbp-messages

    Ismail
    Participant

    Hello everyone,

    Sorry but I just came to discover this thread, I am the author of bbp-messages and there’s now a major update made and it now supports Multisite, the problem that Stewart was reporting.

    Also Stewart, the link wordpress/members1/http:/localhost/wordpress/members1/ pretty much seems messed up, so it’s hard to tell whether it is bbP issue or configuration. I think you did not configure your testing environment quite well and also the bbPress link looks filtered by BuddyPress. Next time I’d suggest you edit your hosts file (c:\System32\drivers\etc\hosts with admin permissions using notepad) and add a new entry 127.0.0.1 bbpress.dev now bbpress.dev will act like a normal domain and you wouldn’t run into issues while testing or migrating (all you can do is replace .dev with .tld in the db SQL file). Also add the virtual host for Apache http://stackoverflow.com/a/25203499/3910932

    Thank you Arutam and Robin you’re very helpful. I just wanted to point that this thread continues in wp-org plugin support forums https://wordpress.org/support/topic/messages-upgrade/

    Best,
    Samuel

    #182407
    Stephen Edgar
    Keymaster

    Unfortunately I’m not on Facebook so I cannot see that conversation you had 🙁

    Perhaps you could link to this topic in that conversation and have the WPseo plugin author join this conversation?

    As to Yoast, I believe Yoast is compatible with bbPress, @joostdevalk wrote here last year “I’ll bump BBPress on to the list again, we’ve long had issues with that, we should just fix it”, I’ve no idea if anything was updated for bbPress or not, was it @joostdevalk ?

    I myself don’t use any SEO plugins let alone any that you mention, we’re happy to work with any plugin author to help add support their plugin if we can.

    I’m sure there are other bbPress users who do use various SEO plugins, maybe someone else here has some tips on using Yoast WordPress SEO, WPseo, or All in One SEO?

    p.s. This topic is going to attract many a spammer, so if your reply doesn’t show up straight away that will be due to Akismet being proactive, if your reply doesn’t turn up straight away give it some time for the moderators to approve and move out of the spam queue.

    #182393
    AiratTop
    Participant

    @netweb thanks!
    bbPress 2.6 Beta 2 is working good.

    When will bbPress 2.6 be released?

    #182391
    Robin W
    Moderator

    ok, I’ve taken pity and kicked this round for an hour – I expect to be on your Christmas list !!!

    This seems to work, although please do some testing for all roles, and check it out.

    /*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_get_participant_role() ) {
    			
    			$caps = array(
    
    				// Primary caps
    				'spectate'              => true,
    				'participate'           => true,
    
    				// Forum caps
    				'read_private_forums'   => true,
    
    				// Topic caps
    				'publish_topics'        => true,
    				'edit_topics'           => true,
    				'delete_topics'         => true,
    				
    
    				// Reply caps
    				'publish_replies'       => true,
    				'edit_replies'          => true,
    				'delete_replies'        => true,
    
    				// Topic tag caps
    				'assign_topic_tags'     => true,
    			);
    
    	}
    	
        return $caps;
    }
    /*then only allow participants to trash their own topics*/
    
    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 );
    
    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 ( user_can( $user_id, 'participate' ) && ( (int) $user_id === (int) $_post->post_author ) ) {
                    $caps      = array();
    				//$caps[] = $post_type->cap->delete_posts;
    
    			// Unknown so do not allow
    			} else {
    				$caps[] = 'do_not_allow';
    			}
    		}
    	}	
    	// return the capabilities
    	return $caps;
    	}
    #182390
    Stephen Edgar
    Keymaster

    @airathalitov, as you’re running PHP 7.1 you’ll need to use bbPress 2.6, 2.6 beta-2 is available now, and beta-3 will be released in the next 24 hours, you can grab the download links from this post:

    bbPress 2.6 Beta 2

    #182388
    dunkydoodle
    Participant

    I have 3 separate forums on my site. I’d like the sidebar to show relevant info for each forum rather than all forums. So, recent topics would list topics associated with one forum, etc, etc. I’m using sidebar widgets, and I did notice that in the recent topics widget you can enter an ID for a specific forum, but then information for that one forum would present on all forums, so I need a more dynamic capability – a way of filtering topics by forum ID ideally.

    thanks!

    WP 4.7.2
    BBPress 2.5.12

Viewing 25 results - 9,326 through 9,350 (of 64,455 total)
Skip to toolbar