vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vB Tetris v2.5 | Leaderboard, Comments and High Score System v2.5 :) (https://vborg.vbsupport.ru/showthread.php?t=42293)

John 08-14-2002 09:58 PM

I know :banana:

Funkie 08-14-2002 10:01 PM

@John,

That tetris php threw out some sql error on line 7


thanx for tryin m8:)

michealo 08-14-2002 10:01 PM

JW, just wanted to let you know i fixed that wierd text issue on the leaderboard but redoing the templates again

just had to fix the colors cause my forum has a black background

everythings looking great

John 08-14-2002 10:03 PM

Quote:

Originally posted by Funkie
@John,

That tetris php threw out some sql error on line 7


thanx for tryin m8:)

Line 7 is where the file loads global.php, that means it's an issue with your forum rather than this code...

Funkie 08-14-2002 10:04 PM

ok m8 thanx m8,,
How can i remove the new.gif icon.???????

Funkie 08-14-2002 10:13 PM

sussed it m8:)
i removed the $bburl/ in the php file,,,bang it worx fine now:)

John 08-14-2002 10:13 PM

Find

PHP Code:

<img src=\"$bburl/{ imagesfolder}/new.gif\"> 

and delete it

John 08-14-2002 10:15 PM

Quote:

Originally posted by Funkie
sussed it m8:)
i removed the $bburl/ in the php file,,,bang it worx fine now:)

:) :banana:

Funkie 08-14-2002 10:15 PM

$tetcominsert = "<img src=\"{imagesfolder}/new.gif\"

i just removed the $bburl

worxs fine now:)

dprice 08-14-2002 10:23 PM

I linked the TETRIS game through my forum's index by creating a new Forum entitled "<a href="/forums/tetris.php?action=play&s=$session[sessionhash]">Tetris Game *NEW*</a>"

Now, I tried to do this for the leaderboard and resulted with a BLANK page...any thoughts? (using the tetris.php?action=leaderboard of course)

John 08-14-2002 10:29 PM

can you normally access the leaderboard via $bburl/tetris.php?actions=leaderboard ?

Link14716 08-14-2002 10:58 PM

w00t!
/me reads the whole thread.
/me DOWNLOADS!

dprice 08-14-2002 10:59 PM

No...I get a Permissions denied error, as if I had not "logged in". I have even logged in and then entered the URL to directly access leaderboard and still get the "not logged in error"

John 08-14-2002 11:03 PM

Do you have the latest version? 2.1, updated zip in first post

John 08-14-2002 11:05 PM

Quote:

Originally posted by Link14716
w00t!
* Link14716 reads the whole thread.
* Link14716 DOWNLOADS!

lol, you read the entire thread? You must be mad!

xxskullxx 08-14-2002 11:09 PM

/me waits patiently for the store version

John 08-14-2002 11:10 PM

Quote:

Originally posted by xxskullxx
* xxskullxx waits patiently for the store version
That's not a hint is it? ;)

dprice 08-14-2002 11:11 PM

Quote:

Originally posted by JohnWarwick
Do you have the latest version? 2.1, updated zip in first post
Yes,

Downloaded it about an hour ago..

xxskullxx 08-14-2002 11:15 PM

LOL, maybe.... ;)

You've done a great job, and I'm struggling to be patient. I had this version working way back around page 5 or so on my home computer :) (Seems like ages ago waiting)

But as I said before, this is a great hack...we'll worth the wait. :D

Oh yeah, forgot the bannana..... :banana:

John 08-14-2002 11:16 PM

Quote:

Originally posted by dprice


Yes,

Downloaded it about an hour ago..

For my piece of mind could you upload tetris.php to the root directory again? (From the latest zip) I need to be 100% sure this is a code rather than platform issue :banana:

VietSoil 08-14-2002 11:19 PM

This hack is great! Many thanks, John :)

Anyways, I found 1 big bug!. When I finish the game (I beat level 10, my score is 95,324), the game is OVER, and it doesn't go to the tetris.php?action=reg to put my score and comment in. It's just over! But if you fail to beat level 10, you will be led to the score page to enter your score and comment.

I'm just starting to do the PHP and MySQL so I don't have much experience about these. If you (or anyone else) can fix this bug, please do! :) :D. Greatly appreciate! :)

Link14716 08-14-2002 11:19 PM

Quote:

Originally posted by JohnWarwick


lol, you read the entire thread? You must be mad!

Yep, every post. No, not mad, just have a lot of time on my hands ;)

John 08-14-2002 11:20 PM

Quote:

Originally posted by VietSoil
This hack is great! Many thanks, John :)

Anyways, I found 1 big bug!. When I finish the game (I beat level 10, my score is 95,324), the game is OVER, and it doesn't go to the tetris.php?action=reg to put my score and comment in. It's just over! But if you fail to beat level 10, you will be led to the score page to enter your score and comment.

I'm just starting to do the PHP and MySQL so I don't have much experience about these. If you (or anyone else) can fix this bug, please do! :) :D. Greatly appreciate! :)

Fixing it now :glasses:

hypedave 08-14-2002 11:26 PM

ask and it shall be given unto you
good measures, press down and shaking together im running to upgrade to this now :)

Ian 08-14-2002 11:39 PM

I must say this is one great hack and my users are loving it. There's just one thing, what would I need to do to make it not display "Unknown Location" in the Who's Online page? :banana:

dprice 08-14-2002 11:42 PM

Just re-downloaded and re-upped Tetris.php

Game plays fine, accessed the URL directly and still come up with:

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, or it may be awaiting activation.
Logged in user: dprice [logout]

URL I am using is: ...forums/tetris.php?actions=leaderboard

John 08-14-2002 11:46 PM

Quote:

Originally posted by Ian
I must say this is one great hack and my users are loving it. There's just one thing, what would I need to do to make it not display "Unknown Location" in the Who's Online page? :banana:
As Erwin said regarding one of his hacks:

The easiest thing to do is install Firefly's Who's Online Hack, which will let you use your Admin CP to set any php file as a Who's Online location - once you've installed that, just place "tetris.php" into the file section, and place the comment "Playing Tetris".

John 08-14-2002 11:48 PM

Quote:

Originally posted by dprice
Just re-downloaded and re-upped Tetris.php

Game plays fine, accessed the URL directly and still come up with:

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, or it may be awaiting activation.
Logged in user: dprice [logout]

URL I am using is: ...forums/tetris.php?actions=leaderboard

Which version of vB are you using?

Link14716 08-14-2002 11:49 PM

Quote:

Originally posted by dprice
Just re-downloaded and re-upped Tetris.php

Game plays fine, accessed the URL directly and still come up with:

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, or it may be awaiting activation.
Logged in user: dprice [logout]

URL I am using is: ...forums/tetris.php?actions=leaderboard

Use this: forums/tetris.php?action=leaderboard

:banana:

John 08-14-2002 11:50 PM

<a href="http://209.151.86.249/forums/tetris.php?action=leaderboard" target="_blank">http://209.151.86.249/forums/tetris....on=leaderboard</a> doesn't work either though...

dprice 08-14-2002 11:51 PM

Tried that one, too. Getting a blank page....

Dagommit! :(

John 08-14-2002 11:52 PM

Which vB version are you running? Could be important...

dprice 08-15-2002 12:00 AM

running 2.2.6..latest version

John 08-15-2002 12:02 AM

And another thing - when you name a forum as a link, it doesn't convert the session variable into the actual session hash...

dprice 08-15-2002 12:03 AM

I played the game and was elibible to post a comment in the Leaderboard, once I did this and hit SUBMIT, it went to the blank page.

??

John 08-15-2002 12:06 AM

yeah, there's something in the leaderboard action that your board doesn't like... I'm looking into it

michealo 08-15-2002 12:12 AM

so is this confirmed to stop at level 10 like mentioned earlier? (shamefully enough, i cant get that far, YET)

John 08-15-2002 12:14 AM

It's on the list (increasing level number) - the thing that makes it difficult is that all of the code is written in italian, so I don't know what any of it means!

michealo 08-15-2002 12:16 AM

sounds good, gonna be a few weeks anyways before i get to see that level anyways

:)

John 08-15-2002 12:16 AM

lol, same here :D


All times are GMT. The time now is 12:40 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.01725 seconds
  • Memory Usage 1,816KB
  • 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
  • (11)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