MyBB Community Forums
[How To?] safe for work - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: [How To?] safe for work (/thread-209471.html)



safe for work - AlexanderPep - 2017-03-31

How to make SFW Filter ? 
If SFW is on, all signature/avatars don't appear Smile


RE: safe for work - Sharree - 2017-03-31

You could add a custom profile field using Yes/No radio buttons for SFW filtering.

Then download PHP template conditionals plugin and wrap all avatars and signatures with a condition to not display signature/avatar if SFW is enabled.

E.g.
<if $fid6 == 1 then><else>{$signature}</if>

Unless someone has an easier method or you could request a custom plugin for it.