Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Anti-spam post decrementer Details »
Anti-spam post decrementer
Mod Version: 1.00, by Kier (Member) Kier is offline
Developer Last Online: May 2011 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.2.x Rating: (0 vote - 0 average) Installs: 5
Released: 16 Jul 2002 Last Update: Never Downloads: 0
Not Supported  

This is a bit of a silly hack, but a few of my moderators wanted it, so I thought I'd share it with you people.

What it does is when a user posts, the system checks against a list of user IDs, and if the user is in that list, their post count goes down by one, rather than going up by one post. Very silly I know, but anyway...

1) run the following query:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

2) in functions.php, add the following code somewhere near the bottom of the file:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

3) in newreply.php and newthread.php, find this code:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and replace with this:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Then go into your control panel and edit the new setting, inserting something like 1001,2544 to set users 1001 and 2544 to have inverse post counters.

Have fun :classic:

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 16 Jul 2002, 00:11
SaintDog SaintDog is offline
 
Join Date: Nov 2001
Location: Tennessee
Real name: Jonathan
Odd little hack, but it is nice to have fun with your members every now and then .

- SaintDog
Reply With Quote
  #3  
Old 16 Jul 2002, 00:54
Brad Brad is offline
 
Join Date: Nov 2001
i smell a late april 1st , love the hack ^_^
Reply With Quote
  #4  
Old 16 Jul 2002, 01:05
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Real name: Matthew Gordon
not a particulaly useful hack, but fun to screw around with :-P
__________________
Along with Zachery, I make releases as GeekyDesigns. Please do not PM or IM me for support.
Reply With Quote
  #5  
Old 16 Jul 2002, 01:08
Kier Kier is offline
 
Join Date: Oct 2001
Originally posted by Link14716
not a particulaly useful hack, but fun to screw around with :-P
I don't remember saying it was useful
Reply With Quote
  #6  
Old 16 Jul 2002, 01:17
snyx's Avatar
snyx snyx is offline
 
Join Date: Oct 2001
rolf this is great, Im going to install it to bug all my troll members! hahaha, awesome
Reply With Quote
  #7  
Old 16 Jul 2002, 03:20
Neo's Avatar
Neo Neo is offline
 
Join Date: Oct 2001
Real name: Dan
LOL, nice one Kier.
Reply With Quote
  #8  
Old 16 Jul 2002, 09:14
JulianD's Avatar
JulianD JulianD is offline
 
Join Date: Jan 2002
Real name: Julian Muņoz
Looks very funny hehehe
__________________
Julian D. Muņoz
Reply With Quote
  #9  
Old 16 Jul 2002, 11:41
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Great hack...

What if a user gets down to 0? Will it start counting -1, -2 and so on? Or will it stop at 1?
Reply With Quote
  #10  
Old 16 Jul 2002, 12:37
Chen's Avatar
Chen Chen is offline
 
Join Date: Sep 2001
Re: Great hack...

Originally posted by Boofo
What if a user gets down to 0? Will it start counting -1, -2 and so on? Or will it stop at 1?
It will not go below 0. If you want it to, run this query:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
Chen Avinadav
Formerly vBulletin.org Owner and Founder

chen@avinadav.com
Reply With Quote
  #11  
Old 16 Jul 2002, 13:45
Raz's Avatar
Raz Raz is offline
 
Join Date: Oct 2001
Re: Re: Great hack...

Originally posted by FireFly

It will not go below 0. If you want it to, run this query:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Remember, doing this will reduce your very maximum post count to 32767.
__________________
~Raz~
Reply With Quote
  #12  
Old 16 Jul 2002, 14:02
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Re: Re: Re: Great hack...

Where is LongINT when you need it?

Originally posted by Raz
Remember, doing this will reduce your very maximum post count to 32767.
Reply With Quote
  #13  
Old 16 Jul 2002, 14:08
Chen's Avatar
Chen Chen is offline
 
Join Date: Sep 2001
Re: Re: Re: Great hack...

Originally posted by Raz
Remember, doing this will reduce your very maximum post count to 32767.
True, heh, if you have spamme- err active posters use this...

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
Chen Avinadav
Formerly vBulletin.org Owner and Founder

chen@avinadav.com
Reply With Quote
  #14  
Old 16 Jul 2002, 14:18
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
???

Which will do what?
Reply With Quote
  #15  
Old 16 Jul 2002, 14:30
Chen's Avatar
Chen Chen is offline
 
Join Date: Sep 2001
If you don't have any users with more than 32,000 posts, use the first one. If you do, use the second one.
__________________
Chen Avinadav
Formerly vBulletin.org Owner and Founder

chen@avinadav.com
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 08:16.

Layout Options | Width: Wide Color: