Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 08 Sep 2014, 00:17
Snowhog's Avatar
Snowhog Snowhog is offline
 
Join Date: Oct 2011
Real name: Paul L
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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I'd assume that value="1" needs to be changed, and I tried that (to "0"), but it didn't have any effect. When I looked at the two other options, both contained the same value="1" as does this option, and those two are checked by default. The code to set this has to be somewhere.
__________________
"It is a capital mistake to theorize in advance of the facts." - Sherlock Holmes
Kubuntu Forums . Net | ZB BLOCK | StopForumSpam

Last edited by Snowhog; 08 Sep 2014 at 03:46.
Reply With Quote
  #2  
Old 08 Sep 2014, 04:01
nerbert nerbert is offline
 
Join Date: May 2008
I don't know what that value of "1" does. The way you set a checkbox to checked by default is with checked="checked"


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Actually I think checked ="duckies_and_bunnies" will work too. Any value at all sets it to true
Reply With Quote
  #3  
Old 08 Sep 2014, 06:32
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Real name: Sven
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.
__________________
Please note that there will be no further updates to my addons, especially they will not be upgraded for vB5. I'm leaving vB, since IB choose to go the banana-way yet again.

http://www.roma-antiqua.de
Reply With Quote
  #4  
Old 11 Sep 2014, 04:49
Snowhog's Avatar
Snowhog Snowhog is offline
 
Join Date: Oct 2011
Real name: Paul L
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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

My assumption is that much is missing from {vb:raw disablesmiliesoption}, but I don't know what the label, input type name, and id are for disablesmiliesoption.
__________________
"It is a capital mistake to theorize in advance of the facts." - Sherlock Holmes
Kubuntu Forums . Net | ZB BLOCK | StopForumSpam
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 17:10.

Layout Options | Width: Wide Color: