This topic has 4 replies, 3 voices, and was last updated 8 years by love2playgames.
-
Author
-
January 28, 2014 at 04:52 #10343persistentconceptsParticipant
Any ideas on how one could redirect a user post-registration to a specific page?
I’ve tried a few renditions of this, but it breaks the pmpro sign membership levels selection.
add_filter( ‘login_redirect’, ‘ckc_login_redirect’ );
function ckc_login_redirect() {
// Change this to the url to Updates page.
return home_url( ‘/the-test’ );
}January 31, 2014 at 20:52 #10429persistentconceptsParticipantWe were able to figure this out by writing a plugin to check for empty profile fields then redirect to the required form.
February 6, 2014 at 13:54 #10570AbeKeymasterGreat. Sharing would help others that are looking the same thing.
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.February 6, 2014 at 17:17 #10600persistentconceptsParticipantI modified a copy of BP force profile to add a second function that works just like the original but looks for my fields first then forwards to our test. If those fields are populated it checks for the other profile fields and redirects to the edit profile screen.
The user cannot navigate the site until they have completed their test, and profile.
September 15, 2016 at 20:59 #136256love2playgamesParticipantHi Laura,
I like to force the visitors whenever they click the Members page, Activity, Member Profile, Groups and Forum that will redirect the visitors to the register page (create an account).
There was a site posted here long time ago, I can’t find that?
However, I did found this information, but it doesn’t work when I put in the functions.php (Sweetdate-theme)
Please advise help,
Thanks -
AuthorPosts
You must be logged in to reply to this topic.