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
  #12  
Old 06-09-2003, 09:34 PM
Magic Spark Magic Spark is offline
 
Join Date: Dec 2001
Location: Germany
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, I have!

Both users, admin and the test user, gets no PN!
Reply With Quote
  #13  
Old 06-09-2003, 09:43 PM
eXtremeTim eXtremeTim is offline
 
Join Date: Jun 2002
Location: eXtremewebtech.com
Posts: 1,201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you get the error email?
Reply With Quote
  #14  
Old 06-09-2003, 10:03 PM
Magic Spark Magic Spark is offline
 
Join Date: Dec 2001
Location: Germany
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nope, no emails!

My Testboard is lightly hacked!
Let's see if other users have the same problem.
Reply With Quote
  #15  
Old 06-10-2003, 01:54 PM
cirisme cirisme is offline
 
Join Date: Jan 2003
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent hack.

I was planning on using this, until I maxed out my charecter limit on posts with smilies and it did nothing to the server. Which, I thought was odd.
Reply With Quote
  #16  
Old 06-11-2003, 06:15 PM
yxboom's Avatar
yxboom yxboom is offline
 
Join Date: Jan 2003
Location: The City
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No PMs or emails are being sent.
Reply With Quote
  #17  
Old 06-11-2003, 06:28 PM
yxboom's Avatar
yxboom yxboom is offline
 
Join Date: Jan 2003
Location: The City
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nevermind.
Reply With Quote
  #18  
Old 06-11-2003, 06:45 PM
Magic Spark Magic Spark is offline
 
Join Date: Dec 2001
Location: Germany
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It would be a great hack!

eXtremeTim, please check it again.
Reply With Quote
  #19  
Old 06-11-2003, 10:16 PM
eXtremeTim eXtremeTim is offline
 
Join Date: Jun 2002
Location: eXtremewebtech.com
Posts: 1,201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have tried this on a hacked forum and on a fresh install and it works fine. Can you post the lines from the hack and like 15 lines above and below it?
Reply With Quote
  #20  
Old 06-11-2003, 11:09 PM
yxboom's Avatar
yxboom yxboom is offline
 
Join Date: Jan 2003
Location: The City
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My problem was I did it the first time and no notification but I got another user to do it and it sent the notifications with appropriate rebuke.
Reply With Quote
  #21  
Old 06-12-2003, 02:58 AM
eXtremeTim eXtremeTim is offline
 
Join Date: Jun 2002
Location: eXtremewebtech.com
Posts: 1,201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Glad to hear its working for you now. But it should work even if you test it with the account you setup for it to notify. I tested it with my main admin account and a few other accounts.
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 02:38 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.04779 seconds
  • Memory Usage 2,291KB
  • 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)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
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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