BuddyBoss Home – Web › Support Forums › Plugins › BuddyPress User Blog › USER BLOG: ‘Write a story’ icon appear for ALL user roles
Tagged: blog, user blog, User role, write a story
- This topic has 4 replies, 2 contibutors, and was last updated 7 years, 8 months ago by
Varun Dubey.
Question
March 10, 2016 at 5:18 am #62325@conscious-craftiesHello,
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
March 12, 2016 at 8:58 pm #62748@conscious-craftiesBumping as really need this removed unless I have approved a user to be a blogger on my site
March 13, 2016 at 5:39 am #62765@conscious-craftiesDo 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!!!March 23, 2016 at 6:07 am #64816@conscious-craftiesbump
March 25, 2016 at 9:04 am #65158@vapvarunIt 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 pathif ( 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_CapabilitiesRegards
Varun Dubey
- The question ‘USER BLOG: ‘Write a story’ icon appear for ALL user roles’ is closed to new replies.