Tagged: bp-ajax-registration
Yes this is strange. I have network disabled the redirect plugin. I have disabled the plugin on the site as well but BP DAR is still showing in the sidebar. I have also disabled the re-direction within the plugin itself but it is still not working on any of the browsers on my Mac.
Please check your bp-custom.php or theme’s functions.php
That redirect can not be caused by bp login redirect plugin. It is before the user is logging in. Some code/plugin is redirecting on account activation.
Yes but the only time I used the url:
http://relativeu.com/log-in-after-registration/
was with the bp login redirect plugin
Also so strange I have completely removed the plugin and its files but it is STILL showing in the sidebar BP DAR
Ah yes working nicely now. I would like to redirect to their buddypress profile page after they register AND when they login is this going to be possible now?
Like this…
http://relativeu.com/members/brajesh/Hi Brajesh,
I used your “BP Redirect To Profile” with this configuration and everything is working fine. I would just like it if they could go to their profile page after sign up as well. That is the only thing missing for me now. I really like this layout everything looks really cool on the sign up with this Ajax plugin… nice work.HI Milo,
Sorry for keeping you waiting. I have looked into it and there is a hook available in current version to do that. I will need an hour to test if that works( since I saw that User ID is not passed), If not, will update ajax registration plugin.Hi Milo,
I have updated the plugin.1. it fixes the type
2. Changes the text domain to ‘bp-ajax-registration’. The new localized files should be named ‘bp-ajax-registration-YourLocale.mo’ in the languages directory. will load from WordPress languages directory too.3. Please put this code in your bp-custom.php
add_filter( 'bpajaxr_redirect_url', 'buddydev_redirect_to_profile_on_ajax_registration', 10, 2 ); function buddydev_redirect_to_profile_on_ajax_registration( $url = '', $user_id = 0 ) { if( ! $user_id ) { return $url ; } $url = bp_core_get_user_domain( $user_id ); return $url; }
After the upgrade, It will redirect the users to their profile.
Hope that helps.
You must be logged in to reply to this topic.