Help changing CMS

DragonFruit

House Targaryen
Jun 23, 2018
20
1
So i'm currently practicing developing on an XAMPP retro cus idk how to develop and am going to learn. I followed a CMS changing tutorial but it wouldnt work and im stuck with this CMS below ^

You must be registered for see images attach


Every single time i try to change the CMS is the client doesn't work but the homepage does? If you know whats wrong please tell me or link me to a tutorial/CMS that will work. Below is the current version of a habbo retro i'm running.

You must be registered for see images attach


Thank you~
 

LeChris

github.com/habbo-hotel
Sep 30, 2013
2,744
1,326
The client wouldn't work most likely because you are not configuring the SWF properly. Can you specify what exactly goes wrong with the client? Black/White Page?
 

DragonFruit

House Targaryen
Jun 23, 2018
20
1
The client wouldn't work most likely because you are not configuring the SWF properly. Can you specify what exactly goes wrong with the client? Black/White Page?
It all depends on the CMS, it can be white, black, etc. I'm using the "Habway" CMS from Retro Ripper but when i go to client this is what happens...
You must be registered for see images attach

 
HTML:
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta http-equiv="content-type" content="text/html; charset=utf-8">
        <title>Mabbo ~ Client</title>
        <link rel="stylesheet" href="Mabbo.xyz/app/tpl/skins/Habway/client/clientui.css?31" type="text/css">
        <link rel="shortcut icon" href="/images/web-gallery/v2/favicon.ico" type="image/vnd.microsoft.icon" />
       <script src="Mabbo.xyz/app/tpl/skins/Habway/client/swfobject.js" type="text/javascript"></script>


<style> @import url(https://fonts.googleapis.com/css?family=Ubuntu:400,500,300,700); @import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700,800); body, html {font-family: Ubuntu; } #main_content {     height: 200px;     width: 400px;     margin-left:auto;     margin-right:auto;     margin-top:100px;     background: #E2E2E2;     border: 1px solid rgba(255,255,255,0.1);     border-radius: 4px;     padding: 10px;     position: relative;     box-shadow: inset 0px 3px 0px 0px white, inset 0px -4px 0px 0px rgba(0,0,0,0.2); } input[type="password"] {     padding: 15px;     margin-top: 10px;     border: 1px solid rgba(0,0,0,0.2);     width: 367px;     border-radius: 4px;     font-size: 20px;     font-family: Open Sans;     font-weight: lighter; } input[type="submit"] {     border-radius: 5px;     padding: 4px 10px;     background: #E2E2E2;     box-shadow: inset 0px 3px 0px 0px white, inset 0px -4px 0px 0px rgba(0,0,0,0.2);     border: 1px solid black;     font-family: Ubuntu;     font-weight: bold;     text-shadow: 0px 1px 0px white; } input[type="submit"]:hover {     box-shadow: inset 0px 3px 0px 0px white, inset 0px -4px 0px 0px rgba(0,0,0,0.2), 0px 0px 50px 0px rgba(0,0,0,0.4); } </style>
    
    
        
  <?php
                    if(isset($_SESSION['user']['id']))
                    {
                        echo '
                        <style>@import url(https://fonts.googleapis.com/css?family=Ubuntu:400,500,300,700);.clientwindow{position:absolute;z-index:1;border-style:solid;border-width:33px 6px 7px;-moz-border-image:url(./_client/box_clientwindow.png) 33 6 7 repeat;-webkit-border-image:url(./_client/box_clientwindow.png) 33 6 7 repeat;-o-border-image:url(./_client/box_clientwindow.png) 33 6 7 repeat;border-image:url(./_client/box_clientwindow.png) 33 6 7 fill repeat;padding-top:5px;}.clientwindow .closebtn{background-image:url(./_client/close_btn.png);width:19px;height:20px;float:right;margin-top:-30px;}.clientwindow .closebtn:hover{background-position:38px 0;}.clientwindow .closebtn:active{background-position:19px 0;}.clientwindow .heading{position:absolute;top:-22px;font-weight:bold;font-size:12px;text-align:center;width:100%;z-index:-1;}#events{position:absolute;z-index:999999;background:#E2E2E2;font-weight:bold;text-shadow:0px 1px 0px white;font-family:Ubuntu;cursor:pointer;border:1px solid #919191;box-shadow:inset 0px 3px 0px 0px white,inset 0px -16px 0px 0px #D9D9D9;-webkit-box-shadow:inset 0px 3px 0px 0px white,inset 0px -16px 0px 0px #D9D9D9;-moz-box-shadow:inset 0px 3px 0px 0px white,inset 0px -16px 0px 0px #D9D9D9;-o-box-shadow:inset 0px 3px 0px 0px white,inset 0px -16px 0px 0px #D9D9D9;-ms-box-shadow:inset 0px 3px 0px 0px white,inset 0px -16px 0px 0px #D9D9D9;height:35px;color:black;font-size:17px;right:220px;line-height:35px;border-radius:5px;width:120px;margin-top:10px;transition:opacity 1s;}#events:hover{opacity:0.6;}#events>.icn{height:35px;width:30px;margin-left:10px;margin-right:5px;float:left;background:url(http://www.habbo.cr/public/images/events/events_icon.png) 0 center no-repeat;}#counter,#antiad,#forum{font-size: 12pt;position:absolute;z-index:999999;background:none repeat scroll 0% 0% rgba(54,54,54,0.94);height:40px;margin-top:-4px;float:left;color:#FFF;font-family:Ubuntu;font-weight:500;line-height:40px;right:220px;border-radius:6px;box-shadow:0px 2px 0px rgba(255,255,255,0.1) inset,0px -3px 0px rgba(0,0,0,0.4) inset;padding:0px 20px;}#antiad{right:400px;}#forum{right:600px;}.videoalert{position:absolute;z-index:999999;background:none repeat scroll 0% 0% rgba(174,0,0,0.94);height:40px;margin-top:-4px;float:left;color:#FFF;font-family:Ubuntu;font-weight:500;line-height:40px;right:400px;border-radius:6px;box-shadow:0px 2px 0px rgba(255,255,255,0.1) inset,0px -3px 0px rgba(0,0,0,0.4) inset;padding:0px 20px;font-size:1.4em;}</style>
                                
                              
                        
                        <script type="text/javascript">
                                    var BaseUrl = "http://localhost/game";
                                    var flashvars =
                                    {
                                        "client.starting" : "Mabbo Dunyasi Hazirlaniyor!",
                                        "client.allow.cross.domain" : "1",
                                        "client.notify.cross.domain" : "0",
                                        "connection.info.host" : "localhost",
                                        "site.url" : "localhost",
                                        "connection.info.port" : "30000",                   
                                        "url.prefix" : "localhost",
                                        "client.reload.url" : "localhost/client",
                                        "client.fatal.error.url" : "localhost/client?disconnected",
                                        "client.connection.failed.url" : "localhost/disconnected",
                                        "external.variables.txt" : "localhost/game/gamedata/external_variables.txt",
                                        "furnidata.load.ur1" : "localhost/game/gamedata/furnidata.xml",
                                        "external.texts.txt" : "localhost/game/gamedata/external_flash_texts.txt",
                                        "productdata.load.url" : "localhost/game/gamedata/productdata.xml",
                                        "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("localhost/game/Habbo.swf", "client", "100%", "100%", "10.0.0", "{swf_folder}/expressInstall.swf", flashvars, params, null);
                                </script>
        
                                </head>
    
                            <body>
                            <a href="/active" target="_blank"><div id="counter">Yukleniyor...</div></a>
                                <div id="client"></div>
        
                                <script src="http://code.jquery.com/jquery-latest.js"></script>       
                                <script type="text/javascript">

                                $(document).ready(function() {

                                $("#counter").load(\'/online?refresh\');

                                var refreshId = setInterval(function() {
                                $("#counter").fadeOut("fast").load(\'/online?refreshed\').fadeIn("slow");
                                $("#counter").load(\'/online?refresh\');
                                }, 10000);

                                $.ajaxSetup({ cache: false });

                                });

                        </script>
    
                            </body>
                        </html>
        
        
                                ';
                    }
                    else
                    {
                        header("Location: /index");
                        exit();
                    }
                    ?>
 

Berk

berkibap#4233
Developer
Oct 17, 2015
863
190
Code:
swfobject.embedSWF("localhost/game/Habbo.swf", "client", "100%", "100%", "10.0.0", "{swf_folder}/expressInstall.swf", flashvars, params, null);
See this? it will pull the Habbo.swf from localhost/client/localhost/game/Habbo.swf if you don't add the http(s):// wrapper.
Code:
swfobject.embedSWF("http://localhost/game/Habbo.swf", "client", "100%", "100%", "10.0.0", "{swf_folder}/expressInstall.swf", flashvars, params, null);
 

LeChris

github.com/habbo-hotel
Sep 30, 2013
2,744
1,326
That just means your SWF path isn't right and it cannot find your Habbo.swf

localhost/game/Habbo.swf

Have you tried making it

is there actually a SWF there?
 

Users who are viewing this thread

Top