[Tut] How to make a UberCms Retro! [Tut]

kek

New Member
Mar 25, 2012
4
0
Could you please make UberCMS TUT? Need bit of help
Deprecated
: Function set_magic_quotes_runtime() is deprecated in

C:\xampp\htdocs\global.php
on line

30 ? And also saying my hotel
Sorry, the hotel is offline? Need help
je moet IIS7 gebruiken
 

yongkwangchian

New Member
Jul 2, 2012
4
0
Mretrotutorial...i cant find "Once extracted, go to "..../r63/external_variables.txt". Open in notepad, and click replace." please tell me where??

I can't find "Once extracted, go to "..../r63/external_variables.txt". Open in notepad, and click replace." please tell me where
 

Khalil

IDK
Dec 6, 2011
1,642
786
I have downloaded everything, but what do I do now? Where is my website?

I used localhost.

facepalm.jpg You Can Go to: or Then you will find your website,just set a password for your phpMyAdmin Then Clear Your htdocs From Everything then Upload your CMS Files Into It.
 

yongkwangchian

New Member
Jul 2, 2012
4
0
images
I Love Habbo
 

helpmeimanewb

New Member
Aug 2, 2012
14
1
Guys so far youve all been complaining about localhost either your computer is Not good or your doing something wrong and plus. This is a good tutorial everything works but i do still have a problem to make my hotel public becuase if i make the ip's 127.0.0.1 the client works but when i change to hamachi ip it doesnt work any help?

and dont understand edit along the lines of this because its already edited like that XD
 

Destruct

FateRP Founder
Feb 12, 2012
548
6
I got everything set up. I just getting my emu, but when I load the page it says this

Parse error: parse error in C:\xampp\htdocs\inc\class.db.mysql.php on line 49

I tried fixing it, but nothing happen



<?php
/*=======================================================================
| UberCMS - Advanced Website and Content Management System for uberEmu
| #######################################################################
| Copyright (c) 2010, Roy 'Meth0d'
|
| #######################################################################
| This program is free software: you can redistribute it and/or modify
| it under the terms of the GNU General Public License as published by
| the Free Software Foundation, either version 3 of the License, or
| (at your option) any later version.
| #######################################################################
| This program is distributed in the hope that it will be useful,
| but WITHOUT ANY WARRANTY; without even the implied warranty of
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
| GNU General Public License for more details.
\======================================================================*/

class MySQL
{
private $connected = false;
private $hostname = "localhost";
private $username = "root";
private $password = "bottomline";
private $database = "Uber";
private $link;

public function MySQL($host, $user, $pass, $db)
{
$this->connected = false;
$this->hostname = $localhost;
$this->username = $root;
$this->password = $bottomline;
$this->database = $Uber;
}

public function IsConnected()
{
if ($this->connected)
{
return true;
}

return false;
}

public function Connect()
{
$this-> = mysql_connect($this->localhost, $this->root, $this->bottomline) or $this->error(mysql_error());
mysql_select_db($this->Uber, $this-> ) or $this->error(mysql_error());

$this->connected = true;
}

public function Disconnect()
{
if($this->connected)
{
@mysql_close($this-> ) or $this->error("could not close conn");
$this->connected = false;
}
}

public function DoQuery($query)
{
$resultset = @mysql_query($query, $this-> ) or $this->error(mysql_error());
return $resultset;
}

public function Evaluate($resultset)
{
return @mysql_result($resultset, 0);
}

public function Error($errorString)
{
global $core;

$core->systemError('Database Error', $errorString);
}

public function __destruct()
{
$this->disconnect();
}
}

?>
 

Jezus

The one and only..
Aug 14, 2012
122
49
Code:
<?php
$rand1 = rand(100000, 999999);
$rand2 = rand(10000, 99999);
$rand3 = rand(10000, 99999);
$rand4 = rand(10000, 99999);
$rand5 = rand(10000, 99999);
$rand6 = rand(1, 9);
 
$ticket = "ST-".$rand1."-".$rand2.$rand3."-".$rand4.$rand5."-*****-".$rand6;
$username = $_SESSION['UBER_USER_N'];
 
$query = mysql_query("UPDATE users SET auth_ticket = '$ticket' WHERE username = '$username'");
$query = mysql_query("UPDATE users SET ip_last = '".$_SERVER['REMOTE_ADDR']."' WHERE username = '$username'");
 
?>
 
<body id="client" class="flashclient">
 
<script type="text/javascript">
var habboDefaultClientPopupUrl = "%www%/client";
</script>
 
<noscript>
<meta http-equiv="refresh" content="0;url=%www%/client/nojs" />
</noscript>
 
<script type="text/javascript">
FlashExternalInterface.loginLogEnabled = true;
 
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" : "127.0.0.1",
"connection.info.port" : "30000",
"site.url" : "%www%",
"url.prefix" : "%www%",
"client.reload.url" : "%www%/account/reauthenticate?page=/flash_client",
"client.fatal.error.url" : "%www%/flash_client_error",
"client.connection.failed.url" : "%www%/client_connection_failed",
"external.hash" : "",
"external.variables.txt" : "http://link.com/client1/r63/external_variables.txt",
"external.texts.txt" : "http://link.com/client1/r63/external_flash_texts.txt",
"use.sso.ticket" : "1",
<?php
 
if ($forwardType > 0)
{
echo ' "forward.type" : "' . $forwardType . '",' . LB;
echo ' "forward.id" : "' . $forwardId . '",' . LB;
}
 
?>
"sso.ticket" : "<?php echo $ticket; ?>",
"processlog.enabled" : "0",
"account_id" : "0",
"client.starting" : "Loading hotel name Hotel...",
"flash.client.url" : "http://link.com/client1/r63/",
"user.hash" : "",
"facebook.user" : "0",
"has.identity" : "0",
"flash.client.origin" : "popup"
};
var params = {
"base" : "http://link.com/client1/r63/",
"allowScriptAccess" : "always",
"menu" : "false"
};
 
if (!(HabbletLoader.needsFlashKbWorkaround())) {
params["wmode"] = "opaque";
}
 
var clientUrl = "http://212.38.176.149/r63/gordon/RELEASE63-34096-33779-201105271559/Habbo.swf";
try {
if (swfobject.getFlashPlayerVersion().major <= 9) {
clientUrl = "http://212.38.176.149/r63/gordon/RELEASE63-34096-33779-201105271559/Habbo.swf";
}
} catch(e) {}
swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "9.0.115", "http://images.habbo.com/habboweb/%web_build%/web-gallery/flash/expressInstall.swf", flashvars, params);
</script>
 
<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 install Adobe Flash Player.</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/63_1dc60c6d6ea6e089c6893ab4e0541ee0/207/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 id="content" class="client-content"></div>
</div>
<div style="display: none">
<div id="habboCountUpdateTarget">
%hotel_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");
</script>
 
</body>
</html>

"external.variables.txt" : " ",
"external.texts.txt" : " ",

where it says that " ", Can i put my IP address there?
 

TyLeR_RuLeZ

Member
May 6, 2012
132
12
Code:
<?php
$rand1 = rand(100000, 999999);
$rand2 = rand(10000, 99999);
$rand3 = rand(10000, 99999);
$rand4 = rand(10000, 99999);
$rand5 = rand(10000, 99999);
$rand6 = rand(1, 9);
 
$ticket = "ST-".$rand1."-".$rand2.$rand3."-".$rand4.$rand5."-*****-".$rand6;
$username = $_SESSION['UBER_USER_N'];
 
$query = mysql_query("UPDATE users SET auth_ticket = '$ticket' WHERE username = '$username'");
$query = mysql_query("UPDATE users SET ip_last = '".$_SERVER['REMOTE_ADDR']."' WHERE username = '$username'");
 
?>
 
<body id="client" class="flashclient">
 
<script type="text/javascript">
var habboDefaultClientPopupUrl = "%www%/client";
</script>
 
<noscript>
<meta http-equiv="refresh" content="0;url=%www%/client/nojs" />
</noscript>
 
<script type="text/javascript">
FlashExternalInterface.loginLogEnabled = true;
 
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" : "127.0.0.1",
"connection.info.port" : "30000",
"site.url" : "%www%",
"url.prefix" : "%www%",
"client.reload.url" : "%www%/account/reauthenticate?page=/flash_client",
"client.fatal.error.url" : "%www%/flash_client_error",
"client.connection.failed.url" : "%www%/client_connection_failed",
"external.hash" : "",
"external.variables.txt" : "http://link.com/client1/r63/external_variables.txt",
"external.texts.txt" : "http://link.com/client1/r63/external_flash_texts.txt",
"use.sso.ticket" : "1",
<?php
 
if ($forwardType > 0)
{
echo ' "forward.type" : "' . $forwardType . '",' . LB;
echo ' "forward.id" : "' . $forwardId . '",' . LB;
}
 
?>
"sso.ticket" : "<?php echo $ticket; ?>",
"processlog.enabled" : "0",
"account_id" : "0",
"client.starting" : "Loading hotel name Hotel...",
"flash.client.url" : "http://link.com/client1/r63/",
"user.hash" : "",
"facebook.user" : "0",
"has.identity" : "0",
"flash.client.origin" : "popup"
};
var params = {
"base" : "http://link.com/client1/r63/",
"allowScriptAccess" : "always",
"menu" : "false"
};
 
if (!(HabbletLoader.needsFlashKbWorkaround())) {
params["wmode"] = "opaque";
}
 
var clientUrl = "http://212.38.176.149/r63/gordon/RELEASE63-34096-33779-201105271559/Habbo.swf";
try {
if (swfobject.getFlashPlayerVersion().major <= 9) {
clientUrl = "http://212.38.176.149/r63/gordon/RELEASE63-34096-33779-201105271559/Habbo.swf";
}
} catch(e) {}
swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "9.0.115", "http://images.habbo.com/habboweb/%web_build%/web-gallery/flash/expressInstall.swf", flashvars, params);
</script>
 
<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 install Adobe Flash Player.</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/63_1dc60c6d6ea6e089c6893ab4e0541ee0/207/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 id="content" class="client-content"></div>
</div>
<div style="display: none">
<div id="habboCountUpdateTarget">
%hotel_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");
</script>
 
</body>
</html>

"external.variables.txt" : " ",
"external.texts.txt" : " ",

where it says that " ", Can i put my IP address there?
yes put it where it says link.com
 

Destruct

FateRP Founder
Feb 12, 2012
548
6
for me i think i will need windows 7 to do it, because i used every cms there is, and it gives me that global error. i dont think it operates or functions right on xp.
 

Users who are viewing this thread

Top