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)

futureal 09-11-2002 07:48 PM

Yea, I played a game there and it seemed to work fine. I gave your users something to shoot for in Pacman. :)

One thing to watch out for is that by default on your forum, users are not browsing the board with cookies. This can cause erratic behavior with the arcade, since people are often playing for longer than the sessiontimeout value -- they may be asked to log back in rather than having their scores recorded.

On forums that don't have people browse with cookies by default, I suggest adding something to the game templates letting your users know that they may want to turn cookies on.

Audionuts 09-11-2002 07:59 PM

i see, for some reason since vb 2.2.3 i've had lots users having problems when browsing with cookies option on...

eckels2 09-11-2002 10:31 PM

Quote:

Originally posted by futureal


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

And which browser are you using?

Sorry about the delay...

After the game I go immediately back to the Games listing screen.

It doesn't give me any screen to add a comment or anything, although I understand it works for most of my users. I also found out that at least ONE of my users has the same problem as I.

my site is afterblur.com. I'm using IE 5.50 and the user that has the same problem is using IE 6.0.26.

Thanks for any help you can provide.

Tigga 09-12-2002 12:21 AM

I just installed this on my site and it seems to be working ok for the most part. The only problem I'm having is when I try to access the admin page for it, I get this error...

safeupload is: 1
tmppath is: /home/virtual/site72/fst/var/www/html/temp

Fatal error: Call to undefined function: dotableheader() in /home/virtual/site72/fst/var/www/html/forum/admin/proarcadeadmin.php on line 26

Any idea's what I'm doing wrong?

Apok2002 09-12-2002 01:41 AM

I have the latest proarcadeadmin.php file...when I try to upload the graphics...this is what I get:

Quote:

safeupload is: 1
tmppath is: /home/httpd/vhosts/ez-company.net/httpdocs/tmp
vbProArcade Error: is not a valid file type for images (only gif/jpg/png are supported)
That is when I upload the scoreboard.gif...but it says the same for every icon/gif no matter where I try to upload it (crown icon, games, etc....)

also, re: the tmp folder...where should this be located? I use vbPortal...so I have it installed at my server root...my FORUM and where the games are installed, is root/forums/

so should it be: root/tmp ?
or
should it be: root/forums/tmp ?

futureal 09-12-2002 02:22 AM

Quote:

Originally posted by PlurPlanet
I just installed this on my site and it seems to be working ok for the most part. The only problem I'm having is when I try to access the admin page for it, I get this error...

safeupload is: 1
tmppath is: /home/virtual/site72/fst/var/www/html/temp

Fatal error: Call to undefined function: dotableheader() in /home/virtual/site72/fst/var/www/html/forum/admin/proarcadeadmin.php on line 26

Did you make the necessary changes to adminfunctions.php? It looks like you are missing one of the functions there.

futureal 09-12-2002 05:17 AM

Good news, everybody...

SAFE MODE PROBLEMS HAVE BEEN FIXED!

Please replace your current proarcadeadmin.php with this version. It contains all of the current bugfixes for Beta 1.03. This will (probably) be the last Beta 1.x file I post, since I am now working on incompatible versions for Beta 2.

I will be updating the zip file in the first post with this file as well. As always, please report any problems right away.

Thanks.

Apok2002 09-12-2002 05:19 AM

woohoo! gj! :) I see that it works now. :) What was the problem?

*edit*

lol I see you doubled the previous top scorer's score on Pacman...they'll never top that. Now did you PLAY it? Or did you modify the score via myphpadmin. haha

In any event, the graphics look great man...thanks for the hard work. :)


*edit again*

Now how do I get the crown to be in the postbit of each of the King's posts? Did I miss that post in this thread?

futureal 09-12-2002 05:24 AM

Heh, nope, I actually played it. Pac is the only game of the five that I actually play, I've actually logged a few hours in it. I average in the 45K range, but that one was actually my best ever. :)

The problem was a single line of code that was incorrect. I also found a few more small bugs (mainly logic issues) in the process, so I fixed those along the way.

futureal 09-12-2002 05:29 AM

Quote:

Originally posted by Apok2002
Now how do I get the crown to be in the postbit of each of the King's posts? Did I miss that post in this thread?
There are some posts about it somewhere in there. Right now, though, the Beta 1 is basically designed for a "text only" champions system. This will definitely be improved in the next release. If you can live with it until then, that is obviously the easiest.

Otherwise, you could edit the getpostbit(...) function in admin/functions.php. Right below the vbProArcade line that says "$post[usertitle] .= ..." you could add something like:

PHP Code:

$post[crown] = "<img src=\"someimage\">"

Then in your postbit template, just add $post[crown] in there somewhere, and for the users that are champions, the image you named should appear.

There's a chance this might not work, I'm just making it up as I go along... :)


All times are GMT. The time now is 05:01 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.02554 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_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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