Back to vBulletin 3.0 Add-Ons

Posting in specific forums you specify deducts or adds to post count
Mod Version: 1.00, by Erwin

This modification is in the archives.
vB Version: 3.0.0 Rating: (0 vote - 0 average) Installs: 5
Released: 09 Jan 2004 Last Update: Never Downloads: 0
Not Supported  

Posting in specific forums you specify deducts or adds to post count

This is a fairly simple hack, but it can be useful for certain forums. Feel free to expand or modify this to suit your forums.


How to use:

1) If you have a spam forum, you may want to deduct 1 from the post count each time a member posts there.
2) If you have a special forum, you may want to add more than 1 to the post count each time a member posts there.
3) Any combination of the above.


Installation:

In includes/functions_newpost.php:

Find:

PHP Code:
            $doposts 'posts = posts + 1,'
Replace with:

PHP Code:
if ($foruminfo['forumid']==66 OR $foruminfo['forumid']==67
{
            
$doposts 'posts = posts - 1,';
} else {
            
$doposts 'posts = posts + 1,';

Just change 66 and 67 to your spam forumids, remove or add forumid's as needed.

Change -1 to +2 or +5 if you want to ADD to the member's post count for whatever reason. Play around with the code - this hack is meant to be customized in many ways for your forum.

Download

No files for download.


vblts.ru supports vBulletin®, 2022-2024