Back to vBulletin 3.0 Add-Ons

[uCash + Warning System] Fine members
Mod Version: 1.00, by kevinnguyen

This modification is in the archives.
vB Version: 3.0.7 Rating: (1 vote - 5.00 average) Installs: 8
Released: 04 Mar 2005 Last Update: Never Downloads: 0
Not Supported  

On my forums, members spam like crazy to get points.
If you have a big RPG forum, u'll need this

What does this mod do?
It deducts an amount of points of a member if he gets warned

This mod takes less than 1' to install

Open functions_warning.php
Find:
PHP Code:
global $DB_site$warn_type$force_email_temp$force_email_perm$level
Replace with
PHP Code:
global $DB_site$warn_type$force_email_temp$force_email_perm$level$vboptions
Find:
PHP Code:
return $warn_type
Above add:
PHP Code:
$DB_site->query("UPDATE " TABLE_PREFIX "$vboptions[uttpoints_pointtable] SET " $vboptions['uttpoints_pointsfield'] . " = " $vboptions['uttpoints_pointsfield'] . "-" $amount " WHERE userid='$user[userid]'"); 
Replace $amount with an amount of points you wanna fine

That's it! Enjoy

Download

No files for download.

Addons

Similar Mods

[Addon]Download Credit System with uCash vBulletin 3.0 Full Releases

vblts.ru supports vBulletin®, 2022-2024