• Resolved sino27

    (@sino27)


    Hello. Trying to understand features of this plugins. Allow me to describe my situation.

    I have site A https://mysite.com – wordpress with it’s own database. There i have usual wordpress roles and woocmmerce roles. Everyone registering there are getting “customer” role automatically. However on site A I have one special role called “forum_role”. It’s actually cloned “customer” role but with different name. I assign that role called “forum_role” manually to specific user on request.

    I have site B on subdomain https://forum.mysite.com – entirely separate wordpress installation, separate database, running solely for bbPress forum. There I have same role called “forum_role” and only people with role “forum_role” should be able to access it. It’s not open for public or for registration.

    It is closed for public and actually whenever someone try to see content by visting https://forum.mysite.com a default wordpress login page is displayed.

    Mind you I am aware that I could install bbPress on site A but that’s not point of my inquiry so let’s focus on my situation.

    Can i have this option with your plugin:

    1. Everyone I mean every user on site A with the role “forum_love” whenever he login at Site A – can he then access site B by typing https://forum.mysite.com without need to login yet again forthe second time?

    It is important that only this single role is processed, no other user should be transferred to site B and differentiation is defined by user roles.

    2. Assuming that if answer to question 1 is yes, is it possible that at site A, every time I manually assign/change role from woocommerce “customer” to “forum_role” – only those people are being “created” at site B? If that is possible how does that work? I process instant? If not, then how long does it take?

    I don’t need export, import all users. I would merely want that every time a user is given different role then the one created by woocommerce – your plugin takes action and recreate that same user on Site B.

    Looking forward for your response.

    Regards

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

    (@frogerme)

    Hi @sino27 !

    What you are describing is not strictly speaking possible out of the box. It would require custom User Action on top of the existing ones or some custom plugin hooking in WPRUS and changing its behavior. The good news is there is documentation for that, the bad news is it required development.

    Out of the box, what would approach the closest to your case (but not quite really being the same, I am aware), would be to, on the e-commerce site, synchronize the creation, update, login, logout, delete and role of all users regardless of roles, and allow exchanging only the “forum” role. On the forum site, you would then restrict access to only the users with the adequate “forum” role – other users may be able to login, but they’d be blocked after that. You’d end up with the same user base on both sites, but only a fraction of it could access the content on the forum site.

    I will mark this topic as resolved since it’s not a support request, and the pointers I’ve given above should be enough to get you started.

    Thread Starter sino27

    (@sino27)

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Trying to understand features’ is closed to new replies.