This topic has 12 replies, 4 voices, and was last updated 10 years by Abe.

  • Author
  • #25237
     alberhd
    Participant

    Hello,i bought yesterday the template,so today is time to work ^^

    1. What is the name of file to edit the menu of the User Profile,where appear for example Messages,Forums…?

    <—-example of the code.

    #25341
     nardyello
    Participant

    Hey, Alberhd.

    I’m not a pro at this, but I’ve been playing around with this template a little and have found my way throughout some of the most searched changes people are looking for.

    I’m not entirely sure which menu you are trying to change, but if what you’re trying to accomplish is to have a certain menu when logged out and then a different menu when logged in, use the plugin NAV MENU ROLES.

    Go to Plugins > Add New > type Nav Menu Roles
    Install the plugin and then go to Appearance > Menus
    There you will be able to choose how you want your menu to appear. The column to the left has all the options you can add to your menu. The column to the right has the buttons that will appear on your menu.

    When you click on a button, there will be a “Display Mode” option. Select if you want it to appear for logged out or logged in users, or even by role (administrator, author, contributor, spectator, etc)

    Hope that’s what you’re looking for.

    If not, give us some more details and I might be able to help.

    Good luck! 😀

    #25351
     alberhd
    Participant

    Im looking to edit the text now,the text of Notifications and Messages,where can i do it?

    #25366
     nardyello
    Participant

    I’m sorry, but I’m not sure what you mean.

    Can you give me some more details, please?

    #25367
     alberhd
    Participant

    Yes,i will attach two captures,i need help with this two things:

    Photo 6: i need translate this two terms.

    Photo 5: i dont know why just appear the age at the box.

    Thank you very much for your help!

    Attachments:
    You must be logged in to view attached files.
    #25476
     Catalin
    Moderator

    Hello,

    1. Please add this code in your functions.oho file from your child theme:

    COPY CODE
    
    
    function kleo_change_profile_name() {
    global $bp;
    $bp->bp_nav['profile']['name'] = 'your name';
    $bp->bp_nav['activity']['name'] = 'your name';
    $bp->bp_nav['friends']['name'] = 'your name';
    $bp->bp_nav['groups']['name'] = 'your name';
    $bp->bp_nav['blogs']['name'] = 'your name';
    $bp->bp_nav['messages']['name'] = 'your name';
    $bp->bp_nav['settings']['name'] = 'your name';
     
    }
    add_action( 'bp_setup_nav', 'kleo_change_profile_tab', 999 );
     
    define( 'BP_DEFAULT_COMPONENT', 'profile' );
    
    

    2. take a look at this:

    https://archived.seventhqueen.com/forums/topic/member-directory-page-about-me-text-does-not-display

    Thank you,
    Catalin

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #25707
     alberhd
    Participant

    Does not work for me,works,but when i press “Profile” i have a error in wp-includes/pluggable.php ,do you have some other form to change it?

    #26989
     Abe
    Keymaster

    That is the only way to change them. try finding a plugin that can do that or try to hire a WordPress developer to help you with custom work.

    Cheers

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #26990
     Catalin
    Moderator

    Hello,

    Did you added the code I provided? I checked your page and I wasn’t able to replicate your issue.

    Thank you,
    Catalin

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #27449
     alberhd
    Participant

    Yes,i have a error in the file pluggable.php just i need translate, Notifications and Messages by Notificaciones/Mensajes but for me does not work sorry

    #27646
     alberhd
    Participant

    i should put something like that

    COPY CODE
    function kleo_change_profile_name() {
    global $bp;
    $bp->bp_nav['messages']['name'] = 'Mensajes';
    $bp->bp_nav['notifications']['name'] = 'Notificaciones';
    
     
    }
    add_action( 'bp_setup_nav', 'kleo_change_profile_tab', 999 );
     
    define( 'BP_DEFAULT_COMPONENT', 'profile' );
    #27715
     alberhd
    Participant

    is a question sorry jaja

    #28301
     Abe
    Keymaster

    @alberhd the easiest way is to translate those Buddypress strings using Codestyling Localization.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

Viewing 13 posts - 1 through 13 (of 13 total)

The topic ‘What is the file to edit the profile menu?’ is closed to new replies.

Log in with your credentials

Forgot your details?