- This topic has 3 replies, 3 voices, and was last updated 8 years, 7 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP Photo Seller › WP Photo Seller – How can i make WP photo seller accessible for other roles?
Tagged: permission, roles, WP Photo Seller
I would like the WP Photo seller tab, the tab where you add/manage galeries and pricelists etc.
How can accomplish this, without giving acces to all my plugins?
e.a.
I am the administrator, and i have acces to everything.
but my friend, who wants to manage all of the photo business, need to access the photo seller plugin.
There is no need for him to access everything. (and i don’t want him to)
You can do the following:
Open the “photo-seller.php” file then search for the following line of code:
define(“WPS_MANAGEMENT_PERMISSION”, “manage_options”);
Change it to the following:
define(“WPS_MANAGEMENT_PERMISSION”, “moderate_comments”);
This will give admins and editors access to the photo seller admin dashbaord. You can change the permission value to match whatever role you want to give access to.
Please use the suggested instructions by admin as a temporary solution.
In the meantime we will add a filter hook which you can then use by adding some code to your theme functions.php to make the photo seller menu appear for non-admin wordpress accounts. (this way you won’t lose any modifications when you upgrade the photo seller plugin in future)
Wow thanks for the fast response!
It workes perfect now. only thing i would like to do to is:
hide the admin functions tab.
i know it is a bit contradictory, but is this achievable?
I really appreciate the amount of fast response!