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 Q&A
Access Denied to User Error
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="Vngi" data-source="post: 442565" data-attributes="member: 76983"><p>[SPOILER="Config"]<?php</p><p> if(!defined('BRAIN_CMS')) </p><p> { </p><p> die('Sorry but you cannot access this file!'); </p><p> }</p><p> </p><p> /* Database Setting */</p><p> $db['host'] = '127.0.0.1'; //Mysql's Host</p><p> $db['port'] = '3306'; //Mysql's port</p><p> $db['user'] = "root"; //Mysql's user</p><p> $db['pass'] = '******'; //Mysql's password</p><p> $db['db'] = "hotel"; //Mysql's database</p><p> </p><p> /* Emu Settings */</p><p> $config['hotelEmu'] = 'plusemu'; // plusemu // arcturus</p><p></p><p> /* Client Setting */</p><p> $hotel['emuHost'] = "*****"; //IP of VPS//IP of Proxy</p><p> $hotel['emuPort'] = "3306"; //Port of VPS//Port of Proxy</p><p> $hotel['staffCheckClient'] = false; //Enable the staff pin in the client (true) or disable it (false)</p><p> $hotel['staffCheckClientMinimumRank'] = 3; //Minium staff rank to get the staff pin in the client</p><p> $hotel['homeRoom'] = ''; //Set the start room when you get in the hotel</p><p> $hotel['external_Variables'] = "http://**/swf/gamedata/external_variables.txt";</p><p> $hotel['external_Variables_Override'] = "http:/**/swf/gamedata/override/external_override_variables.txt";</p><p> $hotel['external_Texts'] = "http://**/swf/gamedata/external_flash_texts.txt";</p><p> $hotel['external_Texts_Override'] = "http://**/swf/gamedata/override/external_flash_override_texts.txt";</p><p> $hotel['productdata'] = "http://**/swf/gamedata/productdata.txt";</p><p> $hotel['furnidata'] = "http://**/swf/gamedata/furnidata.xml";</p><p> $hotel['figuremap'] = "http:/**/swf/gamedata/figuremap.xml";</p><p> $hotel['figuredata'] = "http://**/swf/gamedata/figuredata.xml";</p><p> $hotel['swfFolder'] = "http://**/swf/gordon/PRODUCTION-201602082203-712976078";</p><p> $hotel['swfFolderSwf'] = "http://**/swf/gordon/PRODUCTION-201602082203-712976078/Habbo.swf"; /*HabbieClient.swf*/</p><p> </p><p> /* Website Setting */</p><p> $config['hotelUrl'] = "http://**";//Address of your hotel. Does not end with a "/"</p><p> $config['skin'] = "material"; //Skin/template of your website</p><p> $config['lang'] = "en"; //Language of your website /en/nl/es</p><p> $config['hotelName'] = "Lala"; //Name of your hotel</p><p> $config['favicon'] = "http://**templates/material/style/images/favicon/favicon.png";</p><p> $config['staffCheckHk'] = false; //Enable the staff pin in the housekeeping (true) or disable it (false)</p><p> $config['staffCheckHkMinimumRank'] = 6; //Minium staff rank to get the staff pin in the housekeeping</p><p> $config['maintenance'] = false; //Enable the maintenance of your website (true) or disable it (false)</p><p> $config['maintenancekMinimumRankLogin'] = 6; //Minium staff rank to login when the website is in maintenance</p><p> $config['groupBadgeURL'] = "http://**/swf/habbo-imaging/badge.php?badge=";</p><p> $config['badgeURL'] = "http://**/swf/c_images/album1584/"; </p><p> $config['userLikeEnable'] = true; // Enable user likes </p><p> $config['newsCommandEnable'] = true; //Enable news commands</p><p> $config['newsCommandFilter'] = true; //Enable wordfilter on news commands (the filter use the db tabels wordfilter and wordfilter_characters)</p><p> </p><p></p><p>[/SPOILER]</p><p></p><p></p><p>Sorry, here's the CMS Config File.</p><p></p><p></p><p>Client.php</p><p>[SPOILER="Client"]</p><p></body></p><p><head></p><p> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/></p><p> <title><?= $config['hotelName'] ?> - Game</title></p><p> <script src="/templates/brain/client/js/jquery-latest.js" type="text/javascript"></script></p><p> <script src="/templates/brain/client/js/jquery-ui.js" type="text/javascript"></script></p><p> <script src="/templates/brain/client/js/flashclient.js"></script></p><p> <script src="/templates/brain/client/js/flash_detect_min.js"></script></p><p> <script src="/templates/brain/client/js/client.js" type="text/javascript"></script></p><p> <link rel="shortcut icon" href="/favicon.ico" /></p><p></head></p><p><body></p><p> <center></p><p> <div id="client-ui"></p><p> <div id="client" style='position:absolute; left:0; right:0; top:0; bottom:0; overflow:hidden; height:100%; width:100%;'></div></p><p> </div></p><p> <script></p><p> var Client = new SWFObject("<?= $hotel['swfFolderSwf'] ?>", "client", "100%", "100%", "10.0.0");</p><p> Client.addVariable("client.allow.cross.domain", "0"); </p><p> Client.addVariable("client.notify.cross.domain", "1");</p><p> Client.addVariable("connection.info.host", "<?= $hotel['emuHost'] ?>");</p><p> Client.addVariable("connection.info.port", "<?= $hotel['emuPort'] ?>");</p><p> Client.addVariable("site.url", "<?= $config['hotelUrl'] ?>");</p><p> Client.addVariable("url.prefix", "<?= $config['hotelUrl'] ?>"); </p><p> Client.addVariable("client.reload.url", "<?= $config['hotelUrl'] ?>/me");</p><p> Client.addVariable("client.fatal.error.url", "<?= $config['hotelUrl'] ?>/me");</p><p> Client.addVariable("client.connection.failed.url", "<?= $config['hotelUrl'] ?>/me");</p><p> Client.addVariable("external.override.texts.txt", "<?= $hotel['external_Texts_Override'] ?>"); </p><p> Client.addVariable("external.override.variables.txt", "<?= $hotel['external_Variables_Override'] ?>"); </p><p> Client.addVariable("external.variables.txt", "<?= $hotel['external_Variables'] ?>");</p><p> Client.addVariable("external.texts.txt", "<?= $hotel['external_Texts'] ?>"); </p><p> Client.addVariable("external.figurepartlist.txt", "<?= $hotel['figuredata'] ?>"); </p><p> Client.addVariable("flash.dynamic.avatar.download.configuration", "<?= $hotel['figuremap'] ?>");</p><p> Client.addVariable("productdata.load.url", "<?= $hotel['productdata'] ?>"); </p><p> Client.addVariable("furnidata.load.url", "<?= $hotel['furnidata'] ?>");</p><p> Client.addVariable("use.sso.ticket", "1"); </p><p> Client.addVariable("sso.ticket", "<?= User::userData('auth_ticket') ?>");</p><p> Client.addVariable("processlog.enabled", "0");</p><p> Client.addVariable("client.starting", "<?= $config['hotelName'] ?> Hotel is aan het laden...");</p><p> Client.addVariable("flash.client.url", "<?= $hotel['swfFolder'] ?>/"); </p><p> Client.addVariable("flash.client.origin", "popup");</p><p> Client.addVariable("nux.lobbies.enabled", "true");</p><p> Client.addVariable("country_code", "NL");</p><p> Client.addParam('base', '<?= $hotel['swfFolder'] ?>/');</p><p> Client.addParam('allowScriptAccess', 'always');</p><p> Client.addParam('menu', false);</p><p> Client.addParam('wmode', "opaque");</p><p> Client.write('client');</p><p> </p><p> FlashExternalInterface.signoutUrl = "<?= $config['hotelUrl'] ?>/logout";</p><p> </script></p><p> </center></p><p><script type="text/javascript"></p><p> $(document).ready(function(e) {</p><p> $.ajaxSetup({</p><p> cache:true</p><p> });</p><p> setInterval(function() {</p><p> $('#onlineCount').load('/templates/material/counter.php');</p><p> }, 2000);</p><p> $( "#onlineCount").click(function() {</p><p> $('#onlineCount').load('/templates/material/counter.php');</p><p> });</p><p></p><p> });</p><p> </script></p><p> <style type="text/css"></p><p> #onlineCount {</p><p>background-color:#757575;cursor<img src="/styles/default/xenforo/smilies/emojione/tongue.png" class="smilie" loading="lazy" alt=":p" title="Stick Out Tongue :p" data-shortname=":p" />ointer;-moz-transition:all 1s ease-in;-webkit-transition:all 1s ease-in;-o-transition:all 1s ease-in;transition:all 1s ease-in;</p><p> position:absolute;background-color:#585858;z-index:1;color:white;top:0px;padding:3px;</p><p> }</p><p> </style> </p><p></p><p> <div id="client"></div></p><p> <div id="onlineCount" style="border-radius: 4px;</p><p> top: 0px;</p><p> padding-top: 10px; padding-bottom: 10px; padding-left: 20px; padding-right: 20px; font-size: 12px;</p><p> right: 200px;</p><p> border: 2px #54524D solid;</p><p> border-top-left-radius: 0px;</p><p> border-top-right-radius: 0px;</p><p> font-family: ubuntu, arial;</p><p> border-top: 0px;</p><p> background color: b;</p><p> box-shadow: 1px 2px black;</p><p> background-color: #24231E;</p><p>">Laden ...</div></p><p></body></p><p></html></p><p></center></p><p></div></p><p><script></p><p> //no flash?!</p><p> if(!FlashDetect.installed){</p><p> window.location.href = "<?= $config['hotelUrl'] ?>/noflash"; </p><p> }</p><p></script></p><p></head></p><p></p><p></p><p></p><p></p><p></p><p>[/SPOILER]</p><p></p><p></p><p>If I am missing anything and you wanna see, let me know and I'll edit the post <img src="/styles/default/xenforo/smilies/emojione/smile.png" class="smilie" loading="lazy" alt=":)" title="Smile :)" data-shortname=":)" /></p></blockquote><p></p>
[QUOTE="Vngi, post: 442565, member: 76983"] [SPOILER="Config"]<?php if(!defined('BRAIN_CMS')) { die('Sorry but you cannot access this file!'); } /* Database Setting */ $db['host'] = '127.0.0.1'; //Mysql's Host $db['port'] = '3306'; //Mysql's port $db['user'] = "root"; //Mysql's user $db['pass'] = '******'; //Mysql's password $db['db'] = "hotel"; //Mysql's database /* Emu Settings */ $config['hotelEmu'] = 'plusemu'; // plusemu // arcturus /* Client Setting */ $hotel['emuHost'] = "*****"; //IP of VPS//IP of Proxy $hotel['emuPort'] = "3306"; //Port of VPS//Port of Proxy $hotel['staffCheckClient'] = false; //Enable the staff pin in the client (true) or disable it (false) $hotel['staffCheckClientMinimumRank'] = 3; //Minium staff rank to get the staff pin in the client $hotel['homeRoom'] = ''; //Set the start room when you get in the hotel $hotel['external_Variables'] = "http://**/swf/gamedata/external_variables.txt"; $hotel['external_Variables_Override'] = "http:/**/swf/gamedata/override/external_override_variables.txt"; $hotel['external_Texts'] = "http://**/swf/gamedata/external_flash_texts.txt"; $hotel['external_Texts_Override'] = "http://**/swf/gamedata/override/external_flash_override_texts.txt"; $hotel['productdata'] = "http://**/swf/gamedata/productdata.txt"; $hotel['furnidata'] = "http://**/swf/gamedata/furnidata.xml"; $hotel['figuremap'] = "http:/**/swf/gamedata/figuremap.xml"; $hotel['figuredata'] = "http://**/swf/gamedata/figuredata.xml"; $hotel['swfFolder'] = "http://**/swf/gordon/PRODUCTION-201602082203-712976078"; $hotel['swfFolderSwf'] = "http://**/swf/gordon/PRODUCTION-201602082203-712976078/Habbo.swf"; /*HabbieClient.swf*/ /* Website Setting */ $config['hotelUrl'] = "http://**";//Address of your hotel. Does not end with a "/" $config['skin'] = "material"; //Skin/template of your website $config['lang'] = "en"; //Language of your website /en/nl/es $config['hotelName'] = "Lala"; //Name of your hotel $config['favicon'] = "http://**templates/material/style/images/favicon/favicon.png"; $config['staffCheckHk'] = false; //Enable the staff pin in the housekeeping (true) or disable it (false) $config['staffCheckHkMinimumRank'] = 6; //Minium staff rank to get the staff pin in the housekeeping $config['maintenance'] = false; //Enable the maintenance of your website (true) or disable it (false) $config['maintenancekMinimumRankLogin'] = 6; //Minium staff rank to login when the website is in maintenance $config['groupBadgeURL'] = "http://**/swf/habbo-imaging/badge.php?badge="; $config['badgeURL'] = "http://**/swf/c_images/album1584/"; $config['userLikeEnable'] = true; // Enable user likes $config['newsCommandEnable'] = true; //Enable news commands $config['newsCommandFilter'] = true; //Enable wordfilter on news commands (the filter use the db tabels wordfilter and wordfilter_characters) [/SPOILER] Sorry, here's the CMS Config File. Client.php [SPOILER="Client"] </body> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title><?= $config['hotelName'] ?> - Game</title> <script src="/templates/brain/client/js/jquery-latest.js" type="text/javascript"></script> <script src="/templates/brain/client/js/jquery-ui.js" type="text/javascript"></script> <script src="/templates/brain/client/js/flashclient.js"></script> <script src="/templates/brain/client/js/flash_detect_min.js"></script> <script src="/templates/brain/client/js/client.js" type="text/javascript"></script> <link rel="shortcut icon" href="/favicon.ico" /> </head> <body> <center> <div id="client-ui"> <div id="client" style='position:absolute; left:0; right:0; top:0; bottom:0; overflow:hidden; height:100%; width:100%;'></div> </div> <script> var Client = new SWFObject("<?= $hotel['swfFolderSwf'] ?>", "client", "100%", "100%", "10.0.0"); Client.addVariable("client.allow.cross.domain", "0"); Client.addVariable("client.notify.cross.domain", "1"); Client.addVariable("connection.info.host", "<?= $hotel['emuHost'] ?>"); Client.addVariable("connection.info.port", "<?= $hotel['emuPort'] ?>"); Client.addVariable("site.url", "<?= $config['hotelUrl'] ?>"); Client.addVariable("url.prefix", "<?= $config['hotelUrl'] ?>"); Client.addVariable("client.reload.url", "<?= $config['hotelUrl'] ?>/me"); Client.addVariable("client.fatal.error.url", "<?= $config['hotelUrl'] ?>/me"); Client.addVariable("client.connection.failed.url", "<?= $config['hotelUrl'] ?>/me"); Client.addVariable("external.override.texts.txt", "<?= $hotel['external_Texts_Override'] ?>"); Client.addVariable("external.override.variables.txt", "<?= $hotel['external_Variables_Override'] ?>"); Client.addVariable("external.variables.txt", "<?= $hotel['external_Variables'] ?>"); Client.addVariable("external.texts.txt", "<?= $hotel['external_Texts'] ?>"); Client.addVariable("external.figurepartlist.txt", "<?= $hotel['figuredata'] ?>"); Client.addVariable("flash.dynamic.avatar.download.configuration", "<?= $hotel['figuremap'] ?>"); Client.addVariable("productdata.load.url", "<?= $hotel['productdata'] ?>"); Client.addVariable("furnidata.load.url", "<?= $hotel['furnidata'] ?>"); Client.addVariable("use.sso.ticket", "1"); Client.addVariable("sso.ticket", "<?= User::userData('auth_ticket') ?>"); Client.addVariable("processlog.enabled", "0"); Client.addVariable("client.starting", "<?= $config['hotelName'] ?> Hotel is aan het laden..."); Client.addVariable("flash.client.url", "<?= $hotel['swfFolder'] ?>/"); Client.addVariable("flash.client.origin", "popup"); Client.addVariable("nux.lobbies.enabled", "true"); Client.addVariable("country_code", "NL"); Client.addParam('base', '<?= $hotel['swfFolder'] ?>/'); Client.addParam('allowScriptAccess', 'always'); Client.addParam('menu', false); Client.addParam('wmode', "opaque"); Client.write('client'); FlashExternalInterface.signoutUrl = "<?= $config['hotelUrl'] ?>/logout"; </script> </center> <script type="text/javascript"> $(document).ready(function(e) { $.ajaxSetup({ cache:true }); setInterval(function() { $('#onlineCount').load('/templates/material/counter.php'); }, 2000); $( "#onlineCount").click(function() { $('#onlineCount').load('/templates/material/counter.php'); }); }); </script> <style type="text/css"> #onlineCount { background-color:#757575;cursor:pointer;-moz-transition:all 1s ease-in;-webkit-transition:all 1s ease-in;-o-transition:all 1s ease-in;transition:all 1s ease-in; position:absolute;background-color:#585858;z-index:1;color:white;top:0px;padding:3px; } </style> <div id="client"></div> <div id="onlineCount" style="border-radius: 4px; top: 0px; padding-top: 10px; padding-bottom: 10px; padding-left: 20px; padding-right: 20px; font-size: 12px; right: 200px; border: 2px #54524D solid; border-top-left-radius: 0px; border-top-right-radius: 0px; font-family: ubuntu, arial; border-top: 0px; background color: b; box-shadow: 1px 2px black; background-color: #24231E; ">Laden ...</div> </body> </html> </center> </div> <script> //no flash?! if(!FlashDetect.installed){ window.location.href = "<?= $config['hotelUrl'] ?>/noflash"; } </script> </head> [/SPOILER] If I am missing anything and you wanna see, let me know and I'll edit the post :) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Access Denied to User Error
Top