• OK. Hello in the first place. Thank you for this crucial plugin and for keeping the free version at a more than strong level of security.
    I am facing some issues with my website and I am writing this hoping at least to get some advice. I’ll try to be short…
    I am trying to implement BuddyPress with my website. Job succeeded, but:
    – I would like to allow the subscribers the option to upload their own articles via Social Articles, also integrated within BP (https://ww.wp.xz.cn/plugins/social-articles/). Now, the issue here is that the Social Articles plugin adds the option for writing articles only to members that are above Subscribers level. Logical, of course. But the next default role in WP is Contributor, that allows users to access the dashboard with a few options, including editing another plugin I use (Add Link to Facebook), permission that I would not grant. Besides, Contributors also will have access to the WP dashboard menu of Profile and some others, things that are redundant with the BuddyPress profile menu. My question is – as I do not know any coding – where could I add custom capabilities? Basically, what must I do to have all registered users as Contributors, but with the same access as Subscribers, minus the option to upload their very own articles via the option within BuddyPress integration of Social Articles.
    I need to add the following:
    – I know I could use a separate plugin for frond-end uploads, within the menu with a link to a special made page, but I would like users to have a history of uploaded articles, comments to be made on their profiles, badges to be awarded and so forth, things that I only see accomplished only if they register
    – I could not find a plugin similar to Social Articles that will integrate so nicely with BuddyPress, so I can’t try a different plugin that maybe does not have the capability requirement…
    – …and yes, I’ve looked upon API/Scripting options page, but I am afraid in poking code and files when I have no idea what I’m doing.
    For reference, my website is http://www.secretjourney.ro

    Thank you for taking your time to read all the above!
    Happy Holidays!
    Theo

    https://ww.wp.xz.cn/plugins/s2member/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Your best bet is to install the Capability Manager Enhanced plugin, and use that to add the relevant capabilities to s2member roles.

    You will also need to follow the advice given in this thread.

    Thread Starter Darkice

    (@darkice)

    Thank you very much for your answer, KTS915.
    Seems like the plugin you’ve pointed out does send to a “You don’t have sufficient permission to access this page” message when a Contributor is trying to access the dashboard.
    This can solve the issue I am having, although a few things still remain:
    – when assigning Contributor role to an user, the upper Dashboard toolbar still appears. Although clicking on “Dashboard” gets you to the restriction, there are some other shortcuts in the toolbar to uploading a logo, for example, or SEO tools (via Yoast SEO plugin)… things that are leading to a back-end where the same access as before is given (Add Link to Facebook and some other options).
    – when assigning the “edit” capability to a Subscriber, the Social Articles plugin does not trigger. Only if the user is a Contributor in WP’s Users.
    Now…
    – after clearing the cache, the Cap Manag plugin resets to no check-mark on “Edit” capability of a Subscriber.
    – I’ve tried creating a custom Role. The result is the same: Toolbar appearing.

    Is there anyway in which I can make that damn dashboard toolbar dissappear? If I am deselecting it from user profile, then the BuddyPress options disappear as well, and I don’t want that.

    I assume I am not using the pugin you’ve kindly told me about at its full extent, but I’m a newbie and this is as far as I could go in this… Any suggestions?

    Happy Holidays!
    Theo

    when assigning Contributor role to an user, the upper Dashboard toolbar still appears.

    If you add the relevant capability to an s2member role, then you will see the same behavior for that role too. The Capability Manager Enhanced plugin does not change the nature of the capability; only to whom it is granted.

    In other words, this sounds like an issue with the Social Articles plugin.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Custom capabilities for subscribers’ is closed to new replies.