Notifications
Clear all

[Closed] ask a question still appears for read only access

6 Posts
3 Users
0 Reactions
487 Views
Posts: 8
Topic starter
(@ailaine)
Active Member
Joined: 1 year ago

Hi,

For the read only access for example for guests users, the "ask a question" button is still available. How to hide the ask a question button for the guests / read only access?

Below is the screenshot of the access set up for the guests/read access only

https://prnt.sc/iChdP5RYC3Ub

Thanks

5 Replies
Chris
Posts: 3650
(@chris)
Famed Member
Joined: 3 years ago

Hi @ailaine,

Make sure that you have set "Read Only Access" in Forum Permissions field for the Category and the Forum.

Posts: 8
Topic starter
(@ailaine)
Active Member
Joined: 1 year ago

Hi,

All the category + forums are set to read only access for these roles

Thanks

1 Reply
Tutrix
(@tutrix)
Joined: 4 years ago

Noble Member
Posts: 1349

@ailaine 

add this to custom css

#wpforo #wpforo-wrap .wpfl-3 .wpforo-cat-panel .wpf-button {
display: none;
}
.logged-in #wpforo #wpforo-wrap .wpfl-3 .wpforo-cat-panel .wpf-button {
display: block;
}

Dashboard > wpForo > Settings > Colors & Styles > Custom CSS

Posts: 8
Topic starter
(@ailaine)
Active Member
Joined: 1 year ago

Hi,

thanks for the css code, but I need to apply it by role as I need some roles to have access to it and some no.

Regards

1 Reply
Chris
(@chris)
Joined: 3 years ago

Famed Member
Posts: 3650

@ailaine,

wpForo doesn't have option to disable that button.