Forum Replies Created
-
Thank you @samtuke, Please do and let me know how it goes.
@dopeboy,
Thank you for sharing your code. The issue is with youzer form generation and I am unable to suggest a fix as the only part I can see is call to form generator in the activate.phpSince the form generator is not visible to me, I will suggest contacting the plugin developer and ask them to update their plugin and use the bp_get_current_activation_key() in the activation form.
Regards
BrajeshDo you have activate.php in the plugin? If yes, Please post on pastebin.
Thank you.
Since I don’t use Youzer, I will suggest asking the support for this plugin to look into it.My guess is either they are doing a redirect or filtering out your template and replacing with their own while their activate template is not updated and that’s why it is happening.
Regards
BrajeshThank you.
My first suggestion will be to try disabling the LH Private BuddyPress, if that does not solve it you should try deactivating Youzer and BP Force Profile photo(assuming bp-custom.php) and child theme’s functions.php does not have any redirection.
Please give it a try and let me know if any of the above resolves the issue?
Hi,
is there anything special about the site? Like any redirection setup or content restriction?
When you open the link, does it remain the same or do you get redirected to some other url?I have tested with BuddyPress 3.2 and can see that the link of format
http://example.com/activate/qwLW319TDBVVJs7DkSZ4NK6OjWhrUNLt/auto fills the key entry on activation page correctly.
Hi,
Your code is correct.Can you please post me a sample link that you have received in your email? Also, are you using any content restriction/redirection plugin?
Hi,
Thank you for the details. No need for the site link.Can you please post the code from your wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/activate.php and post the code on pastebin.php and link me.
Regards
BrajeshThank you for the details. No need to change the theme.
Can you please visit the Dashboard->Settings->BuddyPress and tell me which template pack is active? I will need one more detail after that to assist you.
Regards
BrajeshHi,
The way the activation link and the way input is filled changed in 3.0.If you are using a custom theme or have a copy of activate.php in yourtheme/buddypress/members/, you will need to update it.
Please open the file yourtheme/buddypress/members/activate.php in an editor and look for a line like this
<input type="text" name="key" id="key" value="" />Change it to
<input type="text" name="key" id="key" value="<?php echo esc_attr( bp_get_current_activation_key() ); ?>" />That will auto fill the input key.
Hope it helps.
Regards
BrajeshNo Problem.
You are welcome. Glad it worked for you 🙂Best regards
BrajeshIt’s strange. Anything after 10 should work.
yes, is almost same(I simply removed the admin check as it was not needed in this case).I tried the code in bp-custom.php and it is working with the default theme.
Are you using some custom theme?
Hi,
Try using this/** * Dequeue BP Nouveau style */ function buddydev_dequeue_nouveau_styles() { wp_dequeue_style( 'bp-nouveau' ); } add_action( 'wp_enqueue_scripts', 'buddydev_dequeue_nouveau_styles', 11 );Does it work for you?
Thank you.
I checked the code. The plugin does not support login_redirect filter and BP redirect to profile won’t work with it.I will suggest creating a support ticket on the plugin page and asking to support ‘login_redirect’ filter for redirection url.
They do have a filter ‘lwa_ajax_login’ for filtering the whole returned data but it is too much plugin specific and it will be better if you can ask them to support the standard filter.
Regards
Brajeshhi @wegosi,
Thank you for asking.
I am not sure which ajax login plugin you are referring to.This plugin does not actually redirects the user, it simply changes the url where the default redirection happens.
So, if it is not working with an ajax login plugin, Please ask the developer if they support ‘login_redirect’ filter. If not, please ask them to support it and the plugin will work.
Regards
BrajeshHi,
If you are referring to this plugin
I am the author and I can assure that it works with BuddyPress 3.2
The plugin is just a few lines of code and it does not need any change. That’s why it has not been updated. I will push a change in readme.
Also, if you need the code, Here is the complete code for the plugin
https://github.com/sbrajesh/bp-redirect-to-profile/blob/master/bp-redirect-to-profile.phpRegards
BRajeshYou can login to your WordPress dashboard using your admin credentials.
Once inside the dashboard, Please visit Network Admin->Settings. There you will see “Registration Settings”.
Select “User accounts may be registered” and that will disable the new blog creation but allow registering new user account.
Hope that helps.Hi,
It seems you are trying to create a dynamic link to BuddyPress profile tabs. if that is the case, BuddyPress has a special slug ‘me’ that links to currently logged in users profile.For example, to link to your events page, you will use
https://www.mysite.com/members/me/events/The first part
https://www.mysite.com/members/Is the link to your member directory.
For example:- To link to the default landing page of the user you can use
https://www.mysite.com/members/me/and to link to the friends page, you can use
https://www.mysite.com/members/me/friends/Hope this helps.
hi,
bp_is_member() is not available in BuddyPress.For your task, You should use
bp_is_user()Hope that helps.
Regards
BrajeshHi,
Do you have the BuddyPress Force Profile Photo plugin active? If yes, Please disable it.If no, you will need to consult your theme developer, as they might have added it.
Hope that helps.
Hi,
I am sorry about that. Can you please disable and see if the email is being sent? I looked ad the plugin code and I don’t see anything that can prevent it(It is just 4-5 line of code).Regards
BrajeshHi Carsten,
Do you want to disable the toolbar(Rich text area) and use plain text area?If that is the case, you can put following line in your theme’s functions.php or the bp-custom.php(in the plugins directory)
add_filter( 'bp_xprofile_is_richtext_enabled_for_field', '__return_false' );Hope that helps.
Regards
BrajeshThis can be easily done by validating the input both client side(using javascript) and server side.
Ask them to look into data validation and they should be able to do it.
regards
BrajeshHi,
Most probably you are looking for a solution that does this:-1. Logs the user to the site when they activate their account
2. redirects the user to their profile.If that is the case, you can use our free plugin
Hope that helps.
BrajeshIf you put that code , It should be disabled.
An easy way to verify it will be to login as a normal subscriber and write an update with 4-5 links and see if that is posted or not.
Regards
BrajeshHi,
You can put this in your bp-custom.php or yoour theme’s functions.phpadd_filter( 'bp_activity_use_akismet', '__return_false' );That should stop akismet from checking activity.