Search
Close
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

Disabling the ability to send attachments in PMs

2 Posts
2 Users
0 Reactions
995 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
(@ald7w)
New Member
Joined: 2 years ago
[#12449]

Hello,

Is there a way to disable the ability to attach and send files in wp foro private messages addon? A few days ago I got a reply on the main forum wp foro, but this way does not work: 

I may suggest you hide the section using the CSS code below: 

#wpforo #wpforo-wrap .wpforo-messages-content .wpf_attach_button_wrap {display:none;}

The CSS code should be inserted in the "Custom CSS code" textarea of the "Colors & Styles" tab within the wpForo Settings page. 

Now the "Custom CSS code" textarea looks like this:

#wpforo-wrap{
font-size: 13px; width: 100%; padding: 10px 0; margin: 0px; 
}

#wpforo #wpforo-wrap .wpforo-post-content a {
    color: #ED9300!important;
}
#wpforo #wpforo-wrap .wpforo-post-content a:hover {
    color: #ED9300!important;
    text-decoration:underline!important;
}
#wpforo #wpforo-wrap .wpforo-messages-content .wpf_attach_button_wrap {display:none;}

Is it OK? Thanks in advance!

 


1 Reply
Astghik
Posts: 6645
Admin
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
(@astgh)
Illustrious Member
Joined: 8 years ago

Sure,

The CSS code looks correct. 


Reply
Share:
Scroll to top