Quote:
Originally Posted by KTBleeding
Yes. I just added this to my arcade.
I was going to incorporate it more into the settings and actually release it as an addon, but I am too lazy to do all that so I just did this real quick for my site.
Open forums/arcade.php and find:
PHP Code:
// Stops unauthorised users from gaining access to the arcade
Add ABOVE it:
PHP Code:
// Checks to see if the user has enough posts to play
if ($bbuserinfo['posts'] < 5) { // Replace 5 with whatever number you want to limit the posts to
eval(print_standard_error('error_not_enough_posts_arcade'));
}
Now just make a new phrase titled "not_enough_posts_arcade" and put whatever you want the error message to say.
|
Most cool! I've been looking for something like this! I have a bunch of users who hold the high scrores on hundreds of my games but have never posted.
Could it be as simple to just changing "posts" to "points" so that a member would be charged a specific number if points for each game play? I'm using the uTT store hack.