The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
v3arcade Who's Online in the Arcade? Details »» | |||||||||||||||||||||||||||
v3arcade Who's Online in the Arcade?
Developer Last Online: Nov 2016
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. Supporters / CoAuthors Show Your Support
|
Comments |
#42
|
||||
|
||||
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. |
#43
|
||||
|
||||
Looks like you forgot to edit or upload your edited arcade.php file.
|
#44
|
||||
|
||||
Oh wow... I'm an idiot. Thanks!
|
#45
|
||||
|
||||
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?" |
#46
|
|||
|
|||
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 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.visibility = 'visible'; obj.onmouseout = function() { clearTimeout(); document.getElementById('userpanel').style.visibility = 'hidden'; } } function kill_panel() { document.getElementById('userpanel').style.visibility = '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"> </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> Reg |
#47
|
||||
|
||||
I put this on my site, love it, and clicked installed. Thanks!
|
#48
|
||||
|
||||
Quote:
Yes, find this line of code in arcade.php: Code:
$catcount = $db->num_rows($categories) + 2; Code:
$catcount = $db->num_rows($categories) - 1; |
#49
|
||||
|
||||
@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. |
#50
|
||||
|
||||
Quote:
|
#51
|
||||
|
||||
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: Code:
<span class="smallfont"><em>Standard Mode</em></span> </if> </td> </tr></table> </td> </tr> </tbody> Code:
<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&gameid=$newgameid" 2="$newgame">$vbphrase[arcade_newgame]</phrase></div></td> </tr> </tbody> Code:
<img src="$vboptions[arcadeimages]/backtip.gif" border="0" /> </td> </tr> </tbody> Code:
<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> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|