Back to vBulletin 3.0 Add-Ons

Disable Smilies in Posts
Mod Version: 1.00, by zetetic

This modification is in the archives.
vB Version: 3.0.1 Rating: (1 vote - 5.00 average) Installs: 5
Released: 08 Sep 2004 Last Update: Never Downloads: 2
Not Supported  

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:
if ($dosmilies
Replace with (changing XX to the field number from above):
PHP Code:
if (($dosmilies) && $bbuserinfo['fieldXX'] == False
Save your changes and you're done!

Download

No files for download.


vblts.ru supports vBulletin®, 2022-2024