Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
Smilie Abuse Protection Details »»
Smilie Abuse Protection
Version: 1.00, by eXtremeTim eXtremeTim is offline
Developer Last Online: Feb 2008 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 2.3.x Rating:
Released: 06-08-2003 Last Update: Never Installs: 3
 
No support by the author.

This hack will no longer be supported at vb.org If you are using this hack and need support please use this thread http://www.vbhacks.us/forum/showthread.php?t=38



What this hack does:
This hack make it so that your users cannot add a huge number of smilies to a post and hope to bring your server down.
The way vb currently filters smilies is that it parses them into the <img tags and counts the total number of html <img tags.
What this hack does is counts the number of smilies before vb even parses the smilies.
The parsing of the smilies can put a great load on a server and bring it down if they use enough smilies.

This hack will take your max image amount and add 15 images over the limit before this hack will actualy activate and warn the member. This hack will not work properly for thoose who have set the max image option to 0.

Features:
when system is activate user will be show an error page for to many images. User will also get a Private message telling them that they went over the limit and how many images they posted. The webmaster will get an email as well telling him the users ip,host,username,userid,how many images they tried to post.
Plus the user account you setup in the file will also get a private message containing this info as well.

I will provide support in this thread hear and on my site. If you have any reason to need support right away please ask for it at my site. http://www.extremescripts.com you will have to register to post there. I am almost always on my site so I will be able to notice any problems you guys have faster if they are posted there. I will try and support it as much as i can here.


Support thread on my site: http://www.extremescripts.com/forum/...hp?threadid=52

Show Your Support

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

Comments
  #2  
Old 06-09-2003, 06:47 PM
N9ne N9ne is offline
 
Join Date: Feb 2002
Posts: 1,495
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice work Tim, welcome back to vb.org, been a while since we saw you here . Hopefully this is implemented into vB3 but I extremely heavily doubt it...
Reply With Quote
  #3  
Old 06-09-2003, 07:24 PM
eXtremeTim eXtremeTim is offline
 
Join Date: Jun 2002
Location: eXtremewebtech.com
Posts: 1,201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its really good to be back my break from vb was fun but working on vb is better than not.
Reply With Quote
  #4  
Old 06-09-2003, 07:33 PM
eXtremeTim eXtremeTim is offline
 
Join Date: Jun 2002
Location: eXtremewebtech.com
Posts: 1,201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The only think i can think of is that you placed it in the wrong spot becuase vb will generate that error page on its own as well just latter on in the processing.
Reply With Quote
  #5  
Old 06-09-2003, 08:08 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice idea Tim

Satan
Reply With Quote
  #6  
Old 06-09-2003, 08:10 PM
Freddie Bingham's Avatar
Freddie Bingham Freddie Bingham is offline
 
Join Date: Oct 2001
Posts: 506
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 12:47 PM N9ne said this in Post #2
Nice work Tim, welcome back to vb.org, been a while since we saw you here . Hopefully this is implemented into vB3 but I extremely heavily doubt it...
Oh really? Hmm.

http://www.vbulletin.com/forum/showt...threadid=72331
Reply With Quote
  #7  
Old 06-09-2003, 08:27 PM
eXtremeTim eXtremeTim is offline
 
Join Date: Jun 2002
Location: eXtremewebtech.com
Posts: 1,201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

N9ne im guessing its already being worked on being added to vb3 if not already in the stock code.
Reply With Quote
  #8  
Old 06-09-2003, 08:38 PM
Davey Davey is offline
 
Join Date: Nov 2002
Location: England
Posts: 383
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, will install this.
Reply With Quote
  #9  
Old 06-09-2003, 08:49 PM
Magic Spark Magic Spark is offline
 
Join Date: Dec 2001
Location: Germany
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi eXtremeTim!

Doesn't work for me.

vBulletin 2.3.0.

Have an Test-User named "Test". Private Messages are active.
Set max images under admincp to 5.
Try to post 21 and more images (smilies).
I see the error message that I try to post to many smilies, but I don't receive any PM on my Testboard?!
When I log in as admin, there is no PM too.
Reply With Quote
  #10  
Old 06-09-2003, 09:10 PM
eXtremeTim eXtremeTim is offline
 
Join Date: Jun 2002
Location: eXtremewebtech.com
Posts: 1,201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you configure the greeter id to be the id of your admin acount?
Reply With Quote
Reply

Thread Tools

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 08:53 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.06252 seconds
  • Memory Usage 2,286KB
  • Queries Executed 25 (?)
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)bbcode_quote
  • (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
  • (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_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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete