-
Author
-
March 11, 2018 at 16:03 #191330
emmanuel
Participanthello how to get the country of the user to show here on the members page see attachment
Attachments:
You must be logged in to view attached files.March 11, 2018 at 16:14 #191332Kieran_SQ
ModeratorHi,
I have added the below code to your site via WP Admin > Appearance > Editor > SweetDate Child > Functions.php to show the users country.
COPY CODE// Custom Fields on Members Directory // //members page fields add_action('after_setup_theme','kleo_my_member_data'); function kleo_my_member_data() { global $kleo_config; //this is the details field, right now it take the "About me" field content $kleo_config['bp_members_details_field'] = 'About me'; //this display the fields under the name, eq: 36 / Woman / Divorced / Berlin. Modify with the names of the fields you want to appear there $kleo_config['bp_members_loop_meta'] = array( 'I am a', 'Marital status', 'Country' ); }
You can add, edit or remove other fields by following this article https://archived.seventhqueen.com/sweetdate/article/add-profile-information-member-name-members-directory .
Thanks,
Kieran
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
March 11, 2018 at 17:05 #191336emmanuel
Participantok how to get it to show but country and city allow with the I am a, Marital status, City fields
March 11, 2018 at 17:12 #191337Kieran_SQ
ModeratorHi,
As per the support article I shared you can add, edit or remove fields by adding to the code. I have updated this for you in WP Admin > Appearance > Editor > SweetDate Child > Functions.php
Code changed from
COPY CODE// Custom Fields on Members Directory // //members page fields add_action('after_setup_theme','kleo_my_member_data'); function kleo_my_member_data() { global $kleo_config; //this is the details field, right now it take the "About me" field content $kleo_config['bp_members_details_field'] = 'About me'; //this display the fields under the name, eq: 36 / Woman / Divorced / Berlin. Modify with the names of the fields you want to appear there $kleo_config['bp_members_loop_meta'] = array( 'I am a', 'Marital status', 'Country' ); }
Code changed to
COPY CODE// Custom Fields on Members Directory // //members page fields add_action('after_setup_theme','kleo_my_member_data'); function kleo_my_member_data() { global $kleo_config; //this is the details field, right now it take the "About me" field content $kleo_config['bp_members_details_field'] = 'About me'; //this display the fields under the name, eq: 36 / Woman / Divorced / Berlin. Modify with the names of the fields you want to appear there $kleo_config['bp_members_loop_meta'] = array( 'I am a', 'Marital status', 'City', 'Country' ); }
Note that I added the field titled City before Country, you can use the same format to show any fields in the order you desire.
I have also added the below CSS fix that will allow all of the defined fields to show as in some cases it may extend outside of the area allowed.
.search-item .date, .search-item .date a {height: auto;}
Thanks,
Kieran
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
March 11, 2018 at 18:40 #191352emmanuel
Participanthi thanks but the country is not show properly on the members page see attachment
March 11, 2018 at 18:42 #191353emmanuel
Participantsorry i forgot to paste the attachment here it is
Attachments:
You must be logged in to view attached files.March 11, 2018 at 18:58 #191359Kieran_SQ
ModeratorHi,
I have already applied a CSS fix for this as per my previous reply. Please purge your cache whilst on the members page (Ctrl+F5) to see changes.
Kieran
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
Attachments:
You must be logged in to view attached files.March 11, 2018 at 19:40 #191365emmanuel
Participantok, could the frame around the profile be hide or remove see attachment
Attachments:
You must be logged in to view attached files.March 11, 2018 at 19:45 #191368Kieran_SQ
ModeratorHi,
You can use the below CSS to remove the border for the individual profiles in the members directory
.members .search-item {border: none;}
Kieran
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
March 11, 2018 at 20:01 #191369emmanuel
Participantthank can the frame around the picture be hidden too
Attachments:
You must be logged in to view attached files.March 11, 2018 at 20:04 #191372Kieran_SQ
ModeratorHi,
You can use the below CSS to remove the border around the user avatar
#members-list .search-item .avatar {border: none !important;}
Kieran
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
March 11, 2018 at 20:24 #191373emmanuel
Participantthanks i notice on the mobile website when a page is open and you click the login or sign up button this would happen see attachment
Attachments:
You must be logged in to view attached files.March 11, 2018 at 20:36 #191376Kieran_SQ
ModeratorHi,
This comes from another ticket where the z-index of the menu was increased. You can use the below CSS to increase the z-index of the modal for mobile.
COPY CODE@media only screen and (max-width: 767px) { .reveal-modal {z-index: 99999;} }
Please make sure to purge your website cache and device browser cache to see the changes.
Thanks,
Kieran
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
March 11, 2018 at 20:42 #191377emmanuel
Participantok can a member get a refund whenever they choose a membership level and they do not need it any more
March 11, 2018 at 20:46 #191378Kieran_SQ
ModeratorHi,
Please follow this support article on Paid Memberships Pro on how to process a refund via their plugin.
https://www.paidmembershipspro.com/how-to-process-a-refund/
Kieran
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
March 11, 2018 at 21:51 #191388Kieran_SQ
ModeratorYou’re welcome, feel free to open a new ticket any time with any other questions and we’ll be happy to assist.
Kieran.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionIf you like the theme or the support you've received please consider leaving us a review on Themeforest!
Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.
-
AuthorPosts
You must be logged in to reply to this topic.