01-03-2017, 10:42 PM
Go into usersc/scripts/custom_login_script.php
You will make a series of if statements and the first one will take presedence over the last one. So, for example, if a user is a member of 2 groups, whichever one you list first will be the redirect.
Every user group has an id number. You can see it if you go to admin permissions in the admin panel. By default, "user" is 1, admin is 2.
Your custom login script should look like this.
https://hastebin.com/usilulahoh.xml
You will make a series of if statements and the first one will take presedence over the last one. So, for example, if a user is a member of 2 groups, whichever one you list first will be the redirect.
Every user group has an id number. You can see it if you go to admin permissions in the admin panel. By default, "user" is 1, admin is 2.
Your custom login script should look like this.
https://hastebin.com/usilulahoh.xml