Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
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
Version: 1.00, by 007 007 is offline
Developer Last Online: Apr 2020 Show Printable Version Email this Page

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!

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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 06-04-2004, 04:30 PM
SnowBot's Avatar
SnowBot SnowBot is offline
 
Join Date: Jul 2003
Location: Manchester UK
Posts: 631
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

00r did you have chance to write that IF ELS line for me ?
Reply With Quote
  #53  
Old 06-06-2004, 05:14 PM
atomic fireball's Avatar
atomic fireball atomic fireball is offline
 
Join Date: Apr 2003
Location: California
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very cool hack.

The install was flawless and very clear. Had it up and running in 5 mins just as noted.

Works like charm! Thanks 006!!
Reply With Quote
  #54  
Old 06-06-2004, 05:52 PM
corsacrazy's Avatar
corsacrazy corsacrazy is offline
 
Join Date: May 2002
Location: london
Posts: 854
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have a problem... now i have hundreds of people just spam posting in oder ot get into arcade
Reply With Quote
  #55  
Old 06-07-2004, 12:40 AM
350Chevy's Avatar
350Chevy 350Chevy is offline
 
Join Date: Nov 2002
Location: Tampa, FL
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by corsacrazy
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!
Reply With Quote
  #56  
Old 06-08-2004, 01:08 AM
007's Avatar
007 007 is offline
 
Join Date: Jan 2003
Location: United States
Posts: 872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #57  
Old 06-08-2004, 01:26 AM
Fluous Fluous is offline
 
Join Date: Apr 2004
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #58  
Old 06-09-2004, 12:43 AM
350Chevy's Avatar
350Chevy 350Chevy is offline
 
Join Date: Nov 2002
Location: Tampa, FL
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

NM.. was the code in acarde.php.. I edited it from monstercontrols which threw in some weird characters.. All better now..
Reply With Quote
  #59  
Old 06-10-2004, 01:22 PM
350Chevy's Avatar
350Chevy 350Chevy is offline
 
Join Date: Nov 2002
Location: Tampa, FL
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 006
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..
Reply With Quote
  #60  
Old 06-12-2004, 07:23 AM
007's Avatar
007 007 is offline
 
Join Date: Jan 2003
Location: United States
Posts: 872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
5 posts in 2 hours is just asking for spam...
Reply With Quote
  #61  
Old 07-30-2004, 04:31 PM
350Chevy's Avatar
350Chevy 350Chevy is offline
 
Join Date: Nov 2002
Location: Tampa, FL
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nm.. think I replaced the arcade.php with an old one when backing up..
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 11:16 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06050 seconds
  • Memory Usage 2,312KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete