• Hi Nikola, great plugin!

    My question is about a multi store site. Like a salon and a mechanic, both can use appointments but only to see their own. So in the frontend the salon page will show its services and workers, and in the mechanics page will show its services and workers. In the dashboard they will also only see their own info of services, workers and appointments.
    If the appointments were like custom post types I could show user his/her own posts, but I think that’s not the case.
    Do you or anyone have any hint that can help me with that?

    Tks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Nikola Loncar

    (@loncar)

    Hi,

    you can split it on front-end but on back-end it will be hard. So they will have to use filter to list only own appointments. There will be soon a custom shortcode for front-end admin page in a form of calendar.

    Best regards,
    Nikola

    Thread Starter alisoncassis

    (@alisoncassis)

    Hi,

    there is any hint of doing something like this:

    1) create another column ID_Company on each table of easy-appointments in database to know which company that service/worker belongs to.
    2) check ID_company of the user that is logged in admin area to know at which company he belongs.
    3) make a condition on the fields of easy-appointments to only shows the services/workers when ID_Company of the tables = ID_Company of the logged user.

    I think I can do that with some php and changing some of the queries to the database.
    Do You have any hint to help me with (where to start the changes) or maybe a better way to do it?

    Tks!

    Plugin Author Nikola Loncar

    (@loncar)

    Hi,

    that approach is hard in a way of things that has to be changed. I will rather split that in two virtual locations. For each location there will be custom page on front end with pre set value for location so the user will not see it. On backend part there will be no way for now to split those two but I have plans to create custom calendar for dealing with similar situations.

    Best regards,
    Nikola

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Multi Users’ is closed to new replies.