This topic has 4 replies, 3 voices, and was last updated 8 years by love2playgames.

  • Author
  • #10343

    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’ );
    }

    #10429

    We were able to figure this out by writing a plugin to check for empty profile fields then redirect to the required form.

    #10570
     Abe
    Keymaster

    Great. 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.

    #10600

    I 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.

    #136256
     love2playgames
    Participant

    Hi 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)

    http://seventhqueen.com/blog/code-snippets/restrict-guest-users-from-accessing-buddypress-or-bbpress-pages.html#comment-126

    Please advise help,
    Thanks

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?