• Good day, I have a website: https://www.paylight.co.za that we use to sell prepaid electricity but only to specific users. What we’ve done is allocate different user roles to a user – of which we have 4 users, so luckily we have been able to use the existing wordpress user role for each person (excluding Admin). Now, if I go onto the plugin on my wordpress dashboard and go under ‘Advanced – Custom Redirects – Redirect per user role, I see the following roles (default wordpress roles) ‘Editor, Author, Administrator, Contributor, Subscriber, Shop Manager, etc.’ and next to each user role is a field where I then enter the URL of the page I want that specific user to redirect to once they have logged in.

    Now, the thing is, we need to extend our users from 4 to 12 which leaves me wondering, how do I now do this and only see basically just 2 spaces left to insert user roles that aren’t admin where i can redirect those to…I need to extend to 12 users, then later to a few hundred users…how can I make this possible or have a multi user system where once each user logs in, I can put a redirect to the exact page I only want them to see and NOT the entire shop page? Or if you can’t assist, do you have any thoughts or ideas or referrals for me to go and achieve this. I am very happy with your plugin and have been using it for the past 2 years almost…with no issues…works like a charm…just need it for more users now. many thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author tepelstreel

    (@tepelstreel)

    Hello there,

    thanks for the positive feedback. And I hope you can wait a couple of days for the real reply. I am not at home at the moment and will still be a couple of days until I can count on reliable internet, so that I could check out a few things.

    My first impression is, that you find a plugin to manage your user roles and / or users. My plugin will then find any new user role that exists (if it is done in the right way etc. like you obviously use wp commerce as you have the user role shop-keeper) and you can redirect them.

    For your purposes, it might be even better that you have a plugin that manages users and assignes a redirect to a specific user so that you wouldn’t have to do it manually.

    Best,
    Stefan

    Thread Starter deanquenton

    (@deanquenton)

    Hi Stefan, awesome, your plugin just pulls any added user roles in automatically:) I’m happy with that as I finally found an article that actually works where just a short snippet of coding is added at end of ‘functions.php’ file and voila a completely new user role with attributes can be added – not sure if this link will display, but here is the article link where I found how to add new user roles in wordpress: https://www.cloudways.com/blog/add-custom-user-roles-in-wordpress/

    Many thanks again. Very happy with everything thanks…great job!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘USER ROLES extension needed to accommodate more redirects’ is closed to new replies.