-
Author
-
October 29, 2015 at 15:34 #84869Oscar570Participant
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
Attachments:
You must be logged in to view attached files.October 29, 2015 at 17:42 #84906RaduModeratorHi,
Just add this snippet to your kleo-child/style.css
COPY CODEfunction 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 solutionOctober 30, 2015 at 12:08 #85047Oscar570ParticipantThanks Radu!
I’d like to put the location and the age of each member. Any idea?
CheersNovember 3, 2015 at 19:09 #85522RaduModeratorHi,
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 solutionAttachments:
You must be logged in to view attached files.November 5, 2015 at 18:09 #85742RaduModeratorHi,
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 solutionNovember 6, 2015 at 17:41 #85970RaduModeratorHi,
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 solutionNovember 9, 2015 at 18:44 #86428RaduModeratorHi,
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 solutionNovember 9, 2015 at 20:17 #86454RaduModeratorYou’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 solutionNovember 10, 2015 at 12:20 #86566Oscar570ParticipantHi 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
NathalieNovember 10, 2015 at 18:05 #86656RaduModeratorHi,
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 solutionNovember 10, 2015 at 21:46 #86706Oscar570Participantok thank you.
the code doesn’t work look screenshot Radu…Attachments:
You must be logged in to view attached files.November 10, 2015 at 21:53 #86708RaduModeratorPlease 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 solutionNovember 24, 2015 at 15:21 #88768RaduModeratorHi,
It works, the problem is because this profile : Mathilde Lenoir does not completed the ville field.
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionNovember 24, 2015 at 18:52 #88849RaduModeratorHi,
Done
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionNovember 24, 2015 at 19:10 #88861RaduModeratorCOPY 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 solutionNovember 25, 2015 at 16:28 #89011RaduModeratorHi,
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 solutionNovember 25, 2015 at 16:31 #89012Oscar570ParticipantThanks a lot Radu, for me it’s perfect and resolved.
CheersNovember 25, 2015 at 18:24 #89043RaduModeratorGreat,
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 -
AuthorPosts
The forum ‘General questions’ is closed to new topics and replies.