Version: 1.00, by N9ne
Developer Last Online: Jul 2019
Version: 2.3.x
Rating:
Released: 03-06-2003
Last Update: Never
Installs: 17
No support by the author.
<--------------------------------------------------------------------------------------------------------->
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.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
They work together. You have to do it manually, but they work fine. As for the code you currently have, I wouldn't try to combine them. Just insert one infront of the other.
Today at 10:33 PM cirisme said this in Post #12 h4x0rtje.
They work together. You have to do it manually, but they work fine. As for the code you currently have, I wouldn't try to combine them. Just insert one infront of the other.
I'm glad you have them working together. There shouldn't really be any problem with it, the only thing that requires some integration is the part in member.php with custom titles and custom avatars.