-
Author
-
April 4, 2015 at 21:41 #53259heebehaParticipant
How can I adjust the setting so users don’t have to login once to show up in the members directory and search results? I need all registered users to be searchable and in the members directory. I don’t want them to have to login once to show. THIS IS A CRITICAL SUPPORT REQUEST
April 6, 2015 at 06:43 #53362LauraModeratorHello, please try to add the following code to your functions.php in child theme, this will make user appear once they register. After adding the code, go to Admin Panel > Tools > Buddypress and check all options, this will “activate” old users that didnt appear
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 🙂
April 6, 2015 at 19:05 #53425heebehaParticipantThis did nothing. I even tried adding it to the main functions.php file and still nothing. It cause the site to not show actually, after adding the code to the main functions.php file. Maybe IU added it in the wrong area of the file?
I appreciate the help Laura. Please help me further to get it to work. Did you test this on your site”?
April 8, 2015 at 22:42 #53710LauraModeratorHello, yes this is tested and works, could you please share your functions.php of 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 🙂
April 9, 2015 at 03:56 #53722heebehaParticipantALSO I DONT KNOW IF I SAID THIS BNUT I AM USING BUDDYPRESS.
April 9, 2015 at 15:01 #53767heebehaParticipantCould this help?
I found this online, regarding buddypress activating users
http://etivite.com/api-hooks/buddypress/trigger/do_action/bp_core_activated_user/April 12, 2015 at 01:13 #54058LauraModeratorHello, attach the file as a .txt please
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 🙂
April 12, 2015 at 04:14 #54067heebehaParticipantOk but there is nothing in the child theme function.php file, Maybe you could send me the child theme function.php file you are using that works?
I am attaching both of my functions files from the main theme and child theme. I renamed them so you could tell which ones they are.
Your help is greatly appreciated.
Again, Maybe you could send me the child theme function.php file you are using that works and the main functions.php file you are using?Attachments:
You must be logged in to view attached files.April 14, 2015 at 06:26 #54352LauraModeratorHello, please try to replace all of functions.php of CHILD theme with the following
COPY CODE<?php /** * @package WordPress * @subpackage Sweetdate * @author SeventhQueen <themesupport@seventhqueen.com> * @since Sweetdate 1.0 */ /** * Sweetdate Child Theme Functions * Add extra code or replace existing functions */ 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")); } function make_user_active( $user_id ) { bp_update_user_last_activity( $user_id ); } add_action ('user_register', 'make_user_active', 1, 11); ?>
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 🙂
April 14, 2015 at 17:53 #54392heebehaParticipantAfter adding it my sites goes dark. Nothing shows up.
April 14, 2015 at 18:57 #54407heebehaParticipantAre you activating the child theme or the main theme?
When I activate the child theme with this code in the functions.php file it makes my site go dark.
Have you done any other modifications to your theme maybe?I really need this to work…..
April 15, 2015 at 01:49 #54495LauraModeratorHello, the functions should work in child theme, maybe you have a plugin that creates a conflict with the function, please try to disable all but buddypress and then add the function, if it works means that one of your plugins is creating a conflict
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 🙂
April 15, 2015 at 18:59 #54650heebehaParticipantI deactivated all plugins one at a time and tested the site, no good. I even deactivated all but BuddyPress still no good. I even tried deactivating all plugins and still no good.
What plugins do you have active?
April 15, 2015 at 22:07 #54703LauraModeratorHello, can you share ftp details and wp-admin details? 🙂
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 🙂
April 16, 2015 at 04:33 #54744heebehaParticipantI just added some code to the child theme functions.php file to hide the admin account. so now its not an empty file
April 16, 2015 at 12:40 #54763LauraModeratorHello, to recount members try to go to Tools > Buddypress and check all options
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 🙂
April 16, 2015 at 16:25 #54820heebehaParticipantDid you FTP to my account and do anything on the Admin side of the site?
I need to change the FTP login credentials and delete the admin account I created for you after you fix things for me.April 20, 2015 at 05:34 #55183AndreiModeratorHi @heebeha, the user activation script is now installed correctly and whenever a new user will register, his account will be visible in the members directory by default.
What I’ve realized when I’ve been given a look at your install, is that because of some plugin that you used, you somehow managed to block/blacklist your users, and from 400+ users you only have 11 available.
I tried to find a quick fix but unfortunately I didn’t found anything, dunno if they were spam users, if that would be the case then you shouldn’t worry about them.
Cheers
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 ‘Sweetdate – WordPress’ is closed to new topics and replies.