![]() |
Hide smilies panel in WYSIWYG editor
I have a LOT of members who post from work and would like the ability to turn off the smilie panel in the WYSIWYG editor as a user option.
|
I think you can create a new profile field, make it a single selection radio with the options being
Yes No write down the profile field number and then I "think" you will head to the editor_toolbar_on template and find this code Code:
<if condition="$show['wysiwygsmilies']"> Code:
<if condition="$bbuserinfo['fieldxx'] == Yes"> This is all hypothetical and I haven't tested it, so it could be MILES off from what you would need to do. But that's where I would start on trying to do it :) |
It looked good! LOL Unfortunately, it didn't. No errors, tho. But the smilie panel still shows in the WYSIWYG editor.
|
Hehe crap.
it's the thought that counts ;) Will be quite awhile before I can look into this further, hopefully one of the coders with more time will fiddle it out. It should just be a new field and template edit, just a matter of finding where in the template(s) that need to be encased in the conditional. |
Yes has to be in quotes and is case sensitive since it is a string. Also make sure to change the XX in fieldxx to the appropriate field id number.
|
Code:
<if condition="$bbuserinfo['field12'] == 'Yes'"> |
yes sir
|
:( Didn't work.
|
All times are GMT. The time now is 10:06 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|