This topic has 3 replies, 2 voices, and was last updated 11 years by SQadmin.

  • Author
  • #2400
     aero77
    Participant

    I tried to edit the usergroup profile fields, but one of them suddenly disappeared from the profile page now and I forgot the original name of the group. Can you help me out here please ? 🙂

    Thanks

    #2429
     SQadmin
    Keymaster

    If you had it displayed next to your profile image then you probably added a code to your sweetdate-child/functions.php to enable it. Check the name there 🙂
    If not then I don;t know how you could find the name of something deleted maybe from a hosting database backup

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

    nevermind I figured it out, but I tried adding another tab using the functions file in the childs theme, but I couldnt make it appear. Here is how the file looks like.

    COPY CODE
    
    add_action('after_setup_theme','kleo_my_actions');
    
    function kleo_my_actions() 
    {
        $bp_tabs['physical'] = array(
            'type' => 'regular',
            'name' => __('Physical', 'kleo_framework'),
            'class' => 'regulartab'
        );
    
    }
    
    #2478
     SQadmin
    Keymaster

    That looks good but you forgot to add a line before “$bp_tabs[‘physical’] = array(“:

    COPY CODE
    
    
    global $bp_tabs;
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘user profile fields’ is closed to new replies.

Log in with your credentials

Forgot your details?