• Resolved zpos

    (@zpos)


    Hi everyone,

    I set up MyRewards plugin on a client’s website and my clients want to have access to the clients page where he can see his clients, how much points theys have etc.

    But i want him to have access to only this specific page and nothing else.

    how can I do this please?

    Thanks,

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Long Watch Studio

    (@lwsdevelopers)

    Hello,

    The user capability is named “manage_rewards”. However, giving it to your client will give him access to all MyRewards settings. There’s no capability specific to the users points page.

    Thread Starter zpos

    (@zpos)

    Hello,

    I looked at some alternatives, like creating an external google doc or csv file and fetching points there but I haven’t found a solution.

    Could you tell how I can export the users points in any other file or else?

    My only goal is to see the users points and their order history but in a separate page and not in the wordpress backoffice

    Thanks so much!

    Plugin Author Long Watch Studio

    (@lwsdevelopers)

    Hi,

    We are sorry but there is no such feature in the free version.
    Anyway, you can export the user meta containing points from database. The meta_key starts by ‘lws_wre_points_’.

    If you want to gives access only to the customers admin page to a user, you can add this snippet in your functions.php file.

    \add_filter(‘lws_adminpanel_pages_woorewards’, function($pages){
    $pages[‘wr_customers’][‘rights’] = ‘my_custom_capability’;
    return $pages;
    }, 20);

    Then, add the capability (in the example above ‘my_custom_capability’) to all users (or user roles) that had to see that page.

    Best regards

    Plugin Author Long Watch Studio

    (@lwsdevelopers)

    Hello,

    we will close this thread and mark it as resolved

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Give access to clients page’ is closed to new replies.