-
Henry Wright replied to the topic Hook for when a user first logs in in the forum How-to & Troubleshooting 11 years ago
Here’s my stab at it, in actual code (demonstrating what I mean by my rambling above):
function my_add_meta( $user_id, $key, $user ) {
add_user_meta( $user_id, 'first_login', 'not_yet' );
}
add_action( 'bp_core_activated_user', 'my_add_meta', 10, 3 );function my_check_meta( $redirect_to, $redirect_to_raw, $user ) {
$meta =…[Read more] -
Henry Wright replied to the topic Hook for when a user first logs in in the forum How-to & Troubleshooting 11 years ago
Here’s my stab at it, in actual code (demonstrating what I mean by my rambling above):
function my_add_meta( $user_id, $key, $user ) {
add_user_meta( $user_id, 'first_login', 'not_yet' );
}
add_action( 'bp_core_activated_user', 'my_add_meta', 10, 3 );function my_check_meta( $redirect_to, $redirect_to_raw, $user ) {
$meta =…[Read more] -
Henry Wright replied to the topic Hook for when a user first logs in in the forum How-to & Troubleshooting 11 years ago
Here’s my stab at it, in actual code (demonstrating what I mean by my rambling above):
function my_add_meta( $user_id, $key, $user ) {
add_user_meta( $user_id, 'first_login', 'not_yet' );
}
add_action( 'bp_core_activated_user', 'my_add_meta', 10, 3 );function my_delete_meta( $redirect_to, $redirect_to_raw, $user ) {
$meta =…[Read more] -
Henry Wright replied to the topic Hook for when a user first logs in in the forum How-to & Troubleshooting 11 years ago
Here’s my stab at it, in actual code (demonstrating what I mean by my rambling above):
function my_add_meta( $user_id, $key, $user ) {
add_user_meta( $user_id, 'first_login', 'not_yet' );
}
add_action( 'bp_core_activated_user', 'my_add_meta', 10, 3 );function my_delete_meta( $redirect_to, $redirect_to_raw, $user ) {
delete_user_meta(…[Read more] -
Henry Wright replied to the topic Hook for when a user first logs in in the forum How-to & Troubleshooting 11 years ago
Here’s my stab at it, in actual code (demonstrating what I mean by my rambling above):
function my_add_meta( $user_id, $key, $user ) {
add_user_meta( $user_id, 'first_login', 'not_yet' );
}
add_action( 'bp_core_activated_user', 'my_add_meta', 10, 3 );function my_delete_meta( $redirect_to, $redirect_to_raw, $user ) {
delete_user_meta(…[Read more] -
Henry Wright replied to the topic Hook for when a user first logs in in the forum How-to & Troubleshooting 11 years ago
Here’s my stab at it, in actual code (instead of my rambling above):
function my_add_meta( $user_id, $key, $user ) {
add_user_meta( $user_id, 'first_login', 'not_yet' );
}
add_action( 'bp_core_activated_user', 'my_add_meta', 10, 3 );function my_delete_meta( $redirect_to, $redirect_to_raw, $user ) {
delete_user_meta( $user->ID,…[Read more] -
Henry Wright replied to the topic Customizing emails template in the forum Creating & Extending 11 years ago
Yeah – those are the hooks that’ll let you filter the recipient, subject, body – with your HTML 🙂
-
Henry Wright replied to the topic Social login in the forum Creating & Extending 11 years ago
There are lots in the WordPress Plugin Directory. The problem with social login plugins is they’re very hard to maintain from the developer’s point of view. Often, social networking sites update their APIs which results in the plugin code no longer working. My suggestion is, find a plugin that’s actively maintained – that way, you’ll be in a…[Read more]
-
Henry Wright replied to the topic Hook for when a user first logs in in the forum How-to & Troubleshooting 11 years ago
I haven’t tested yet. There is an activity entry for ‘new_member’ that gets created. Not sure if that is when they first login or or first activate.
new_memberis an activity type. It’s created when a user activates their account (at the point at which thebp_core_activated_userhook fires). -
Henry Wright's profile was updated 11 years ago
-
Henry Wright replied to the topic add privacy using bp_activity_add() in the forum Third Party Plugins 11 years, 1 month ago
Setting
hide_sitewidetofalsewill allow you to hide the activity item from the site-wide activity stream. Is that what you’re trying to do? -
Henry Wright replied to the topic Secure enough for medical patients? in the forum Creating & Extending 11 years, 1 month ago
Security out of the box is fairly tight but as @shanebp mentions above there are ways of ‘hardening’ WordPress security. Also, you have to be careful when custom code or plugins are added – be sure the code is secure.
Separate to security but important to you would be the issue of privacy. BP offers some privacy control but you could always…[Read more]
-
Henry Wright replied to the topic Registration hooks in the forum Creating & Extending 11 years, 1 month ago
Ah yes, the
bp_signup_pre_validateaction will give you access to the$_POSTvariables. Nice idea! 🙂 -
Henry Wright replied to the topic post follow option in the forum Installing BuddyPress 11 years, 1 month ago
Are you using BuddyPress Follow?
-
Henry Wright replied to the topic Reliable hosting for BuddyPress installations? in the forum How-to & Troubleshooting 11 years, 1 month ago
I may be wrong but I think there’s two separate issues here.
1. Response time is slow which results in pages taking 10 – 20 seconds to load.
Why exactly are response times slow? Which resources are bogging things down? You mention that Varnish caching doesn’t work on a membership site but what is causing your site to be slow to begin with?
2.…[Read more]
-
Henry Wright replied to the topic Reliable hosting for BuddyPress installations? in the forum How-to & Troubleshooting 11 years, 1 month ago
I may be wrong but I think there’s two separate issues here.
1. Response time is slow which results in pages taking 10 – 20 seconds to load.
Why exactly are response times slow? Which resources are bogging things down? You mention that Varnish caching doesn’t work on a membership site but what is causing your site to be slow to begin with?
2.…[Read more]
-
Henry Wright replied to the topic post follow in the forum Installing BuddyPress 11 years, 1 month ago
I’ve replied here
-
Henry Wright replied to the topic post follow option in the forum Installing BuddyPress 11 years, 1 month ago
How are you getting the follow button? I’m not sure that one arrives with BP by default. Perhaps you’re using a plugin?
-
Henry Wright replied to the topic post follow option in the forum Installing BuddyPress 11 years, 1 month ago
Hi @@saurabh-dwivedi
How are you getting the follow button? I’m not sure that one arrives with BP by default. Perhaps you’re using a plugin?
-
Henry Wright replied to the topic post follow option in the forum Installing BuddyPress 11 years, 1 month ago
Hi @@saurabh-dwivedi
How are you getting the follow button? I’m not sure that one arrives with BP by default? Perhapps you’re using a plugin?
- Load More
@henrywright
Active 1 year, 10 months ago