This topic has 10 replies, 2 voices, and was last updated 10 years by Catalin.

  • Author

    Tagged: ,

  • #19870
     towarzyski.pl
    Participant

    Hello,

    On your demo site after click of some user I can see his/her profile on the right site of the photo.
    Don’t need to click “profile” tab.

    Unfortunatelly on my website it doesn’t work. I can see profile only after click “profile” tab.
    Would you please let me know how can I turn on this option ?

    Regards

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

    Take a look to this link:

    https://archived.seventhqueen.com/forums/topic/how-to-add-more-tabs-next-to-the-profile-image

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

    Thank you. I saw your link and I’m not sure if it’s what I’m looking for.
    Do you suggest that if I add code from this link to functions.php than I’ll have info about every user like highlited in attached screenshot ?

    #19982
     Catalin
    Moderator

    In the archive you downloaded when you purchased the theme you have at (../Main files/Wordpress/) the child theme named sweetdate-child.zip.

    In the left menu from WordPress admin panel:

    1. Go to (Appearance>Themes) and click on the top left button “Add new”
    2. Click on “Upload Theme” and select the file sweetdate-child.zip (../Main files/Wordpress/sweetdate-child.zip)
    3. Activate the child theme
    4. Go to ../wp-content/themes/sweetdate-child/functions.php on your server using a FTP client and add the code from the link I provided.

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

    I did it.
    Now I have Sweetdate Child activated.
    I changed functions.php and have code added. (See attached file).

    Unfortunatelly nothing changed. I see no results.
    Would you please take a look for example user:

    You’ll see that despite new code in functions.php there are no new tabs.
    I’m also sending you ftp password in private.
    I’ll be appreciate if you’ll take a look.

    #19994
     towarzyski.pl
    Participant

    My code in functions.php

    COPY CODE
    <?php
    
    add_action('after_setup_theme','kleo_my_actions');
    
    function kleo_my_actions() 
    {
        global $bp_tabs;
        
    	$bp_tabs['base'] = array(
    			'type' => 'regular',
    			'name' => __('O mnie', 'kleo_framework'),
    			'group' => 'Podstawowe informacje',
    			'class' => 'regulartab'
    	);
    
    }
    
    ?>
    #19995
     towarzyski.pl
    Participant
    This reply has been set as private.
    #20433
     towarzyski.pl
    Participant

    Hello,

    Should I wait for the answer ?

    #20471
     Catalin
    Moderator

    Hello,

    Please Take a look at a profile page. Is this what you where looking for?

    http://towarzyski.pl/uzytkownicy/bary/profile/

    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
    #20507
     towarzyski.pl
    Participant

    Perfect !
    Thank you very much.
    How did you do this ?

    #20508
     Catalin
    Moderator

    Hello,

    You edited the functions.php file from the main theme not the child theme. This is the reason it wasn’t working.

    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
Viewing 11 posts - 1 through 11 (of 11 total)

The topic ‘Display of profile’ is closed to new replies.

Log in with your credentials

Forgot your details?