View Full Version : v3arcade Leader Board v1.6.0
Oblivion Knight
10-21-2005, 10:00 PM
This modification displays the top X players of your arcade.
v1.6.0 is an upgraded version of v1.5, which was previously a beta. This brings a couple of new options to the mix in preparation for v2.0 (hopefully a 100% plugin without code modification). If you wish to convert more than the top 3 ranks in to images, you will have to design these yourself and upload them as kingx.gif (replace x with the rank number).
If you attempt to edit the arcade_king_bit template, vBulletin will report a malformed statement. Ignore this, it works fine.. :p
Compatability: 1.0.0 - 1.0.2.1
Screenshots attached.. :)
auz1111
10-22-2005, 08:43 PM
appreciate it! it would be nice to put the champ on the forum home with a small trophy :)
Snakey
10-22-2005, 08:53 PM
It's almost public... lol :p
Oblivion Knight
10-22-2005, 09:03 PM
appreciate it! it would be nice to put the champ on the forum home with a small trophy :)I'll consider it a possibility for v2.0.. :)
glorify
10-24-2005, 06:39 PM
I have it installed and played with the link from the arcade home a tad. My html isn't great but this worked fine.
Instead of editing the arcade_main as per your instructions, I edited it this way:
Find:
<div class="smallfont" style="padding: 4px">$vbphrase[searchresultsappearbelow]</div>
</div>
</td>
</tr>
</tbody>
Add Under:
<thead>
<tr align="center">
<td class="thead"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('leaderboard')"><img id="collapseimg_leaderboard" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_leaderboard].gif" alt="" border="0" /></a>Arcade Kings</td>
</tr>
</thead>
<tbody id="collapseobj_leaderboard" style="$vbcollapse[collapseobj_leaderboard]">
<tr align="left">
<td class="alt1" valign="top" style="padding: 4px">
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<div class="smallfont">Are you the King? Check out our <a href="$vboptions[bburl]/arcade.php?$session[sessionurl]do=lboard"><strong>$vbphrase[leader_board]</strong></a> to view the top 10 players!</div>
</table>
</td>
</tr>
</tbody>
If you see anything that needs to be cleaned up, lemme know. Attached is the result:
Oblivion Knight
10-24-2005, 06:57 PM
I no longer have that side menu on my Arcade, so I just placed it there rather than saying to people "place this link wherever you want". I figured at least I'm providing some kind of default position.. :)
Cheers for your suggestion though, I'm sure it will be useful to others.
glorify
10-24-2005, 07:01 PM
np, and thanks for all your work :)
iceytdot
10-27-2005, 04:04 AM
umm anyone else get banned off v3arcade after registering, i've never used my email there as this is my first vBulletin & i have never been there???????? but i want the arcade.....
& when i click to email the admin it brings me to a non existant page.... where can i get the arcade for 3,5 so i can install this mans leaderboard hack lol
Oblivion Knight
10-27-2005, 04:15 AM
v3arcade for 3.5.0 is currently in a private beta phase, with a public beta due out shortly.. For more information, please visit http://www.v3arcade.com:)
As for being banned, I'll check it out..
GrendelKhan{TSU
10-27-2005, 08:02 AM
grrrr.... you are such a tease. more sizzle...but no steak!
;) lol
<< patiently awaits the official full release. :)
GuaRRand
10-27-2005, 08:24 AM
Waiting for V3arcade anxiously also!!
The Chief
10-27-2005, 02:00 PM
Waiting for V3arcade anxiously also!!
Yup, this will be a great add-on when v3arcade is released...
GuaRRand
10-27-2005, 03:33 PM
costs dineros right?
Oblivion Knight
10-27-2005, 04:38 PM
costs dineros right?No, v3arcade is and always will be FREE.. :)
However, purchasing the branding free license grants access to private beta releases of v3arcade and any addons that people wish to share as a beta..
wcbryant
11-27-2005, 10:01 PM
Does anyone have this working with 1.0.0 of the arcade? The arcade.php edits result in a blank page for me.
The Chief
11-27-2005, 10:39 PM
does this work with the new arcade??
The Chief
11-29-2005, 11:41 AM
Well to reply to this, Oblivian has just released the hack for the new arcade and it is fully upgraded to work with it.
I tested it myself :)
Sorry oblivian but wanted to let the world know ;)
http://www.v3arcade.com/forums/showthread.php?p=5027#post5027
Snake
11-29-2005, 12:45 PM
Will this work on vB Arcade v1.0.0?
lairnoc
11-29-2005, 01:00 PM
yes it does i have it running as well :) very nice
can't wait for the new relaese of this hack. will be even better... thnx in advance
Snake
11-29-2005, 01:22 PM
Oh goody.
Oblivion Knight
11-29-2005, 05:42 PM
Updated to v1.6.0.. No longer a beta. :)
Make sure to update your arcade.php file edits.! ;)
Vizionz
11-29-2005, 09:31 PM
In arcade.php find:
'arcade_scorebit_high'
)
Replace it with:
'arcade_scorebit_high'
),
'lboard' => array(
'arcade_king_bit',
'arcade_kings'
),
this is what i have in mine and if i follow the instructions i will get a parse error
'arcade_scorebit_high',
'arcade_ajaxsearch',
'arcade_recommendation',
'arcade_commentform'
Oblivion Knight
11-29-2005, 10:02 PM
There are 2 instances of 'arcade_scorebit_high' - which is why I said to look the the closing bracket below that line also.! ;) You need to change the second instance of this..
Vizionz
11-29-2005, 10:55 PM
okay thats why sorry
glorify
11-30-2005, 01:59 AM
Getting an error with it in conjuntion w/1.01:
Invalid SQL:
SELECT COUNT(games.highscorerid) AS count, user.username, user.userid FROM arcade_games AS games
LEFT JOIN user AS user ON user.userid = games.highscorerid
WHERE user.userid IS NOT NULL
GROUP BY user.username, user.userid ORDER BY count DESC, user.userid ASC LIMIT;
MySQL Error : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 4
Error Number : 1064
glorify
11-30-2005, 02:03 AM
Cancel that---didn't import 1.06 over 1.05 after the template edits.
Oblivion Knight
11-30-2005, 06:27 AM
Cancel that---didn't import 1.06 over 1.05 after the template edits.Yeah, it was missing the LIMIT option, added to the admincp.
Glad you got it working.. :)
Gizmo5h1t3
11-30-2005, 05:17 PM
installed, works a treat......
except for one thing
when u click "VIEW STATS"....nothing happens....nada..zilch....zero...lol
any help??
Reformed
11-30-2005, 05:20 PM
Did the edits, installed the plugin etc. when i go to arcade.php
i get:
Parse error: parse error, unexpected ',' in /home2/happyhos/public_html/vb/arcade.php on line 80
Line 80 is
'arcade_recommendation',
Gizmo5h1t3
11-30-2005, 05:30 PM
try removing the comma at the end, and re upload it...???
paulmjno
11-30-2005, 05:40 PM
Good hack, however it is showing multiple users for places -- 4 people in 4th place, and 3 in 8th...
Oblivion Knight
11-30-2005, 05:51 PM
Good hack, however it is showing multiple users for places -- 4 people in 4th place, and 3 in 8th...That's the intended behaviour for when they each have the same amount of titles.. ;)
paulmjno
11-30-2005, 05:53 PM
That's the intended behaviour for when they each have the same amount of titles.. ;)
Ah yes, I understand. However, no 3rd place is being shown. It goes from 1st and 2nd ranks, to 5th and onwards.
paulmjno
11-30-2005, 06:59 PM
Ah yes, I understand. However, no 3rd place is being shown. It goes from 1st and 2nd ranks, to 5th and onwards.
OK, I've fixed the prob it would seem, by removing all 0 scores. :) Great hack.
Gizmo5h1t3
11-30-2005, 07:14 PM
can anyone shed any light on the view stats problem i mentioned earlier plz??
Oblivion Knight
12-01-2005, 05:12 AM
installed, works a treat......
except for one thing
when u click "VIEW STATS"....nothing happens....nada..zilch....zero...lol
any help??You're not supposed to click it, just roll your mouse over it.. :)
Does the pop-up display on your other pages?
egyptsons
12-01-2005, 02:07 PM
I will try it :) thanks
Snake
12-01-2005, 06:50 PM
I am getting this error. Any idea?
Parse error: parse error, unexpected $ in /home/amath/public_html/arcade.php on line 1967
Line 1967 is:
$leaderranks = explode(',',$vbulletin->options['leaderranks']);
Snake
12-01-2005, 07:24 PM
Nevermind. Fixed.
Gizmo5h1t3
12-03-2005, 02:11 PM
You're not supposed to click it, just roll your mouse over it.. :)
Does the pop-up display on your other pages?
nope, i havent got pop ups working..least not when u scroll over em...
the trophy in the postbit works when u click on it tho....displays all the current games the member is the champ of, and the challenges if they have em enbabled
croportal
12-04-2005, 07:59 PM
i have problem, top list 10 players and on main is 2 time 9 look screenshot
divided_by_fear
12-04-2005, 08:00 PM
its cause there both tied for 9th they both have 3 wins
croportal
12-04-2005, 08:02 PM
its cause there both tied for 9th they both have 3 wins
okay thank you very much...i am so stupid
divided_by_fear
12-04-2005, 08:11 PM
okay thank you very much...i am so stupid
lol np
WildEye
12-07-2005, 09:32 AM
EDIT: never mind. Had a typo in the filename for the xml file. works great :)
Installed this and getting an SQL error.
Database error in vBulletin 3.5.2:
Invalid SQL:
SELECT COUNT(games.highscorerid) AS count, user.username, user.userid FROM arcade_games AS games
LEFT JOIN user AS user ON user.userid = games.highscorerid
WHERE user.userid IS NOT NULL
GROUP BY user.username, user.userid ORDER BY count DESC, user.userid ASC LIMIT;
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 4 Error Number : 1064
Date : Wednesday, December 7th 2005 @ 12:27:25 PM
Script : http://********/forum/arcade.php?do=lboard
Referrer : http://*******/forum/arcade.php
IP Address : *************
Username : ***********
Classname : vb_database
Any help would be appreciated!
Oblivion Knight
12-24-2005, 07:40 PM
v1.6.1 is now in the works, which will add a condition if there are no arcade champions yet (fresh installations perhaps?), added pagenav goodness and a fix for that malformed statement bug.
Gizmo5h1t3
12-28-2005, 02:13 PM
right, in reply to my earlier question about "view stats" in the leaderboard....the pop up wporks on the member names OUTSIDE the leaderboard page...ie...in the arcade index etc...but not when i hover over "view stats" on the leaderboard page...
any help oblivion??
Oblivion Knight
12-29-2005, 06:35 AM
right, in reply to my earlier question about "view stats" in the leaderboard....the pop up wporks on the member names OUTSIDE the leaderboard page...ie...in the arcade index etc...but not when i hover over "view stats" on the leaderboard page...
any help oblivion??I'm not sure why it'd work on the arcade index and high scores page, and not on the leader board.
Try reverting your arcade_king_bit and arcade_kings templates, and make sure you're running the latest version of this addon (1.6.0).
Gizmo5h1t3
12-29-2005, 04:22 PM
cant revert them mate, theyre not highlighted in the admin cp, as theyre unaltered??
also, the second pic in the original thread shows text in the admin cp options...where mine is blank....any ideas??
the boxes are there, but theres no text to show what they are??
Oblivion Knight
12-29-2005, 04:55 PM
Sounds like the product file messed up or something.. Those phrases should be added automatically.
Diggazz
01-01-2006, 01:02 PM
I have installed with no erors except where do I go to view the leader board
Is their a url or a link in the main Arcade window I dont see anything different than before I instaaled it except in the admincp I now have the xtra menu options at the bottom as per original SS
Thanks in advance
Gizmo5h1t3
01-01-2006, 03:12 PM
Sounds like the product file messed up or something.. Those phrases should be added automatically.
phrases or templates??
Oblivion Knight
01-01-2006, 03:21 PM
I have installed with no erors except where do I go to view the leader board
Is their a url or a link in the main Arcade window I dont see anything different than before I instaaled it except in the admincp I now have the xtra menu options at the bottom as per original SS
Thanks in advanceMake sure you did the edit on your arcade_main template.
It should add a link to the following URL:
arcade.php?do=lboard
phrases or templates??Both, but it sounds like the problem you're having is related to the phrase installation..
Far from trying to re-import the product file again, there's not much more I can suggest unless you're willing to e-mail me with a temporary admin login to your forums for me to take a look.? :(
Gizmo5h1t3
01-01-2006, 03:37 PM
the phrases thing seems to be sorted...god knows how that hapened...i didnt touch anything...lmao...
but, its weird how the po up on the stats doesnt work...
only thing i can think of is, one of the other hacks in the arcade is interfering with it...
i have the alternative layout hack running, mebbe its that???
Make sure you did the edit on your arcade_main template.
It should add a link to the following URL:
arcade.php?do=lboard
one thing i did notice is....when i hover over the "stats" link, all thats added to that URL is "#" at tthe end.is that correct??
ie....
http://www.********.org/board/arcade.php?do=lboard#
Oblivion Knight
01-01-2006, 03:53 PM
but, its weird how the po up on the stats doesnt work...
only thing i can think of is, one of the other hacks in the arcade is interfering with it...
i have the alternative layout hack running, mebbe its that???Very weird indeed, and you're the only person that appears to be having problems with it.. :speechless:
I have the alternative layout hack, and it works fine with it.. Although the alternative layout currently doesn't have that pop-up on the arcade index, and instead currently links to the member's profile. Not sure if I'll change that or not though.
one thing i did notice is....when i hover over the "stats" link, all thats added to that URL is "#" at tthe end.is that correct??
ie....
http://www.********.org/board/arcade.php?do=lboard#Yes, the URL is supposed to have a # at the end of it..
You should notice the same behaviour with things like Smilies and other things.
Diggazz
01-02-2006, 12:16 AM
Make sure you did the edit on your arcade_main template.
It should add a link to the following URL:
arcade.php?do=lboard
Thanks I was looking in the wrong spot
excellent clicking install :o
jarcher
01-03-2006, 07:48 PM
it starts looking ok to me. untill I change the arcade.php
the arcade ends up being a white page
post 15 also stated this(white page)
I have edited it 4 times and am at a loss
any suggestions?
did I do something wrong?
sinoeu
01-15-2006, 09:46 PM
Eager for 2.0 version :rolleyes:
Snake
01-25-2006, 09:24 PM
Thanks, works on 3.5.3. ;)
NxTek
01-26-2006, 04:52 PM
I'd like to request that the top 3 be converted into a vBa CMPS module.
Thanks.
Tralala
02-04-2006, 09:49 AM
Great hack! Installed.
Would love an option to show users' avatars in the Leader Board, right by their name...
Tralala
02-04-2006, 10:19 PM
Just noticed odd, inconsistent behavior, wanted to point it out. My settings are such that three trophies (1st, 2nd, 3rd) were expected:
But for a while the trophies on my forum were dispersed this way:
10 Arcade Titles - First Place
6 Arcade Titles - Second Place
6 Arcade Titles - Second Place
4 Arcade Titles
3 Arcade Titles
...which made sense, sorta, since there was a tie for 2nd place. But I noted that no 3rd place trophy was awarded?
And now, some trophies have changed hands, and the trophy dynamic shifted:
10 Arcade Titles - First Place
7 Arcade Titles - Second Place
6 Arcade Titles - Third Place
6 Arcade Titles - Third Place
2 Arcade Titles
How come when there was a tie for 2nd place, there was no 3rd place trophy at all? Is this expected behavior?
Oblivion Knight
02-05-2006, 08:07 AM
This is correct.. Think of the olympics, if 2 golds are awarded - there is no silver and if there are 2 silvers, there is no bronze. I'm not sure about 2 bronzes, but I think that this is correct also.
In the first scenario, the official rankings would be...
1
2
2
4
5
...and in the second
1
2
3
3
5
Totti
02-05-2006, 11:35 AM
well ... what i would be interested in is showing the place-images in the postbit(_legacy)?!? :)
forumsoup.com
02-07-2006, 09:03 PM
I put this on my site, love it, and clicked installed. Thanks!
vbreal
02-17-2006, 03:19 AM
does this work for 3.53 i installed but its not working
Oblivion Knight
02-17-2006, 05:04 AM
does this work for 3.53 i installed but its not workingYes, it works fine.. :rambo:
vbreal
02-18-2006, 02:53 AM
damn i got to try it again then. thanks nothing new shows on the page
Tralala
03-03-2006, 06:30 AM
Would love an option to show users' avatars in the Leader Board, right by their name...
Been tinkering with this, no dice. :ermm: Any help?
jawinn
03-04-2006, 06:06 PM
I just get a blank page when I click on leaderboard. What could I have missed?
I have v3 Arcade ver 1.0.2 on vB 3.5.1
Thanks in advance
Oblivion Knight
03-04-2006, 06:52 PM
Been tinkering with this, no dice. :ermm: Any help?I'll have a look at this for you tomorrow..
I just get a blank page when I click on leaderboard. What could I have missed?
I have v3 Arcade ver 1.0.2 on vB 3.5.1
Thanks in advanceI suggest checking a couple of basic things.. Did you upload your modified arcade.php file in ASCII mode, and have confirmed that the file is complete? Have you imported the .xml product file?
jawinn
03-04-2006, 07:40 PM
I suggest checking a couple of basic things.. Did you upload your modified arcade.php file in ASCII mode, and have confirmed that the file is complete? Have you imported the .xml product file?
Yes I have done all of teh above. I just removed the mod and tried everything again. Still just getting a blank page.
NR Fatal
03-14-2006, 12:53 AM
when I add this code (the last step)
<div class="smallfont"><strong><a href="$vboptions[bburl]/arcade.php?$session[sessionurl]do=lboard">[ $vbphrase[leader_board] ]</a></strong></div>
I get this Error
Not Acceptable
An appropriate representation of the requested resource /admincp/template.php could not be found on this server.
how is this file not uploaded, I re-uploaded it twice.
Oblivion Knight
03-14-2006, 07:16 AM
when I add this code (the last step)
<div class="smallfont"><strong><a href="$vboptions[bburl]/arcade.php?$session[sessionurl]do=lboard">[ $vbphrase[leader_board] ]</a></strong></div>
I get this Error
Not Acceptable
An appropriate representation of the requested resource /admincp/template.php could not be found on this server.
how is this file not uploaded, I re-uploaded it twice.That sounds like something pretty major, not caused by this addon.
I suggest you post a thread over at vbulletin.com in their "troubleshooting" forum, and see what could possibly cause this. Please note however, that officially they do not support modified boards, so they may ask you to disable your plugins to try and isolate the problem..
NR Fatal
03-14-2006, 09:52 PM
That sounds like something pretty major, not caused by this addon.
I suggest you post a thread over at vbulletin.com in their "troubleshooting" forum, and see what could possibly cause this. Please note however, that officially they do not support modified boards, so they may ask you to disable your plugins to try and isolate the problem..
ok man, thanks.
NR Fatal
03-14-2006, 10:07 PM
tehy'll pretty much make me shutdown plugins then and then leave it or do you think they will help me?
Tralala
03-14-2006, 10:40 PM
Would love an option to show users' avatars in the Leader Board, right by their name...
Hmm. Maybe just for the 1st, 2nd, and 3rd place trophy holders?
Any idea on an update for this?
sinoeu
03-15-2006, 04:02 PM
Any idea on an update for this?
Heard that the version 2.0 is on the way...:rolleyes:
Oblivion Knight
03-15-2006, 05:49 PM
Tralala - I'll add some kind of option for avatars in the next update (2.0.0).
tehy'll pretty much make me shutdown plugins then and then leave it or do you think they will help me?Well, the purpose of them doing that is to make 100% sure that it's a vBulletin issue you're having and not a bug "created" by a modification.. Chances are, if you have no problems when all plugins are disabled that you'll have to then go on to try and identify which one is causing it - and then report the problem to that modification's author.
Tralala
03-15-2006, 06:57 PM
Tralala - I'll add some kind of option for avatars in the next update (2.0.0).
Ooh, too cool. Thanks very much, Oblivion Knight. I'm looking forward to that.
Tyegurl
03-17-2006, 12:48 AM
is this the error you were talking about?
Warning: Unknown(/home/content/T/y/e/Tyegurl/html/vBulletin/includes/class_database_analyse.php): failed to open stream: No such file or directory in /admincp/plugin.php(1232) : eval()'d code on line 1
Fatal error: (null)(): Failed opening required '/home/content/T/y/e/Tyegurl/html/vBulletin/includes/class_database_analyse.php' (include_path='.:/usr/local/lib/php') in /home/content/T/y/e/Tyegurl/html/vBulletin/admincp/plugin.php(1232) : eval()'d code on line 1
Is it compatible with v3 Arcade v1.0.5?
https://vborg.vbsupport.ru/showthread.php?threadid=101683
Just don't wanna take a chance :P
Thanks,
John
Phooey
03-17-2006, 03:24 AM
I can't wait to see the new version of the leaderboard. My users keep asking me when it will be back up. :)
Tralala
03-17-2006, 01:58 PM
The current leaderboard works fine for me with the new v3 Arcade 1.0.5, BTW.
Impreza04
03-17-2006, 07:44 PM
Same here, even updated to plugins so I no longer need to do file edits ^_^
Phooey
03-18-2006, 03:17 AM
Hmm, maybe I'll have to try reinstalling it. It didn't work for me after I upgraded, so I uninstalled.
ubblite
03-18-2006, 06:49 AM
This crashes my Arcade in vb3.5.4. It doesn't seem to work with the latest v3 Arcade release:
Parse error: parse error, unexpected (in arcade.php)
NR Fatal
03-20-2006, 03:02 AM
Tralala - I'll add some kind of option for avatars in the next update (2.0.0).
Well, the purpose of them doing that is to make 100% sure that it's a vBulletin issue you're having and not a bug "created" by a modification.. Chances are, if you have no problems when all plugins are disabled that you'll have to then go on to try and identify which one is causing it - and then report the problem to that modification's author.
well the only time I got the error was when trying to install this.
Same here, even updated to plugins so I no longer need to do file edits ^_^
Can you say what hooks you used?
Impreza04
03-20-2006, 12:08 PM
arcade_global_complete & cache_templates
arcade_global_complete & cache_templates
okay, I give in. Can you post your cache_templates plugin code?
Impreza04
03-21-2006, 05:46 PM
if(THIS_SCRIPT =='arcade' && $_REQUEST['do'] == 'lboard')
{
$globaltemplates = array_merge($globaltemplates, array('arcade_kings','arcade_king_bit'));
}
I've also got one to remove the template edit..
DGTLMIK
03-24-2006, 02:12 PM
I'd like to request that the top 3 be converted into a vBa CMPS module.
Thanks.
I second the request. :cheeky:
DementedMindz
04-09-2006, 12:05 PM
yeah this would be nice with the hooks... hope to see Oblivion Knight update this one as his online one is much easier now :)
plateau
05-03-2006, 07:30 AM
I second the request. :cheeky:
I Third The Request.:banana:
Maybe i missed it - but is there a way to have the top 3 show up somewhere on the main arcade.php page - instead of a seperate leaderboard page... similar to the Arcade King mod?
Oblivion Knight
05-04-2006, 06:23 PM
Maybe i missed it - but is there a way to have the top 3 show up somewhere on the main arcade.php page - instead of a seperate leaderboard page... similar to the Arcade King mod?Currently, no.
Although some heavy update work is planned for both the Leader Board and Champion(s) addons.
awesome - much appreciated Oblivion! If you can manage to have a mini-leaders board (# shown customizable in admincp) that shows up on both CMPS and the Arcade.php - this would be a VERY cool mod.
iamyp
05-20-2006, 05:17 AM
hi, is there a way to put the stats into a separate page? rather than a hover over link? coz i use mkportal and when i hover over the link the entire page shows >.<
Nathan2006
05-27-2006, 03:32 PM
Thank you Oblivion Knight :D
Working great!
Install
Any updates on your plans to create a CMPS and arcade.php addition?
HS2005
05-30-2006, 05:36 PM
another great plugin by Oblivion Knight :
The code though was a little different
Oblivion Knight
06-03-2006, 06:26 AM
Any updates on your plans to create a CMPS and arcade.php addition?No, sorry..
There won't be any more updates until v3arcade 1.1.0 is released.
Jeordie015
08-28-2006, 03:50 AM
I have it installed and played with the link from the arcade home a tad. My html isn't great but this worked fine.
Instead of editing the arcade_main as per your instructions, I edited it this way:
Find:
<div class="smallfont" style="padding: 4px">$vbphrase[searchresultsappearbelow]</div>
</div>
</td>
</tr>
</tbody>
Add Under:
<thead>
<tr align="center">
<td class="thead"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('leaderboard')"><img id="collapseimg_leaderboard" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_leaderboard].gif" alt="" border="0" /></a>Arcade Kings</td>
</tr>
</thead>
<tbody id="collapseobj_leaderboard" style="$vbcollapse[collapseobj_leaderboard]">
<tr align="left">
<td class="alt1" valign="top" style="padding: 4px">
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<div class="smallfont">Are you the King? Check out our <a href="$vboptions[bburl]/arcade.php?$session[sessionurl]do=lboard"><strong>$vbphrase[leader_board]</strong></a> to view the top 10 players!</div>
</table>
</td>
</tr>
</tbody>
If you see anything that needs to be cleaned up, lemme know. Attached is the result:
I'm wanting to get it to look like this in my arcade, but when I used your instructions, it's putting the Arcade Kings header table above the Logged in as table, and the bit with the link to the leader board is under the search area.
bacardioverdose
08-30-2006, 04:30 AM
remove the Thead tags and it should work. Here is the edited code below.
<tr align="center">
<td class="thead"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('leaderboard')"><img id="collapseimg_leaderboard" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_leaderboard].gif" alt="" border="0" /></a>Arcade Kings</td>
</tr>
<tbody id="collapseobj_leaderboard" style="$vbcollapse[collapseobj_leaderboard]">
<tr align="left">
<td class="alt1" valign="top" style="padding: 4px">
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<div class="smallfont">Are you the King? Check out our <a href="$vboptions[bburl]/arcade.php?$session[sessionurl]do=lboard"><strong>$vbphrase[leader_board]</strong></a> to view the top 10 players!</div>
</table>
</td>
</tr>
</tbody>
B3y0nd
10-01-2006, 10:21 PM
Getting a parse error when I try to follow your intructions editing the arcade.php file. I am running vB 3.6.1 and have the newest v3arcade version 1.0.7
Parse error:
Parse error: syntax error, unexpected ',', expecting ')' in /home/*****/public_html/forum/arcade.php on line 74
I edited the arcade.php file with notepad. Is that the issue or is it something else?
I'd really like to get this to work.
shaynehammy
10-31-2006, 11:31 PM
Woah! Help please. I have 3.5.4 and installed this as per the instructions and my arcade would not show up (just a blank page).
I then reversed all the changes and uninstalled and it still doenst show up. Please help!! There doenst seem to be a download for V3 Arcade for 3.5.4 anywhere so that i can reinstall.
Thoughts, comments please.
Thanks
Shayne
Deadly Assassin
03-10-2007, 10:51 AM
I have 3.5.4 and have installed this hack.
I see the options in the ACP, but nothing is showing in the arcade at all.
Please help as i have done everything it has asked me to do.
bazzup
08-01-2007, 11:28 AM
anyone know what could be causing this?
Fatal error: Call to a member function fetch() on a non-object in /home/*/*/*/arcade.php on line 845
here is line 845 $highscorers = $DB_site->query("
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.