Skip to:
Content
Pages
Categories
Search
Top
Bottom

need some help


  • Alan Lang
    Participant

    @viktoryn

    Im using the latest versions of WP and BBpress,

    All i have learnt using WP and BBpress is from trial and error and use of support forums and information from other websites.

    I gamer at heart and play many mmo’s, i use wordpress for our main site and wanted to include a forum for our members(BBpress). http://enigmas.eu

    I have been able to change lay out and look, so it look like main site and i have install an Plugin (bbPress String Swap) to rename roles, but it only change them on the forum and not in the admin selection area and the same goes with Public-Privet-hidden forum.

    I would like to be able to change the names with in the admin side, so that my Moderator’s know which role to select when a new member joins

    Key master – Guild leaders
    Moderator – Officer
    Participant – Member

    Also when creating a forum know which one to select

    Public – (can stay the same)
    Private – Members Zone
    Hidden – Officers Zone

    As im talking about the forum titles i would like to remove (private) from the forum breadcrumb i have seen many examples of how to do it and have tried them out, but they don’t seem to work. i don’t know if im doing some thing wrong. so look for a fresh input.

    i know that my Moderator(Officers) could get used to knowing which role and forum section to choose from with out changing them. but the Private before the forum tile is a real pain.

    any ideas would be great thank you

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

  • petersweb
    Participant

    @petersweb

    Did you ever find a solution to this? I would also like to be able to rename roles.


    Robkk
    Moderator

    @robkk

    you put this into your child themes functions.php

    source https://gist.github.com/ntwb/7864894

    add_filter( 'bbp_get_dynamic_roles', 'ntwb_bbpress_custom_role_names' );
     
    function ntwb_bbpress_custom_role_names() {
    	return array(
     
    		// Keymaster
    		bbp_get_keymaster_role() => array(
    			'name'         => 'My Custom Keymaster Role Name',
    			'capabilities' => bbp_get_caps_for_role( bbp_get_keymaster_role() )
    		),
     
    		// Moderator
    		bbp_get_moderator_role() => array(
    			'name'         => 'My Custom Moderator Role Name',
    			'capabilities' => bbp_get_caps_for_role( bbp_get_moderator_role() )
    		),
     
    		// Participant
    		bbp_get_participant_role() => array(
    			'name'         => 'My Custom Participant Role Name',
    			'capabilities' => bbp_get_caps_for_role( bbp_get_participant_role() )
    		),
     
    		// Spectator
    		bbp_get_spectator_role() => array(
    			'name'         => 'My Custom Spectator Role Name',
    			'capabilities' => bbp_get_caps_for_role( bbp_get_spectator_role() )
    		),
     
    		// Blocked
    		bbp_get_blocked_role() => array(
    			'name'         => 'My Custom Blocked Role Name',
    			'capabilities' => bbp_get_caps_for_role( bbp_get_blocked_role() )
    		)
    	);
    }

    robertosalemi
    Participant

    @robertosalemi

    Thanks, it works very well! 😉


    tfindlay
    Participant

    @tfindlay

    Sorry for jumping in on this topic but I can’t find a way to post a new topic. I am logged in but I don’t see a New Topic link anywhere. Can anyone help me?

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Skip to toolbar