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
Please provide a wa...
 
Notifications
Clear all

Please provide a way to remove single avatar options

2 Posts
2 Users
0 Reactions
2,537 Views
Florian
(@florian)
Member Customer
Joined: 7 years ago
Posts: 6
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
  [#3543]

Hey,

in the wpForo account tab, users can choose between 3 different ways to provide an avatar: WordPress default, remote source, and local upload.

Please consider providing a way to remove single options. I, for example, don't want to provide the option to get the avatar from a URL. I only want WP default and loca. upload.

It is possible to remove that option via CSS but this can be surpassed. Better would be a way to really remove that option.



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

@florian,

You should add the CSS code in "Custom CSS code" textarea, it is located in Dashboard > Forums > Settings > Styles admin page.

For removing the "Specify avatar by URL" filed use the following CSS code: 

#wpforo-wrap .wpf-field-type-avatar .wpf-field-wrap > ul > li:nth-child(2) {
display: none !important;
}

For removing the"  filed use the following CSS code: 

#wpforo-wrap .wpf-field-type-avatar .wpf-field-wrap > ul > li:first-child {
display: none !important;
}

If you want to remove the "Upload an avatar" field use this one:

#wpforo-wrap .wpf-field-type-avatar .wpf-field-wrap > ul > li:nth-child(3) {
display: none !important;
}

Please don't forget to delete all caches before checking. 

Also please check out wpForo built-in Enable Custom Avatars feature. more info here: https://wpforo.com/docs/root/wpforo-settings/features/#custom-avatars

The last point: please note: all questions related to wpForo should be asked in wpForo.com community. Here we mostly support wpForo add-ons issues.



   
ReplyQuote
Share:
Scroll to top