View Full Version : Posts Goal mini-hack
JJR512
01-04-2002, 10:00 PM
This is a small hack requested by jam583 in the requests forum. It allows you to set a post count goal, and a date to reach that
goal. The goal date, today's date, the post count goal, how many posts are left to reach the goal, and how many days are
left until the goal expires, are shown on the forums home page.
Lesane
01-05-2002, 01:13 PM
Great hack. Gonna install it later. Thanks
TheComputerGuy
01-05-2002, 02:20 PM
Justin is ON A ROLL....
Every hack Justin makes I have installed ;) You da man, you know what I need without me saying it :)
What happens when you reach this goal?
JJR512
01-05-2002, 05:12 PM
As far as the hack is concerned, nothing. Well, instead of telling you how many posts left to the goal, it will say the goal is reached. But beyond that, nothing...that wasn't within the scope of the request. I assume that jam583, who requested this, would have in his mind what he would do if the goal is reached, and that's up to him. I only did the coding for the display of the goal and the calculations, I just took it on as an exercise in my learning of PHP. :)
Psychdrone
01-05-2002, 06:39 PM
err nice hack
BUt don't think I will be installing this one, already got so many spammers!
lol
jam583
01-06-2002, 02:09 PM
Thank you very much for the hack! Pretty much I plan to set a goal and when it's reached changed the goal and make it higher :) Spammers could be a problem, but I doubt it will because my boards are moderated pretty good.
BabyU
02-18-2002, 02:56 PM
This is great! Thanks for sharing!
Here's my question -- how can you tell WHO posted the 'goal' post? I know I can't determine it by the Post ID, so how else? I'd like to know WHO posts the 100,000th post for a contest that I'd like to hold.
Thank you for any advice.
Raptor
02-27-2002, 10:33 PM
is there a screen shot of what this looks like exactley ?
BabyU
03-03-2002, 01:03 PM
Does anyone have this working with 2.2.2? I had it working lovely with 2.03, but since I upgraded, it comes up with some off the wall numbers for posts remaining until goal. I installed the welcome panel hack, which I think inserted commas into the number of posts, etc. Could this be the problem? I'm stumped!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.