Notifications
Clear all

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

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

5 Posts
4 Users
0 Reactions
2,187 Views
Posts: 1
Topic starter
(@xxrforone)
New Member
Joined: 7 years ago

I don't want them insert code to post

4 Replies
Posts: 133
(@cmw14)
Estimable Member
Joined: 9 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: 6 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: 8 years ago

Support Team
Posts: 5483

@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: 6 years ago

Active Member
Posts: 7

@sofy

This works 😀

Thank you