PDA

View Full Version : v3arcade Who's Online in the Arcade?


Oblivion Knight
11-28-2005, 10:00 PM
Displays users currently online in the arcade, and on a per game basis (similar function to active users browsing per thread). It comes fully phrased, and the usual stuff that you'd expect.. ;)

Thanks to Andreas for.. "stuff".!


Compatability: 1.0.6
Screenshots attached.. :)


Important Notice: This add-on is no longer being supported and/or developed.

Paul M
11-29-2005, 06:46 PM
Hmm, did someone forget to attach something .......

michaelbenson
11-29-2005, 06:53 PM
Hmm, did someone forget to attach something .......
XD, probally in the process of attaching now.
Sounds promising. :nervous:

Oblivion Knight
11-29-2005, 06:55 PM
Hmm, did someone forget to attach something .......*g*

I could have sworn I'd done it too..

michaelbenson
11-29-2005, 07:10 PM
Excellent job, installing right away.
And may many more come :)

lanc3lot
11-29-2005, 08:36 PM
Hm i have installed that but it didnt worked:(

In the last instruction, u say to delete something in Arcade_main if we have the champions enabled.
I cant find the code u mentioned in this template, is it the right one sure?

And of course is not working :(

www.gamers.gr/forums/arcade.php

divided_by_fear
11-29-2005, 09:16 PM
ok i have it installed perfect but i have one problem what is this table on the bottom thats blank for?


https://vborg.vbsupport.ru/ (http://img352.imageshack.us/my.php?image=arcadebottom5gg.jpg)

Oblivion Knight
11-29-2005, 09:18 PM
Hm i have installed that but it didnt worked:(

In the last instruction, u say to delete something in Arcade_main if we have the champions enabled.
I cant find the code u mentioned in this template, is it the right one sure?

And of course is not working :(

www.gamers.gr/forums/arcade.phpThis wouldn't have any effect on the addon's basic functionality..

The code to delete is only there if you have added it through the Arcade Champion(s) addon, which is not to be confused with the Leader Board.. ;)


ok i have it installed perfect but i have one problem what is this table on the bottom thats blank for?


http://img352.imageshack.us/img352/1300/arcadebottom5gg.th.jpg (http://img352.imageshack.us/my.php?image=arcadebottom5gg.jpg)Weird.. Do you have the Arcade Champion(s) addon installed? If not, that blank table shouldn't be displayed.

divided_by_fear
11-29-2005, 09:29 PM
yeah i didnt have it installed... i just installed it and its working great now... but if you dont have it installed it will show the extra table... thanks for the fast reply and great work... also another thing was the gif image is named wrong or its not included... but i used the image from the leader board

Oblivion Knight
11-29-2005, 09:39 PM
yeah i didnt have it installed... i just installed it and its working great now... but if you dont have it installed it will show the extra table... thanks for the fast reply and great work... also another thing was the gif image is named wrong or its not included... but i used the image from the leader boardAs mentioned, it shouldn't show up..

<if condition="$vboptions['dispchamps'] == '1'">
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('arcade_champ')">
<img id="collapseimg_arcade_champ" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_arcade_champ].gif" alt="" border="0" /></a>
<a href="arcade.php?$session[sessionurl]do=lboard"><if condition="$mhsusername">$vbphrase[arcade_champ]<else /><if condition="$mhsarray">$vbphrase[arcade_champs]</if></if></a>
</td>
</tr>
</tbody>
<tbody id="collapseobj_arcade_champ" style="$vbcollapse[collapseobj_arcade_champ]">
<tr>
<td class="alt2" align="center"><a href="arcade.php?$session[sessionurl]do=lboard"><img src="$stylevar[imgdir_misc]/arcade_champ.gif" border="0" alt="" /></a></td>
<td class="alt1"><div class="smallfont"><if condition="$mhsusername"><phrase 1="$mhsusername" 2="$mosthigh" 3="$mhsuser">$vbphrase[x_with_y_titles]</phrase><else /><if condition="$mhsarray"><phrase 1="$mhsarray" 2="$mosthigh" 3="$mhsuser">$vbphrase[x_with_y_titles_array]</phrase></if></if></div></td>
</tr>
</tbody>
</if>$vboptions['dispchamps'] can't possibly be 1 if the addon isn't installed.. *scratches head*

lanc3lot
11-29-2005, 09:47 PM
Right oblivion, my mistake:(

It worked like a charm, thnx again:)

Lea Verou
11-29-2005, 10:08 PM
Wow this is awsome!!!!! Thanks so much!!!

* Michelle clicks install


I wish I could click install twice! It's so great!! :D

Lea Verou
11-29-2005, 10:33 PM
Works nicely :D

But.. omg soooo many file edits!!! :p

Oblivion Knight
11-29-2005, 10:36 PM
They'll be fixed up with v3arcade's custom hooks, due for 1.0.2.. :)

divided_by_fear
11-29-2005, 10:36 PM
Oblivion it works great im sure no matter what they will install the other mod anyway since it does make the arcade look nicer... but thats what happened when i tried just giving the heads up but i have no problems at all now...

Oblivion Knight
11-29-2005, 10:38 PM
Yeah, thanks for the report - I'll have to do some testing.

I can't replicate it on my installation though! ;)

Lea Verou
11-29-2005, 10:40 PM
This should be the default with v3arcade :D

divided_by_fear
11-29-2005, 10:41 PM
Michelle i have to say i think it should too.. it makes the arcade look so much nicer when its stock its plain lookin

Lea Verou
11-29-2005, 10:43 PM
Michelle i have to say i think it should too.. it makes the arcade look so much nicer when its stock its plain lookin

Nahhh the v3 arcade looks really good even without it. It must be the most good-looking free hack I've ever seen.
But this addition adds much more FUNCTIONALITY in it. ;)

007
11-29-2005, 10:47 PM
Thanks for this! This should definitely be included standard with the arcade and made an option. :)

divided_by_fear
11-29-2005, 10:48 PM
question to Oblivion Knight ok when you click on a game and are getting ready to play that game it shows Currently Active Users Playing This Game is there a way i could add another table to that? i wanted to add Home Arcade Statistics and The Arcade Champion to it... so basiclly it would have 3 tables there too...

divided_by_fear
11-29-2005, 10:51 PM
is this what i would add to that?



<br />
<!-- what's going on? -->
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('arcade_stats')">
<img id="collapseimg_arcade_stats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_arcade_stats].gif" alt="" border="0" /></a>
<phrase 1="$vboptions[hometitle]">$vbphrase[x_arcade_statistics]</phrase>
</td>
</tr>
</tbody>
<tbody id="collapseobj_arcade_stats" style="$vbcollapse[collapseobj_arcade_stats]">
<tr>
<td class="alt2" align="center"><img src="$stylevar[imgdir_misc]/stats.gif" /></td>
<td class="alt1"><div class="smallfont">$vbphrase[games]: $gcount, $vbphrase[categories]: $catcount</div><div class="smallfont"><phrase 1="arcade.php?$session[sessionurl]do=play&amp;gameid=$newgameid" 2="$newgame">$vbphrase[arcade_newgame]</phrase></div></td>
</tr>
</tbody>
<if condition="$vboptions['dispchamps'] == '1'">
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('arcade_champ')">
<img id="collapseimg_arcade_champ" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_arcade_champ].gif" alt="" border="0" /></a>
<if condition="$mhsusername">$vbphrase[arcade_champ]<else /><if condition="$mhsarray">$vbphrase[arcade_champs]</if></if>
</td>
</tr>
</tbody>
<tbody id="collapseobj_arcade_champ" style="$vbcollapse[collapseobj_arcade_champ]">
<tr>
<td class="alt2" align="center"><img src="$vboptions[arcadeimages]/king1.gif" border="0" alt="" /></td>
<td class="alt1"><div class="smallfont"><if condition="$mhsusername"><phrase 1="$mhsusername" 2="$mosthigh" 3="$mhsuser">$vbphrase[x_with_y_titles]</phrase><else /><if condition="$mhsarray"><phrase 1="$mhsarray" 2="$mosthigh" 3="$mhsuser">$vbphrase[x_with_y_titles_array]</phrase></if></if></div></td>
</tr>
</tbody>
</if>
</table>
<!-- / what's going on? -->

divided_by_fear
11-29-2005, 11:10 PM
lol that wont do it it makes the tables to big lol any help?

Robbed
11-29-2005, 11:54 PM
They'll be fixed up with v3arcade's custom hooks, due for 1.0.2.. :)

I will wait for that, lots of edits and i will end up messing it up lol.

Will it be out this week?

divided_by_fear
11-29-2005, 11:55 PM
nah its a easy install... very easy

The Chief
11-30-2005, 02:48 AM
Installed and working great, thanks!

*clicks install

SMO
11-30-2005, 02:53 AM
of course...i had to go mess it up..no status shows up..just the fields..im just not to good at this

like Michelle said..it woulda been nice to see this WITH v3

is it possible i can just use one of yalls aracde.php file that you successfully modified?...is that allowed?

The Chief
11-30-2005, 03:07 AM
of course...i had to go mess it up..no status shows up..just the fields..im just not to good at this

like Michelle said..it woulda been nice to see this WITH v3

is it possible i can just use one of yalls aracde.php file that you successfully modified?...is that allowed?

I'm sure somebody would share this with you :)

I have modified my arcade.php too much to share :P

Lea Verou
11-30-2005, 03:46 AM
I only have amykhar's hack and this one in my arcade, will it be any use to you? :)

SMO
11-30-2005, 03:50 AM
most definatly michelle!!

Lea Verou
11-30-2005, 03:52 AM
There it is, hope it helps :)

SMO
11-30-2005, 04:01 AM
yes, ty michelle...that worked perfectly

Oblivion Knight
11-30-2005, 06:25 AM
question to Oblivion Knight ok when you click on a game and are getting ready to play that game it shows Currently Active Users Playing This Game is there a way i could add another table to that? i wanted to add Home Arcade Statistics and The Arcade Champion to it... so basiclly it would have 3 tables there too...It's possible, but something that I'll be doing for the default zip. I purposely went for the same style as "Users Browsing This Thread" for the games.. ;)

You should just be able to copy the bottom block of code added to the arcade index of arcade.php for the statistics, and then use the same template code as arcade_main.


I will wait for that, lots of edits and i will end up messing it up lol.

Will it be out this week?Unlikely.. A lot of our time at the moment is being spent with support. :(

hugh_
11-30-2005, 07:34 AM
Will this mod be directly included in later releases?

hugh

tidy_boy
11-30-2005, 10:52 AM
Oblivion Knight you are the man awesome little hack works perfectly :D

PsiNyde
11-30-2005, 04:38 PM
<font color="orange">*clicks install over and over and over with FEVER!</font>

excellent OBK! Me loves it.

Oblivion Knight
11-30-2005, 04:52 PM
Will this mod be directly included in later releases?

hughPossibly.. :)

egyptsons
12-01-2005, 01:53 PM
:) I will try it

ShawnV
12-05-2005, 11:57 PM
This should be the default with v3arcade :D

Yes it should.

Snake
12-06-2005, 12:20 PM
Yes I've to agree!

evenmonkeys
12-28-2005, 05:56 AM
My What's Going On boxes are empty. Should they be? O_o

Currently Active Users: ( members and guests)
Games: , Categories:

The arcade champ is working.

Oblivion Knight
12-28-2005, 07:44 AM
Looks like you forgot to edit or upload your edited arcade.php file.

evenmonkeys
12-29-2005, 08:38 PM
Oh wow... I'm an idiot. Thanks!

Tralala
02-04-2006, 11:43 AM
Just installed, looks great and works perfectly. Thanks!

However, it is reporting I have 14 categories. I really only have 11 distinct ones. Any way for it to not include "All," "Random," and "Favorites?"

Raydar
02-06-2006, 03:31 PM
Hi Oblivion Knight,

Thanks for all your great work.

I have managed to mess something up somewhere.

I tried to install the champion hack and then the Who's online in the arcade hack and now I can't seem to get it to work.

The champion hack worked at first. When I tried to install the Who's Online Hack the arcade stopped working. So I uploaded a saved version of my arcade_main template and a saved version of my arcade.php so that the arcade is back online. I have gone through the install instructions again for the Champion hack but I can't get it to work anymore.

Could you or someone else here just compare this with their own arcade_main template code and let me know if this has errors somewhere. I have added the code for the Champion hack here but not the Who's Online Hack.

This is my template code


$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<meta http-equiv="Cache-Control" content="no-cache" />
<!-- end no cache headers -->
$headinclude
<title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase> - $vbphrase[arcade]</title>

$arcade_headinclude

<style type="text/css">
.newsdate_alt1
{
background: $stylevar[tcat_bgcolor];
color: $stylevar[page_bgcolor];
font: bold 10px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
text-align: right;
}
.newsdate_alt2
{
background: $stylevar[tcat_bgcolor];
color: $stylevar[page_bgcolor];
font: bold 10px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
text-align: right;
}
.userinfopanel {
position: absolute;
z-index: 1000;
filter:alpha(opacity=$vboptions[popupopacity]);
opacity: $vboptions[popupopacityalt];
-moz-opacity: $vboptions[popupopacityalt];
}
</style>

<script language="javascript">

var editorstring;
var activeid;
var activecontent;

function getObj(name)
{
if (document.getElementById)
{
this.obj = document.getElementById(name);
this.style = document.getElementById(name).style;
}
else if (document.all)
{
this.obj = document.all[name];
this.style = document.all[name].style;
}
else if (document.layers)
{
if (document.layers[name])
{
this.obj = document.layers[name];
this.style = document.layers[name];
}
else
{
this.obj = document.layers.testP.layers[name];
this.style = document.layers.testP.layers[name];
}
}
}

function findPosX(obj)
{
var curleft = 0;
if (obj.offsetParent)
{
while (obj.offsetParent)
{
curleft += obj.offsetLeft
obj = obj.offsetParent;
}
}
else if (obj.x)
curleft += obj.x;
return curleft;
}

function findPosY(obj)
{
var curtop = 0;
if (obj.offsetParent)
{
while (obj.offsetParent)
{
curtop += obj.offsetTop
obj = obj.offsetParent;
}
}
else if (obj.y)
curtop += obj.y;
return curtop;
}

function show_userinfo(obj, lyr, userid)
{
var newX = findPosX(obj);
var newY = findPosY(obj);
var x = new getObj(lyr);
x.style.top = newY + 20 + 'px';
x.style.left = newX + 'px';

xml = new vB_AJAX_Handler(true);
xml.onreadystatechange(infoprocess);


sendstring = "xml.send('arcade.php', 'do=userinfosearch&userid=" + userid + "');";

setTimeout(sendstring, $vboptions[hoverdelay]);

document.getElementById('userpanel').innerHTML = '';
document.getElementById('userpanel').style.visibil ity = 'visible';

obj.onmouseout = function() {
clearTimeout();
document.getElementById('userpanel').style.visibil ity = 'hidden';
}
}

function kill_panel()
{
document.getElementById('userpanel').style.visibil ity = 'hidden';
}


function infoprocess()
{
if (xml.handler.readyState == 4 && xml.handler.status == 200 && xml.handler.responseText)
{
document.getElementById('userpanel').innerHTML = xml.handler.responseText;
}
}
</script>

</head>
<body>
$header
$navbar

<script type="text/javascript">
window.onload=function(){
if(!NiftyCheck())
return;
Rounded("div#whiterounded","all","$stylevar[alt1_bgcolor]","$stylevar[page_bgcolor]","smooth");
Rounded("div#tabs","tl tr","$stylevar[page_bgcolor]","$stylevar[alt1_bgcolor]","small");
Rounded("div.minitab","tl tr","$stylevar[alt1_bgcolor]","$stylevar[alt2_bgcolor]", "smooth");
Rounded("div#minitab_active","tl tr","$stylevar[alt1_bgcolor]","$stylevar[tcat_bgcolor]", "smooth");
Rounded("div.newsdate_alt1","tl","$stylevar[alt1_bgcolor]","$stylevar[tcat_bgcolor]","small");
Rounded("div.newsdate_alt2","tl","$stylevar[alt2_bgcolor]","$stylevar[tcat_bgcolor]","small");
}

</script>

$ajaxinclude
<div class="userinfopanel" id="userpanel"></div>

<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr>
<td valign="top">

$welcomearea

<br />

<if condition="$challengebits">
<!-- challenges -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead" align="center">$vbphrase[pending_challenges]</td>
</tr>
$challengebits
</table>
<!-- /challenges -->
<br />
</if>
<if condition="$vboptions['dispchamps'] == '1'">
<!-- arcade king(s) -->
<if condition="$mhsusername">

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" style="margin-top:3px">
<tr align="center">
<td class="thead" valign="middle" width="30%" nowrap="nowrap"><img src="$vboptions[arcadeimages]/king1.gif" alt="$vbphrase[arcade_champ]" class="inlineimg" border="0" /> $vbphrase[arcade_champ]:</td>
<td class="alt1" valign="middle" width="70%"><span class="smallfont"><phrase 1="$mhsusername" 2="$mosthigh" 3="$mhsuser">$vbphrase[x_with_y_titles]</phrase></span></td>
</tr>
</table>

<br />
</if>

<if condition="$mhsarray">

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" style="margin-top:3px">
<tr align="center">
<td class="thead" valign="middle" width="30%" nowrap="nowrap"><img src="$vboptions[arcadeimages]/king1.gif" alt="$vbphrase[arcade_champs]" class="inlineimg" border="0" /> $vbphrase[arcade_champs]:</td>
<td class="alt1" valign="middle" width="70%"><span class="smallfont"><phrase 1="$mhsarray" 2="$mosthigh" 3="$mhsuser">$vbphrase[x_with_y_titles_array]</phrase></span></td>
</tr>
</table>

<br />
</if>
<!-- / arcade king(s) -->
<else />
<br />
</if>
<if condition="$vboptions['dispchamps'] == '1'">
<!-- arcade king(s) -->
<if condition="$mhsusername">

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" style="margin-top:3px">
<tr align="center">
<td class="thead" valign="middle" width="30%" nowrap="nowrap"><img src="$vboptions[arcadeimages]/king1.gif" alt="$vbphrase[arcade_champ]" class="inlineimg" border="0" /> $vbphrase[arcade_champ]:</td>
<td class="alt1" valign="middle" width="70%"><span class="smallfont"><phrase 1="$mhsusername" 2="$mosthigh" 3="$mhsuser">$vbphrase[x_with_y_titles]</phrase></span></td>
</tr>
</table>

<br />
</if>

<if condition="$mhsarray">

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" style="margin-top:3px">
<tr align="center">
<td class="thead" valign="middle" width="30%" nowrap="nowrap"><img src="$vboptions[arcadeimages]/king1.gif" alt="$vbphrase[arcade_champs]" class="inlineimg" border="0" /> $vbphrase[arcade_champs]:</td>
<td class="alt1" valign="middle" width="70%"><span class="smallfont"><phrase 1="$mhsarray" 2="$mosthigh" 3="$mhsuser">$vbphrase[x_with_y_titles_array]</phrase></span></td>
</tr>
</table>

<br />
</if>
<!-- / arcade king(s) -->
<else />
<br />
</if>
<table cellpadding="0" cellspacing="0" align="center"><tr><td>
<div id="tabs" class="alt1">
<table cellpadding="2" cellspacing="0" style="margin: 0px 2px 0px 2px"><tr>
$gamecategories
</tr></table>
</div>
</td></tr></table>

<!-- main -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr align="center">
<td class="tcat" colspan="4">
$vbphrase[arcadegames]<if condition="$categoryid"> - $categoryname</if>
</td>
</tr>

<tr align="center">
<td class="thead" align="left" width="100%">
<div style="float: right">$vbphrase[category] / $vbphrase[rating]</div>
<div style="padding-left: 74px">$vbphrase[game]</div>
</td>
<td class="thead" width="100" nowrap>$vbphrase[champion]</td>
<td class="thead" width="100" nowrap>$vbphrase[personalbest]</td>
</tr>
</thead>
<tbody>
<if condition="$gamebits">
$gamebits
<else />
<tr><td class="alt1" colspan="3"><div align="center">$vbphrase[nogames]</div></td></tr>
</if>
</tbody>
</table>
<!-- /main -->

<if condition="$show['pagenav']">
<br />
$pagenav
</if>


</td>

<!-- spacer -->
<td valign="top" width="10">&nbsp;</td>
<!-- /spacer -->

<td valign="top" width="200">

<!-- right area -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr align="center">
<td class="thead" width="200"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('loggedinas')"><img id="collapseimg_loggedinas" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_loggedinas].gif" alt="" border="0" /></a>$vbphrase[loggedinas]</td>
</tr>
</thead>
<tbody id="collapseobj_loggedinas" style="$vbcollapse[collapseobj_loggedinas]">
<tr align="center">
<td class="alt1">
$playerbox
</td>
</tr>
</tbody>
<thead>
<tr align="center">
<td class="thead" width="200"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('gamesearch')"><img id="collapseimg_gamesearch" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_gamesearch].gif" alt="" border="0" /></a>$vbphrase[gamesearch]</td>
</tr>
</thead>
<tbody id="collapseobj_gamesearch" style="$vbcollapse[collapseobj_gamesearch]">
<tr align="center">
<td class="alt1">
<input type="text" class="bginput" name="gamestring" onKeyUp="gamesearch(this.value)" />
</td>
</tr>
<tr>
<td class="alt1" style="padding: 0px">
<div id="searchtable">
<div class="smallfont" style="padding: 4px">$vbphrase[searchresultsappearbelow]</div>
</div>
</td>
</tr>
</tbody>
<thead>
<tr align="center">
<td class="thead"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('newsandevents')"><img id="collapseimg_newsandevents" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_newsandevents].gif" alt="" border="0" /></a>$vbphrase[newsandevents]</td>
</tr>
</thead>
<tbody id="collapseobj_newsandevents" style="$vbcollapse[collapseobj_newsandevents]">
<tr align="center">
<td class="alt1" valign="top" style="padding: 0px">
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
$newsbits
</table>
</td>
</tr>
</tbody>
<if condition="$mcbits">
<thead>
<tr align="center">
<td class="thead"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('challenges')"><img id="collapseimg_challenges" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_challenges].gif" alt="" border="0" /></a>$vbphrase[recent_challenges]</td>
</tr>
</thead>
<tbody id="collapseobj_challenges" style="$vbcollapse[collapseobj_challenges]">
<tr><td style="padding: 0px">

<table cellpadding="2" cellspacing="0" width="100%">
$mcbits
</table>

</td></tr>
</tbody>
</if>
<thead>
<tr align="center">
<td class="thead"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('viewingmode')"><img id="collapseimg_viewingmode" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_viewingmode].gif" alt="" border="0" /></a>$vbphrase[viewingmode]</td>
</tr>
</thead>
<tbody id="collapseobj_viewingmode" style="$vbcollapse[collapseobj_viewingmode]">
<tr align="center">
<td class="alt1" style="padding: 0px">

<table cellpadding="4" cellspacing="0" width="100%"><tr>
<td width="50%" align="right" class="alt1">
<div style="float:left"><img src="$vboptions[arcadeimages]/slim$barstatus[1].gif" border="0" /></div>

<if condition="$barstatus[0]">
<span class="smallfont"><a href="arcade.php?barsize=1<if condition="$categoryid">&categoryid=$categoryid</if>">Miniature Mode</a></span>
<else />
<span class="smallfont"><em>Miniature Mode</em></span>
</if>

</td>
<td width="50%" class="alt2" align="left">
<div style="float:right"><img src="$vboptions[arcadeimages]/thick$barstatus[0].gif" border="0" /></div>

<if condition="$barstatus[1]">
<span class="smallfont"><a href="arcade.php?barsize=0<if condition="$categoryid">&categoryid=$categoryid</if>">Standard Mode</a></span>
<else />
<span class="smallfont"><em>Standard Mode</em></span>
</if>
</td>
</tr></table>

</td>
</tr>
</tbody>

</table>
<!-- /right area-->

</td>
</tr></table>
$footer
</body>
</html>

Thanks In Advance

Reg

forumsoup.com
02-07-2006, 09:06 PM
I put this on my site, love it, and clicked installed. Thanks!

Oblivion Knight
02-21-2006, 08:18 AM
However, it is reporting I have 14 categories. I really only have 11 distinct ones. Any way for it to not include "All," "Random," and "Favorites?"Sorry for the late reply.

Yes, find this line of code in arcade.php:
$catcount = $db->num_rows($categories) + 2;Replace it with:
$catcount = $db->num_rows($categories) - 1;That should do the trick for you..

Oblivion Knight
02-21-2006, 08:24 AM
@Reg Car:

Hello Reg, sorry to hear of your trouble installing these 2 addons together. My advise to you would be to start from a fresh Arcade setup if you haven't installed too many addons for it, install the Champion(s) addon first without performing the template edits, and then proceed to install the Who's Online addon.

If this doesn't work, I can't really advise much else without taking a look for myself.

Tralala
02-21-2006, 12:22 PM
Sorry for the late reply.

Yes, find this line of code in arcade.php:
$catcount = $db->num_rows($categories) + 2;Replace it with:
$catcount = $db->num_rows($categories) - 1;That should do the trick for you..

Worked perfectly (and makes sense, too.) Thanks so much!

glorify
02-28-2006, 01:33 PM
I love the mod and it's awsome for folks who don't have a sidebar. When switching viewing modes, there is always a ton of blank space at the bottom if you do use the standard layout.

I changed it up a tad to place the info in the sidebar. I did NOT use the Arcade Champion portion in this, but it would be easilly done.

Install the mod as OBK intended until you get to the template edits. Then--

In arcade_main find:
<span class="smallfont"><em>Standard Mode</em></span>
</if>
</td>
</tr></table>

</td>
</tr>
</tbody>

Add Under:
<thead>
<tr align="center">
<td class="thead"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('arcadeusers')"><img id="collapseimg_arcadeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_arcadeusers].gif" alt="" border="0" /></a>Active Players: $totalviewing</td>
</tr>
</thead>
<tbody id="collapseobj_arcadeusers" style="$vbcollapse[collapseobj_arcadeusers]">
<tr>
<td class="alt1" align="center"><span class="smallfont"><phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase></span></td>
</tr>
<tr>
<td class="alt2"><span class="smallfont">$activeusers</span></td>
</tr>
</tbody>
<thead>
<tr align="center">
<td class="thead"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('arcadestats')"><img id="collapseimg_arcadestats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_arcadestats].gif" alt="" border="0" /></a>Arcade Statistics</td>
</tr>
</thead>
<tbody id="collapseobj_arcadestats" style="$vbcollapse[collapseobj_arcadestats]">
<tr>
<td class="alt1"><span class="smallfont">$vbphrase[games]: $gcount, $vbphrase[categories]: $catcount</div><div class="smallfont"><phrase 1="arcade.php?$session[sessionurl]do=play&amp;gameid=$newgameid" 2="$newgame">$vbphrase[arcade_newgame]</phrase></div></td>
</tr>
</tbody>

In arcade_play, find
<img src="$vboptions[arcadeimages]/backtip.gif" border="0" />
</td>
</tr>

</tbody>

Add Under
<thead>
<tr align="center">
<td class="thead"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('arcadeusers')"><img id="collapseimg_arcadeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_arcadeusers].gif" alt="" border="0" /></a>Members Playing: $totalviewing</td>
</tr>
</thead>
<tbody id="collapseobj_arcadeusers" style="$vbcollapse[collapseobj_arcadeusers]">
<tr>
<td class="thead" align="center"><span class="smallfont"><phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase></span></td>
</tr>
<tr>
<td class="alt1" align="center"><span class="smallfont">$activeusers</span></td>
</tr>
</tbody>

Screens attached. Enjoy :)

RsX
03-17-2006, 03:16 AM
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

bashy
04-02-2006, 10:38 AM
Hi,

Installation went ok the 2nd time :o

In the WOL for the arcade i get this
Currently Active Users: 1 (1 members and 0 guests and [ARG:3 UNDEFINED] spiders)

I dont see it on the forum home though only on your addon
Any advice please?

dizzy100
04-03-2006, 06:40 AM
Mmmm does this not work with V1.0.6 ?

I've edited the appropiate sections and double checked (actually tripple checked) and everything is showing in the right location but doesn't show any figures ...

templates are edited, php edited, i've imported the plugin and tripple checked.

Any ideas ?

dizzy100
04-03-2006, 06:43 AM
Ah my bad :) I was calling index.php which hasn't got the modifications :) DOH :)

All working now, awesome mod ..

Thanks oblivion ...

Nathan2006
04-06-2006, 01:23 PM
Thank you Oblivion Knight

Working great! :cool:

Install

Oblivion Knight
04-08-2006, 08:03 PM
In the WOL for the arcade i get this
Currently Active Users: 1 (1 members and 0 guests and [ARG:3 UNDEFINED] spiders)That is due to the "display spiders online" modification..

I'll try and add some kind of option for that in the next version.

---MAD---
04-09-2006, 10:00 AM
great update :)

Btw, you should put intructions on how to upgrade and unistall for those that arent that good :)

Oblivion Knight
04-09-2006, 10:13 AM
Btw, you should put intructions on how to upgrade and unistall for those that arent that good :)Erk.. I always forget that, and I don't have a copy of the old zip for the previously required file edits (to remove them) for the upgrade instructions.. :confused:

DementedMindz
04-09-2006, 11:42 AM
does anyone have a old copy of iy? maybe on v3 site hopefully

DementedMindz
04-09-2006, 11:44 AM
wow i found i did save the install instructions just incase... here you go :)

Oblivion Knight
04-09-2006, 11:54 AM
wow i found i did save the install instructions just incase... here you go :)Cheers, I'll make an "upgrade.txt" file shortly.. :)

DementedMindz
04-09-2006, 11:59 AM
wow much easier lol installed fast that time... nice job this will be nice and easy now once new versions come out... thanks again...

soulface
04-09-2006, 02:07 PM
nice, now its lot more fun to install it

* soulface installed...

btw any chance to get the spiders on wol ? :p

dizzy100
04-09-2006, 03:47 PM
Great to see your still around updating these hacks for us oblivion Knight.

One request for future would be actual members online ? As this shows just players playing and not all members online and i have my arcade set to index.php as default.

Is that possible ?

It caused some confusion to start when i released that my forum was reporting one thing and my arcade another :)

Oblivion Knight
04-09-2006, 06:15 PM
btw any chance to get the spiders on wol ? :pHa, I was wondering how soon someone would ask.. ;)

Possibly for 2.1.0, we'll have to see. It probably wouldn't be too difficult to do..


One request for future would be actual members online ? As this shows just players playing and not all members online and i have my arcade set to index.php as default.

Is that possible ?

It caused some confusion to start when i released that my forum was reporting one thing and my arcade another :)I think it should be possible, but will contact you in private at a later date about it..

Silvio
04-09-2006, 07:48 PM
I think it should be possible, but will contact you in private at a later date about it..
Pls. me too. :banana:

dizzy100
04-09-2006, 08:29 PM
Ha, I was wondering how soon someone would ask.. ;)

Possibly for 2.1.0, we'll have to see. It probably wouldn't be too difficult to do..


I think it should be possible, but will contact you in private at a later date about it..

sounds great.look forward to it ..

csidlernet
04-21-2006, 02:19 AM
thanks

FLMom
05-29-2006, 03:15 AM
Thanks for this! I really like it a lot :banana: Clicking Install :D


I do have a question though...

I don't have the champions thing installed, so I didn't edit the first template. Just the last one on the instructions.txt but I am thinking I need to do more because the only thing that is showing up for me are members that are playing the games. The game statistics under "what's going on" isn't there, like in your first screenshot. Can you please help? Thanks!

FLMom
05-29-2006, 03:21 AM
Never mind, I'm a dork....figured it out :banana:

Thanks anyway :D

RichieBoy67
06-21-2006, 01:47 AM
Is it possible to have the arcade who's onliner feature on forum home???

My arcade always has a ton of people and I would like for them to be visible on forum home... How hard would it be to convert this hack for that purpose???

Polo
07-03-2006, 03:28 PM
nice, will definetly install this one :) thanks

abramelin
10-18-2006, 01:13 PM
is this work on 3.6.2 and the latest version of v3 arcade?

Suzie
12-28-2006, 09:53 PM
Will this show what game someone is playing in the forum who's online list?

F&R
01-20-2007, 10:29 AM
What happens if you don't have champions installed. I did a search according to the instructions in arcade_main and it doesn't find the lines you quote.

So now what do I do?

Snake
04-28-2007, 12:50 PM
Will this work just fine on 3.6.5?

Oblivion Knight
06-17-2009, 12:40 PM
I have taken the decision to discontinue my development of this add-on.

My reasons for this:
The code was largely based on Andreas' old online code for vBJournal, used with permission. His development of that product has ceased.
I understand very little of vBulletin's user online handling.
I believe that v3arcade as a product should develop it's current online handling further, to show which game a user is playing or viewing the high scores of.
Few products actually use their own "Who's Online" block to single out active users on that section of the forums.Brian is free to use the "concept" on 2.0.0 if he so wishes..

So, again.. This add-on is UNSUPPORTED. Thanks.