![]() |
Disable Smilies in Posts
This small hack will give your users the option of disabling smilies in the user control panel. When they check the "Disable Smilies" box in their profile options, smilies in posts will no longer be parsed. (In other words, the text in colons won't be converted to images).
Create a new User Profile Field Go to your ACP --> User Profile Fields --> Add New User Profile Field Select "Multiple Selection Checkbox" Click "Continue" Fill in the following fields with this info (if it's not mentioned, leave default): Title = Disable Smilies Description = Click here to disable smilies in posts Limit Selection = 1 Boxes Per Line = 1 Options = Disable Filed Editable by user = Yes Field Hidden on Profile = Yes Field Searchable on Members List = No Show on Members List = No Which page displays this option? = Options: Thread Viewing Click "save" and take note of the field number of your new field! Next: Open /forum/includes/functions_bbcodeparse.php Find: PHP Code:
PHP Code:
|
Thanks for sharing!
|
Quote:
Does it still work on 3.0.3? |
Thanks for sharing your work with the community :)
|
My pleasure! :)
I'm not sure about 3.0.3 Soccerquest. I've got way too much customization to try upgrading just yet. |
Quote:
I'll just try it out then :). |
Does it works with 3.07?
I tried, but still not effect. |
Can someone port this over to 3.5.0? I'd be very greatful!! I'm trying to create a style that will make it easier for my users to browse at work without being caught.
Thanks so much! |
Does this work with 3.6?
|
Quote:
|
Put this as a new plugin within: bbcode_parse_start
Code:
// HACK : START : DISABLE SMILIES |
Quote:
|
Thanks to sockwater @ vb.com, a solution of sorts exists that does not cause problems with the caching system:
http://www.vbulletin.com/forum/showthread.php?t=295969 |
All times are GMT. The time now is 04:50 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:
|