vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   v3arcade Leader Board v1.6.0 (https://vborg.vbsupport.ru/showthread.php?t=99044)

Oblivion Knight 10-21-2005 10:00 PM

v3arcade Leader Board v1.6.0
 
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

Quote:

Originally Posted by auz1111
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:
Code:

<div class="smallfont" style="padding: 4px">$vbphrase[searchresultsappearbelow]</div>
</div>
          </td>
        </tr>
</tbody>

Add Under:
Code:

<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

Quote:

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

Quote:

Originally Posted by GuaRRand
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

Quote:

Originally Posted by GuaRRand
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/showt...=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

Code:

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

Code:

'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:

Quote:

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

Quote:

Originally Posted by glorify
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

Quote:

Originally Posted by paulmjno
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

Quote:

Originally Posted by Oblivion Knight
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

Quote:

Originally Posted by paulmjno
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

Quote:

Originally Posted by Gizmo5h1t3
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?

Quote:

Parse error: parse error, unexpected $ in /home/amath/public_html/arcade.php on line 1967
Line 1967 is:

Quote:

$leaderranks = explode(',',$vbulletin->options['leaderranks']);

Snake 12-01-2005 07:24 PM

Nevermind. Fixed.

Gizmo5h1t3 12-03-2005 02:11 PM

Quote:

Originally Posted by Oblivion Knight
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


All times are GMT. The time now is 04:46 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.01438 seconds
  • Memory Usage 1,817KB
  • 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
  • (4)bbcode_code_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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