joop.stringer (@joopstringer)

Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)
  • @joopstringer

    Participant

    How could that be … there’s no change in the members what so ever and every now and then the forum role gets reset to the basic forum role.

    Where’s this information stored in the database ?
    That way I can give it a go with the eMember plugin company ….

    In reply to: Add forum roles

    @joopstringer

    Participant

    Got it running now, thanks !!

    In reply to: Add forum roles

    @joopstringer

    Participant

    Hey guys,

    Can you please explain me where to put the functions.php file ?
    If I put it in the child theme directory,my whole site goes blank …

    
    <?php
    /**
     * Functions .. additional to all the programs
     *
     * @package WordPress
     * @subpackage Twenty_Fourteen
     * @since Twenty Fourteen 1.0
     */
    
    function add_custom_role( $bbp_roles ) {
    
    	$bbp_roles['DDC Member'] = array(
    	'name' => 'DDC Member',
    	'capabilities' => bbp_get_caps_for_role( bbp_get_participant_role() ) // i just want them to have the same capabilities as participants );
    
    	$bbp_roles['Forumlid'] = array(
    	'name' => 'Forumlid',
    	'capabilities' => bbp_get_caps_for_role( bbp_get_participant_role() ) // i just want them to have the same capabilities as participants );
    
    	$bbp_roles['DDC Bestuur'] = array(
    	'name' => 'DDC Bestuur',
    	'capabilities' => bbp_get_caps_for_role( bbp_get_keymaster_role() ) // i just want them to have the same capabilities as participants ); 
    
    	return $bbp_roles;
    }
    
    add_filter( 'bbp_get_dynamic_roles', 'add_custom_role', 1 );
    
    ?>
    

    @joopstringer

    Participant

    Working with 2.5.4 and also no notifications are send to the users

    @joopstringer

    Participant

    I just ran a very simple query over the user table
    Update wpusers set user_nicename = REPLACE( user_nicename , ‘ ‘, ‘-‘ ) ;

    This did the trick for me … It must be possible for bbPress to have the space replaced by a hypen in the function to create the userprofile link …

    @joopstringer

    Participant

    Good job @phatmass … however all my users have nicknames 🙂
    And the plugin changes the nicename (slug) into firstname-lastname and I just want to get rid of the space in the nicename field.
    The plugin sure can do it … have to digg into the php/sql commands !

    @joopstringer

    Participant

    It’s incredible … bbPress seems to be in trouble when your permalinks (in WP) are set to TopicName and your usernames contains space. If you change the permalinks (in WP) to “default” there’s no problem. Check out this post as well: https://bbpress.org/forums/topic/404-error-on-user-profiles/#post-154972

    Except that all my othe links are not working anymore 🙁

    So I wonder where the actual problem is … WP or bbPress

    @joopstringer

    Participant

    After a bit of digging around on the forum … bbPress seems to be in trouble when your permalinks (in WP) are set to “TopicName” and your usernames contains spaces. If you change the permalinks (in WP) to “default” there’s no problem.
    Check out this post as well: https://bbpress.org/forums/topic/404-error-on-user-profiles/#post-154972

    So I wonder where the actual problem is … WP or bbPress

    @joopstringer

    Participant

    bbPress seems to be in trouble when your permalinks (in WP) are set to TopicName and your usernames contains space. If you change the permalinks (in WP) to “default” there’s no problem.

    So I wonder where the actual problem is … WP or bbPress

    @joopstringer

    Participant

    @phatmass, I also imported about 1000 users, most of them with spaces …

    There seems to be a workaround … my profile name is joop.stringer
    If you click on my profile link it shows joopstringer (without the dot)
    So most probably bbPress changes the profilename to be without dots/spaces/diacritics …

    bbPress guys, can you please give us a clue on what to do ?

    @joopstringer

    Participant

    @joopstringer

    Participant

    Same here, saw a thread from 7 years ago … but not fixed.
    Is there a workaround ? Fix ? Plugin to handle this ?

Viewing 12 replies - 1 through 12 (of 12 total)