WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Mingle (6 posts)

  1. hkcharlie
    Member
    Posted 4 years ago #

    I'm using the Mingle plugin and would like to know where I can change the redirects for the login and logout, to take the user to the template page as opposed to the http://www............\wp-login.php

    Anyone? Please?

  2. hkcharlie
    Member
    Posted 4 years ago #

    Can anyone help please?
    I my login is themed by Mingle, but the logout isn't.
    Can I put a redirect in so that the user doesn't have to see wp-login.php?

  3. cartpauj
    Member
    Posted 4 years ago #

    check your unauthorized.php file

  4. hkcharlie
    Member
    Posted 4 years ago #

    can;t find one, where woud it be?
    (BTW - I am on the Mingle forum now aswell)

  5. hkcharlie
    Member
    Posted 4 years ago #

    ok - I took this to the Mingle forum :
    http://wpmingle.com/forum/?vasthtmlaction=viewtopic&t=69.0

  6. Ellora7
    Member
    Posted 4 years ago #

    if you want to redirect to log into your profile page instead of activity page, you must also alter MnglUsersController.php file located in mingle/classes/controllers/ folder.

    change this line:
    $redirect_to = ( (isset($redirect_to) and !empty($redirect_to) )?$redirect_to:get_permalink( $mngl_options->activity_page_id )

    to this:
    $redirect_to = ( (isset($redirect_to) and !empty($redirect_to) )?$redirect_to:get_permalink( $mngl_options->profile_page_id )

    and also this line:
    $redirect_to = ((!empty($redirect_to))?$redirect_to:get_permalink($mngl_options->activity_page_id));

    to this:
    $redirect_to = ((!empty($redirect_to))?$redirect_to:get_permalink($mngl_options->profile_page_id));

Topic Closed

This topic has been closed to new replies.

About this Topic