Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Disable Smileys and Annoying Images by BOP5 VB4 Details »»
Disable Smileys and Annoying Images by BOP5 VB4
Version: 2.0, by BirdOPrey5 (Senior Member) BirdOPrey5 is offline
Developer Last Online: Aug 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.x.x Rating:
Released: 04-16-2011 Last Update: 04-21-2011 Installs: 19
Supported Uses Plugins
Translations  

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. (VB3 Version, but identical code.)

Version 2.0

*Bug Fixed - Smileys now fixed for guest viewing *

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

File Type: zip BOP5 - Disable Smileys - VB4.zip (516.1 KB, 97 views)

Screenshots

File Type: jpg Disable Smiley Mod Settings.jpg (151.8 KB, 0 views)
File Type: jpg Smileys Disabled VB4.jpg (83.8 KB, 0 views)
File Type: jpg Smileys Enabled VB4.jpg (73.0 KB, 0 views)
File Type: jpg Custom Field VB4.jpg (17.0 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 12-18-2012, 07:00 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not an option with this mod, sorry.
Reply With Quote
  #23  
Old 06-21-2014, 06:38 PM
yukirina yukirina is offline
 
Join Date: Apr 2014
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What happens to the smiley for people using this mod? Does it revert to the text based format?
Reply With Quote
  #24  
Old 06-22-2014, 09:18 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It replaces the image with the name/title of the smiley inside curly brackets...

So... :happy: might become {Happy Face} if "Happy Face" was the title of the smilie.
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 06:34 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04328 seconds
  • Memory Usage 2,261KB
  • Queries Executed 21 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (3)postbit
  • (5)postbit_attachment
  • (4)postbit_onlinestatus
  • (4)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete