Notifications
Clear all

wpForo 1.x.x [Solved] Anyway to disable "source code" for Standard users?

5 Posts
4 Users
0 Likes
1,656 Views
Posts: 1
Topic starter
(@xxrforone)
New Member
Joined: 5 years ago

I don't want them insert code to post

4 Replies
Posts: 124
(@cmw14)
Estimable Member
Joined: 7 years ago

Add the following css to settings| Styles  Custom CSS code:

#wpforo #wpforo-wrap #mceu_20 {display:none;}

Save it, delete cache and f5 the browser

Paul Griffiths
Posts: 7
(@paul-griffiths)
Active Member
Joined: 5 years ago

Hi

Should the above code still work to disable "source code"

I have the following in my Custom CSS Code, & the source code option remains (note the font works).

    #wpforo #wpforo-wrap {
    font-family: 'Kalam', sans-serif;
    font-size: 13px; width: 100%; padding:10px 0; margin:0px;
    }

    #wpforo #wpforo-wrap #mceu_20 {display:none;}

What have I done wrong?

Thanks

2 Replies
Sofy
 Sofy
Admin
(@sofy)
Joined: 6 years ago

Support Team
Posts: 4232

@paul-griffiths,

Please try this CSS code: 

#wpforo #wpforo-wrap div[aria-label='Source code'] {
display: none !important;
}

Then delete all caches and press CTRL+F5 (twice) on the frontend. 

Paul Griffiths
(@paul-griffiths)
Joined: 5 years ago

Active Member
Posts: 7

@sofy

This works 😀

Thank you