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)

chad777 09-07-2002 05:58 AM

How do you tell if you are running in safe mode ?

If you can tell me that I have my own server I could setup one of my domains for you to test on

futureal 09-07-2002 06:03 AM

Two ways:

#1 - When you go to the vbProArcade admin panel it will echo a line at the top right now saying something like "safeupload is 1" if it says 1 you are in Safe Mode, otherwise you're not.

#2 - If icons/thumbnails are working, you're probably not in safe mode. :)

I have servers up the ying-yang, but all my vhosts are in normal mode, and my dedicated box I can't change because I am running scripts that are dependant on it *not* being in safe mode.

Souly 09-07-2002 02:59 PM

I don?t understand the problem.

I am running on a SafeMode Server and i have no Problems with the upload from proarcadeadmin.php!

I have craeate /tmp/ Folders for the SafeMode and all works fine!

I see only one Error in the Script:
When one of the follow two fields are empty, and when i klick "Submit Changes" ...........

1) Use Scoreboard Icon-Upload New Icon
2) Use King Ico-Upload New Icon

....... i become the follow Errors:
http://www.clanforen.de/images/screenies/arcade1.gif
When i input all Data i see the follow:
safeupload is: 1
tmppath is: tmp
Arcade options updated!


I think, when some has problems and don?t give new Information about the problem, why you will do so much for this user? I am not seeing a safemode Problem!

I like to test some new Flashgames and change the *.fla files to work this the score system. How did you send the Scores to the proarcade.php?
The follow diesnt work in my nes tertis version :(
PHP Code:

getURL ("proarcade.php?action=gameover""_self""POST"); 


2 X Viverridae 09-07-2002 05:14 PM

@ futureal - check your PM's.

futureal 09-07-2002 07:31 PM

Souly: Thanks for the info, that helps out. I will re-check the logic as far as which thing gets updated when Submit is preessed.

2 X: Will check. Thanks!

Dark Jim 09-07-2002 10:51 PM

Great hack, seems to work fine except for uploading the images. I'm not running safe mode and all other file uploads from the admin cp work fine except this. A bug I noticed is that the comment on the top scrore board is not updated if you get another high score. This may already have been said but I have no time to read the entire thread. Anyway :thumbsup: and hope to see more of this. :D

Zach 09-07-2002 11:15 PM

Before I start really looking for the prob, wondering if someone would know this one off the top of their head where my prob is


Blank Screen

http://forums.fantasysportswire.com/...&game=breakout

Proper Error

http://forums.fantasysportswire.com/...ion=scoreboard

Blank Screen

http://forums.fantasysportswire.com/proarcade.php




Almost seems like it would be a template prob but all the templates are there.

Any ideas, my mind does not want to figure this one out :)

wolfe 09-07-2002 11:52 PM

hey d00d can u Intergrate this hack with Lesanes Store Hack

so please pay for the arcade :D and make tickets like 500 Dollers for a 1/2 Week ticket to play arcades etc :D

chad777 09-08-2002 01:09 AM

Quote:

Originally posted by Zach
Before I start really looking for the prob, wondering if someone would know this one off the top of their head where my prob is


Blank Screen

http://forums.fantasysportswire.com/...&game=breakout

Proper Error

http://forums.fantasysportswire.com/...ion=scoreboard

Blank Screen

http://forums.fantasysportswire.com/proarcade.php




Almost seems like it would be a template prob but all the templates are there.

Any ideas, my mind does not want to figure this one out :)

Blank Screen

Make sure the path to the game is right.... it happen to me and that was what the problem was.

The other error ? not sure you didn't change anything in the file did you ?

a43079 09-08-2002 10:26 AM

i am getting these error tha hack works fine but i cant upload ithe images to the database.. this is the errors it gives me
but the images are gif????

safeupload is: 0
tmppath is: /tmp
vbProArcade Error: is not a valid file type for images (only gif/jpg/png are supported)

Arcade options updated!

Dark Jim 09-08-2002 02:21 PM

In case some people have this thread bookmarked and don't check the others in this forum, I made an addon for this and the Store hack: https://vborg.vbsupport.ru/showthrea...threadid=43309. In short, with it you have to pay to play. :)

futureal 09-08-2002 05:25 PM

Dark Jim: Quick question, do you have the most recent version of the files (you can just tell me which day you downloaded the zip).

Other than that, I would check to make sure that the path is correct and that the templates are installed/named correctly (e.g. vbproarcade_arcade for the main arcade page).

If neither of those is a fix, I will have to take a closer look at the code.

futureal 09-08-2002 05:26 PM

Sorry for the lack of updates these past two days. The major trade show for the R/C industry has been going on since Thursday and I have been going back and forth between Chicago to do some net coverage and deal with some people, so I haven't had much time for the web.

I'll get back on track early next week.

Dark Jim 09-08-2002 05:50 PM

I downloaded it aproximately (sp?) 24 hours ago from this post. And I'm not sure if you meant that for me but my templates seem fine.

futureal 09-08-2002 09:55 PM

OK, it's probably a code error then. If all goes well I will be able to look at it later tonight.

Link14716 09-08-2002 11:42 PM

futureal, to save everyone headaches on safe mode, why don't yopu take the upload some gifs and then set the path to the image in the CP?

Oh, and for a store integration, I'll do one so people have to buy a lifetime ticket ;)

eckels2 09-09-2002 06:22 AM

Ok heres a problem i'm having....

All the games work fine for myself and my members. The only problem is, that the scores get posted for the members but not for me. For some reason it doesn't post my scores at the end of the game. As far as i know, i'm the only one that this happens for, so i'd imagine it's a permission thing. (i'm the only admin)

How could i go about fixing this?

Courage 09-09-2002 04:23 PM

Installed on vb 2.2.2 and is working great, but the Tetris file... drives me mad.
- i want to have the option to disable sound
- nor than 10 levels :)

futureal 09-10-2002 07:18 PM

Quote:

Originally posted by eckels2
Ok heres a problem i'm having....

All the games work fine for myself and my members. The only problem is, that the scores get posted for the members but not for me. For some reason it doesn't post my scores at the end of the game. As far as i know, i'm the only one that this happens for, so i'd imagine it's a permission thing. (i'm the only admin)

How could i go about fixing this?

What happens after the game for you? (Error, blank screen, etc...)

And which browser are you using?

futureal 09-10-2002 07:19 PM

Quote:

Originally posted by Courage
Installed on vb 2.2.2 and is working great, but the Tetris file... drives me mad.
- i want to have the option to disable sound
- nor than 10 levels :)

There are changes to the games in the works. Sound on/off, etc...

2 X Viverridae 09-10-2002 10:27 PM

Well - futureral fixed the problem on my site with the little red X's in the logo upload...

It seems that *I* had the incorrect version of the proarcadeadmin.php file! :rolleyes:

My bad!

Thanks so much, futureal, for taking the time to rectify that for me!

Gohan 09-10-2002 11:26 PM

Wauw! i LOVE your hack!! Thumb up

I've install and without problem :D

Dark Jim 09-10-2002 11:44 PM

Duh! I got the images working. I editted the proarcadeadmin file where it uploads the images. The filepath was incorrect.

Gohan 09-11-2002 12:35 AM

Quote:

Originally posted by Dark Jim
Duh! I got the images working. I editted the proarcadeadmin file where it uploads the images. The filepath was incorrect.

found bug (not real bug but little ;))

open proarcadeadmin.php and find:
PHP Code:

echo "<tr class='".getrowbg()."' valign='middle'>\n<td>Current " $thisgame[title] . "  Thumbnail</td><td><img src=\"/forum/proimage.php?id=$thisgame[gameid]\"></td></tr>\n"

change to:

PHP Code:

echo "<tr class='".getrowbg()."' valign='middle'>\n<td>Current " $thisgame[title] . "  Thumbnail</td><td><img src=\"$bburl/proimage.php?id=$thisgame[gameid]\"></td></tr>\n"


Gohan 09-11-2002 12:55 AM

futureal

Everything does perfect working but not for new addon usergroup permission..

PHP Code:

    if (($bbuserinfo[usergroupid] != 2
    and (
$bbuserinfo[usergroupid] != 5
    and (
$bbuserinfo[usergroupid] != 6
    and (
$bbuserinfo[usergroupid] != 7)) {
      
show_nopermission();
    } 

Well i need modify to for myself usergroupid number

PHP Code:

    if (($bbuserinfo[usergroupid] != 2
    and (
$bbuserinfo[usergroupid] != 5
    and (
$bbuserinfo[usergroupid] != 6
    and (
$bbuserinfo[usergroupid] != 7
    and (
$bbuserinfo[usergroupid] != 8
    and (
$bbuserinfo[usergroupid] != 9
    and (
$bbuserinfo[usergroupid] != 10
    and (
$bbuserinfo[usergroupid] != 11
    and (
$bbuserinfo[usergroupid] != 12
    and (
$bbuserinfo[usergroupid] != 13
    and (
$bbuserinfo[usergroupid] != 14
    and (
$bbuserinfo[usergroupid] != 15
    and (
$bbuserinfo[usergroupid] != 16
    and (
$bbuserinfo[usergroupid] != 17
    and (
$bbuserinfo[usergroupid] != 18
    and (
$bbuserinfo[usergroupid] != 19)) {
      
show_nopermission();
    } 

Maybe you could make better code for usergroupid without modify above code?

Gohan 09-11-2002 01:06 AM

Maybe solve...

I did change:

Open proacrade.php and find:

PHP Code:

    if (($bbuserinfo[usergroupid] != 2
    and (
$bbuserinfo[usergroupid] != 5
    and (
$bbuserinfo[usergroupid] != 6
    and (
$bbuserinfo[usergroupid] != 7)) {
      
show_nopermission();
    }
    break; 

change to:

PHP Code:

    if (($bbuserinfo[usergroupid] != 1
    and (
$bbuserinfo[usergroupid] != 3
    and (
$bbuserinfo[usergroupid] != 4)) { } else {
      
show_nopermission();
    }
    break; 


futureal 09-11-2002 01:59 AM

Dark Jim: You must have had an older version of the admin file; the newer ones have the corrected path.

Gohan: Same as above on the image path problem. As for the usergroups, that is a known limitation and it will be addressed in the next version. You sure have a lot of user groups! :)

mewgood 09-11-2002 03:35 AM

hm..
now I have sloved the errors but after I uploaded the imagesm it still is a broken images..

futureal 09-11-2002 05:02 AM

Quote:

Originally posted by mewgood
now I have sloved the errors but after I uploaded the imagesm it still is a broken images..
Unfortunately it seems like there is a problem with your server, since I have not seen the error you're getting anywhere else. I really am not sure what I can do to fix it.

I'm glad you were able to work the other stuff out...

futureal 09-11-2002 05:04 AM

Regarding Beta 2, here is one of the first "teaser" shots of some of the added functionality:

https://vborg.vbsupport.ru/external/2002/09/1.jpg

This allows the admin to easily configure who can and can't access the arcade. The arcade will still default to groups 2, 5, 6, and 7 which are the default vBulletin groups for Registered Users. Mods, Admins and Super Mods.

Gohan 09-11-2002 10:21 AM

That better than my modify :) When will Beta 2 release?


Yeah i have alot usergroup cuz my site is Clan of MOHAA

wolfe 09-11-2002 12:44 PM

thats cool futureal but when is it gonna be out and will it have the store cost/jackpot thing on it :D

futureal 09-11-2002 06:55 PM

It will be out when I have finished all of the "wish list" features that people have asked for. Right now there is no timeframe; just watch this thread for details. Any sort of store hacks/addons to this hack will remain separate, since the arcade should be able to fit right in to an unhacked vBulletin installation.

Audionuts 09-11-2002 07:02 PM

i'm so close...but i'm having a problem after the bame ends instead of going to "www.mysite.com/forum/proarcade.php" its going to www.mysite.com/proarcade.php and giving me errors?

its very weird because i noticed one of the games(tetris) is working fine, but the others i get tha error on exit...

anyone?

ps this is awsome futureal!!! you rock !! :)

futureal 09-11-2002 07:06 PM

Can I see this in action? PM me the URL if you don't want to make it public.

I am beginning to wonder if I included an older file in the .zip somewhere. I will double check it when I get home (at work at the moment).

Audionuts 09-11-2002 07:10 PM

well the arcade its at :
http://www.skinnybenny.com/forum/proarcade.php

but i guess you will have to register to see it :)

i really apreciate the help

futureal 09-11-2002 07:17 PM

Did you install the games manually or with the included .SQL file?

In the source of the arcade pages, it says "codebase: ..." and "query string: ..." and so on. Those lines should be removed... or in other words, only everything after the colon should be added in those fields.

Does that make sense? Hopefully I described it well enough.

NTLDR 09-11-2002 07:25 PM

Audionuts, just a quick thought, do you have the forums URL set correctly in the Admin CP?

Audionuts 09-11-2002 07:27 PM

yeh i did it by hand...
now wherewould i change that? i mean what file do i remove the "codebase: ..." and "query string: ..." from?

thanks again

Audionuts 09-11-2002 07:28 PM

ahhh never mind!!
i got you...
i'm an idiot and you are the man :)


All times are GMT. The time now is 06:47 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.01870 seconds
  • Memory Usage 1,853KB
  • 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
  • (7)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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