![]() |
N9ne's Spam Points System 1.0 [Mega-Hack]
<--------------------------------------------------------------------------------------------------------->
Spam Points System A hack by N9ne, copyright 2003+, created on March 7th 2003. <---------------------------------------------------------------------------------------------------------> Description: This hack will give users spam points. They will have a spam point count, which can be edited from their user profile in the adminCP. The spam point count will be displayed in the postbit and on their profile page (getinfo). This is on a per forum basis. You can enable it or disable it per forum, so you can have one forum where you can post small posts and not receive any spam points, whereas other forums, you will. There are also 3 levels to the system. If enabled in a forum, for that forum, you have 3 levels to go up to. You may use just level 1, level 1 + 2, or all 3 levels. For example, General Discussion Forum Enable Spam Points System in this forum? - YES Enable level 1 - YES Maximum # of characters user can post up to and gain the given number of spam points below: 100 Number of spam points given, if user doesn't reach the above # of characters in post: 3 Enable level 2 - YES Maximum # of characters user can post up to and gain the given number of spam points below: 200 Number of spam points given, if user doesn't reach the above # of characters in post: 2 Enable level 3 - YES Maximum # of characters user can post up to and gain the given number of spam points below: 300 Number of spam points given, if user doesn't reach the above # of characters in post: 1 Note: If, with the above setup, a user posts a post which contains 250 characters, the user will receive 1 spam point. If the user posts a post which has 105 characters, he will receive 2 spam points. If the user posts 780 characters, he will receive no spam points. If the user posts 50 characters in his post, he will receive 3 spam points. Other options in this hack: In each usergroup's setting page, there is a YES/NO switch, which will allow you to exempt the group from spam points or not. Default value will be NO, not exempt from spam point system. In newreply and newthread pages, detail is given of the rules pertaining to the forum. So if spam points are not enabled in forum, it will say so. Also, if they are, detailed information will be given, ie. how many characters are required in posts, and if targets aren't reached, how many spam points are given. In vBulletin Options page in the adminCP, added to the custom avatar section, is a switch: Disable Custom Avatars for user if spam point count exceeds given amount below? YES/NO - The maximum number of spam points a user can have before he cannot use custom avatars, regardless of post count. The same goes for Custom Titles too, and they can't use custom titles regardless of post count AND days registered. By default, admins are exempt from the spam count system. You can simply enable it for them from their usergroup page. And just one more feature in this hack: If, in a usergroup's setting, the switch to exempt the usergroup from the spam count system is enabled, the spam count line will not appear in the postbit for anyone, and in their profile pages, the table row with spam count will not appear either. <---------------------------------------------------------------------------------------------------------> For: 2.2.x and 2.3.x (created in 2.2.9 and 2.3.0) <---------------------------------------------------------------------------------------------------------> Files to modify: admin/usergroup.php admin/forum.php admin/user.php admin/functions.php newreply.php newthread.php member.php <---------------------------------------------------------------------------------------------------------> Templates to modify: newreply newthread getinfo postbit <---------------------------------------------------------------------------------------------------------> Templates to create: postbit_spampoints getinfo_spampoints <---------------------------------------------------------------------------------------------------------> Queries to run: 17 <---------------------------------------------------------------------------------------------------------> Please backup your database and the templates and files we're going to modify in this hack, before proceeding to install it. I will not take any responsibility and am not liable for any damage done to your forum. You should have a backup. <---------------------------------------------------------------------------------------------------------> Open the attached .php file in a text editor to see instructions on how to install this hack. |
10 Screenshots.
|
*Boom* I'm fast, huh? Interesting concept behind the hack, N9ne. So many files edited, queries ran, templates to modify and create, this is without a doubt, your biggest hack (hence the mega-hack).
Although I won't use this hack, it's a good idea for several forums. Thanks for the option and thanks for sharing! :D |
afterlab, I saw you browsing this thread right after I posted it ;). Like I said in the thread of another of my hacks', you haven't seen anything yet ;). Well, here it is, my biggest hack ever. Maybe one of the biggest hacks at vb.org (of course the store hack beats everyone hands down there, takes a while to install ;)).
Anyway everyone, get installing! Hehe, if anyone uses this hack, please click install. N9ne. |
this hack is soo being installed on both my forums when i get a chance which will be tomorrow i think but i'm hitting install now
|
Gonna install ASAP!
|
Is there any way to combine this hack with the quality point? I love 'm both :)
I ended up trying to do it myself but got stuck in the member.php edit :( Would be nice to have 'm both.. Really great hacks! |
How do you mean combine? Do you want them both? I'm sure they both work together?
|
I hope they do work together.. But. For example
Code:
if ($ctEnable == 1 and $customtext) {// Custom Titles are ON, Make sure user can actually use them and isn't trying to manipulate them through forms Code:
if ($ctEnable == 1 and $customtext) {// Custom Titles are ON, Make sure user can actually use them and isn't trying to manipulate them through forms This is just an example of things I dont know how to do :) |
I just installed this onto my board everything looks to be working fine except in the forums modify in the Admin CP the settings are not being saved. After saving when I return to the Forum settings everything is back to NO. Help :(
|
All times are GMT. The time now is 10:03 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|