![]() |
vB Tetris v2.1 Addon - The Tetris King!
This hack
What's this? Another tetris related hack?! I'm afraid so! This hack will place a picture of a crown next to the username of the member with the highest score (in every one of their posts). When you pass the cursor over the crown, it says "King of Tetris!" Compatibility issues If you have my vB Tetris 2.1 hack installed, this hack will work for you. Testing and installation version This hack has been tested on a fresh install of vB 2.2.6 both locally and remotely. Should work on 2.x.x versions. And finally... Thanks to... ? DestyNova - for coming up with the idea! ? Chen - for pointing me in the right direction :D |
Screenshot:
|
great idea
gonna install it later, thanks |
Works great on my test board! :) Good work!
[high]* xxskullxx still waiting patiently ;)[/high] |
If this is all tetris related .. why not post in the tetris main thread? ..
|
You're right, although this is a hack, I suppose it should be with the tetris thread.
In the future I'll post it all under one thread :( :banana: |
This isn't working on my board. :(
|
Quote:
|
I think this does belong on a different thread as its a different hack..
anyway, I get the following error: Fatal error: Call to a member function on a non-object in ../forums/showthread.php on line 7 I'm using version 2.2.5... any ideas? I added a "require(./global.php);" before, but that just leaves the page blank.. |
Quote:
|
Yep, did that and it works. Clicks install for the 4th time today. :)
|
:banana:
|
LOL! thanks JohnW :thumbup: I m going definetly use it! :banana:
|
JW, with this step
Code:
In showthread.php Quote:
|
@ Michealo, the same error i get!!
John is watching my showthread.php...hope it works!! :confused: |
i think that saying this hack needs to go under the tetris thread would be like saying every store related add on for lesane's store needs to go in that thread.
Thanks for the great hack , and this , the great ADD ON !! :thumbsup: |
michealo and Minifreunde -
Change ######################### $leaderboard = $DB_site->query_first ######################### to ######################### $leaderboard = $DB_site->query ######################### And tell me if it works |
no good im afraid
Quote:
|
I did that and still didn't work. I think the problem is that it doesn't know what $DB_Site is, not the query itself.
I am using 2.2.5. Is there an "include" command somewhere on your showthread.php before this query? here is my first few lines of my showthread.php: PHP Code:
|
You need to global the function: "$DB_site".
|
You heard the man - do it!
|
Or use a normal query:
PHP Code:
|
well...if I do that (like I mentioned a bunch of posts ago), I get
a blank page... I do an include("global.php"); is that what you meant? :confused: |
Quote:
:( |
I did what you suggested, and I get:
unable to complete query. can you just post the first few lines of your showthreads.php. Was this file changed between vb2.2.5 and vb2.2.6? Just wondering.. |
Quote:
|
John, why do you place that query in showthread.php? U could also put it by the rest. If you put it by the rest then $DB_site is already globalised.
admin/functions.php: find: PHP Code:
PHP Code:
|
Lesane, I didnt try JohnW's instruction yet but I try your suggestion and I got this error:
PHP Code:
|
I edit the showthread and error is same (function error)
|
Sorry for post three times but I try JohnW and it works ??
|
i tried both methods (JW and lesane's above code) and get the same error
|
Quote:
|
I test both versions. The Code frome Lesane built the same error in showthread!! :confused:
|
To be honest with you, I'm losing the plot of this thread. I don't know who this works for and who it doesn't work for.
So far, most people with problems are on vB 2.2.5 - if you are having problems with this hack, you can find me on MSN under the username of "John@eovie.com" |
Wll dont lose plot m8 it works fine on 2.2.6 and im a novice by all standards and i pulled it off eventually.
All in all top thanks to all involved. |
I meet you in Msn! :)
|
Um John.evoie, are you JohnW?
|
Quote:
|
hi,
installed after john's installation guide, seems to work fine :banana: thanks john !! @you guys with the error message, when exactly does this error appear ? |
hmm crown does not show. *starts looking at code again ..*
|
All times are GMT. The time now is 10:20 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|