Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Releases
[RELEASE] Stats Bar in Client
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Aruthra" data-source="post: 318673" data-attributes="member: 36602"><p>Hello! I'm Aruthra, here with another cool release <img src="/styles/default/xenforo/smilies/emojione/biggrin.png" class="smilie" loading="lazy" alt=":D" title="Big Grin :D" data-shortname=":D" /></p><p>I really wanted this for many decades and i finally got the script from a retro. Many people badly wants this, so I thought to share it!</p><p></p><p>Here is a <strong>screenie </strong>of the script:</p><p></p><p><img src="http://i.gyazo.com/7f0ca6882797ca9b7f64ffb5fb5ba0ba.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p><strong>Live Demo -</strong> <a href="http://swift-hotel.org/client" target="_blank">http://swift-hotel.org/client</a></p><p></p><p><strong>How to install:</strong></p><ol> <li data-xf-list-type="ol">Save this code as statsbar.css in your skin's styles folder (<a href="http://textuploader.com/65s3" target="_blank">http://textuploader.com/65s3</a>)</li> <li data-xf-list-type="ol">Replace your client.php file with this</li> </ol><p>[PHP]<!DOCTYPE html></p><p><html lang="en"></p><p> <head></p><p> <meta http-equiv="content-type" content="text/html; charset=utf-8"></p><p> <title>Swift Hotel - Client</title></p><p></p><p><script src="{url}/app/tpl/skins/{SKIN}/styles/js/jquery.js" type="text/javascript"></script></p><p><link rel="stylesheet" href="{url}/app/tpl/skins/{SKIN}/styles/statsbar.css" type="text/css"></p><p></p><p><script type="text/javascript"></p><p>$(document).ready(function() {</p><p> $("#bars").load("{url}/statsbar");</p><p> var refreshId = setInterval(function() {</p><p> $("#bars").load('{url}/statsbar');</p><p> }, 3000);</p><p> $.ajaxSetup({ cache: false });</p><p>});</p><p></script></p><p></p><p><div id="topbar"></p><p><div style="padding:4px;"></p><p><div id="bars" style="width:100%;font-size:14px;color:white;font-family:verdana"><center>Enjoy your stay, <b> {username}! </b> ● There are currently <b>{online}</b> SWIFTER(S) ONLINE<script type="text/javascript" src="http://player.wavestreamer.com/cgi-bin/swf.js?id=JTK04WSV1Y8X9XN2"></script></p><p><script type="text/javascript" src=" http://player.wavestreaming.com/?id=JTK04WSV1Y8X9XN2"></script></center></div></center></div></p><p></div></p><p></div></p><p></p><p></p><p><script type="text/javascript" src="{url}/app/tpl/skins/{SKIN}/js/swfobject.js"></script></p><p><style type="text/css"></p><p>* { margin: 0; padding: 0; }</p><p>html, #client { height: 94.9%; text-align: left; background-color: black; }</p><p>#client { position: absolute; overflow: hidden; left: 0; top: 35; right: 0; bottom: 0; }</p><p></style></p><p><script type="text/javascript"></p><p></p><p> </p><p> var BaseUrl = "http://swift-hotel.org/extra/swfs";</p><p> var flashvars =</p><p> {</p><p> "client.starting" : "",</p><p> "client.allow.cross.domain" : "1",</p><p> "client.notify.cross.domain" : "0",</p><p> "connection.info.host" : "IP",</p><p> "connection.info.port" : "PORT",</p><p> "site.url" : "http://swift-hotel.org",</p><p> "url.prefix" : "http://swift-hotel.org",</p><p> "client.reload.url" : "http://swift-hotel.org/client",</p><p> "client.fatal.error.url" : "http://swift-hotel.org/me",</p><p> "client.connection.failed.url" : "http://swift-hotel.org/me",</p><p> "external.variables.txt" : "http://swift-hotel.org/extra/swfs/external_variables.txt",</p><p> "external.texts.txt" : "http://swift-hotel.org/extra/swfs/external_flash_texts.txt",</p><p> "productdata.load.url" : "http://swift-hotel.org/extra/swfs/productdata.txt",</p><p> "furnidata.load.url" : "http://swift-hotel.org/extra/swfs/furnidata.txt",</p><p> "use.sso.ticket" : "1",</p><p> "sso.ticket" : "{sso}",</p><p> "processlog.enabled" : "0",</p><p> "flash.client.url" : BaseUrl,</p><p> "flash.client.origin" : "popup"</p><p> };</p><p> var params =</p><p> {</p><p> "base" : BaseUrl + "/",</p><p> "allowScriptAccess" : "always",</p><p> "menu" : "false" </p><p> };</p><p> swfobject.embedSWF(BaseUrl + "/Habbo.swf", "client", "100%", "100%", "10.0.0", "http://swift-hotel.org/extra/swfs/expressInstall.swf", flashvars, params, null);</p><p> </script></p><p> </head></p><p> </p><p> <body></p><p> </p><p> <div id="client"></div></p><p> </p><p> </body></p><p></html></p><p><?php include('checktheban.php'); ?></p><p>[/PHP]</p><p><strong>DONE!</strong></p><p></p><p><strong>Note:</strong> The online users won't be updated automatically, someone who codes an auto updater script would be appreciated.</p></blockquote><p></p>
[QUOTE="Aruthra, post: 318673, member: 36602"] Hello! I'm Aruthra, here with another cool release :D I really wanted this for many decades and i finally got the script from a retro. Many people badly wants this, so I thought to share it! Here is a [B]screenie [/B]of the script: [IMG]http://i.gyazo.com/7f0ca6882797ca9b7f64ffb5fb5ba0ba.png[/IMG] [B]Live Demo -[/B] [URL]http://swift-hotel.org/client[/URL] [B]How to install:[/B] [LIST=1] [*]Save this code as statsbar.css in your skin's styles folder ([URL]http://textuploader.com/65s3[/URL]) [*]Replace your client.php file with this [/LIST] [PHP]<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <title>Swift Hotel - Client</title> <script src="{url}/app/tpl/skins/{SKIN}/styles/js/jquery.js" type="text/javascript"></script> <link rel="stylesheet" href="{url}/app/tpl/skins/{SKIN}/styles/statsbar.css" type="text/css"> <script type="text/javascript"> $(document).ready(function() { $("#bars").load("{url}/statsbar"); var refreshId = setInterval(function() { $("#bars").load('{url}/statsbar'); }, 3000); $.ajaxSetup({ cache: false }); }); </script> <div id="topbar"> <div style="padding:4px;"> <div id="bars" style="width:100%;font-size:14px;color:white;font-family:verdana"><center>Enjoy your stay, <b> {username}! </b> ● There are currently <b>{online}</b> SWIFTER(S) ONLINE<script type="text/javascript" src="http://player.wavestreamer.com/cgi-bin/swf.js?id=JTK04WSV1Y8X9XN2"></script> <script type="text/javascript" src=" http://player.wavestreaming.com/?id=JTK04WSV1Y8X9XN2"></script></center></div></center></div> </div> </div> <script type="text/javascript" src="{url}/app/tpl/skins/{SKIN}/js/swfobject.js"></script> <style type="text/css"> * { margin: 0; padding: 0; } html, #client { height: 94.9%; text-align: left; background-color: black; } #client { position: absolute; overflow: hidden; left: 0; top: 35; right: 0; bottom: 0; } </style> <script type="text/javascript"> var BaseUrl = "http://swift-hotel.org/extra/swfs"; var flashvars = { "client.starting" : "", "client.allow.cross.domain" : "1", "client.notify.cross.domain" : "0", "connection.info.host" : "IP", "connection.info.port" : "PORT", "site.url" : "http://swift-hotel.org", "url.prefix" : "http://swift-hotel.org", "client.reload.url" : "http://swift-hotel.org/client", "client.fatal.error.url" : "http://swift-hotel.org/me", "client.connection.failed.url" : "http://swift-hotel.org/me", "external.variables.txt" : "http://swift-hotel.org/extra/swfs/external_variables.txt", "external.texts.txt" : "http://swift-hotel.org/extra/swfs/external_flash_texts.txt", "productdata.load.url" : "http://swift-hotel.org/extra/swfs/productdata.txt", "furnidata.load.url" : "http://swift-hotel.org/extra/swfs/furnidata.txt", "use.sso.ticket" : "1", "sso.ticket" : "{sso}", "processlog.enabled" : "0", "flash.client.url" : BaseUrl, "flash.client.origin" : "popup" }; var params = { "base" : BaseUrl + "/", "allowScriptAccess" : "always", "menu" : "false" }; swfobject.embedSWF(BaseUrl + "/Habbo.swf", "client", "100%", "100%", "10.0.0", "http://swift-hotel.org/extra/swfs/expressInstall.swf", flashvars, params, null); </script> </head> <body> <div id="client"></div> </body> </html> <?php include('checktheban.php'); ?> [/PHP] [B]DONE![/B] [B]Note:[/B] The online users won't be updated automatically, someone who codes an auto updater script would be appreciated. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Releases
[RELEASE] Stats Bar in Client
Top