Salve di nuovo gente di Sciax2 , ultimamente sto scrivendo troppi topic ,
So che di guide su come creare un retro ce ne sono a miglialia , ma oramai siete abituati troppo ad Holo e io non posso concepire che non sappiate configurare un Uber (viste le troppe richieste).
L'obbiettivo principale di questa guida è spiegarvi come configurare appunto un Uber CMS.
Quello di cui avrete bisogno sono :
1)Un account su
2) Ma si dai , facciamo Xampp ( è inutile che vidica di registrarvi su phpmyadmin, non è questo lo scopo della guida).
3) Un CMS base Uber :soso:
Dopo che vi siete registrati su phpmyadmin andiamo a ''lavorare :|'' sul nostro cms , quindi aprite la cartella htdocs di xampp e cercate il file inc.config(guarda sotto) :
Dopodichè cercate il file class.db.mysql e configurate cosi (guarda sotto) :
E infine modifichiamo il page client (per far funzionare il client :soso: ) e configurate cosi (guarda sotto) :
Ovviamente per far funzionare il client dovrete anche modificare l'emulatore ma ripeto , loscopo della guida non spiegare come creare un retro ma solo illustrare come configurare il cms.
GUIDA CREATA INTERAMENTE DA ME , VIETATA LA COPIA SE NON CON LA MIA AUTORIZZAZIONE , CON QUESTO VI SALUTO E ... BASTA TOPIC :vecchio:
--------------- AGGIUNTA AL POST ---------------
EDIT: Se il titolo non è consono al topic prego i moderatori di cambiarlo , grazie ^^.
So che di guide su come creare un retro ce ne sono a miglialia , ma oramai siete abituati troppo ad Holo e io non posso concepire che non sappiate configurare un Uber (viste le troppe richieste).
L'obbiettivo principale di questa guida è spiegarvi come configurare appunto un Uber CMS.
Quello di cui avrete bisogno sono :
1)Un account su
Perfavore,
Entra
oppure
Registrati
per vedere i Link!
, download DUC incluso.2) Ma si dai , facciamo Xampp ( è inutile che vidica di registrarvi su phpmyadmin, non è questo lo scopo della guida).
3) Un CMS base Uber :soso:
Dopo che vi siete registrati su phpmyadmin andiamo a ''lavorare :|'' sul nostro cms , quindi aprite la cartella htdocs di xampp e cercate il file inc.config(guarda sotto) :
<?php
/*=======================================================================
| LxCMS v2 | Distribución Libre para uso GRATUITO | 2011 - 2012.
\======================================================================*/
$config['Site']['www'] = "http://qui mettete il nome del vostro host no di no-ip es:
$config['Site']['hash_secret'] = "xCg532%@%gdvf^5DGaa6&*rFTfg^FD4\(ugf*/";
$config['MySQL']['hostname'] = "localhost";
$config['MySQL']['username'] = "root";
$config['MySQL']['password'] = "password phpmyadmin";
$config['MySQL']['database'] = "nome database";
$config['MUS']['enabled'] = false;
$config['MUS']['ip'] = "ip del vostro router";
$config['MUS']['port'] = 30001;
?>
/*=======================================================================
| LxCMS v2 | Distribución Libre para uso GRATUITO | 2011 - 2012.
\======================================================================*/
$config['Site']['www'] = "http://qui mettete il nome del vostro host no di no-ip es:
Perfavore,
Entra
oppure
Registrati
per vedere i Link!
";$config['Site']['hash_secret'] = "xCg532%@%gdvf^5DGaa6&*rFTfg^FD4\(ugf*/";
$config['MySQL']['hostname'] = "localhost";
$config['MySQL']['username'] = "root";
$config['MySQL']['password'] = "password phpmyadmin";
$config['MySQL']['database'] = "nome database";
$config['MUS']['enabled'] = false;
$config['MUS']['ip'] = "ip del vostro router";
$config['MUS']['port'] = 30001;
?>
Dopodichè cercate il file class.db.mysql e configurate cosi (guarda sotto) :
<?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 = "password phpmyadmin";
private $database = "nome vostro database";
private $link;
public function MySQL($host, $user, $pass, $db)
{
$this->connected = false;
$this->hostname = $host;
$this->username = $user;
$this->password = $pass;
$this->database = $db;
}
public function IsConnected()
{
if ($this->connected)
{
return true;
}
return false;
}
public function Connect()
{
$this->link = mysql_connect($this->hostname, $this->username, $this->password) or $this->error(mysql_error());
mysql_select_db($this->database, $this->link) or $this->error(mysql_error());
$this->connected = true;
}
public function Disconnect()
{
if($this->connected)
{
@mysql_close($this->link) or $this->error("could not close conn");
$this->connected = false;
}
}
public function DoQuery($query)
{
$resultset = @mysql_query($query, $this->link) or $this->error(mysql_error());
return $resultset;
}
public function Evaluate($resultset)
{
return @mysql_result($resultset, 0);
}
public function Error($errorString)
{
global $core;
$core->systemError('DE', $errorString);
}
public function __destruct()
{
$this->disconnect();
}
}
?>
/*=======================================================================
| UberCMS - Advanced Website and Content Management System for uberEmu
| #######################################################################
| Copyright (c) 2010, Roy 'Meth0d'
|
Perfavore,
Entra
oppure
Registrati
per vedere i Link!
| #######################################################################
| 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 = "password phpmyadmin";
private $database = "nome vostro database";
private $link;
public function MySQL($host, $user, $pass, $db)
{
$this->connected = false;
$this->hostname = $host;
$this->username = $user;
$this->password = $pass;
$this->database = $db;
}
public function IsConnected()
{
if ($this->connected)
{
return true;
}
return false;
}
public function Connect()
{
$this->link = mysql_connect($this->hostname, $this->username, $this->password) or $this->error(mysql_error());
mysql_select_db($this->database, $this->link) or $this->error(mysql_error());
$this->connected = true;
}
public function Disconnect()
{
if($this->connected)
{
@mysql_close($this->link) or $this->error("could not close conn");
$this->connected = false;
}
}
public function DoQuery($query)
{
$resultset = @mysql_query($query, $this->link) or $this->error(mysql_error());
return $resultset;
}
public function Evaluate($resultset)
{
return @mysql_result($resultset, 0);
}
public function Error($errorString)
{
global $core;
$core->systemError('DE', $errorString);
}
public function __destruct()
{
$this->disconnect();
}
}
?>
E infine modifichiamo il page client (per far funzionare il client :soso: ) e configurate cosi (guarda sotto) :
<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" : "ip di No-Ip",
"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://swfkekospy.sytes.net/gamedata/external_variables/TMJBW03nvLG04j4Xa2u0dj1n8VJBn4TFCrhppRsVXkNXMe0fpWFuDt19cfRL.txt",
"external.texts.txt" : "http://swfkekospy.sytes.net/gamedata/external_flash_texts/4k1jKXUCys004QvpOFm4Qz3Zzp1Fok1EQvLa6QsZWSeGh042thwWkZT1ExPv.txt",
"productdata.load.url" : "http://swfkekospy.sytes.net/gamedata/productdata/5uAG8gbmiXHxuVHtY2rmhbhji9Bf5tczewL4fJhs4uDT0rjt4zSONvyVVQA2.txt",
"furnidata.load.url" : "http://swfkekospy.sytes.net/gamedata/furnidata/r7EiXuomsbBr4Zg9HnRfDYU71cEV5co69ENJpubPD3aKvP4CJuRsEQFvys11.txt",
"use.sso.ticket" : "1",
<?php
if ($forwardType > 0)
{
echo ' "forward.type" : "' . $forwardType . '",' . LB;
echo ' "forward.id" : "' . $forwardId . '",' . LB;
}
?>
"sso.ticket" : "%sso_ticket%",
"processlog.enabled" : "0",
"account_id" : "0",
"client.starting" : "¡Por favor espera!, SWF de Kekospy se están cargando",
"flash.client.url" : "http://swfkekospy.sytes.net/gordon/RELEASE63-201202221226-325732974/",
"user.hash" : "",
"facebook.user" : "0",
"has.identity" : "0",
"flash.client.origin" : "popup"
};
var params = {
"base" : "http://swfkekospy.sytes.net/gordon/RELEASE63-201202221226-325732974/",
"allowScriptAccess" : "always",
"menu" : "false"
};
if (!(HabbletLoader.needsFlashKbWorkaround())) {
params["wmode"] = "opaque";
}
var clientUrl = "http://swfkekospy.sytes.net/gordon/RELEASE63-201202221226-325732974/habbov4.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>
<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/%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 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>
<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" : "ip di No-Ip",
"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://swfkekospy.sytes.net/gamedata/external_variables/TMJBW03nvLG04j4Xa2u0dj1n8VJBn4TFCrhppRsVXkNXMe0fpWFuDt19cfRL.txt",
"external.texts.txt" : "http://swfkekospy.sytes.net/gamedata/external_flash_texts/4k1jKXUCys004QvpOFm4Qz3Zzp1Fok1EQvLa6QsZWSeGh042thwWkZT1ExPv.txt",
"productdata.load.url" : "http://swfkekospy.sytes.net/gamedata/productdata/5uAG8gbmiXHxuVHtY2rmhbhji9Bf5tczewL4fJhs4uDT0rjt4zSONvyVVQA2.txt",
"furnidata.load.url" : "http://swfkekospy.sytes.net/gamedata/furnidata/r7EiXuomsbBr4Zg9HnRfDYU71cEV5co69ENJpubPD3aKvP4CJuRsEQFvys11.txt",
"use.sso.ticket" : "1",
<?php
if ($forwardType > 0)
{
echo ' "forward.type" : "' . $forwardType . '",' . LB;
echo ' "forward.id" : "' . $forwardId . '",' . LB;
}
?>
"sso.ticket" : "%sso_ticket%",
"processlog.enabled" : "0",
"account_id" : "0",
"client.starting" : "¡Por favor espera!, SWF de Kekospy se están cargando",
"flash.client.url" : "http://swfkekospy.sytes.net/gordon/RELEASE63-201202221226-325732974/",
"user.hash" : "",
"facebook.user" : "0",
"has.identity" : "0",
"flash.client.origin" : "popup"
};
var params = {
"base" : "http://swfkekospy.sytes.net/gordon/RELEASE63-201202221226-325732974/",
"allowScriptAccess" : "always",
"menu" : "false"
};
if (!(HabbletLoader.needsFlashKbWorkaround())) {
params["wmode"] = "opaque";
}
var clientUrl = "http://swfkekospy.sytes.net/gordon/RELEASE63-201202221226-325732974/habbov4.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>
<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/%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 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>
Ovviamente per far funzionare il client dovrete anche modificare l'emulatore ma ripeto , loscopo della guida non spiegare come creare un retro ma solo illustrare come configurare il cms.
Spero facciate uso prezioso di questa guida e lasciate stare Holo che sinceramente ha rotto i ''cabbasisi''
GUIDA CREATA INTERAMENTE DA ME , VIETATA LA COPIA SE NON CON LA MIA AUTORIZZAZIONE , CON QUESTO VI SALUTO E ... BASTA TOPIC :vecchio:
--------------- AGGIUNTA AL POST ---------------
EDIT: Se il titolo non è consono al topic prego i moderatori di cambiarlo , grazie ^^.
Ultima modifica: