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

Reply
 
Thread Tools
Duplicated Smilies Check :) Details »»
Duplicated Smilies Check :)
Version: 1.1, by testebr testebr is offline
Developer Last Online: Aug 2013 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 3.7.2 Rating:
Released: 08-26-2008 Last Update: 08-26-2008 Installs: 23
Re-useable Code Additional Files Translations  
No support by the author.

History

I requested a tool to check for duplicated smilies in vbulletin.com like you can check in this link, but apparently the idea was not well accepts.

At a long time that I distrusted repeated smilies in my forum, then to kill that doubt I created a small tool to detect the duplicated smilies.

How does this work?

Most simple possible, the tool check MD5 for all files and list for you all duplicated.

More info about MD5 you can read in this article of Wikipedia, but in small words, md5 is an unique hash of file content.

In my board at first run of this tool, detected 50+ duplicated smilies.

The future of this tool

This tool will not be improved to have management resources like edit/remove duplicated by admincp. My objective is open the eyes of vbulletin team to add by default md5 for all smilies in to database and check in upload progress to alert user in the case of already have the same smilie registered in database.

We will never again have smilies with different names, but identical content!

Screenshot

Attachment 86094

Updates

v1.1 - fixed patch for smilies in subfolders.

Show Your Support

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

Comments
  #2  
Old 08-27-2008, 09:10 AM
gbml4u gbml4u is offline
 
Join Date: Aug 2006
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

first post, thx u, will take a look on this
Reply With Quote
  #3  
Old 08-27-2008, 02:54 PM
haytham's Avatar
haytham haytham is offline
 
Join Date: Jan 2003
Location: USA-Egypt-UAE
Posts: 510
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice idea. Will try it out.
Reply With Quote
  #4  
Old 08-27-2008, 04:58 PM
Karri's Avatar
Karri Karri is offline
 
Join Date: Feb 2002
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is a bug with this. It doesn't display the smilies properly if you have them in sub folders. It assumes that all smiles a just in the smilies folder.
Reply With Quote
  #5  
Old 08-27-2008, 06:16 PM
testebr testebr is offline
 
Join Date: Jan 2004
Posts: 353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Karri View Post
There is a bug with this. It doesn't display the smilies properly if you have them in sub folders. It assumes that all smiles a just in the smilies folder.
Patch for subfolders fixed in version 1.1, can you check if it was solved?

Thanks.
Reply With Quote
  #6  
Old 08-27-2008, 08:07 PM
Karri's Avatar
Karri Karri is offline
 
Join Date: Feb 2002
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks like it was. Thanks!!!
Reply With Quote
  #7  
Old 08-27-2008, 08:47 PM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is awesome, I may finally get to install my smiley pack a lot quicker now. Thanks
Reply With Quote
  #8  
Old 08-28-2008, 05:12 AM
abrecher abrecher is offline
 
Join Date: Jan 2004
Posts: 205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This works really well but it would be FANTASTIC if you had a DELETE link next to each one so we could go ahead and just delete the duplicates.
Reply With Quote
  #9  
Old 09-01-2008, 08:29 AM
GrendelKhan{TSU's Avatar
GrendelKhan{TSU GrendelKhan{TSU is offline
 
Join Date: Jun 2005
Location: Boston | Seoul, S. Korea
Posts: 1,311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by abrecher View Post
This works really well but it would be FANTASTIC if you had a DELETE link next to each one so we could go ahead and just delete the duplicates.
agreed
Reply With Quote
  #10  
Old 05-16-2009, 11:51 AM
vithorius's Avatar
vithorius vithorius is offline
 
Join Date: Feb 2008
Location: Portugal
Posts: 347
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack makes me wonder why some of the greatest (but simplest) ideas are now that known on this community...

Man, this idea ROCKS! Thank you for sharing this!

(btw, are you Brazilian?)



Quote:
Originally Posted by abrecher View Post
This works really well but it would be FANTASTIC if you had a DELETE link next to each one so we could go ahead and just delete the duplicates.
I double that! PLease include that idea, and your hack will be PERFECT!
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 02:32 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.13486 seconds
  • Memory Usage 2,289KB
  • Queries Executed 23 (?)
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
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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_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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete