Support » Plugin: User Role Widget Areas » Using on Custom user roles

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Rob Smelik

    (@rob-smelik)

    Hi learn2luvlove,

    Thanks for the kind words about the plugin. Glad you like it!

    Unfortunately my plugin is not designed to handle custom user roles simply because there are too many variables in the standard WordPress Roles and Capabilities to account for and writing detection scripts for custom roles is a bit out of my skill set. Not to mention other plugins such as WooCommerce add even more capabilities to the mix.

    That being said this plugin actually started when I needed the specific functionality for a client project. Before it was a plugin it lived in the functions file of a custom theme.

    If the names of the roles your are looking for are set in stone and you don’t mind getting your hands into the code (specifically some basic PHP) you can probably port over the functionality to the functions.php file of your theme and modify the sidebar names and roles as needed. My files are really well documented so you should have too much difficulty figuring it out but if you get stuck I can help out. All the functionality of the plugin happens in the user-role-widget-areas.php file. It is critical that you take a look at the WordPress page on Roles and Capabilities though. The link is listed below.

    https://codex.wordpress.org/Roles_and_Capabilities

    FYI: I am getting ready to push an update to the plugin over the weekend so you may want to hold off on any custom solution until that update goes through.

    So sorry I don’t have a plugin based solution for you! Also… if you like the plugin I would love a review!

    Cheers,

    Rob

    Plugin Author Rob Smelik

    (@rob-smelik)

    Hi learn2luvlove,

    So somehow, in your previous post, I missed the fact that you were using the Dokan plugin. About a year ago I did some work for a client running that plugin. It seemed pretty cool from what I recall.

    Anyway, after checking out the Dokan function filters on the WeDev site I was able to quickly write a Dokan add-on for my User Role Widget Areas plugin. It is still in Beta because I don’t have the Dokan plugin available to test it on… but if the URWA plugin worked on your site this should too.

    If you contact me through the contact form on my website http://www.robsmelik.com I will get you a link to download a copy of that add-on. Since it is still in Beta development I don’t want to distribute it here.

    Best,

    Rob

    Thanks for the reply.
    Iv contacted you, would love to test your add-on for the dokan plugin.
    Thanks again

    Plugin Author Rob Smelik

    (@rob-smelik)

    Over the past week I’ve worked to create a separate plugin to address Dokan user roles using the same functionality that my User Role Widget Areas plugin offers. I am marking this topic resolved and hope to have that new plugin submitted to the wordpress.org plugin directory soon.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Using on Custom user roles’ is closed to new replies.