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)
-   -   v3 Arcade - Games Arcade & Challenge System [vB 3.0.3] (https://vborg.vbsupport.ru/showthread.php?t=60377)

Jock_33 03-25-2005 11:50 PM

I have a slight problem with Arcade.

I have it installed and works ok apart from it doesn't keep/update the scores. All scores stay @ zero.

Please help... thanks in advance :)

Brandon Sheley 03-26-2005 02:36 AM

Quote:

Originally Posted by MissKalunji
it says it in the install read me :ermm:

you add the install php game file into your admincp the games games and the pictures into images/arcades...

then type www.domain.com/forum/admincp/gamefile.php

n install



i do not see this gamefile.php file ? also i didn't see it in the install read me :ermm:

hugh_ 03-26-2005 10:16 AM

Could someone tell me how to replace the postbit icon and text for game champions with just text? Also how do I remove the search box addition to the navbar?

Thanks, top hack!

hugh

Brandon Sheley 03-26-2005 11:04 PM

Quote:

Originally Posted by Oblivion Knight
The same as you would any other game..

Upload the .swf files to your /games directory.
Upload the .gif files to your /images/arcade directory.
Upload the .game.php file to your /admincp directory.

Then run the .game.php file in your browser via http://www.yoursite.com/forums/admincp/x.game.php, replacing x with the gamename. For example: pacman.game.php



Thnak u so much for this, i searched alot of threads looking for the answer :) i guess i misunderstood in the others :banana:

lowcarbscoop 03-26-2005 11:51 PM

I just installed a new theme and re-ran the first step of the install over again and ARCADE is not showing on the navbar. Can someone help me add this? I tried adding the code manually to the navbar template, but when I do, it shows an ARCADE link but when you click it, you just get a blank page.

TIA

Mayers 03-27-2005 03:27 AM

Okay it seem that after upgrading to 3.0.7 the arcade gives a no have permission message. I've edited all the files, what could be wrong with it?

jamiepryer@hotm 03-27-2005 11:19 AM

my arcade has stopped working :(
when i go to the admin CP and click yes for "is the arcade active"
it says settings have been saved, but when i get reverted back, its all been set back to "no"

thanks in advance :)

jamiepryer@hotm 03-28-2005 03:15 PM

fixed it now :)

Jenta 03-29-2005 12:12 AM

is there a list somewhere of which games are ok to use?
don't want to violate any copyrights

rjordan 03-29-2005 03:59 AM

v3arcade deleted user avatar fix(?)

After you delete a user, I have found that if you (or more importantly, a search spider) tries to access the stats link for that deleted user, you likely will get something like this:

Code:

Database error in vBulletin 3.0.7:
 
Invalid SQL:
SELECT user.avatarid, user.avatarrevision, avatarpath, NOT ISNULL(avatardata) AS hascustom, customavatar.dateline
FROM user AS user
LEFT JOIN avatar AS avatar ON avatar.avatarid = user.avatarid
LEFT JOIN customavatar AS customavatar ON customavatar.userid = user.userid
WHERE user.userid =
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 5
 
mysql error number: 1064

There does not seem to be a check built-in to see if a user is actually a valid user. I have hopefully found a fix for this with the following:

Find:
PHP Code:

 $activitycount $DB_site->query("
         SELECT gamesessions.*, games.title FROM " 
TABLE_PREFIX "gamesessions AS gamesessions
         LEFT JOIN " 
TABLE_PREFIX "games AS games ON gamesessions.gamename = games.shortname
         WHERE userid=
$userid AND valid=1 AND $sessionclause GROUP BY sessionid ORDER BY finish DESC"); 

and above this add:
PHP Code:

 if ($user['username']=="") {
$idname $vbphrase['user'];
eval(
print_standard_error('error_invalidid'));


I suspect that the scores for the deleted user might still be there after the user is deleted. If this is correct and vBulletin allows someone else to get this user ID, they might by default get all of the high scores for the games by the previous ID owner. Looking into that.

EDIT: It looks like vB does not recycle user IDs. This SHOULD work to eliminate the error.


All times are GMT. The time now is 03:17 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.05455 seconds
  • Memory Usage 1,747KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)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