BuddyBoss Home – Web Support Forums Plugins BuddyPress User Blog USER BLOG: ‘Write a story’ icon appear for ALL user roles

Viewing 5 posts - 1 through 5 (of 5 total)
  • Question

    #62325
    @conscious-crafties

    Hello,

    I have over 100 users and growing quick.

    The WRITE A STORY icon is shown for EVERY user.

    How can I show this to only AUTHORS who are approved bloggers on my site?

    Many thanks,

    Karen

    Answers

    #62748
    @conscious-crafties

    Bumping as really need this removed unless I have approved a user to be a blogger on my site

    #62765
    @conscious-crafties

    Do you think someone might be able to respond to this one soon?
    I think I need to deactivate this PAID plug in until it works as expected. Even my customers can write blogs it’s crazy!!!

    #64816
    @conscious-crafties

    bump

    #65158
    @vapvarun

    Hi @conscious-crafties,

    It will need lots of edits to adjust the user blog functionality for role specific.
    At present the conditional check at all place is added on the basis of plugin have options or not, it’s not on user role basis.

    It’s already in our to do list to make working with user-role or member-type.
    Thanks for your patience.

    For now if you just need to hide the menu, i can provide you custom css
    or for role basis
    You can edit line 52
    onesocial/template-parts/header-aside.php after copying to child theme at same path

    
    if ( is_user_logged_in() && current_user_can( 'edit_posts' ) && buddyboss_is_bp_active() && $create_new_post_page && onesocial_get_option( 'write_post_button' ) ) {
    

    It will display Write A post icon to those user role who have edit post permission current_user_can( ‘edit_posts’ )
    You try other permission you can take a look of
    http://codex.wordpress.org/Roles_and_Capabilities

    Regards
    Varun Dubey

Viewing 5 posts - 1 through 5 (of 5 total)
  • The question ‘USER BLOG: ‘Write a story’ icon appear for ALL user roles’ is closed to new replies.