• Resolved burrowsp

    (@burrowsp)


    Hi,

    Is there any way to use his plugin without the user being at admin level?

    Cheers
    Phil

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author zookatron

    (@zookatron)

    Hi @burrowsp,

    MyBookTable Books function like normal WordPress posts in terms of permissions, so that users with the Author or Editor role can create/edit MyBookTable Books just like they could posts.

    Really the only part of the plugin that is Administrator-only is the Settings page, which based on feedback from our users is what most people want; The MyBookTable Settings page contains potentially sensitive information like API keys, affiliate settings, etc, that really only the site owner should need access to.

    ~Tim

    Thread Starter burrowsp

    (@burrowsp)

    Hi,

    Thank you for your quick reply. Yes, MyBookTable is an awesome plugin. But this is the forum for MyBookProgress.

    When a user logs into WP to edit a page and they have editor rights (not admin), MyBookProgess is not available. It only shows up if the user has full admin rights. Please can you tell me if I have done something wrong

    Phil

    Plugin Author zookatron

    (@zookatron)

    Wow, I totally misread the forum title when I was notified about your post! I handle support requests on the MyBookTable forum as well so I got confused, sorry about that.

    You’re absolutely right, the main MyBookProgress progress editor interface is only usable by Admins (technically, it can be used any role with the manage_options permissions, but by default that’s only Admins). We made this decision because the typical use pattern that we designed this plugin was for was an author on their personal website, logging in now and then to post updates on their progress toward their next book; Therefore generally the only person who would want to legitimately access this page would be the owner of the site who would have admin privileges.

    We would appreciate your feedback on this, though. Could you help us understand your use case, and how allowing non-admins to access this page would help you? Thanks!

    Thread Starter burrowsp

    (@burrowsp)

    Hi,

    I have the Dev licence for MyBookProgress as I bought the Dev pack when your released Version 3 of MyBookTable on Kickstarter (great value and I love MyBookTable). I am a Sci-Fi author, but my day job is a website creator for fellow authors ( https://novel-websites.co.uk ). Most of the authors I have worked with are lovely people, but they have no idea about IT. They can use MS word, email and they can browse the internet. My clients typically receive the user role of ‘Author’ or ‘Editor’, otherwise, they run the risk of damaging the site. A plugin that needs full admin rights to use is of no use to a website developer. It seemed strange that you have a Dev licence with an ‘unlimited websites’ option when a website designer dare not use it.

    Kind regards

    Phil

    Plugin Author zookatron

    (@zookatron)

    Hi @burrowsp,

    Based on our feedback from other developers, they generally always create an Admin level account for their clients, and simply instruct them not to change any settings that they do not understand, and this does not cause any problems. But I can see why there might be some circumstances where you might want create them an Author level account instead to ensure this doesn’t happen. We appreciate your feedback on this, and we will consider adding some options to allow use of the MyBookProgress editor page by non-admins.

    In the mean time, if you are able to do some custom PHP development for your clients, you can override this functionality and allow non-admins to access the MyBookProgress page by adding the following snippet to a custom theme or plugin:

    function custom_mbp_init_admin() {
    remove_action(‘admin_menu’, ‘mbp_add_admin_page’);
    add_action(‘admin_menu’, ‘custom_mbp_add_admin_page’);
    }
    add_action(‘mbp_init’, ‘custom_mbp_init_admin’, 20);

    function custom_mbp_add_admin_page() {
    add_menu_page(__(‘MyBookProgress’, ‘mybookprogress’), __(‘MyBookProgress’, ‘mybookprogress’), ‘edit_posts’, ‘mybookprogress’, ‘mbp_do_admin_page’, ‘dashicons-chart-bar’, ‘10.8’);
    add_action(‘mbp_admin_page’, ‘mbp_admin_page’, 100);
    }

    ~Tim

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘User Role’ is closed to new replies.