vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   vbProArcade Beta 2 (https://vborg.vbsupport.ru/showthread.php?t=42880)

Ice Effect69 01-17-2003 12:15 AM

Ok, i have the arcade hack and the games up and running, the thing is im trying to add some games that i found. I get them up on the arcade board, but it doesnt record the topscore, nor redirects to the scoreboard page. Is there anyway to fix this? if so how?

script is at http://prowrestlingdirect.com/forums/proarcade.php

futureal 01-17-2003 02:17 AM

Quote:

Originally posted by Ice Effect69
Ok, i have the arcade hack and the games up and running, the thing is im trying to add some games that i found. I get them up on the arcade board, but it doesnt record the topscore, nor redirects to the scoreboard page. Is there anyway to fix this? if so how?
Have the games been modified to return score values and redirect to the correct page?

Check out the Flash Games Development thread in this same forum for more information.

Link14716 01-17-2003 03:33 AM

Now I am getting a parse error.

It occurs when you try to go to the user details page:

Code:

Fatal error: Call to undefined function: array_sum() in /home/sites/site68/web/forums/proarcade.php on line 757
Line 757 is:
PHP Code:

$gamedetail_average number_format(array_sum($allscores[$gamedetail_scores]) / count($allscores[$gamedetail_scores])); 

I am using vB 2.2.7 and Beta 2 (and an early PHP4 version). Any ideas on how to fix this?

futureal 01-17-2003 06:03 AM

It looks like array_sum must be a new function added to one of the more recent PHP versions.

Hmm...

Link14716 01-17-2003 01:09 PM

Yea probably. My host is supposed to upgrade apache, PHP, and other things soon, so I guess I'll have to wait. ;)

futureal 01-17-2003 03:17 PM

You can make it work in the meantime, but without the average.

Just change that line to read:

PHP Code:

$gamedetail_average 0

Then you're good to go.

Link14716 01-17-2003 04:00 PM

I also had to do it to $gamedetail_averagetime. I just commented out the probalem lines until PHP is upgraded. :)

saint_seiya 01-18-2003 02:45 AM

Hey, some of my users are getting this error:

You do not have permission to access this page. This could be due to one of several reasons: You do not have permission to access the page that you were trying to. Are you trying to edit someone else's post or trying to access administrative features? Check that you are allowed to perform this action in the Forum Rules. If you are trying to post, the administrator may have disabled your account..

ANy help?

SoloX 01-18-2003 04:29 AM

Quote:

Originally posted by saint_seiya
Hey, some of my users are getting this error:

You do not have permission to access this page. This could be due to one of several reasons: You do not have permission to access the page that you were trying to. Are you trying to edit someone else's post or trying to access administrative features? Check that you are allowed to perform this action in the Forum Rules. If you are trying to post, the administrator may have disabled your account..

ANy help?

one possible reason is that they dont belong to the groups that are auth'ed to use arcade ...

xxxsaint 01-18-2003 03:03 PM

Quote:

Originally posted by Da`Nacho


I've figured out the cause... It's the $vbchamptext and $vbchampicon if you use it in the postbit templates. Any time a browser reads a thread with a champion in it, online.php sees them as 'Playing in the Arcade' because they are being served the champtext or champicon from proimage.php.

I'll just pull the variables from my postbit templates for now, but it would be cool if there was a way of fixing this. :)


any updates on this problem ?


All times are GMT. The time now is 01:23 PM.

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.02008 seconds
  • Memory Usage 1,746KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (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