Version: 1.00, by 007
Developer Last Online: Apr 2020
Version: 3.0.1
Rating:
Released: 06-01-2004
Last Update: Never
Installs: 73
No support by the author.
Require X posts in the last Y hours to play games in the arcade
by ~006
Let me start out by saying that I made this hack for the V3Arcade system. All credit for that hack goes to John. If you can think of any other pages that this limitation hack could be used for, let me know and I can code it.
I know ever since the V3Arcade was released, we all have been noticeing new members signing up only to spend time in the arcade. They may post once or twice, but for the most part they do not post. Instead they just suck your bandwidth. What can you do about this? Well, with this hack you can customize the number (x) posts required in the last (y) hours. This is all on a per usergroup basis.
There are other ways people have been doing this, such as base arcade access on postsperday. This is a bad way to do this because if somebody goes out of town for a week, their posts per day will suffer. Soon it becomes impossible to get your posts back to the minimum posts per day level. This hack is fair to all members based on usergroups.
This hack adds two new usergroup fields, and adds the option to edit these fields directly form your admincp. It is very self explanatory.
The hack may not seem like much, but I put a lot of time into it, so I would appreciate it if everyone would click install!
i have a problem... now i have hundreds of people just spam posting in oder ot get into arcade
Then ban them or ban a few as a warning to the others...
Nice hack.. Anyway to integrate this to work with a particular forum as well? I have a forum loaded with "pictures" that people will sign up to just view as well (instead of posting.)
* clicks install
Edit: installed and works flawlessly. Thanks! You saved me alot of time trying to write this myself!
Well it took me a long time. As for using it for a forum, I actually use a variation of it for many things on my board. It get's tricky though and I don't have time to support variations of it. Just look at the code. Basically you'll add the tables again with different names. Then add everything else again. You'll need an "if" statement asking for the forumid you want to limit access to. This will go in forumdisplay.php. That's off the top of my head so don't quote me on it. Like I said though I don't have time to create custom mods. :ermm:
Hey thanks for that file edit. Although it DIDN'T fully work I am more pleased with the outcome than if it did. Now they have to have at least ten posts to play in the arcade AND they have to have 5 posts in 2 hours after that to play. Ty very much
Well it took me a long time. As for using it for a forum, I actually use a variation of it for many things on my board. It get's tricky though and I don't have time to support variations of it. Just look at the code. Basically you'll add the tables again with different names. Then add everything else again. You'll need an "if" statement asking for the forumid you want to limit access to. This will go in forumdisplay.php. That's off the top of my head so don't quote me on it. Like I said though I don't have time to create custom mods. :ermm:
~006
Nah, it was actually pretty simple for what I wanted to do.. I just edited showthread.php and forumdisplay.php with something like:
Code:
if ($bbuserinfo['posts'] < 100 AND $foruminfo[forumid]==14)
{
eval(print_standard_error('notforyou'));
}
and add a phrase to print_standard_error called notforyou.. Thanks though..
Yeah Chevy, if you wanted to base if off of posts in the last x hours, you would just put my code in place of your if statement in those files.
And Flous, I thought that's what you WANTED it to do in the first place? Well either way it's good to know you like it how I coded it I must have misunderstood you. Oh well.
Quote:
Originally Posted by Fluous
AND they have to have 5 posts in 2 hours after that to play. Ty very much