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
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
Members Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login Now