![]() |
How do I disable smilies in text by default?
vBulletin 4.2.2
Where do I change the setting for "Disable smilies in text" which is unchecked by default when creating/replying to a post? (Additional Options | Miscellaneous Options:) I'd prefer that it was enabled by default. When you start or reply, scroll down and there are three Additional Options: Show your signature If enabled, your signature will be displayed below the message. Automatically parse links in text Will turn www.example.com into http://www.example.com. Disable smilies in text If selected, :) will not be replaced with The first two are checked (enabled) by default. The third, 'Disable smilies in text' is unchecked by default. This is what I want to change. The Posting Phrases Containing 'Disable smilies in text' is disable_smilies_in_text. The template this phrase is in is newpost_disablesmiliesoption: Code:
<li> |
I don't know what that value of "1" does. The way you set a checkbox to checked by default is with checked="checked"
Code:
<input type="checkbox" name="disablesmilies" value="1" id="cb_disablesmilies" tabindex="1" checked="checked"> Actually I think checked ="duckies_and_bunnies" will work too. Any value at all sets it to true |
The default value of 1 is what is sent to the underlying php code if the box is checked. In a binary/boolean sense: yes/no, 0/1, checked/unchecked.
|
This is the section of code from the newthread template that I assume causes the check boxes to be checked by default for "Show your signature" and "Automatically parse links in text", and causes the check box for "Disable smilies in text" to be unchecked by default:
Code:
<vb:if condition="$show['misc_options']"> |
All times are GMT. The time now is 12:57 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:
|