vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Require X posts in the last Y hours to play games in the arcade (https://vborg.vbsupport.ru/showthread.php?t=65735)

007 06-02-2004 05:15 AM

What version of VB3 are you running? I am using 3.01. I noticed at least your profile shows 3.0. Perhaps upgrading first wouldn't be a bad idea?

Osterling 06-02-2004 05:18 AM

has anyone else got this to work?

Rampag33 06-02-2004 05:24 AM

I definitely need this. I had the same problem too.

SnowBot 06-02-2004 05:34 AM

Installed and no errors, now just to hang about for 24h to see if the 2 hacks work together, the first hack worked by saying i have not got enough posts.

Set to 2 posts in 24h

/me clicked installed already

007 06-02-2004 05:47 AM

It's dynamic. Set it to 30 posts in 24 hours temporarily for your usergroup and try playing a game. :) Basically, it runs a query and counts your total posts in the defined period of time. No need to wait to see results. :) Should take effect immediately.

I have added a step in the arcade.php edits. My appologies. Redownload the file and look at the arcade.php edits. You may have to clear your history to get the most recent file. Sorry for the extra troubles! Everything should work fine now. :)

~006

Osterling 06-02-2004 05:49 AM

i am running none extra hacks for arcade...

all i've done is made a post requirement for user groups to be able to play in it.. but that shouldn't be causin a problem

SnowBot 06-02-2004 05:55 AM

hhhmm infact i got the error now.

Quote:

Fatal error: Call to a member function on a non-object in /home/synergy4/public_html/forum/arcade.php on line 527

007 06-02-2004 06:00 AM

I updated the install file. Did you rehack the arcade.php edits? It should work now.

SnowBot 06-02-2004 06:04 AM

Quote:

Originally Posted by 006
I updated the install file. Did you rehack the arcade.php edits? It should work now.

so its just the added

Quote:

// ######################### REQUIRE BACK-END ############################
require_once('./global.php');
part ?

007 06-02-2004 06:05 AM

Correct. I forgot to put that in the install file. It's been added now though. Try that and let me know how it works :)


All times are GMT. The time now is 07:02 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.01165 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete