Hey, Im searching for a working client.php for habbocom layout for revcms
Mine isnt working Thanks
Dont ask for the problem, just post a working one and i will rep++ u
Printable View
Hey, Im searching for a working client.php for habbocom layout for revcms
Mine isnt working Thanks
Dont ask for the problem, just post a working one and i will rep++ u
Is it the original by Hejula, or the edit by Tashia? If it's tashias then just use the original by Hejula's client it worked fine when i used RevCMS :-)
Here is mine and its not working
Can u post one here please?
Code:<script type="text/javascript">
var habboName = "{username}";
var habboReqPath = "{url}";
var habboStaticFilePath = "http://images.habbo.com/habboweb/{web_build}/web-gallery";
var habboImagerUrl = "http://www.habbo.com/habbo-imaging/";
var habboPartner = "";
var habboDefaultClientPopupUrl = "{url}/client";
window.name = "ClientWndw";
if (typeof HabboClient != "undefined") { HabboClient.windowName = "ClientWndw"; }
</script>
<link rel="alternate" type="application/rss+xml" title="Habbo Hotel - RSS" href="http://www.habbo.com/articles/rss.xml" />
<script src="/web-gallery/static/js/libs2.js" type="text/javascript"></script>
<script src="/web-gallery/static/js/visual.js" type="text/javascript"></script>
<script src="/web-gallery/static/js/libs.js" type="text/javascript"></script>
<script src="/web-gallery/static/js/common.js" type="text/javascript"></script>
<link rel="stylesheet" href="http://images.habbo.com/habboweb/{web_build}/web-gallery/static/styles/common.css" type="text/css" />
<link rel="stylesheet" href="http://images.habbo.com/habboweb/{web_build}/web-gallery/static/styles/habboflashclient.css" type="text/css" />
<link rel="stylesheet" href="/web-gallery/styles/habboflashclient.css" type="text/css" />
<script src="/web-gallery/static/js/habboflashclient.js" type="text/javascript"></script>
<script type="text/javascript">
FlashExternalInterface.loginLogEnabled = false;
FlashExternalInterface.logLoginStep("web.view.start");
if (top == self) {
FlashHabboClient.cacheCheck();
}
var flashvars = {
"client.allow.cross.domain" : "1",
"client.notify.cross.domain" : "0",
"connection.info.host" : "{server_ip}",
"connection.info.port" : "30000",
"site.url" : "{url}/",
"url.prefix" : "{url}/",
"client.reload.url" : "{url}/client",
"client.fatal.error.url" : "{url}/disconnected.html",
"client.connection.failed.url" : "{url}/disconnected.html",
"external.variables.txt" : "{external_vars}",
"external.texts.txt" : "{external_texts}",
"productdata.load.url" : "{product_data}",
"furnidata.load.url" : "{furni_data}",
"use.sso.ticket" : "1",
"sso.ticket" : "{sso}",
"processlog.enabled" : "0",
"account_id" : "1",
"client.starting" : "Please wait! {hotelName} is starting up",
"flash.client.url" : "{swf_folder}/",
"user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02",
"has.identity" : "0",
"flash.client.origin" : "popup",
"token" : "{sso}"
};
var params = {
"base" : "{swf_folder}/",
"allowScriptAccess" : "always",
"menu" : "false"
};
if (!(HabbletLoader.needsFlashKbWorkaround())) {
params["wmode"] = "opaque";
}
var clientUrl = "{swf_folder}/Habbo.swf";
swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "nobbo.hopto.org/web-gallery/flash/expressInstall.swf", flashvars, params);
window.onbeforeunload = unloading;
function unloading() {
var clientObject;
if (navigator.appName.indexOf("Microsoft") != -1) {
clientObject = window["flash-container"];
} else {
clientObject = document["flash-container"];
}
try {
clientObject.unloading();
} catch (e) {}
}
</script>
<body id="client" class="flashclient">
<div id="overlay"></div>
<img src="http://images.habbo.com/habboweb/{web_build}/web-gallery/v2/images/page_loader.gif" style="position:absolute; margin: -1500px;" />
<div id="overlay"></div>
<div id="client-ui" >
<div id="flash-wrapper">
<div id="flash-container">
<div id="content" style="width: 400px; margin: 20px auto 0 auto; display: none">
<div class="cbb clearfix">
<h2 class="title">Please update your Flash Player to the latest version.</h2>
<div class="box-content">
<p>You can install and download Adobe Flash Player here: <a href="http://get.adobe.com/flashplayer/">Install flash player</a>. More instructions for installation can be found here: <a href="http://www.adobe.com/products/flashplayer/productinfo/instructions/">More information</a></p>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://images.habbo.com/habboweb/{web_build}/web-gallery/v2/images/client/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
</div>
</div>
</div>
<script type="text/javascript">
$('content').show();
</script>
<noscript>
<div style="width: 400px; margin: 20px auto 0 auto; text-align: center">
<p>If you are not automatically redirected, please <a href="/client">click here</a></p>
</div>
</noscript>
</div>
</div>
</div>
<div style="display: none">
<div id="habboCountUpdateTarget">
{status}
</div>
<script language="JavaScript" type="text/javascript">
setTimeout(function() {
HabboCounter.init(600);
}, 20000);
</script>
</div>
<script type="text/javascript">
RightClick.init("flash-wrapper", "flash-container");
if (window.opener && window.opener != window && typeof window.opener.location.href != "undefined") {
window.opener.location.replace(window.opener.location.href);
}
$(document.body).addClassName("js");
HabboClient.startPingListener();
</script>
<script type="text/javascript">
HabboView.run();
</script>
Do u see anything wrong there? cuz I dont. I did edit it to match what I need. Edited the config.php but IDK
maybe a new one would solve it!
Well where you put {server_ip}, or {url} actually put the url and server ip for example, mysite . info , and 127.0.0.1 and for swf url path actually put the swf url path for example, C:/root folder/gordon/r63 or whatever your stuff is.
Colbehh, theres no need for that?
"flash.client.url" : "{swf_folder}/", Remove the "/"
and what about
"base" : "{swf_folder}/",
That too
still, it doesnt load. Config is right. tried 2 diff swfs different habbo.swf
cms_setting in phpmyadmin is right. lastest build still doesnt load
Ports open, emu up
u can try urself on Amiroslo Hotel - Make friends, join the fun, get noticed!
No, no, no. I believe it requires the trailing /.
The variables enclosed in these brackets: '{}' - could you post the definitions please (i.e; your configuration - no passwords).
Code:<?php
if(!defined('IN_INDEX')) { die('Sorry, you cannot access this file.'); }
#Please fill this all out.
#NOTE: To set up TheHabbos.ORG's API go to wwwroot/mysite/thehabbos_api for IIS, OR, htdocs/thehabbos_api for XAMPP and others.
/*
*
* MySQL management
*
*/
$_CONFIG['mysql']['connection_type'] = 'pconnect'; //Type of connection: It must be connect, or pconnect: if you want a persistent connection.
$_CONFIG['mysql']['hostname'] = 'localhost'; //MySQL host - nobbo.hopto.org, Hamachi IP, VPS or Dedi's IP
$_CONFIG['mysql']['username'] = 'myusergoeshere'; //Phpmyadmin username
$_CONFIG['mysql']['password'] = 'mypassgoeshere'; //Phpmyadmin password
$_CONFIG['mysql']['database'] = 'mydbgoeshere'; //Phpmyadmin database name
$_CONFIG['mysql']['port'] = '3306'; //MySQL's port
/*
*
* Hotel management - All URLs do not end with an "/"
*
*/
$_CONFIG['hotel']['server_ip'] = 'my.ip.goes.here'; //localhost, Hamachi IP, VPS or Dedi's IP
$_CONFIG['hotel']['url'] = 'http://nobbo.hopto.org'; //URL to your hotel, does not end with a "/"
$_CONFIG['hotel']['name'] = 'Amiroslo Hotel'; // Your Hotel's Name
$_CONFIG['hotel']['desc'] = 'A Norwegian-English Hotel for all people!'; //Hotel's description
$_CONFIG['hotel']['email'] = 'myemail@hotmail.com'; //Email for users to submit help requests to
$_CONFIG['hotel']['in_maint'] = false; //false for no maintenance mode & true for maintenance mode
$_CONFIG['hotel']['motto'] = 'I <3 ' . $_CONFIG['hotel']['name']; //Starting motto for new users
$_CONFIG['hotel']['credits'] = 50000; //How many coins new users get
$_CONFIG['hotel']['pixels'] = 30000; //How many pixels new users get
$_CONFIG['hotel']['figure'] = '-'; //Default figure users will register with.
$_CONFIG['hotel']['web_build'] = '63_1dc60c6d6ea6e089c6893ab4e0541ee0/1295'; //Web_Build
$_CONFIG['hotel']['external_vars'] = 'http://nobbo.hopto.org/r63/external_variables.txt'; //External Vars [Don't edit]
$_CONFIG['hotel']['external_texts'] = 'http://nobbo.hopto.org/r63/external_flash_texts.txt'; //External Flash Texts [Don't edit]
$_CONFIG['hotel']['product_data'] = 'http://nobbo.hopto.org/r63/productdata.txt'; //Product Data [Don't edit]
$_CONFIG['hotel']['furni_data'] = 'http://nobbo.hopto.org/r63/furnidata.txt'; //Furni Data [Don't edit]
$_CONFIG['hotel']['swf_folder'] = 'http://nobbo.hopto.org/r63/swf'; //SWF Folder [Don't edit]
/*
*
* Templating management - Pick one of our default styles or make yours by following our examples!
*
*/
#RevCMS has 2 default styles, 'Mango' by dannyy94 and 'Priv' by joopie - Others styles are to come, such as RastaLulz's ProCMS style and Nominal's PhoenixCMS 4.0 style.
$_CONFIG['template']['style'] = 'Habbo';
/*
*
* Other topsites.. thing
*
*/
$_CONFIG['thehabbos']['username'] = 'Amiroslo';
$_CONFIG['retro_top']['user'] = 'Amiroslo';
/*
*
* Recaptcha management - Fill the information below if you have one, else leave it like that and don't worry, be happy.
*
*/
$_CONFIG['recaptcha']['priv_key'] = '6LcZ58USAAAAABSV5px9XZlzvIPaBOGA6rQP2G43';
$_CONFIG['recaptcha']['pub_key'] = '6LcZ58USAAAAAAQ6kquItHl4JuTBWs-5cSKzh6DD';
/*
*
* Social Networking stuff
*
*/
$_CONFIG['social']['twitter'] = 'Amiroslo'; //Hotel's Twitter account
$_CONFIG['social']['facebook'] = ''; //Hotel's Facebook account
?>
Instead of http://nobbo.hopto.org replace it with http://{ipaddresshere}
also replace http://nobbo.hopto.org with http://{ipaddresshere} in your external_variables.txt
ok, will give it a try
didnt work
I have the same problem:(