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
  #72  
Old 11-20-2004, 02:43 AM
HarryBO HarryBO is offline
 
Join Date: Jan 2003
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice Hack 006!

Works fine 4 me!

My users ask me, if there is a way to avoid the Hack, when a user have a defined Post Count!

Example: User have 200 Posts ---> He can play everytime and mustn´t have had 3 Post in 24 Hours!

Is there a way to code it?
Reply With Quote
  #73  
Old 11-23-2004, 08:14 PM
neocorteqz's Avatar
neocorteqz neocorteqz is offline
 
Join Date: May 2002
Location: Barefoot Bay Fl
Posts: 473
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bump for last two post.

well actually if you want to make it so that there is a required amount of post, you can create a new usergroup and make it a promotion group where it will promote someone once they reach a certain post level. I did that with avatars.
Reply With Quote
  #74  
Old 12-29-2004, 06:59 AM
Intex Intex is offline
 
Join Date: Apr 2002
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I know there's a few mods out there that restrict arcade access based upon amount of posts you create. However, I personally thought that this would just increase spam on the website.

So, is there a mod out there that restricts the amount of times games can be played per day. For example, you can put a limit of 50 per day and this would restrict everyone to playing games more than 50 times in any one day.

I assume this could be done by tracking how many scores have been recorded for a user within 24 hours or perhaps if they select the link to play the game?

Any help appreciated.
Reply With Quote
  #75  
Old 12-29-2004, 09:49 AM
Deimos Deimos is offline
 
Join Date: Oct 2002
Posts: 529
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

/me installs

Great hack! Thanks!
Reply With Quote
  #76  
Old 01-05-2005, 12:56 AM
007's Avatar
007 007 is offline
 
Join Date: Jan 2003
Location: United States
Posts: 872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

neocorteqz, I'm not sure why that is showing up.. I'm assuming you mean the functon text at the top? Anyway, I don't think that has anything to do with my hack, as nobody else has had that happen. Are you still having problems with it?
Reply With Quote
  #77  
Old 01-08-2005, 12:09 PM
rjpa rjpa is offline
 
Join Date: Aug 2002
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

I'm running vB3 3.0.5 and in the install docs it says:
// in admincp/usergroup.php
********
* FIND *
********
__________________________________________________ __

'profilepicmaxsize' => 25000


But I cannot find the variable: 'profilepicmaxsize' => 25000 in the file: admincp/usergroup.php

What do I do wrong?

/rjpa
Reply With Quote
  #78  
Old 01-26-2005, 08:04 PM
BeatificFaith's Avatar
BeatificFaith BeatificFaith is offline
 
Join Date: May 2004
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi ... is there a way to exclude certain forums that people can post in. For instance, I want it to work where they will need 5 posts in 48 hours but I want to exclude forums that are just for games... is there a way to do this? By the way a big THANK YOU for this
Reply With Quote
  #79  
Old 03-25-2005, 12:27 AM
lowcarbscoop lowcarbscoop is offline
 
Join Date: Mar 2005
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and it works great at my low carb board.
Reply With Quote
  #80  
Old 03-25-2005, 02:33 PM
Deimos Deimos is offline
 
Join Date: Oct 2002
Posts: 529
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a great hack, but I don't think it works properly?

Although it DOES restrict access properly, here's the issue I noticed

We have several forums where you don't gain post counts with any replies or topics you make, yet people with a ZERO post count can make 2 posts in one of these forums and get access to the arcade?
Reply With Quote
  #81  
Old 04-07-2005, 11:57 PM
007's Avatar
007 007 is offline
 
Join Date: Jan 2003
Location: United States
Posts: 872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This currently counts ALL posts. It pulls the posts from the database. I think it could be changed to not pull posts that didn't add to the user's postcount, but right now I don't have time to mess with that.

If somebody wants to look into it I can add it to the hack.
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 01:04 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05133 seconds
  • Memory Usage 2,306KB
  • 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)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
  • (3)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