![]() |
Smilie Abuse Protection
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 |
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...
|
Its really good to be back my break from vb was fun but working on vb is better than not. :)
|
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.
|
Nice idea Tim:)
Satan |
Quote:
http://www.vbulletin.com/forum/showt...threadid=72331 |
N9ne im guessing its already being worked on being added to vb3 if not already in the stock code. ;)
|
Thanks, will install this.
|
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. |
Did you configure the greeter id to be the id of your admin acount?
|
Yes, I have!
Both users, admin and the test user, gets no PN! |
Do you get the error email?
|
Nope, no emails!
My Testboard is lightly hacked! Let's see if other users have the same problem. ;) |
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. |
No PMs or emails are being sent.
|
Nevermind.
|
It would be a great hack!
eXtremeTim, please check it again. |
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?
|
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.
|
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.
|
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
|
All times are GMT. The time now is 04:44 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|