-
Author
-
July 8, 2015 at 09:02 #67290
iamj_kim
ParticipantHello,
When I create a new member through the backend as admin, I have to log in as that user to activate and be present in the members directory. Is that the way that is supposed to work? If not, how can I have the member be automatically activated without having to log in as that member? I have over 200 members to create so this is important for this project. Thanks!
July 9, 2015 at 04:01 #67432Laura
ModeratorHello, yes thats how it should work, but you can use this code in your functions.php ( child theme ) to activate them automatically.
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")); }
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 9, 2015 at 17:29 #67497iamj_kim
ParticipantWell, that’s not working for me. After adding the code to the child theme functions file, I still have to login as the new member to get them to show up in the member directory. Could you confirm that it works on your end? I am entering a new user in the admin, entering their extended profile, and looking for them in the member directory – from which they are missing.
Thanks.
July 9, 2015 at 21:43 #67561iamj_kim
ParticipantAlso, can you suggest a plugin that will activate users? Thx.
July 10, 2015 at 22:53 #67719Laura
ModeratorHello, it does work for me, please try to go to Tools > Buddypress and check out all options then check directory again.
To activate users do you mean not send then an activation email?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 11, 2015 at 00:52 #67731iamj_kim
ParticipantYes, I want to create user in the backend and have them show up in the Directory. Does that code accomplish that? It doesn’t work for me, even after updating the last activity in the buddypress tools section. Should I create a live site and send to you the login details? I just want to make sure that the activation can be manually done by the admin in the backend. Thx.
July 13, 2015 at 05:01 #67963Laura
ModeratorHello, activate the user is avaible by just going to Pending users in Users section. But for them to appear in the members directory they need to login at least once. The code disabled the need to login of the user to appear in members directory, but their account needs to be activated.
So You create the user in backend > Activate them in Pending ( or autoactivate them with a plugin ) > User logs in for the first time and appear in member list ( Without the code ) User appear in the directory ( With Code )
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 16, 2015 at 01:07 #68502iamj_kim
ParticipantHello Laura,
It is still not working for me. Could you check my site to see the problem? My login/CP details are below and functions file attached. Thx so much!
July 17, 2015 at 09:05 #68661iamj_kim
ParticipantHello,
I activated everyone of those, and none show up in the members area. Can u go through the process of creating and activating a user in the backend which shows up in Members? Thanks.
July 17, 2015 at 17:46 #68732Laura
ModeratorHello, if you activated all of them, to show up in search they need to log in 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 🙂
July 20, 2015 at 09:15 #69052iamj_kim
ParticipantHello Laura,
I’m really confused. You said “Hello, it does work for me….The code disabled the need to login of the user to appear in members directory, but their account needs to be activated.” And then “So You create the user in backend > Activate them in Pending ( or autoactivate them with a plugin ) > User logs in for the first time and appear in member list ( Without the code ) User appear in the directory ( With Code )”
I have the code and activated the user. Then you said “if you activated all of them, to show up in search they need to log in for the first time”
So if it was working for you, why do users have to log in to show up in the directory? It seems not clear to me. Could you please clarify? Thank you.
July 21, 2015 at 00:30 #69184Laura
ModeratorHello, it works for users that have logged in, as i told you it worked, but if you get new users, they need to activate their account, then login.
Also to check out you can go to Settings > Buddypress adn check all options, it would refresh the data, because maybe someone ligged in but didnt appeared. Its how buddypress 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 🙂
-
AuthorPosts
You must be logged in to reply to this topic.