an
groups-icon

Login Redirect conflict

Wait a minute... This content is very very old. We no longer sell or support this theme version. New Topics
  • Version 9
    Roberto Diaz
    0 points
    Beginner

    Hello. I need a specific role in my site (das_designer) to be redirected to a specific page. I downloaded https://www.theblog.ca/wplogin-redirect
    since it does what I need (login redirect based on user role).

    I found that this plugin works perfectly with my Shopperpress theme disabled but when active it doesn’t work. I found the reason is because the theme already redirects ALL users (except) admins to “my-account” and it is conflicting with the plugin.

    I chatted with support (Zarco who is the best there) and advised me to add the following code elseif($user->user_level > 3){
    $redirect_to = admin_url().”edit.php?post_type=designapprovalsystem”;
    }
    on line 692 of PPT/framework/ppt_core.php

    BUT IT DIDN’T WORK.

    I need the “das_designer” role redirected to https://xtremewebsites.com/wp-admin/edit.php?post_type=designapprovalsystem

    Please help or advise the right code and where I need to add it. Thanks

    July 18, 2013 at 2:51 am
  • Mark Fail
    11,848 points
    Platinum User
    Bronze User Silver User Gold User Platinum User Helpful Award Fast Responder Thank You Coffee Villian Award Video Testimonial
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    July 23, 2013 at 3:43 am
  • Richard Bonk
    -1 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    July 23, 2013 at 11:11 am
  • 0 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    July 23, 2013 at 11:20 am
  • Mark Fail
    11,848 points
    Platinum User
    Bronze User Silver User Gold User Platinum User Helpful Award Fast Responder Thank You Coffee Villian Award Video Testimonial
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    July 23, 2013 at 1:47 pm

415

Views

4

Replies