Please provide a wa...
 
Notifications
Clear all

Please provide a way to remove single avatar options

2 Posts
2 Users
0 Reactions
1,488 Views
Florian
(@florian)
Member Customer
Joined: 6 years ago
Posts: 6
Topic starter  

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: 7 years ago
Posts: 6193
 

@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