[HELP]RevCMS Shango Theme Help

Awesome

Member
Sep 8, 2012
54
0
Hey i know im kind of a newbie,but i have got a few questiond. Firstly,when i enter my client it dc's straight away, and i have my emu on.Heres my variables,config,and client.php if thats helpful.
Variables:
Code:
avatareditor.allowclubtryout=0
avatareditor.promohabbos=http://127.0.0.1/gordon/gamedata/promo_habbos.xml
avatar.widget.enabled=1
billboard.adwarning.left.url=AdWarningsUK/ad_warning_L.png
billboard.adwarning.right.url=AdWarningsUK/ad_warning_R.png
catalog.drag_and_drop=true
cfh.usercategories.withharasser=101,102,103,104,105,106
cfh.usercategories.withnoharasser=101,102,103,104,105,106
club.subscription.disabled=1
client.fatal.error.url=http://127.0.0.1/client_error
client.logout.enabled=true
client.allow.facebook.like=0
client.allow.external.links=1
client.credits.embed.enabled=false
client.news.embed.enabled=true
client.minimail.embed.enabled=false
client.hotel_view.show_on_startup=1
client.hotel_view.image=hotel_view_images_hq/hotelview_default.png
client.toolbar.static.enabled=true
dynamic.download.url=http://127.0.0.1/gordon/hof_furni/
dynamic.download.name.template=%typeid%.cct
dynamic.download.samples.template=%typeid%.cct
embed.showInRoomInfo=true
external.texts.txt=http://127.0.0.1/gordon/external_flash_texts/1.txt
external.figurepartlist.txt=http://127.0.0.1/gordon/gamedata/figuredata.xml
group.badge.url=http://127.0.0.1/habbo-imaging/badge/%imagerdata%.gif
hotelview.banner.url=http://127.0.0.1/gordon/swf/banner.png
habboinfotool.url=/housekeeping/?r=
hover.name.enabled=true
image.library.url=http://127.0.0.1/gordon/c_images/
image.library.playlist.url=http://127.0.0.1/gordon/c_images/playlist/
image.library.catalogue.url=http://127.0.0.1/gordon/c_images/catalogue/
image.library.questing.url=http://127.0.0.1/gordon/c_images/Quests/
infostand.report.show=1
link.format.club=http://127.0.0.1/
link.format.credits=http://127.0.0.1/
link.format.collectibles=http://127.0.0.1/
link.format.friendlist.pref=http://127.0.0.1/content/1-Home/settings.cfm
link.format.mail.compose=http://127.0.0.1/content/1-Home/home.cfm?id=%recipientid%
link.format.userpage=http://127.0.0.1/content/1-Home/home.cfm?id=%ID%
interstitial.enabled=false
interstitial.show.time=5000
interstitial.max.displays=8
interstitial.interval=120000
lagWarningLog.enabled=0
latencytest.interval=20000
latencytest.report.index=3
latencytest.report.delta=100
logout.url=http://127.0.0.1/client/disconnected.cfm?reason=%reason%&origin=%origin%
logout.disconnect.url=http://127.0.0.1/client/disconnected.cfm?reason=logout&origin=%origin%
menu.avatar.enabled=true
moderatoractionlog.url=/housekeeping/?r=
navigator.default.view=public
navigator.default_tab=official
navigator.colorlimit.yellow=50
navigator.colorlimit.orange=80
navigator.colorlimit.red=92
navigator.always_open_after_login=0
new.chat.widget.enabled=1
new.chat.bubbles.enabled=0
pixels.enabled=true
purse.widget.enabled=1
predefined_room.type=1
private.image.library.url=http://127.0.0.1/gordon/c_images/
productdata.load.url=http://127.0.0.1/gordon/productdata.txt
questing.enabled=true
questing.defaultCampaign=room_builder
questing.showDetailsForNextQuest=false
questing.startQuestDelayInSeconds=10
feed.badge_decorations.album=Feed_Badges
feed.badge_decorations.decoration_id=001
furnidata.load.url=http://127.0.0.1/gordon/furnidata.txt
flash.dynamic.download.url=127.0.0.1/gordon/hof_furni/
flash.dynamic.download.name.template=%typeid%.swf
flash.dynamic.download.samples.template=mp3/sound_machine_sample_%typeid%.mp3
friendbar.enabled=true
friend_bar.helper.friend_finding.enabled=false
roomenterad.habblet.enabled=false
roomadmin.url=/housekeeping/?r=
roominfo.widget.enabled=1
room.rating.enable=1
room.dragging.always_center=0
subscription.reminder.when.days.left=5
standaloneAchievementList.enabled=false
trax.player.sample.memory.purge.enabled=1
viral.furni.post_type=appRequest
welcome.screen.enabled=1
Config:
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'] = 'connect'; //Type of connection: It must be connect, or pconnect: if you want a persistent connection.
 
$_CONFIG['mysql']['hostname'] = 'localhost'; //MySQL host
 
$_CONFIG['mysql']['username'] = 'root'; //MySQL username
 
$_CONFIG['mysql']['password'] = 'MyDbPass'; //MySQL password
 
$_CONFIG['mysql']['database'] = 'phoenix2'; //MySQL database
 
$_CONFIG['mysql']['port'] = '3306'; //MySQL's port
 
/*
*
*    Hotel management  - All URLs do not end with an "/"
*
*/
 
$_CONFIG['hotel']['server_ip'] = '127.0.0.1'; //IP of VPS/DEDI/etc
 
$_CONFIG['hotel']['url'] = 'http://127.0.0.1'; //Does not end with a "/"
 
$_CONFIG['hotel']['name'] = 'Awesome'; // Hotel's name
 
$_CONFIG['hotel']['desc'] = 'The Most Awesome hotel around!'; //Hotel's description
 
$_CONFIG['hotel']['email'] = '[email protected]'; //Where the help queries from users are emailed to.@Priv skin
 
$_CONFIG['hotel']['in_maint'] = false; //False if hotel is NOT in maintenance. True if hotel IS in maintenance
 
$_CONFIG['hotel']['motto'] = 'I <3 ' . $_CONFIG['hotel']['name']; //Default motto users will register with.
 
$_CONFIG['hotel']['credits'] = 5000; //Default number of credits users will register with.
 
$_CONFIG['hotel']['pixels'] = 10000; //Default number of pixels users will register with.
 
$_CONFIG['hotel']['figure'] = '-'; //Default figure users will register with.
 
$_CONFIG['hotel']['web_build'] = '63_1dc60c6d6ea6e089c6893ab4e0541ee0/1267'; //Web_Build
 
$_CONFIG['hotel']['external_vars'] = 'http://127.0.0.1/gordon/external_variables.txt'; //URL to your external vars
 
$_CONFIG['hotel']['external_texts'] = 'http://127.0.0.1/gordon/external_texts.txt'; //URL to your external texts
 
$_CONFIG['hotel']['product_data'] = 'http://127.0.0.1/gordon/productdata.txt'; //URL to your productdata
 
$_CONFIG['hotel']['furni_data'] = 'http://127.0.0.1/gordon/furnidata.txt'; //URL to your furnidata
 
$_CONFIG['hotel']['swf_folder'] = 'http://127.0.0.1/gordon/swf'; //URL to your SWF folder(does not end with a '/')
 
/*
*
*    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'] = 'Shango';
 
/*
*
*    Other topsites.. thing
*
*/
 
$_CONFIG['thehabbos']['username'] = 'Kryptos';
$_CONFIG['retro_top']['user'] = 'Kryptos';
 
/*
*
*    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'] = 'TwitterAccount'; //Hotel's Twitter account
 
$_CONFIG['social']['facebook'] = 'FacebookAccount'; //Hotel's Facebook account
Client:
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="app/tpl/skins/{skin}/client/libs2.js" type="text/javascript"></script>
<script src="app/tpl/skins/{skin}/client/visual.js" type="text/javascript"></script>
<script src="app/tpl/skins/{skin}/client/libs.js" type="text/javascript"></script>
<script src="app/tpl/skins/{skin}/client/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" />
 
 
<noscript>
    <meta http-equiv="refresh" content="0;url=/client/nojs" />
</noscript>
 
<link rel="stylesheet" href="app/tpl/skins/{skin}/client/client.css" type="text/css" />
<script src="app/tpl/skins/{skin}/client/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" : "0",
            "client.notify.cross.domain" : "1",
            "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",
            "client.connection.failed.url" : "{url}/disconnected",
            "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", "http://images.habbo.com/habboweb/{web_build}/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/nojs">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>
 
<script type="text/javascript">
 
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-15697942-2']);
  _gaq.push(['_trackPageview']);
 
  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
 
</script>
And i have one more issue thats bugging me...
Code:
Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for '-4.0/DST' instead in C:\xampp\htdocs\app\tpl\class.forms.php on line 90
 

Users who are viewing this thread

Top