View Full Version : vB Tetris v2.5 | Leaderboard, Comments and High Score System v2.5 :)
hack removed, someone please delete this thread.
Apparently the 6 days solid I spend supporting this wasn't good enough (not to mention the 65 page total).
Thanks
The loading screen for the new Tetris .swf file.
Notice the way it puts the name of your vB board in there :)
After the game had loaded, and before you press start. Take note of the username and high score elements on the screen.
DarkDraco07
08-14-2002, 05:40 PM
yay
If your scores makes it onto the leaderboard, you can add a comment to your high score.
After adding your comment!
The leaderboard, as seen by all members.
Quick link - I'm sure people are going to want to customise this, I've included link instructions in the install.txt file.
And don't forget - all of these screenshots were taken on a fresh install of a board - so it looks hideous!
Let me know if it works, won't you :s
Edit - In those screenshots, the list only had two records in - obviously, when you have at least 10 high scores in the database it'll show the top 10. :)
Schorsch
08-14-2002, 05:46 PM
first - Thank You VERY much John, great work !!! :banana:
second - is there a chance that u can integrate the feature of Erwin's "vB Flash Player - Play Any Flash Game or Movie in vB (including Tetris!)" - Hack, so that it's simply possible to change the proper flash game ?
that would be super-duper :knockedout: :banana:
regards,
Schorsch
Originally posted by Schorsch
first - Thank You VERY much John, great work !!! :banana:
second - is there a chance that u can integrate the feature of Erwin's "vB Flash Player - Play Any Flash Game or Movie in vB (including Tetris!)" - Hack, so that it's simply possible to change the proper flash game ?
that would be super-duper :knockedout: :banana:
regards,
Schorsch
Thanks :) Let me know if it works! It's the thing I've been dreading - I post the hack, and then get 50 posts after it containing the words "it", "doesn't", and "work" :|
I'll have a look at Erwin's code for the flash player :)
Schorsch
08-14-2002, 05:55 PM
Originally posted by JohnWarwick
Thanks :) Let me know if it works! It's the thing I've been dreading - I post the hack, and then get 50 posts after it containing the words "it", "doesn't", and "work" :|
I'll have a look at Erwin's code for the flash player :)
thanks!
unfortunately I'm still at work (can't install, because of shi*t firewall, so I don't have FTP access :( ), so I'll tell u if it's working in 4 hours
kenny@ecn
08-14-2002, 06:01 PM
Alright, this is installed, and it doesnt work :(.
1. My forum name is ExoticCarForums.com so when the loading screen comes up, it is only big enough for ExoticCarFor
2. The leader board doesn't work. It said I was the second on the board, but when I go there, there are no names whatsoever.
I don't know what to do lol. What do you think this is?
mine is stuck on the blue screen - Loading
kenny@ecn
08-14-2002, 06:13 PM
Yeah, with the new swf (the one custom made for me because of my long name)- it is stuck on a white screen... It just doesnt load up the tetris.
kenny - your flash file loads up perfectly from here... I'm going to have to look into this...
Funkie
08-14-2002, 06:17 PM
All loads fine,and plays fine top job fella:)Thanx for all your hard work...
Only problem iam gettin is this 1 below:(:(
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/*****/public_html/forums/admin/db_mysql.php on line 154
kenny@ecn
08-14-2002, 06:20 PM
I get this :
____________________________
Warning: Supplied argument is not a valid MySQL result resource in /home/virtual/site57/fst/var/www/html/admin/db_mysql.php on line 154
____________________________
On the top of my page of
"http://www.exoticcarforums.com//tetris.php?action=reg"
Well, at least we're getting a common problem - researching this now
kenny@ecn
08-14-2002, 06:21 PM
Originally posted by JohnWarwick
kenny - your flash file loads up perfectly from here... I'm going to have to look into this...
Yep, now the Flash works... However, the leader board doesnt.
i get no errors just the loading screen and it tries to load something as the blue bar in IE is going up slow yet never gets to top
kenny@ecn
08-14-2002, 06:21 PM
Also, can we get the .FLA file you used for this?
Yeah, just let me cure the huge problems first!
Funkie
08-14-2002, 06:24 PM
Also gettin a blank new gif.
Looks like its addin the http addy twice to me
Originally posted by Funkie
Also gettin a blank new gif.
Looks like its addin the http addy twice to me
Does your leaderboard work okay tho? Just getting an error?
kenny@ecn
08-14-2002, 06:25 PM
Just a request after those problems are fixed. Could the leaders board be on the actual page with the .SWF file? If not, can there at least be a link to it from that page?
Funkie
08-14-2002, 06:27 PM
yup working fine ,apart from the db error....
I've updated the zip file - should get rid of the error :) (replace tetris.php)
Matt87
08-14-2002, 06:30 PM
Still messed up... and i get this:
You do not have permission to access this page
Matt87
08-14-2002, 06:31 PM
Also the Username: in the tetris swf file doesn't work...
Originally posted by Matt87
Still messed up... and i get this:
You do not have permission to access this page
I've just signed up under your forums and it works perfectly for me - although you might want to change the text colours!
:)
Originally posted by Matt87
Also the Username: in the tetris swf file doesn't work...
These are your forums right?
Matt87
08-14-2002, 06:36 PM
hmm...
Its wierd... It says I don't have Flash but I do. I press NO to download it, but the program works... but theres bugs.
Matt87
08-14-2002, 06:37 PM
BTW: Try the orange theme :)
Funkie
08-14-2002, 06:37 PM
Iam still gettin the same db error:(:(might be the server slow to update the files maybe.will give it a few hours to sort itself like:)
Again topjob fella:)
Ask some mates to tell it out, see if they get the same problem...
tractor-beam
08-14-2002, 06:39 PM
Works great for me! Thanks John!!
i downloaded new zip file from first post but its still stuck on Loading
Originally posted by Mr_P
i downloaded new zip file from first post but its still stuck on Loading
The weird thing is that a flash file is just a flash file - I don't see how there can be any problems with it! :'(
I'm looking intp all of the problems, I'm going to try and have them all sorted by tonight..
kenny@ecn
08-14-2002, 06:42 PM
Warning: Supplied argument is not a valid MySQL result resource in /home/virtual/site57/fst/var/www/html/admin/db_mysql.php on line 154
I get that when I get to the leaders board even after replacing the tetris.php and I don't see the leaders at all..
Do you get the same thing on my board?
Originally posted by kenny@ecn
Warning: Supplied argument is not a valid MySQL result resource in /home/virtual/site57/fst/var/www/html/admin/db_mysql.php on line 154
I get that when I get to the leaders board even after replacing the tetris.php and I don't see the leaders at all..
In a way that's good news, I think I've pinpointed the problem :)
kenny@ecn
08-14-2002, 06:44 PM
Originally posted by JohnWarwick
In a way that's good news, I think I've pinpointed the problem :)
lol, weird!
Can you also through a link on that page that has the SWF file to the leadership board.
Yep, I'll put it on the todo list after everything else :)
weirdest thing is i can load the swf file in IE on its own but not though this hack and i get no errors at all
The page boots up but just says loading.
And im afraid is as far as i have got.
Mr_P - are you doing this locally or remotely?
Funkie
08-14-2002, 06:50 PM
Thats the properties to the box with the red cross init,hehehe
http://www.Bla Bla.com/forums/http://Bla Bla.com/.com/forums/images/new.gif
ok if its working for everyone else m8 dont waste time trying to solve my prob dont want to hold u up from the store integration bit do i
LOL
Nice hack anyway
Originally posted by Mr_P
ok if its working for everyone else m8 dont waste time trying to solve my prob dont want to hold u up from the store integration bit do i
LOL
Nice hack anyway
I'm working on fixing it now :D
Funkie
08-14-2002, 07:02 PM
Wicked hack bud......my members are playin like mad now...heheheh
scottct1
08-14-2002, 07:02 PM
I uploaded the php file and I get this..
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/dbstalk/public_html/admin/db_mysql.php on line 154
scott - thanks, you've confirmed what I thought. I'm working on a fix for this as we speak :)
xxskullxx
08-14-2002, 07:22 PM
Great hack, even though I'm getting the same error as everyone else.
I think I'm gonna wait for the store integrated one on my live site...
michealo
08-14-2002, 07:25 PM
im running 2.2.1 and everything works flawlessly
one tine problem (barely worth mentioning)
this random text appears after game over and before entering comment
IT DOES DISSAPEAR after comment is placed and page refreshes, so its a small worry
https://vborg.vbsupport.ru/external/2002/08/5.jpg
thanks JW
great work
kenny@ecn
08-14-2002, 07:26 PM
See, I don't even get the names on the list...
I'll look into that as soon as I've fixed some of the more major problems - are you based in the UK mich? If so, are you with Freeserve?
kenny - I think I've come up with a solution!! Give me a minute, I'm just testing it a bit more, and then I'll reupload and send out an update :)
michealo
08-14-2002, 07:28 PM
no, im in the states
but im not sure who the site admin uses for his host
sorry about that funky image size, i was forced to use mspaint *shudder*
take yer time with my error, like i said, that code dissapears once a comment is entered, and the leader board looks normal
kenny@ecn
08-14-2002, 07:28 PM
Originally posted by JohnWarwick
kenny - I think I've come up with a solution!! Give me a minute, I'm just testing it a bit more, and then I'll reupload and send out an update :)
Great, thanks.
xxskullxx
08-14-2002, 07:30 PM
I get names and every thing, just it says: PHP Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\site\admin\db_mysql.php on line 154 at the bottom of the page where you enter the comments. After you enter a comment and submit, it's fine....
Ok, anyone getting an error, update tetris.php with the one attached:
/me waits for loads of messages starting with "IT WORKS!!"
xxskullxx
08-14-2002, 07:36 PM
"IT WORKS!"
:D
Great hack!
YES!!!
/me does a ritual dance around his house
kenny@ecn
08-14-2002, 07:38 PM
Yay! That seems to have solved that problem. No error notice anymore (that I see).
Next problem. My leadership board is blank.
Originally posted by kenny@ecn
Yay! That seems to have solved that problem. No error notice anymore (that I see).
Next problem. My leadership board is blank.
Can you recheck all of your templates and make sure that all 6 of them were installed correctly?
scottct1
08-14-2002, 07:42 PM
It works yippie!
Everything is working for me. :) (I dont have a link from my main page for the leaderboard so when I say everything works I have not tested the direct link to the leaderboard) :D
kenny@ecn
08-14-2002, 07:43 PM
Alright, looks like I forgot the "tetris_leader_bit" "bit" part when I labeled that template ;) lol...
Well, now that that works, I'm a happy man!
Now, I definetly think you should add a link on the page that has the Tetris to the Leader board...
Woohoo! Thanks so much for your hard work, John! Can't wait to bring this live. :)
Originally posted by kenny@ecn
Yay! That seems to have solved that problem. No error notice anymore (that I see).
Next problem. My leadership board is blank.
Kenny! It works! I can see all of the entries in your leaderboard :)
Originally posted by kenny@ecn
Now, I definetly think you should add a link on the page that has the Tetris to the Leader board...
I'll do it now :)
lol, I bet Erwin is going to have a fit of laughter when he sees this thread tomorrow! 5 pages of disaster!
Glad it works now, sending out an update...
xxskullxx
08-14-2002, 07:49 PM
How many pages do you think you'll hit with the store integrated one?
I have to commend your work, some of the best support for a hack I have seen yet.
Keep it up! :banana:
Originally posted by xxskullxx
How many pages do you think you'll hit with the store integrated one?
LMAO! Is there an infinity symbol on this forum?! :banana:
kenny@ecn
08-14-2002, 07:56 PM
Originally posted by JohnWarwick
lol, I bet Erwin is going to have a fit of laughter when he sees this thread tomorrow! 5 pages of disaster!
Glad it works now, sending out an update...
Update?
Yep, just an email to everyone telling them that the major bugs have been fixed :)
kenny@ecn
08-14-2002, 08:01 PM
If I have followed the posts, do I have to go through the update?
Does the update have that link in bellow the SWF file that i requested?
Also, can we have the .FLA version?
Schorsch
08-14-2002, 08:05 PM
cool, I'm the Leader at Kenny's ExoticCarForum :p :banana:
John, what about more then 10 Levels at Tetris ? and what about other flash games implementing in your hack?
cu
Schorsch
Originally posted by kenny@ecn
If I have followed the posts, do I have to go through the update?
Does the update have that link in bellow the SWF file that i requested?
Also, can we have the .FLA version?
Basically, if it works don't bother updating for now. I haven't added any new features.
I'll prepare a .FLA version soon :banana:
DestyNova
08-14-2002, 08:09 PM
One feature I d like to add, it is small one actually. I wonder if can you add current score at getinfo template (profile)?
good job :thumbup: so far I test it and it seem work perfect on my local server.
==install== (local only since I wanna store =D)
Originally posted by Schorsch
cool, I'm the Leader at Kenny's ExoticCarForum :p :banana:
John, what about more then 10 Levels at Tetris ? and what about other flash games implementing in your hack?
cu
Schorsch
Whoa, slow down! :D
I've still got to do the store hack first :banana:
Although this hack is purely for tetris, I'm going to release an arcade hack with many games :)
Erwin
08-14-2002, 08:10 PM
Well done, John! :D
@ Schorsch:
John had to really modify the Flash source code to integrate Flash with PHP - for other Flash games to work like this, he would have to modify every single one of them manually. :)
Originally posted by DestyNova
One feature I d like to add, it is small one actually. I wonder if can you add current score at getinfo template (profile)?
good job :thumbup: so far I test it and it seem work perfect on my local server.
Good idea, I'll add it in the next update.
kenny@ecn
08-14-2002, 08:11 PM
Great job John. Once I get the link under that SWF and the .FLA, paypal.com is getting visited ;).
Originally posted by Erwin
Well done, John! :D
@ Schorsch:
John had to really modify the Flash source code to integrate Flash with PHP - for other Flash games to work like this, he would have to modify every single one of them manually. :)
True, but I don't mind doing it. The problem is finding great games in .FLA format :(
kenny@ecn
08-14-2002, 08:12 PM
Originally posted by Schorsch
cool, I'm the Leader at Kenny's ExoticCarForum :p :banana:
Not for long. Once my serious members (about 100 out of the 600) get on, peak time is usually 8-11 EST- your score is going to get demolished lol
Originally posted by kenny@ecn
Great job John. Once I get the link under that SWF and the .FLA, paypal.com is getting visited ;).
lol! :banana: ok, I'm doing it! :p
kenny@ecn
08-14-2002, 08:14 PM
Originally posted by Schorsch
cool, I'm the Leader at Kenny's ExoticCarForum :p :banana:
Flat-6 just tore you a new a$$ hole! He has over 110k!
lmao! nice to know the members are getting into it! :banana:
Matt87
08-14-2002, 08:20 PM
For some reason, it works for everyone but me on my board...
http://www.cnchq.com/forum
Erwin
08-14-2002, 08:21 PM
To make it so that the link
http://www.your-forums.com/forums/tetris.php
works without using the ?action=play variable...
In tetris.php:
Find:
if (!$action) {
show_nopermission();
}
Replace with:
if (!$action) {
$action="play";
}
Originally posted by Matt87
For some reason, it works for everyone but me on my board...
http://www.cnchq.com/forum
Have you installed the new update? Download the zip in the first post and overwrite tetris.php and tetris.swf
Originally posted by Erwin
To make it so that the link
http://www.your-forums.com/forums/tetris.php
works without using the ?action=play variable...
In tetris.php:
Find:
if (!$action) {
show_nopermission();
}
Replace with:
if (!$action) {
$action="play";
}
Good point, I'll add that into the main file :)
I'm adding other things tho, don't beat me to it! (by the way, is it me or have you only had 2 hours sleep?!)
kenny@ecn
08-14-2002, 08:24 PM
John, it would be cool if there was a stat on the leader board that says how many games were played and such...
Originally posted by kenny@ecn
John, it would be cool if there was a stat on the leader board that says how many games were played and such...
I'm putting together a list of things to add in the next update - so far I have:
? Stats
? High score in profile
? Link to the leaderboard on the flash page
Suggestions for more?
Matt87
08-14-2002, 08:28 PM
Yeah, I have the newest files... Its weird though because It says I don't have flash, but I do... If I click "NO" it'll still load but there is errors, like it doesn't say the username...
kenny@ecn
08-14-2002, 08:29 PM
Originally posted by JohnWarwick
I'm putting together a list of things to add in the next update - so far I have:
? Stats
? High score in profile
? Link to the leaderboard on the flash page
Suggestions for more?
.FLA document and maybe who is currently playing?
Originally posted by Matt87
Yeah, I have the newest files... Its weird though because It says I don't have flash, but I do... If I click "NO" it'll still load but there is errors, like it doesn't say the username...
That's really weird - and that "Install Flash" thing doesn't look right either... Go to Macromedia.com, reinstall the Flash 6 plugin, and restart?
Erwin
08-14-2002, 08:33 PM
Originally posted by JohnWarwick
I'm adding other things tho, don't beat me to it! (by the way, is it me or have you only had 2 hours sleep?!)
3 hours, but who's counting? Time to go to work now...
Originally posted by Erwin
3 hours, but who's counting? Time to go to work now...
Ouch. :banana:
Just curiosity, why do you want a link to the leaderboard on the Flash page?
DestyNova
08-14-2002, 08:37 PM
Originally posted by JohnWarwick
I'm putting together a list of things to add in the next update - so far I have:
? Stats
? High score in profile
? Link to the leaderboard on the flash page
Suggestions for more?
I have one =) If whoever is leading the leaderboard will get "King of Tetris" on postbit template. So if whoever beat that member's score then that title automatically goes to that member who is leading.
Sorry for sloppy grammar, I m not sure if it is clear enuff??
Originally posted by DestyNova
I have one =) If whoever is leading the leaderboard will get "King of Tetris" on postbit template. So if whoever beat that member's score then that title automatically goes to that member who is leading.
Sorry for sloppy grammar, I m not sure if it is clear enuff??
Brilliant!! I'm definitely adding that to the next update!
Just as a quick reminder, if you're got the hack installed please click on "Install" button - the updates ae going to come thick and fast!
kenny@ecn
08-14-2002, 08:40 PM
Originally posted by JohnWarwick
Just curiosity, why do you want a link to the leaderboard on the Flash page?
Because on my site (and probably others)- I am linking to tetris through my header, and its out of place as it is- so if I have a random link to the leaderboard, it will look awkward. Also, guys want to check who is doing the best without having to play!
Schorsch
08-14-2002, 08:41 PM
Originally posted by DestyNova
I have one =) If whoever is leading the leaderboard will get "King of Tetris" on postbit template. So if whoever beat that member's score then that title automatically goes to that member who is leading.
that's a very good suggestion!!! would be really nice :banana:
and what about more than 10 levels ? is that hard to realize ?
cu
Schorsch
DestyNova
08-14-2002, 08:41 PM
oops, hehe me idiot...
thanks for taking these ideas :D
also it will be nice to get more than ten levels but it is up to you anyway
Originally posted by DestyNova
uh hu I found the bug....
when I pause the tetris and I cannot "unpause" or did I miss something?
Works fine for me - might just be a one off...
Try clicking anywhere on the flash and then pressing P - you might not have the browser focussed on the window...
Schorsch
08-14-2002, 08:43 PM
Originally posted by DestyNova
uh hu I found the bug....
when I pause the tetris and I cannot "unpause" or did I miss something?
u first have to click with your mouse on the flash game, then press P again
Originally posted by Schorsch
u first have to click with your mouse on the flash game, then press P again
:banana:
DestyNova
08-14-2002, 08:44 PM
Yes, MSN pop out the email and I cannot "unpause" until I click that windows. Sorry for waste your time =D
kenny@ecn
08-14-2002, 08:45 PM
Originally posted by JohnWarwick
:banana:
Whats with you and the little bannana? lol
I love the banana! :D
No worries DestyNova - it happens to all of us! :banana:
DestyNova
08-14-2002, 08:46 PM
JohnW spend lots on this hack, so it lead him to be...insane...
oops I shoudnt say that!
Schorsch
08-14-2002, 08:46 PM
Originally posted by JohnWarwick
:banana:
https://vborg.vbsupport.ru/external/2002/08/5.gif:banana:https://vborg.vbsupport.ru/external/2002/08/5.gif
No, really - this hack has driven me insane!
Originally posted by Schorsch
http://www.plauder-smilies.com/rough/uzi.gif:banana:http://www.plauder-smilies.com/rough/xyxgun.gif
LMAO! :D
DestyNova
08-14-2002, 08:49 PM
Originally posted by JohnWarwick
No, really - this hack has driven me insane!
LOL! I bet!! =D
DestyNova
08-14-2002, 08:51 PM
oh yeah JohnW, I realize that when I type the comment, I cannot see the text also submit button? can I change the color? if so which template?
thanks
Originally posted by DestyNova
oh yeah JohnW, I realize that when I type the comment, I cannot see the text also submit button? can I change the color? if so which template?
thanks
In the template "tetris_comment" find:
color: #000000;
And change the hex to whatever you want - it happens twice, the first one controls the colour of the text in the comments box, and the second one controls the colour of the "Add Comment" text. :D
DestyNova
08-14-2002, 09:00 PM
Thanks =D
If you want to place a link on the page with tetris on to the leaderboard, replace the "tetris" template with the one attached below.
kenny@ecn
08-14-2002, 09:06 PM
I just used that new tetris and look at it!!!! WHAT DID YOU DO lol...
Yeah, I have to fix that. NO ONE DOWNLOAD THAT!
-=Sniper=-
08-14-2002, 09:08 PM
Another great feature would be if it told you how many people are playing the game! for the Store Hack Version!
kenny@ecn
08-14-2002, 09:10 PM
No good, doesnt work.. ...
kenny@ecn
08-14-2002, 09:12 PM
This is what it looks like with that last tetris.php
Yeah, I saw it over here - but I applied the very same template to my online forum and it works perfectly. In fact, that only change I've made is the inclusion of a link at the bottom, nothing else is changed :S
kenny@ecn
08-14-2002, 09:16 PM
Originally posted by JohnWarwick
Yeah, I saw it over here - bu I applied the very same template to my online forum and it works perfectly. In fact, that only change I've made is the inclusion of a link at the bottom, nothing else is changed :S
What might it be then?
Not sure - templates don't seem to like you for some reason!
Can anyone else apply that template properly? Else I'll pull it....
DestyNova
08-14-2002, 09:18 PM
I test that new tetris template, it s work and normal for me with link to leaderboard under the tetris game. It look normal for me.
michealo
08-14-2002, 09:19 PM
that new tetris template works fine for me
again, im running 2.2.1 if that makes any difference
kenny@ecn
08-14-2002, 09:20 PM
I don't see why it doesn't work fo rme.. It's just that link that is modified... Right?
Originally posted by michealo
that new tetris template works fine for me
again, im running 2.2.1 if that makes any difference
Yeah, I think this should work on any 2.x.x version (providing the variables haven't changed...)
Originally posted by kenny@ecn
I don't see why it doesn't work fo rme.. It's just that link that is modified... Right?
Yeah, nothing else. Are you sure you applied it correctly?
DestyNova
08-14-2002, 09:22 PM
Originally posted by kenny@ecn
I don't see why it doesn't work fo rme.. It's just that link that is modified... Right?
Yes it s only change in that template, link under Tetris game
kenny@ecn
08-14-2002, 09:22 PM
How could I not apply it correctly. I save it to my computer as a .php file, then upload it. no?
Originally posted by kenny@ecn
How could I not apply it correctly. I save it to my computer as a .php file, then upload it. no?
No!!!
Go into the admin control panel, go to templates and modify it there! <panic>
kenny@ecn
08-14-2002, 09:27 PM
Originally posted by JohnWarwick
No!!!
Go into the admin control panel, go to templates and modify it there! <panic>
lol, I have been working on the computer all day, my brain has gone to mush. Works now lol...
Next things: Whose playing, how many games have been played, .FLA version...
Originally posted by kenny@ecn
Next things: Whose playing, how many games have been played, .FLA version...
Check the first post :) (Updated zip)
Funkie
08-14-2002, 09:34 PM
Working fine fella:)
thanx again for all your hard work:)
I still got a error on the new.gif:(:(
Took a snap shot for ya,and the link to the new.gif icon is well wrong its addin the url twice,,,,,,
Any help would be good
Many thanx
DestyNova
08-14-2002, 09:37 PM
Funkie, you should put the gif in images folder, you can right click to click properties to tell you where you should put the gif in.
Also did you update new verison or ? I check your first post, no .fla or any different or am I wrong?
What's the URL of that pic? (Right click on it > Properties)
Originally posted by DestyNova
Also did you update new verison or ? I check your first post, no .fla or any different or am I wrong?
Updated - check zip for proof!
The Flash file is in the addons folder.
Funkie
08-14-2002, 09:40 PM
ht t p://www.xxx.com/forums/http://xxxcom/forums/images/new.gif[/url]
Thats what iam gettin
michealo
08-14-2002, 09:40 PM
yeah funkie, right click the red 'x' to see where it should be and upload it there
easiest way to fix
DestyNova
08-14-2002, 09:42 PM
LOL I did!
Check the attachment.. wanna a bet? =D
Originally posted by Funkie
ht t p://www.xxx.com/forums/http://xxxcom/forums/images/new.gif[/url]
Thats what iam gettin
The image path for your forums is wrong. You need to edit your default style's image path to just the folder where the images are in, not the entire URL.
Funkie
08-14-2002, 09:45 PM
all my images work on all other parts of the board....why would i wanna change that
DestyNova
08-14-2002, 09:45 PM
Originally posted by Funkie
ht t p://www.xxx.com/forums/http://xxxcom/forums/images/new.gif[/url]
Thats what iam gettin
did you add the url to template or ??
really all you do is add these new templates then upload the gif to images folder.. that s it
It's because vB automatically compensates for the fact that some people are going to accidentally put in the full image path, instead of just the last part.
Funkie
08-14-2002, 09:48 PM
nope all i did was to add the templates,,,,,i changed nout............
what template will i find it in.
kenny@ecn
08-14-2002, 09:48 PM
Yeah, I didn't find that .fla in the .zip file! I downloaded it twice, and still can't find it.
DestyNova
08-14-2002, 09:49 PM
:banana: :banana:
Funkie - upload the attached tetris.php file to your root directory
kenny@ecn
08-14-2002, 09:51 PM
John, I think I should be in the credit in the install.txt lol- I have posted probably more then 50 times in this topic.
Originally posted by kenny@ecn
Yeah, I didn't find that .fla in the .zip file! I downloaded it twice, and still can't find it.
Let me check :banana:
Originally posted by kenny@ecn
John, I think I should be in the credit in the install.txt lol- I have posted probably more then 50 times in this topic.
So have I, but I'm not thanking myself in the credits! <feeble excuse>
Yeah, I left out the FLA file - whoops :(
Updated (again!)
DestyNova
08-14-2002, 09:55 PM
Originally posted by JohnWarwick
Yeah, I left out the FLA file - whoops :(
Updated (again!)
:D :banana:
kenny@ecn
08-14-2002, 09:56 PM
Originally posted by JohnWarwick
So have I, but I'm not thanking myself in the credits! <feeble excuse>
lol, I am just screwing with you... Thanks!
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
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:)
Find
<img src=\"$bburl/{ imagesfolder}/new.gif\">
and delete it
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)
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"
Do you have the latest version? 2.1, updated zip in first post
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
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
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:
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
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 ;)
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 :)
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
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".
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
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:
<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! :(
Which vB version are you running? Could be important...
dprice
08-15-2002, 12:00 AM
running 2.2.6..latest version
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.
??
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)
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
:)
Link14716
08-15-2002, 12:27 AM
Any news on when you wil release Store integration with it? *hint hint*
:banana: :D
Depends on how many people want it I suppose.... current total = 2 :(
Link14716
08-15-2002, 12:37 AM
I doubt that there are only 2. Most people are waiting in the dark not saying anything.
xxskullxx
08-15-2002, 12:39 AM
Originally posted by Link14716
I doubt that there are only 2. Most people are waiting in the dark not saying anything.
Yeah, what he said... :)
Weren't there a few people asking for it in the other thread (flash player)?
dprice
08-15-2002, 12:47 AM
Is there another way to link to the Leaderboard?
Link14716
08-15-2002, 12:51 AM
yea, templates. ;)
Link14716
08-15-2002, 01:03 AM
I have a suggestion for a game for you to do. Good 'ol fashoined PONG! I a good at that! ;)
BTW, I have installed it, so.....
* Link14716 clicks install
Find it in FLA form, and I'll add it with a leaderboard system :banana:
michealo
08-15-2002, 01:07 AM
yeah, pong would be awesome (especially two player)
DestyNova
08-15-2002, 01:36 AM
Originally posted by Link14716
I doubt that there are only 2. Most people are waiting in the dark not saying anything.
I agree! Hey JohnW I want a store addon too! =P
vdinh
08-15-2002, 01:37 AM
John, I am very interested in the Store Hack version. :)
DestyNova
08-15-2002, 01:40 AM
Originally posted by JohnWarwick
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!
try babelfish translate? or post at here then use vb translator to translate it out lol!
NexDog
08-15-2002, 02:23 AM
Holy Sh!t, goes to install immediately!!!!
Originally posted by NexDog
Holy Sh!t, goes to install immediately!!!!
Let me know if it works :)
morrow
08-15-2002, 02:39 AM
Ok, so far so good. However, no matter how many times I hit the "Goto the LeaderBoard" link on the bottom of the game, it just reloads the game, again and again and again.
Check it out.
http://www.njflyfishing.com/vbulletin/tetris.php
VietSoil
08-15-2002, 02:48 AM
IMHO, good translator web site is www.systransoft.com. You can even use this translator to chat with French/Italian/German/etc... chicks! :D :glasses:
My tetris works very fine by the way, only no score entering after you beat level 10 and game is over.
I will attempt to look into the codes to see what's there :cheeky:
Schorsch
08-15-2002, 02:54 AM
installed now, works great!!!!! :banana:
and now we need just more than 10 levels and the hack is perfect :D
cu
Schorsch
[t4e]Kicks
08-15-2002, 02:55 AM
Kicks]I just want to say...
Thanks ;)
I had a tetris hack before that worked with vbportal but everyone wanted it to save high scores and such. Awesome job
Tomorrow I'll fix the 10 level problem :)
morrow
08-15-2002, 02:58 AM
I guess it's going to be a bit tough to see what my problem is being that you have to be a registered user. :) Ohh well! It's still a nice hack.
Originally posted by morrow
Ok, so far so good. However, no matter how many times I hit the "Goto the LeaderBoard" link on the bottom of the game, it just reloads the game, again and again and again.
Check it out.
http://www.njflyfishing.com/vbulletin/tetris.php
Checking it out now...
It's weird - I'd say the reason it's doing that is definitely an installation problem. Reinstall all of the templates, and overwrite tetris.php and tetris.swf - and let me know if anything's changed
DestyNova
08-15-2002, 03:02 AM
JohnW
A big fat congs goes to you, it is amazing hack! :thumbup:
Originally posted by morrow
I guess it's going to be a bit tough to see what my problem is being that you have to be a registered user. :) Ohh well! It's still a nice hack.
Registered :banana:
You did install it from the latest zip file didn't you? (Version 2.1)
Originally posted by DestyNova
JohnW
A big fat congs goes to you, it is amazing hack! :thumbup:
Thanks :) :banana:
Anyway, I'm going to bed now - no doubt I'll wake up in the morning and there'll be 50 posts to go through! :p
P.S. Morrow - just tested it, seems to be working over your end now :)
morrow
08-15-2002, 03:08 AM
very interesting. I replaced the templates then uploaded the files again, and bingo! I'm not sure which one or if both steps actually fixed the problem. That was strange?
- Thanks for your help, Nice hack!
Super!!! Works great!
Thanks to both JohnWarwick and Erwin for this great Hack. ;)
DanIAm
08-15-2002, 05:46 AM
Where can I learn how to run a SQL query? I do not know how to do this, nor what program (hopefully free) I need to use. Please help...
Thanks in advance,
Dan
Tok Muda
08-15-2002, 06:02 AM
works great!!!! .. thanks John :D
worked, and was a snap!
thx man, my users love it.
Roxie
08-15-2002, 07:05 AM
10 minute install on 2.2.5 Works great
Originally posted by Tok Muda
works great!!!! .. thanks John :D
Install something like:
https://vborg.vbsupport.ru/showthread.php?s=&threadid=26272&highlight=SQL
Originally posted by morrow
very interesting. I replaced the templates then uploaded the files again, and bingo! I'm not sure which one or if both steps actually fixed the problem. That was strange?
- Thanks for your help, Nice hack!
Because the code for this is now more or less perfect, if anyone has problems it's more likely to be an installation problem... Still, glad it works!
NexDog
08-15-2002, 10:28 AM
John, just installed it. Everything seemed to go fine. I have the links under the Member of the Day hack. The link to play Tetris is going somewhere but not to the game. Please take a look, forum URL in my sig.
I weould strongly suggest redownloading the zip file, and overwriting tetris.php and tetris.swf - also delete all 6 tetris templates and reinsert them.
Weird things like that look like they come from an incorrect installation...
NexDog
08-15-2002, 10:41 AM
Will do. :(
NexDog - it seems to be that you've got your "tetris_comment" code in the "tetris" template...
thx for this, I enjoy it, anyone ever wanna play, look at my sig :)
NexDog
08-15-2002, 11:09 AM
Indeed. :)
Saw that, rectified it, it is being played now. Thanks so much for this hack. Couple of things.
How to change the default high score?
In tetris.php, how can I make the link Yellow as "here" can't be seen.
$thefooter = "<normalfont color=\"{tableheadtextcolor}\"><center>Want to play Tetris? Click <a href=\"$bburl/tetris.php?action=play&s=$session[sessionhash]\"><b>here</b></a>!</center></normalfont>";
I tried but screwed it up....
Also, on http://www.hostnexus.com/forum/tetris.php?action=leaderboard notice how the vB icon and forum title are a litle out of whack. How to nudge that in a bit? Sorry to be anal, the hack is bloody amazing. :)
Hi NexDog,
I'll sort that out in a minute - just releasing a new hack ;)
NexDog
08-15-2002, 11:13 AM
Think I got it though, brb.
NexDog
08-15-2002, 11:19 AM
Damn, bloody parse errors...Guess I'll wait for you, John. ;)
Glad to see it's working now NexDog :banana:
If you want to get rid of that high score, run this query:
DELETE FROM arcade WHERE scoreid=1;
Kars10
08-15-2002, 11:53 AM
John this is great!!
Thanx, installation was a snap!!
My Users are in a Tetris-Battle the hole day... ;)
NexDog
08-15-2002, 11:54 AM
Still need that footer link on the leaderboard yellow or something because it's invisible now....
NexDog - do you do hosting?
I'm in need of some new decent hosts :(
NexDog
08-15-2002, 12:01 PM
Yea, just went through the db manually and plucked a few things out. :)
NexDog
08-15-2002, 12:03 PM
John, indeed. I'm the main driving force behind HN but I can't take all the credit. Things are going very well though.
Kars10
08-15-2002, 12:18 PM
One Thing, the Tetris King Addon works not for me.
I istalled the 2.1 Version of your hack, and placed the code in functions.php, and then in showthread and get a fat parse error....the mistake is in the showthread i believe...:confused:
Originally posted by Minifreunde
One Thing, the Tetris King Addon works not for me.
I istalled the 2.1 Version of your hack, and placed the code in functions.php, and then in showthread and get a fat parse error....the mistake is in the showthread i believe...:confused:
Which version of vB are you running?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.