AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

[Solved] Anyway to disable "source code" for Standard users?

5 Posts
4 Users
0 Reactions
2,604 Views
Posts: 1
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@xxrforone)
New Member
Joined: 7 years ago
[#7184]

I don't want them insert code to post

dissc

4 Replies
Posts: 139
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@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
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@paul-griffiths)
Active Member
Joined: 7 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: 5774
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

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

Active Member
Posts: 7
Paul Griffiths
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@sofy

This works 😀

Thank you


Share: