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
White Index & Pages
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="Diddy" data-source="post: 256486" data-attributes="member: 5596"><p>Hello,</p><p></p><p>Setting up a reto using IIS, but i have found a problem.</p><p></p><p>All my pages load white and nothing appears? Im using Lightcms Edited By Boom Hotel.</p><p>I have a feeling its to do with web.config but i wouldn't know how to fix it if there was a problem with it (I'm bad with web.config).</p><p></p><p>So do any of you know a fix i can try, id be thankful for any help.</p><p></p><p>Web.config;</p><p>[CODE]<?xml version="1.0" encoding="UTF-8"?></p><p><configuration></p><p> <system.webServer></p><p> <rewrite></p><p> <rules></p><p> <rule name="Badges"></p><p> <match url="^habbo-imaging/badge/([^/]+)" ignoreCase="true" /></p><p> <conditions logicalGrouping="MatchAll" trackAllCaptures="false" /></p><p> <action type="Rewrite" url="/habbo-imaging/badge.php?badge={R:1}" appendQueryString="false" /></p><p> </rule></p><p> </p><p> <rule name="Promos XML"></p><p> <match url="habblet/xml/promo_habbos" ignoreCase="true" /></p><p> <conditions logicalGrouping="MatchAll" trackAllCaptures="false" /></p><p> <action type="Rewrite" url="habblet/xml/promo_habbos.xml" appendQueryString="false" /></p><p> </rule></p><p> </p><p> <rule name="Imported Rule 1"></p><p> <match url="^quickregister/start(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/register.php?_register_step=1" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule 2"></p><p> <match url="^quickregister/age_gate_submit(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/register.php?_register_step=2" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule 3"></p><p> <match url="^quickregister/email_password(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/register.php?_register_step=3" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule 4"></p><p> <match url="^quickregister/email_password_submit(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/register.php?_register_step=4" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule 5"></p><p> <match url="^quickregister/captcha(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/register.php?_register_step=5" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule 6"></p><p> <match url="^quickregister/captcha_submit(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/register.php?_register_step=6" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule 7"></p><p> <match url="^quickregister/email_password_submit/fields(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/register.php?_register_step=3&amp;_error=Please-enter-all-the-fields." appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule 8"></p><p> <match url="^quickregister/age_gate/error(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/register.php?_register_step=1&amp;_error=Please-enter-a-date-and-birth." appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule 9"></p><p> <match url="^quickregister/email_password_submit/invalid_username(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/register.php?_register_step=3&amp;_error=That-username-cannot-be-used,-sorry!" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule 10"></p><p> <match url="^quickregister/email_password_submit/invalid_email(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/register.php?_register_step=3&amp;_error=Oops!-Looks-like-your-email-is-invalid,-please-enter-a-valid-one." appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule 11"></p><p> <match url="^quickregister/email_password_submit/invalid_password(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/register.php?_register_step=3&amp;_error=That-password-does-not-meet-our-standards.-Please-choose-a-new-one." appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule 12"></p><p> <match url="^quickregister/captcha/error(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/register.php?_register_step=5&amp;_error=You-entered-an-invalid-captcha.-Please-enter-it-again." appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule 13"></p><p> <match url="^me(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/me.php" /></p><p> </rule></p><p> <rule name="Imported Rule 14"></p><p> <match url="^community(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/community.php" /></p><p> </rule></p><p> <rule name="Imported Rule 15"></p><p> <match url="^articles(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/news.php" /></p><p> </rule></p><p> <rule name="Imported Rule 16"></p><p> <match url="^vip(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/vip.php" /></p><p> </rule></p><p> <rule name="Imported Rule 17"></p><p> <match url="^profile(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/profile.php" /></p><p> </rule></p><p> <rule name="Imported Rule 18"></p><p> <match url="^client(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/client.php" /></p><p> </rule></p><p> <rule name="Imported Rule 19"></p><p> <match url="^account/signout(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/signout.php" /></p><p> </rule></p><p> <rule name="Imported Rule 20"></p><p> <match url="^articles/([^/]+)(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/news.php?_news_article_seo={R:1}" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule 21"></p><p> <match url="^articles/id/([^/]+)(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/news.php?_news_id={R:1}" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule 22"></p><p> <match url="^go/vip/([^/]+)(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/viplink.php?override=true&amp;package={R:1}" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule 23"></p><p> <match url="^profile/basic_settings(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/profile.php?_profile_page=account_settings" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule 24"></p><p> <match url="^profile/password(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/profile.php?_profile_page=pass_settings" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule 25"></p><p> <match url="^client_denied(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/pincode.php" /></p><p> </rule></p><p> <rule name="Imported Rule 26"></p><p> <match url="^flash_client_error(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/client.php?e=flash_client_error" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule 27"></p><p> <match url="^market/badgeshop(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/badge_shop.php" /></p><p> </rule></p><p> <rule name="Imported Rule 28"></p><p> <match url="^community/staff(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/staff.php" /></p><p> </rule></p><p> <rule name="Imported Rule 29"></p><p> <match url="^community/founders(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/staff.php?_rankGroup=founders" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule 30"></p><p> <match url="^community/sadmins(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/staff.php?_rankGroup=sadmins" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule 31"></p><p> <match url="^community/admins(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/staff.php?_rankGroup=admins" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule 32"></p><p> <match url="^community/mods(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/staff.php?_rankGroup=moderators" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule 132"></p><p> <match url="^community/tmods(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/staff.php?_rankGroup=tmoderators" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule 133"></p><p> <match url="^community/eventmanager(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/staff.php?_rankGroup=eventmanager" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Staff Events"></p><p> <match url="^community/events(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/staff.php?_rankGroup=events" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule 33"></p><p> <match url="^buyvip(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/vip.php" /></p><p> </rule></p><p> <rule name="Imported Rule 34"></p><p> <match url="^account/disconnected(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/disconnected.html" /></p><p> </rule></p><p> <rule name="Imported Rule 35"></p><p> <match url="^user/([^/]+)(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/userprofile.php?_username={R:1}" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule 36"></p><p> <match url="^user/id/([^/]+)(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/userprofile.php?_userid={R:1}" appendQueryString="false" /></p><p> </rule></p><p></p><p> <rule name="Imported Rule 37"></p><p> <match url="^market/vip(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/vip.php" /></p><p> </rule></p><p> </p><p> <rule name="Fansites Tab"></p><p> <match url="^fansites(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/fansites.php" /></p><p> </rule></p><p> </p><p> <rule name="Mod Apps Tab"></p><p> <match url="^staffapps(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/staff_apps.php" /></p><p> </rule></p><p> </p><p> <rule name="ROTW Community Tab"></p><p> <match url="^community/rotw(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/rotw.php" /></p><p> </rule></p><p> </p><p> <rule name="COTW Community Tab"></p><p> <match url="^community/cotw(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/cotw.php" /></p><p> </rule></p><p> </p><p> <rule name="Market Tab"></p><p> <match url="^market(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/market.php" /></p><p> </rule></p><p> </p><p> <rule name="Market Giveaway Tab"></p><p> <match url="^market/giveaway(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/giveaway.php" /></p><p> </rule></p><p> </p><p> <rule name="Cache Check"></p><p> <match url="^cacheCheck(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/cachecheck.php" /></p><p> </rule></p><p> </p><p> <rule name="Banned"></p><p> <match url="^banned(|/)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="/banned.php" /></p><p> </rule></p><p> </rules></p><p> </rewrite></p><p> </system.webServer></p><p></configuration></p><p>[/CODE]</p><p></p><p>lightcms.php;</p><p>[CODE]<?php</p><p></p><p> /*</p><p> _____ _ _ _ </p><p> |_ _| | | (_) </p><p> | | | | |_ _ _ __ ___ _ _ __ __ _</p><p> | | | | | | | | '_ ` _ \| | '_ \ / _` |</p><p> _| |_| | | |_| | | | | | | | | | | (_| |</p><p> |_____|_|_|\__,_|_| |_| |_|_|_| |_|\__,_|</p><p> </p><p> Illumina CMS by Jonteh (http://zaphotel.net/)</p><p> ***** Thread for updates & help: http://forum.*****.com/f353/rel-illumina-cms-php-oop-917506/</p><p> </p><p> ====================================</p><p> MAKE SURE YOU EDIT THE CONFIGURATION <<<<</p><p> ==================================== <<<<</p><p> MAKE SURE YOU EDIT THE CONFIGURATION <<<<</p><p> ====================================`</p><p> </p><p> */</p><p> </p><p> class LightCMS {</p><p> // Site stuff</p><p> public $staff_apps = true;</p><p> public $badgeshop_disabled = false;</p><p> </p><p> // Database Information (IMPORTANT)</p><p> public $db_hostname = "127.0.0.1";</p><p> public $db_username = "root";</p><p> public $db_password = "removed";</p><p> public $db_dbname = "r63b";</p><p> public $db_pconnect = true;</p><p> </p><p> // Timezone</p><p> public $timezone = 'Europe/London';</p><p> </p><p> // Caching Settings (only use one or the other to avoid problems)</p><p> public $apc_enabled = false;</p><p> public $wincache_enabled = true;</p><p> </p><p> // Session Handling</p><p> public $sess_mysql_enabled = false;</p><p> public $sess_table_name = 'site_sessions';</p><p> </p><p> // Block proxies (Tor network, headers etc)</p><p> public $torblock_enabled = false;</p><p> public $proxy_scan_headers = false; // Agressive (may block access from some Schools, Uni's etc)</p><p> </p><p> // Password Hashing Options (IMPORTANT)</p><p> // Valid options:</p><p> // MD5 (Uber 1, RevCMS styled hashing)</p><p> // Normal (Uber 2 & Illumina styled hashing)</p><p> public $hashing_method = "Normal";</p><p> </p><p> // Site Information (IMPORTANT)</p><p> public $site_url = "http://manor-hotel.co.uk";</p><p> public $site_name = "Manor Hotel";</p><p> public $site_short = "Manor";</p><p> public $facebook_account = "Jolt.Hotel";</p><p> public $twitter_account = "";</p><p> public $maintenance = false;</p><p> public $thehabbos_enabled = true;</p><p> public $thehabbos_username = "Diddy";</p><p> public $c_images = "http://manor-hotel.co.uk/game/images/";</p><p> </p><p> // Misc Settings</p><p> public $pin_enabled = false;</p><p> public $pin_code = "2290";</p><p> public $FORCE_SSL = false;</p><p> public $flash_client_dump = true;</p><p> public $mus_ip = '127.0.0.1';</p><p> public $mus_port = '30001';</p><p> </p><p> // Registration Controls</p><p> public $max_per_ip = 3;</p><p> public $reg_enabled = true;</p><p> public $default_credits = "15000";</p><p> public $default_pixels = "15000";</p><p> public $default_homeroom = 20934;</p><p> public $default_look = "hd-180-2.sh-290-92.lg-275-92.ch-3030-63.hr-831-61";</p><p> public $default_rank = "1";</p><p> public $default_motto = "I am new at Manor Hotel!";</p><p> public $default_gender = "M";</p><p> </p><p> // Server Settings</p><p> public $server_type = "Phoenix"; // Phoenix or Butterfly</p><p></p><p> // Client Settings</p><p> public $connection_info_host = "http://attackprotect.com/";</p><p> public $connection_info_host_realip = "http://attackprotect.com/";</p><p> public $connection_info_port = "30000";</p><p> public $connection_info_port_realip = "30000";</p><p> public $variables = "//manor-hotel.co.uk/game/latest_v/external_variables.txt";</p><p> public $texts = "//manor-hotel.co.uk/game/gamedata/b5da780fa98c6bc2fa2f70e68a9ac238/external_flash_texts.txt";</p><p> public $override_texts = "//manor-hotel.co.uk/externals.php?type=texts&?h=180520131";</p><p> public $override_vars = "//manor-hotel.co.uk/externals.php?type=vars&?h=180520131";</p><p> public $productdata = "//manor-hotel.co.uk/game/gamedata/archive/a9c2dfebdaa0a48b66498012a2fd4612/productdata.txt";</p><p> public $furnidata = "//manor-hotel.co.uk/game/gamedata/archive/a9c2dfebdaa0a48b66498012a2fd4612/furnidata.txt";</p><p> public $baseurl = "//manor-hotel.co.uk/game/core/05283f046dd1073a787334bce2beb332/";</p><p> public $habbo_swf = "//manor-hotel.co.uk/game/core/05283f046dd1073a787334bce2beb332/Habbo.swf";</p><p> public $loadingtext = "Please wait! Manor is loading.";</p><p> </p><p> // o-------------------------------------------------------------o</p><p> // | THIS IS WHERE THE CODING STARTS! DO NOT EDIT IF YOU ARE NEW |</p><p> // o-------------------------------------------------------------o </p><p> private $extDir = "engine/classes/ext/";</p><p> private $classDir = "engine/classes/";</p><p> public function exec() {</p><p> require $this->extDir . "class_raintpl.php";</p><p> require $this->extDir . "class_torblock.php";</p><p> require $this->extDir . "class_proxyscan.php";</p><p> require $this->classDir . "class_csrf.php";</p><p> require $this->classDir . "class_sessions.php";</p><p> require $this->classDir . "class_users.php";</p><p> require $this->classDir . "class_settings.php";</p><p> require $this->classDir . "class_core.php";</p><p> require $this->classDir . "class_db.php";</p><p> require $this->classDir . "class_tpl.php";</p><p> require $this->classDir . "class_scstats.php";</p><p> $this->MySQLi['Hostname'] = $this->db_hostname;</p><p> $this->MySQLi['Username'] = $this->db_username;</p><p> $this->MySQLi['Password'] = $this->db_password;</p><p> $this->MySQLi['Database'] = $this->db_dbname;</p><p> }</p><p> *REST REMOVED AS I FEEL ITS NOT NEEDED IN THIS THREAD.*</p><p> ?>[/CODE]</p><p></p><p>Josh</p></blockquote><p></p>
[QUOTE="Diddy, post: 256486, member: 5596"] Hello, Setting up a reto using IIS, but i have found a problem. All my pages load white and nothing appears? Im using Lightcms Edited By Boom Hotel. I have a feeling its to do with web.config but i wouldn't know how to fix it if there was a problem with it (I'm bad with web.config). So do any of you know a fix i can try, id be thankful for any help. Web.config; [CODE]<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules> <rule name="Badges"> <match url="^habbo-imaging/badge/([^/]+)" ignoreCase="true" /> <conditions logicalGrouping="MatchAll" trackAllCaptures="false" /> <action type="Rewrite" url="/habbo-imaging/badge.php?badge={R:1}" appendQueryString="false" /> </rule> <rule name="Promos XML"> <match url="habblet/xml/promo_habbos" ignoreCase="true" /> <conditions logicalGrouping="MatchAll" trackAllCaptures="false" /> <action type="Rewrite" url="habblet/xml/promo_habbos.xml" appendQueryString="false" /> </rule> <rule name="Imported Rule 1"> <match url="^quickregister/start(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/register.php?_register_step=1" appendQueryString="false" /> </rule> <rule name="Imported Rule 2"> <match url="^quickregister/age_gate_submit(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/register.php?_register_step=2" appendQueryString="false" /> </rule> <rule name="Imported Rule 3"> <match url="^quickregister/email_password(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/register.php?_register_step=3" appendQueryString="false" /> </rule> <rule name="Imported Rule 4"> <match url="^quickregister/email_password_submit(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/register.php?_register_step=4" appendQueryString="false" /> </rule> <rule name="Imported Rule 5"> <match url="^quickregister/captcha(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/register.php?_register_step=5" appendQueryString="false" /> </rule> <rule name="Imported Rule 6"> <match url="^quickregister/captcha_submit(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/register.php?_register_step=6" appendQueryString="false" /> </rule> <rule name="Imported Rule 7"> <match url="^quickregister/email_password_submit/fields(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/register.php?_register_step=3&_error=Please-enter-all-the-fields." appendQueryString="false" /> </rule> <rule name="Imported Rule 8"> <match url="^quickregister/age_gate/error(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/register.php?_register_step=1&_error=Please-enter-a-date-and-birth." appendQueryString="false" /> </rule> <rule name="Imported Rule 9"> <match url="^quickregister/email_password_submit/invalid_username(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/register.php?_register_step=3&_error=That-username-cannot-be-used,-sorry!" appendQueryString="false" /> </rule> <rule name="Imported Rule 10"> <match url="^quickregister/email_password_submit/invalid_email(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/register.php?_register_step=3&_error=Oops!-Looks-like-your-email-is-invalid,-please-enter-a-valid-one." appendQueryString="false" /> </rule> <rule name="Imported Rule 11"> <match url="^quickregister/email_password_submit/invalid_password(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/register.php?_register_step=3&_error=That-password-does-not-meet-our-standards.-Please-choose-a-new-one." appendQueryString="false" /> </rule> <rule name="Imported Rule 12"> <match url="^quickregister/captcha/error(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/register.php?_register_step=5&_error=You-entered-an-invalid-captcha.-Please-enter-it-again." appendQueryString="false" /> </rule> <rule name="Imported Rule 13"> <match url="^me(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/me.php" /> </rule> <rule name="Imported Rule 14"> <match url="^community(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/community.php" /> </rule> <rule name="Imported Rule 15"> <match url="^articles(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/news.php" /> </rule> <rule name="Imported Rule 16"> <match url="^vip(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/vip.php" /> </rule> <rule name="Imported Rule 17"> <match url="^profile(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/profile.php" /> </rule> <rule name="Imported Rule 18"> <match url="^client(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/client.php" /> </rule> <rule name="Imported Rule 19"> <match url="^account/signout(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/signout.php" /> </rule> <rule name="Imported Rule 20"> <match url="^articles/([^/]+)(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/news.php?_news_article_seo={R:1}" appendQueryString="false" /> </rule> <rule name="Imported Rule 21"> <match url="^articles/id/([^/]+)(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/news.php?_news_id={R:1}" appendQueryString="false" /> </rule> <rule name="Imported Rule 22"> <match url="^go/vip/([^/]+)(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/viplink.php?override=true&package={R:1}" appendQueryString="false" /> </rule> <rule name="Imported Rule 23"> <match url="^profile/basic_settings(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/profile.php?_profile_page=account_settings" appendQueryString="false" /> </rule> <rule name="Imported Rule 24"> <match url="^profile/password(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/profile.php?_profile_page=pass_settings" appendQueryString="false" /> </rule> <rule name="Imported Rule 25"> <match url="^client_denied(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/pincode.php" /> </rule> <rule name="Imported Rule 26"> <match url="^flash_client_error(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/client.php?e=flash_client_error" appendQueryString="false" /> </rule> <rule name="Imported Rule 27"> <match url="^market/badgeshop(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/badge_shop.php" /> </rule> <rule name="Imported Rule 28"> <match url="^community/staff(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/staff.php" /> </rule> <rule name="Imported Rule 29"> <match url="^community/founders(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/staff.php?_rankGroup=founders" appendQueryString="false" /> </rule> <rule name="Imported Rule 30"> <match url="^community/sadmins(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/staff.php?_rankGroup=sadmins" appendQueryString="false" /> </rule> <rule name="Imported Rule 31"> <match url="^community/admins(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/staff.php?_rankGroup=admins" appendQueryString="false" /> </rule> <rule name="Imported Rule 32"> <match url="^community/mods(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/staff.php?_rankGroup=moderators" appendQueryString="false" /> </rule> <rule name="Imported Rule 132"> <match url="^community/tmods(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/staff.php?_rankGroup=tmoderators" appendQueryString="false" /> </rule> <rule name="Imported Rule 133"> <match url="^community/eventmanager(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/staff.php?_rankGroup=eventmanager" appendQueryString="false" /> </rule> <rule name="Staff Events"> <match url="^community/events(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/staff.php?_rankGroup=events" appendQueryString="false" /> </rule> <rule name="Imported Rule 33"> <match url="^buyvip(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/vip.php" /> </rule> <rule name="Imported Rule 34"> <match url="^account/disconnected(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/disconnected.html" /> </rule> <rule name="Imported Rule 35"> <match url="^user/([^/]+)(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/userprofile.php?_username={R:1}" appendQueryString="false" /> </rule> <rule name="Imported Rule 36"> <match url="^user/id/([^/]+)(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/userprofile.php?_userid={R:1}" appendQueryString="false" /> </rule> <rule name="Imported Rule 37"> <match url="^market/vip(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/vip.php" /> </rule> <rule name="Fansites Tab"> <match url="^fansites(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/fansites.php" /> </rule> <rule name="Mod Apps Tab"> <match url="^staffapps(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/staff_apps.php" /> </rule> <rule name="ROTW Community Tab"> <match url="^community/rotw(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/rotw.php" /> </rule> <rule name="COTW Community Tab"> <match url="^community/cotw(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/cotw.php" /> </rule> <rule name="Market Tab"> <match url="^market(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/market.php" /> </rule> <rule name="Market Giveaway Tab"> <match url="^market/giveaway(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/giveaway.php" /> </rule> <rule name="Cache Check"> <match url="^cacheCheck(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/cachecheck.php" /> </rule> <rule name="Banned"> <match url="^banned(|/)$" ignoreCase="false" /> <action type="Rewrite" url="/banned.php" /> </rule> </rules> </rewrite> </system.webServer> </configuration> [/CODE] lightcms.php; [CODE]<?php /* _____ _ _ _ |_ _| | | (_) | | | | |_ _ _ __ ___ _ _ __ __ _ | | | | | | | | '_ ` _ \| | '_ \ / _` | _| |_| | | |_| | | | | | | | | | | (_| | |_____|_|_|\__,_|_| |_| |_|_|_| |_|\__,_| Illumina CMS by Jonteh (http://zaphotel.net/) ***** Thread for updates & help: http://forum.*****.com/f353/rel-illumina-cms-php-oop-917506/ ==================================== MAKE SURE YOU EDIT THE CONFIGURATION <<<< ==================================== <<<< MAKE SURE YOU EDIT THE CONFIGURATION <<<< ====================================` */ class LightCMS { // Site stuff public $staff_apps = true; public $badgeshop_disabled = false; // Database Information (IMPORTANT) public $db_hostname = "127.0.0.1"; public $db_username = "root"; public $db_password = "removed"; public $db_dbname = "r63b"; public $db_pconnect = true; // Timezone public $timezone = 'Europe/London'; // Caching Settings (only use one or the other to avoid problems) public $apc_enabled = false; public $wincache_enabled = true; // Session Handling public $sess_mysql_enabled = false; public $sess_table_name = 'site_sessions'; // Block proxies (Tor network, headers etc) public $torblock_enabled = false; public $proxy_scan_headers = false; // Agressive (may block access from some Schools, Uni's etc) // Password Hashing Options (IMPORTANT) // Valid options: // MD5 (Uber 1, RevCMS styled hashing) // Normal (Uber 2 & Illumina styled hashing) public $hashing_method = "Normal"; // Site Information (IMPORTANT) public $site_url = "http://manor-hotel.co.uk"; public $site_name = "Manor Hotel"; public $site_short = "Manor"; public $facebook_account = "Jolt.Hotel"; public $twitter_account = ""; public $maintenance = false; public $thehabbos_enabled = true; public $thehabbos_username = "Diddy"; public $c_images = "http://manor-hotel.co.uk/game/images/"; // Misc Settings public $pin_enabled = false; public $pin_code = "2290"; public $FORCE_SSL = false; public $flash_client_dump = true; public $mus_ip = '127.0.0.1'; public $mus_port = '30001'; // Registration Controls public $max_per_ip = 3; public $reg_enabled = true; public $default_credits = "15000"; public $default_pixels = "15000"; public $default_homeroom = 20934; public $default_look = "hd-180-2.sh-290-92.lg-275-92.ch-3030-63.hr-831-61"; public $default_rank = "1"; public $default_motto = "I am new at Manor Hotel!"; public $default_gender = "M"; // Server Settings public $server_type = "Phoenix"; // Phoenix or Butterfly // Client Settings public $connection_info_host = "http://attackprotect.com/"; public $connection_info_host_realip = "http://attackprotect.com/"; public $connection_info_port = "30000"; public $connection_info_port_realip = "30000"; public $variables = "//manor-hotel.co.uk/game/latest_v/external_variables.txt"; public $texts = "//manor-hotel.co.uk/game/gamedata/b5da780fa98c6bc2fa2f70e68a9ac238/external_flash_texts.txt"; public $override_texts = "//manor-hotel.co.uk/externals.php?type=texts&?h=180520131"; public $override_vars = "//manor-hotel.co.uk/externals.php?type=vars&?h=180520131"; public $productdata = "//manor-hotel.co.uk/game/gamedata/archive/a9c2dfebdaa0a48b66498012a2fd4612/productdata.txt"; public $furnidata = "//manor-hotel.co.uk/game/gamedata/archive/a9c2dfebdaa0a48b66498012a2fd4612/furnidata.txt"; public $baseurl = "//manor-hotel.co.uk/game/core/05283f046dd1073a787334bce2beb332/"; public $habbo_swf = "//manor-hotel.co.uk/game/core/05283f046dd1073a787334bce2beb332/Habbo.swf"; public $loadingtext = "Please wait! Manor is loading."; // o-------------------------------------------------------------o // | THIS IS WHERE THE CODING STARTS! DO NOT EDIT IF YOU ARE NEW | // o-------------------------------------------------------------o private $extDir = "engine/classes/ext/"; private $classDir = "engine/classes/"; public function exec() { require $this->extDir . "class_raintpl.php"; require $this->extDir . "class_torblock.php"; require $this->extDir . "class_proxyscan.php"; require $this->classDir . "class_csrf.php"; require $this->classDir . "class_sessions.php"; require $this->classDir . "class_users.php"; require $this->classDir . "class_settings.php"; require $this->classDir . "class_core.php"; require $this->classDir . "class_db.php"; require $this->classDir . "class_tpl.php"; require $this->classDir . "class_scstats.php"; $this->MySQLi['Hostname'] = $this->db_hostname; $this->MySQLi['Username'] = $this->db_username; $this->MySQLi['Password'] = $this->db_password; $this->MySQLi['Database'] = $this->db_dbname; } *REST REMOVED AS I FEEL ITS NOT NEEDED IN THIS THREAD.* ?>[/CODE] Josh [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
White Index & Pages
Top