This topic has 3 replies, 2 voices, and was last updated 6 years by Laura.

  • Author
  • #187345
     HDcms
    Participant

    Hello,

    I want to put a notice to help members enter AND save their data at the top of the profile.

     ‘add_action( ‘bp_before_activity_post_form’, ‘afficheMsg’ );
    function afficheMsg() {

    echo “hello” ;
    }’

    works all the time, how to just display it for profile editing or photo change

    Regards

     

    Regards

    #187455
     Laura
    Moderator

    Hello, you could add it at the template page, you would need to copy the files to the child theme before editing, files are: kleo\buddypress\members\single\profile\edit.php and kleo\buddypress\members\single\profile\change-avatar.php

    Download those and then go to child theme at wp-content/themes/kleo-child and create a folder named buddypress, inside create another named members, inside another named single and finally another inside named profile, paste both files inside and then edit them 🙂

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

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #187484
     HDcms
    Participant

    HI,
    Thank you but I finally found a solution on the forum :

    You can use the actions like bp_before_profile_edit_content and bp_before_profile_avatar_upload_content in place of bp_before _member_header. The better way to edit the appearance of a website is by the adding the buddypress template files in your theme.

    Thanks

    #187549
     Laura
    Moderator

    Glad you could resolve it!

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

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

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

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?