The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Require X posts in the last Y hours to play games in the arcade Details »» | |||||||||||||||||||||||||||
Require X posts in the last Y hours to play games in the arcade
Developer Last Online: Apr 2020
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! PLEASE CLICK INSTALL! That's all I ask. *Please do not edit or redistribute this hack without my permission. Thanks! ~~~~~~~~~~~~ Queries: 2 File edits: 2 New Phrases: 1 ~~~~~~~~~~~~ TOTAL INSTALL TIME: ~5 minutes or less ~006 Show Your Support
|
Comments |
#22
|
||||
|
||||
Quote:
I set the other hack to require 1 post to get to the arcade. I have set yours to 2 posts in 24h. So its now saying Original hack Quote:
your hack Quote:
Is there anyway to delay it for 24h before the hack kicks in ? or anything like that? |
#23
|
||||
|
||||
Well my hack will check for whatever value you set for minimum posts. If another hack checks for less, and you have this set for more, the other won't work. There is an easy way to get what you want by adding a quick if else statement. I don't have time now to look into it now though because I have to get up in the morning and go to work.
|
#24
|
||||
|
||||
Quote:
|
#25
|
|||
|
|||
works now (smile) glad it wasn't due to my error.. great hack!
|
#26
|
||||
|
||||
This one sound nice
|
#27
|
|||
|
|||
Umm. I need to know which pieces to edit. Theres like a piece that says
Enter time requirements here (in hours) // what would i put there? 'arcademinposts' => 2, 'arcademintime' => 24 // What are those 2 numbers mean? 24 as in hours? and then this $definedtime = ($minimumtime[time] * 3600 // whats that number? Also why I'm here. Does this work with 3.0.0? Hope it does. You cannot play games in the arcade unless you have made $minimumposts[number] posts within the last $minimumtime[time] hours. << Do I have to take out the $minimumposts[number] and replace that with a number. or replace number with the number.? same for the time.. sorry i'm just coding stupid |
#28
|
||||||
|
||||||
Quote:
2 24 2 is for the ammount of time they have to make there 2 posts within. Quote:
Quote:
Quote:
Quote:
I have this Quote:
|
#29
|
|||
|
|||
so I only change these: Enter time requirements here (in hours) // the posts one too. and then the
'arcademinposts' => 2, 'arcademintime' => 24 If I wanted 5 posts in the last 2 hours it would be like 'arcademinposts' => 5, 'arcademintime' => 2 ? |
#30
|
|||
|
|||
Okay. Now I have this
PHP Code:
|
#31
|
||||
|
||||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|