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

  • Author
  • #84869
     Oscar570
    Participant

    Hello

    On the Members page, I would delete the last activity of the member’s profile (in red). Instead I would put the city and the member’s age

    How can I do ?

    Thanks for your help.

    Regards

    Nathalie

    #84906
     Radu
    Moderator

    Hi,

    Just add this snippet to your kleo-child/style.css

    COPY CODE
    
    function KleoRemoveLastActivityFromDirectory() {
        return false;
    }
    add_filter('bp_get_member_latest_update', 'KleoRemoveLastActivityFromDirectory');
    

    Cheers

    Radu

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

    Thanks Radu!
    I’d like to put the location and the age of each member. Any idea?
    Cheers

    #85522
     Radu
    Moderator

    Hi,

    Please add this file to wp-content/themes/kleo-child/buddypress/members/ after you download and unzip ( see attachment )

    Then add this css to your kleo-child/style.css

    COPY CODE
    
    .extrafieldsmeta b {
        display: table-caption;
    }
    

    Let me know if is ok.

    Best Regards

    Radu

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

    Thanks a lot Radu but not change…. :-(((

    #85742
     Radu
    Moderator

    Hi,

    Login to FTP go in this location wp-content/themes/kleo-child/ and then make sure that there is a folder named buddypress and inside buddypress folder a folder named members and in members folder needs to be the file that i have you provided ( the file needs to be unzipped )

    Let me know if you solve the issue.

    Regards

    Radu

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

    That’s exactly I did.
    I put the files into the folder “members” into kleo-child/buddypress/ and put the code into style.css from kleo-child.

    please check the screenshots.

    Feel free to check on my FTP (access : screenshot)
    Regards

    Nath

    #85970
     Radu
    Moderator

    Hi,

    Please take a look it should be ok,

    If you change these field names : Ville and Date de naissance

    The informations will disappear from members mansory.

    Let me know if is ok and if can close the topic.

    I’ve used this in members-loop.php from kleo-child/buddypress/members/members-loop.php

    COPY CODE
    
    
                <?php $bp_location = bp_get_profile_field_data( 'field=Ville&user_id=' . bp_get_member_user_id() );?>
                <?php $bp_age = bp_get_profile_field_data( 'field=Date de naissance&user_id=' . bp_get_member_user_id() );?>
                <?php
    	            $yearagearr = (explode(' ', $bp_age));
    	            $yearage = date("Y") - $yearagearr['2'];
    	            //echo $yearage;
                ?>
                <div class="extrafieldsmeta">
    
                <div style="clear: both;"> </div>
    
                <?php echo ' <p>' . __('Age:') .' ' .$yearage. '</p>'; ?>
                <?php echo ' <p>' . __('Ville:') .' ' .$bp_location. '</p>'; ?>
    
                </div>
                <div style="clear: both;"> </div>
    

    Best Regards

    Radu

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

    Hi Radu,

    Please look the screenshot… it does’t work.

    Please note I changed ma database, because I had a big bug. The members didn’t share anything. Now It resolved.
    So if you want to check please connect:

    lezgirls/wp-login.php

    login : admin_Lezg
    password : OscAR57000+-

    Many thanks
    Cheers
    Nathalie

    #86428
     Radu
    Moderator

    Hi,

    It’s ok now,

    The problem was at names of that fields, they have been renamed, now i’ve added ID’s instead fields name.

    Best Regards

    Radu

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

    Wahouuuu ! You’re the best ! thanks Radu ;-)))

    #86454
     Radu
    Moderator

    You’re welcome. 🙂

    Have a nice day

    Radu

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

    Hi Radu,

    I have a question please : I just see your BudyApp seems to be wonderful.
    How you saw, I try to create a website for dating people. Which one between Kleo and BudyApp is the best for that ?

    Could you tell me if I can add a plugins ?
    I tried your demo version for BuddyApp but I didn’t find the chat? Where is it ?

    Thanks for your feedback
    Cheers
    Nathalie

    #86573
     Oscar570
    Participant

    Radu,

    I downloaded a plugin : who clicked at my profile?
    So It work but I d’ like to have the profile avatar in circle style like your plugin “who’s online?”.
    Could you tell me how can I have this ?

    #86656
     Radu
    Moderator

    Hi,

    Regarding to this

    Hi Radu,
    I have a question please : I just see your BudyApp seems to be wonderful.
    How you saw, I try to create a website for dating people. Which one between Kleo and BudyApp is the best for that ?
    Could you tell me if I can add a plugins ?
    I tried your demo version for BuddyApp but I didn’t find the chat? Where is it ?

    BuddyApp is for intranet and extranet propose and both themes kleo and buddy app have ability to use it as community.

    Regarding to square avatars

    Add this CSS to wp-admin -> Theme Options -> General settings -> quick css

    COPY CODE
    
    .buddypresswcamp a img.avatar {
        border-radius: 100% !important;
        width:35px;
    }
    

    Best Regards

    Radu

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

    ok thank you.
    the code doesn’t work look screenshot Radu…

    #86708
     Radu
    Moderator

    Please visit your profile from anther profile.

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

    Yes Radu it works now.
    I’d like to optimize the mobile version for my website. Some links could be removed for this version.
    I saw on internet somme different plugins I could add to my website but I don’t manage to make my choice.
    Could you advise me?
    Cheers

    Nathalie

    #86796
     Radu
    Moderator

    Hi,

    Sorry but i cannot recommend you any plugin regarding to this… I’ve not tested a such of plugin.

    Cheers

    Radu

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

    Hi Radu,

    I ask you again for members page. I don’t know why, but the “Age” not working again. I don’t change anything for the ID ????
    Please could you check it ???
    If you do not have a solution to bring me , ( what I can understand) thank you to delete the file “members – loop.php ” information on the member’s age.

    I changed the presentation of with main and two side bars. Could you help me for the name and activity are centered ?
    Many thanks

    #88768
     Radu
    Moderator

    Hi,

    It works, the problem is because this profile : Mathilde Lenoir does not completed the ville field.

    http://lezgirls.fr/membres/

    Cheers

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

    I speak about the age Radu….

    #88849
     Radu
    Moderator

    Hi,

    Done

    Cheers

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

    Thanks Radu ! Any solution for the name and time activity can be centered under the avatar ?

    #88861
     Radu
    Moderator
    COPY CODE
    
    #buddypress #members-list .item-title,#buddypress #members-list .item-meta {margin: 0 !important; text-align:center !important;}
    

    Cheers

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

    ok where do I add this code ?

    #89011
     Radu
    Moderator

    Hi,

    Sorry, the code can be added in Wp-admin -> theme options -> general settings -> quick css

    Cheers

    Radu

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

    Thanks a lot Radu, for me it’s perfect and resolved.
    Cheers

    #89043
     Radu
    Moderator

    Great,

    I will mark topic as resolved.

    Cheers

    Radu

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 29 posts - 1 through 29 (of 29 total)

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

Log in with your credentials

Forgot your details?