The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Disable Smileys and Annoying Images by BOP5 Details »» | ||||||||||||||||||||||||||||||||
Disable Smileys and Annoying Images by BOP5
Developer Last Online: Aug 2023
Screenshots: Attached
Demo: http://www.juot.net/forums/showthread.php?t=57401 This is a test section of my forum, you will have to register to disable the smileys. Version 2.0 *Bugfixed - Smileys now enabled for guests.* The main point of this mod is to add the much needed option IMO to disable simleys (smilies) for users like they can images, avatars, and signatures. This became an issue on my forum because I have some large animated smileys and a new member had a medical condition where it was dangerous for him to view such images. This mod will allow you to disable smileys for certain users. You can choose from the following: 1) (Preferred Method) Add a custom profile field to allow users to enable or disable this on their own. Instructions included in the zip file on how to do this. 2) Disable by usergroup, You can disable smileys by entering the usergroup id, both primary or secondary groups will work. 3) Disable for specific users- You can enter specific userids to disable for a select few users of your choice. Disabled smileys will be replaced by their title or name. Such as becomes {EEK!}. Limitations of the mod: For this to work all your smileys must be in the default path which is images/smilies. They can also be in the fuller path /forums/images/smilies. If they are stored anywhere else this mod will not disable them. Also the "title" or the "name" of the smileys can not contain a double quote (") character. Names/titles are limited to numbers, letters, underscores, dashes, and some other special characters all of which are listed in the instructions. (Some of them are !, @, #, $, %, &, *, <, >, etc...) I doubt this will work with Non-English characters but I haven't tried it. In addition to disabling smileys this mod can also disable images you deem annoying... Again for me I used this to disable some fast-flashing images popular on my forum but which could cause medical concern for some users. In order to use this part of the mod you must view the HTML source code of your forum and copy the entire <img> tag responsible for the image, and paste it into the mod. The complete tag from < to > is needed. You paste 1 per line into the box in the settings. You must also specify replacement text in the next box. 1 replacement for each image you want to disable. Keep these lines to match the images above. This second half of the mod is basically just the built in "Replacement Variable" option in vBulletin except it works on all styles and only works on users you specify or whom have enabled the option. You can use it to replace anything you want, not just images if you want to. 1 Product - 1 Plugin - No Files - No Templates - No Phrases Download Now
Screenshots
Show Your Support
|
Comments |
#2
|
||||
|
||||
A lot of stuff you've thrown out the last couple of month BirdOPrey5. Thanks for sharing.
|
#3
|
|||
|
|||
This is a great Mod - many thanks! But it has turned off smilies for "guests" ?
How do I change this so they can see smilies please? Thanks Durham |
#4
|
||||
|
||||
Good catch. I uploaded a new version that keeps smileys enabled for guests. :up:
|
#5
|
|||
|
|||
Aaah - perfect - continued thanks
D. |
#6
|
|||
|
|||
I'm unable to disable smilies for usergroup 1 (un-registered - not logged in). However, it works when I attempt to disable smilies for usergroup 6 (administrators).
My intention is to disable smilies for usergroup 1. Can I do something to achieve this? |
#7
|
||||
|
||||
Quote:
For now uninstall the one you have and install this earlier version and smileys will be disabled for guests. At some point I will release an update that will let it work as expected in either case. |
#8
|
|||
|
|||
Thanks, much appreciated! It's enabled now, and working as expected.
My purpose for using it is to optimize my site for speed. No need to display smilies to guests (each smilie costs one http request). Members will see all smilies though. Great add-on! |
#9
|
|||
|
|||
I've modified my installation so that guests will not see the replacement {smilie}, but they will simply see nothing, no image smilie, and no text smilie.
To do it, find: Code:
$breplace = "<em>{" . "$1" . "}</em>"; and replace it with: Code:
$breplace = ""; Joe, if there is a better way, please do let me know. |
#10
|
||||
|
||||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|