-
Author
-
January 23, 2015 at 03:58 #43134miracleprayParticipant
Hello
There were fake pending members.
I activated them. But the users didn’t show up in member page.
Do you know how to fix it?I found the answer to other ueser in this website.
Do you know how to add the code?—————————————-
If you want users to show in your site after they activate their account or you activated it using a plugin you have to add this piece of code to your sweetdate-child/functions.php and an user no longer needs to login in order for him to appear in the site.add_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”));
}1
2
3
4
5
add_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”));
}January 23, 2015 at 13:21 #43166RaduModeratorOr you can use this plugin : https://wordpress.org/plugins/bp-default-data/
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJanuary 26, 2015 at 02:09 #43413LauraModeratorHello, go to your ftp and then go to wp-content/themes/sweetdate-child then find the file functions.php and add the code before “?>”
bp-default data plugin lets you add buddypress users, this code activates your users in the site just after they registered.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 ‘Sweetdate – WordPress’ is closed to new topics and replies.