Hi
I am using a plugin, TDO Mini Forms, to create forms that users use to create new posts. Using these forms, I wanted some custom field value to be added to the categories of the post. I could add some php code so that if the category doesn't exist, it is created and then affected to the post. If the category already exists, it is just affected to the post.
I noticed than when I was making tests as an admin, that code was working, but when I tried as a subscriber, it was not working.
After looking for long time why it was not possible for subscribers, I finally found that it was because I was using Role Scoper and that I didn't give rights to subscribers for categories.
So I added restrictions on post editor for subscribers, and applied it to all categories.
And the code could work even for subscriber. If the custom field key was "City", and the value "New York", the post category is New York.
But now, I noticed that since I added restrictions and roles on post editor, if I log in as a subscriber, in the back end, I find some tabs I don't want users to see: Posts, Media, Comments, Tools, and the tab of TDO Mini Forms.
I looked at the options of Role Scoper to see if there was a way to hide these tabs but I couldn't find how. I could block them so that if a user clicks on it, the page says: You do not have sufficient permissions to access this page. But I would like to find a way to let only the Profile tab.
If there is a way to do that, could you please tell me ?
Thank you