-
Author
-
June 8, 2015 at 15:17 #61508
Shakinaz
ParticipantHow can I display ” Organisation filed ” on the group member card like the ” quote ” in the demo example
June 8, 2015 at 17:28 #61533Laura
ModeratorHello, could you specify a bit more? Thanks 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura 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 🙂
June 8, 2015 at 17:29 #61534sharmstr
Moderator– letting laura handle this one.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
June 8, 2015 at 19:08 #61549Laura
ModeratorHello, could you share admin credentials and ftp? Thanks 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura 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 🙂
June 8, 2015 at 19:18 #61556Laura
ModeratorBetter here as private 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura 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 🙂
June 8, 2015 at 20:29 #61574Laura
ModeratorHello, do you have a cache plugin?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura 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 🙂
June 8, 2015 at 20:51 #61580Laura
ModeratorHello, yes, your browser cache with CTLR+F5 and your website cache.
For the group, its done, here is what i did:
Created the function to show the field in functions.php of child theme:
COPY CODEadd_action( 'bp_directory_members_item', 'display_user_info' ); function display_user_info() { echo "Organization: "; bp_member_profile_data('field=Organization'); echo "</br>"; }
Edited wp-content/themes/kleo/buddypress/groups/single/members.php
Found:
COPY CODE<div class="member-list-content"> <h5><?php bp_group_member_link(); ?></h5> <span class="activity"><?php bp_group_member_joined_since(); ?></span>
Added
COPY CODE<?php do_action( 'bp_directory_members_item' ); ?>
So it looks like
COPY CODE<div class="member-list-content"> <h5><?php bp_group_member_link(); ?></h5> <span class="activity"><?php bp_group_member_joined_since(); ?></span> <?php do_action( 'bp_directory_members_item' ); ?>
Then copied the file to your child theme.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura 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 🙂
June 8, 2015 at 20:52 #61581Laura
ModeratorOk, edited and deleted
echo “Organization: “;in the function.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura 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 🙂
June 8, 2015 at 21:08 #61586Laura
ModeratorHello, thanks you so much 🙂 If you are happy please leave a nice comment and/or a 5 star rating on themeforest 🙂
Thanks!Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura 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 🙂
June 8, 2015 at 22:05 #61596Laura
ModeratorHello, the member counter will only update when an user logs in for the first time, if you want me to change it so it counts when they register, let me know.
This shortcode in homepage will add the topics counter
[kleo_bbpress_stats type="topics"]Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura 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 🙂
June 8, 2015 at 22:49 #61606Laura
ModeratorHello, yes it will work when they login for the first time 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura 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 🙂
June 9, 2015 at 01:18 #61630Abracadabra
ParticipantHello Laura, I’m actually interested in doing this as well.
I already have custom code in my functions.php that adds extra information to my all members page profiles and I would like to have that visible on group members page as well.
I have this code:
COPY CODEadd_action('bp_directory_members_item', 'bphelp_dpioml'); function bphelp_dpioml(){ $bphelp_my_profile_field_1='Location'; $bphelp_my_profile_field_2='Company'; $bphelp_my_profile_field_3='Position'; if( is_user_logged_in() && bp_is_members_component() ) { ?> <div class="bph_xprofile_fields" style=" margin-left:0 !important; text-align:center !important;"> <br /> <?php echo bp_member_profile_data( 'field='.$bphelp_my_profile_field_1 ); ?><br /> <?php echo bp_member_profile_data( 'field='.$bphelp_my_profile_field_2 ); ?><br /> <?php echo bp_member_profile_data( 'field='.$bphelp_my_profile_field_3 ); ?><br><br /> </div><?php }}
What I noticed is that the information you had given was for bp directory members item as well, so would that work for group members page?
Im guessing there is a way just to copy the same code but replace the
COPY CODEadd_action('bp_directory_members_item', 'bphelp_dpioml'); function bphelp_dpioml(){
with something else for it to work with group members?
June 9, 2015 at 14:44 #61673Laura
ModeratorHello Shakinaz, please add this to your functions.php
COPY CODEadd_action('bp_core_activated_user', 'kleo_add_member_activity'); function kleo_add_member_activity($user_id) { add_user_meta( $user_id, 'last_activity', date("Y-m-d H:i:s")); }
This will count users once they register, now after you save it, go to Tools > Buddypress and check all options. This will recount your users and their activity etc…
Hello Abracadabra, yes the way i added it will show it also in members page, with your code, there is no need to change nothing, just place
COPY CODE<?php do_action( 'bp_directory_members_item' ); ?>
In members.php of group files and will show your code, because you use the same action. Just add it like this
COPY CODE<?php do_action('bp_directory_members_item', 'bphelp_dpioml'); ?>
Let me know if it works 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura 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 🙂
June 9, 2015 at 16:12 #61676Abracadabra
ParticipantHi Laura, thanks but i am not sure what to put and where
I assume I only use the second code you provided the one with “bphelp_dpioml” in it?
When I go to /wp-content/plugins/buddypress/bp-groups there are 14 different php files, which one do I use?
If I entered that code in functions.php would that work?
June 9, 2015 at 17:03 #61682Laura
ModeratorHello, you need to follow the instructions i added for Shakinaz,
that should be added in members.php in kleo/buddypress/groups/single
Then copied to child theme.Find
COPY CODE<div class="member-list-content"> <h5><?php bp_group_member_link(); ?></h5> <span class="activity"><?php bp_group_member_joined_since(); ?></span>
And add it just after that, like this
COPY CODE<div class="member-list-content"> <h5><?php bp_group_member_link(); ?></h5> <span class="activity"><?php bp_group_member_joined_since(); ?></span> <?php do_action('bp_directory_members_item', 'bphelp_dpioml'); ?>
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura 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 🙂
June 9, 2015 at 18:09 #61691Abracadabra
Participanti added that line in kleo and in kleo-child in the specified folder, nothing has changed unfortunately.
June 9, 2015 at 18:44 #61697Laura
ModeratorHello, then please follow these steps https://archived.seventhqueen.com/forums/topic/display-extra-fields-group-member-card/#post-61580
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura 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 🙂
June 9, 2015 at 18:57 #61702Laura
ModeratorHello, i think the update will be these days, maybe today or tomorrow
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura 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 🙂
July 7, 2015 at 01:48 #67031ianll
ParticipantIs it possible to extend this function to also include pulling a larger image for the member card.
July 7, 2015 at 21:11 #67233Laura
ModeratorHello, do you mean bigger user avatars only in group?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura 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 🙂
July 7, 2015 at 22:10 #67247ianll
ParticipantYes, I’ve update the profile page to use the 150×150 profile avatar and made it square. On the directory page that lists my members I would like to use a 150×200 dimension of the avatar. Can you help?
Thanks!
July 8, 2015 at 13:38 #67304Laura
ModeratorSure, please check out this https://archived.seventhqueen.com/forums/topic/member-customization it should give you a great layout, and you can customize the size. Let me know if you need more help on this 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura 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 🙂
-
AuthorPosts
The forum ‘KLEO’ is closed to new topics and replies.