Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Posting in specific forums you specify deducts or adds to post count Details »
Posting in specific forums you specify deducts or adds to post count
Mod Version: 1.00, by Erwin (Member) Erwin is offline
Developer Last Online: May 2013 I like it Show Printable Version Email this Page

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:


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

Replace with:


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

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 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 09 Jan 2004, 15:08
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
I came in here to ask what use there would be for having a negative post counting system, and tada, I have the answer. When I eventually get GamerForums running again this will come in handy for the annoying kids lol.
Reply With Quote
  #3  
Old 09 Jan 2004, 15:51
MindTrix's Avatar
MindTrix MindTrix is offline
 
Join Date: Apr 2002
Real name: Liam Hawkins
Talk about an underated thread, Tsch

This is what everyone has too need for them non essential parts of their forums, such as sig tests etc.

Thank you Erwin
__________________
Hacks Made :
Store 3.0 Color Name Add On.
Last 5 Attachments On Forum Home
Rap Battle System -=RBS=-

Tutorials Made :
The Basics Of PHP For Beginners and The Basics Of PHP [Part 2]

Running away from that Thousand Post Mark
Reply With Quote
  #4  
Old 09 Jan 2004, 16:24
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Real name: Dean Clatworthy
Erwin.... what am I going to do with you... Quote your keys SIR!


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

__________________
Dean Clatworthy - Web Developer/Designer
Reply With Quote
  #5  
Old 09 Jan 2004, 16:32
MindTrix's Avatar
MindTrix MindTrix is offline
 
Join Date: Apr 2002
Real name: Liam Hawkins
How does that saying go? "You just cant get the staff"
__________________
Hacks Made :
Store 3.0 Color Name Add On.
Last 5 Attachments On Forum Home
Rap Battle System -=RBS=-

Tutorials Made :
The Basics Of PHP For Beginners and The Basics Of PHP [Part 2]

Running away from that Thousand Post Mark
Reply With Quote
  #6  
Old 21 Mar 2004, 05:54
VAN's Avatar
VAN VAN is offline
 
Join Date: Oct 2001
Just outta curiosity, what happens if a member has 5 posts, and posts 6 times in a forum that is set up to deduct 1 post for each?

Will their post count show as -1 or will it remain 0 forever?
Reply With Quote
  #7  
Old 01 Aug 2004, 17:37
Malice Malice is offline
 
Join Date: Apr 2002
Originally Posted by VAN
Just outta curiosity, what happens if a member has 5 posts, and posts 6 times in a forum that is set up to deduct 1 post for each?

Will their post count show as -1 or will it remain 0 forever?
Interesting thought...will VB have a problem displaying this one...
__________________
A wise man once said, "Foul language is the crutch of the inarticulate"
Reply With Quote
  #8  
Old 21 Oct 2004, 01:12
hockyfan hockyfan is offline
 
Join Date: Mar 2003
Is there a way to modify this so it is based on a specific word a user uses, or only when a user posts in a specific thread?


h
__________________
On That Note Forums
"...our focus remains on the music."
Reply With Quote
  #9  
Old 21 Oct 2004, 04:29
HiDeo's Avatar
HiDeo HiDeo is offline
 
Join Date: Oct 2003
Nice job erwin thanks
Reply With Quote
  #10  
Old 06 Jan 2005, 23:31
ChrisSy ChrisSy is offline
 
Join Date: Mar 2002
will it work for threads if i simply substitute 'threads' for 'posts' in the code?

thanks in advance
Reply With Quote
  #11  
Old 08 Feb 2005, 23:45
lazytown lazytown is offline
 
Join Date: Feb 2004
Is there any way to make this work with the rebuild options? So it can apply retroactively? I wanted something that would have fractional post counts for off-topic forums, etc. But it can still be done with whole numbers by just multiplying everything.

-V
Reply With Quote
  #12  
Old 09 Feb 2005, 01:40
oldfan's Avatar
oldfan oldfan is offline
 
Join Date: Jul 2004
Sorry but I'm confussed...
I have a spam forum, #20
to remove a 1 from they're post count I have to...

if ($foruminfo['forumid']==20)
{
$doposts = 'posts = posts - 1,';

??
thanks
Reply With Quote
  #13  
Old 10 Feb 2005, 05:11
oldfan's Avatar
oldfan oldfan is offline
 
Join Date: Jul 2004
bump
Reply With Quote
  #14  
Old 10 Feb 2005, 10:49
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Originally Posted by oldfan
Sorry but I'm confussed...
I have a spam forum, #20
to remove a 1 from they're post count I have to...

if ($foruminfo['forumid']==20)
{
$doposts = 'posts = posts - 1,';

??
thanks
Correct, except you forgot a } at the end.
Reply With Quote
  #15  
Old 10 Feb 2005, 12:02
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
How well does vB handle negative posts counts ?
__________________
Former vBulletin.org Staff Member


Cable Forum
Please do not PM me about custom work - I no longer undertake any.
Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
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 12:06.

Layout Options | Width: Wide Color: