[Tut]The Habbo Help Tut![TUT]

Mango2735

The Sexy One.
Oct 13, 2010
288
3
Well, it seems that people need help with their own various habbo problems so here is the habbo help tut.

1. Ok, So you wont to add your own page to your own official Habbo cms. First of all you will need a php page to start it off.
PHP:
<?php
/*================================================================+\
|| # PHPRetro - An extendable virtual hotel site and management
|+==================================================================
|| # Copyright (C) 2009 Yifan Lu. All rights reserved.
|| # http://www.yifanlu.com
|| # Parts Copyright (C) 2009 Meth0d. All rights reserved.
|| # http://www.meth0d.org
|| # All images, scripts, and layouts
|| # Copyright (C) 2009 Sulake Ltd. All rights reserved.
|+==================================================================
|| # PHPRetro is provided "as is" and comes without
|| # warrenty of any kind. PHPRetro is free software!
|| # License: GNU Public License 3.0
|| # http://opensource.org/licenses/gpl-license.php
\+================================================================*/

$page['allow_guests'] = true;
require_once('./includes/core.php');
require_once('./includes/session.php');
$lang->addLocale("credits.credits");

$page['id'] = "your page's id";
$page['name'] = 'your page's name';
$page['bodyid'] = "home";
$page['cat'] = "Th category you want it to be in.";
require_once('./templates/community_header.php');]

You can anything you want under it. It can be a small text or even a script code. Anything of your choice.
Ok make sure when you save it, it is saved under your hotel's cms and saved in .php .

Ok secondly People Want the actual word of their page to appear on the cms. SO you would go to [ your hotel cms folder>template>community header.php
Then open it. Then find the category your hotel's Php page is in and add under

PHP:
<li class="<?php if($page['id'] == "your page's id"){ echo

"selected"; } ?> last">
				<?php if($page['id'] == "your page's id"){ echo 

"your page's name"; }else{ echo "<a href=\"".PATH."/your page's id\">your page's id</a>"; } ?>
    		</li>

The Save. Moola! You have your own Page's name under its category on your cms!



2. Ok people want to know how to become a coder. Now get Ready for the secret revealed! The best way to become a coder is to Learn by sight on tutorials and videos on the internet or Look in your holograph emulator and study it.
There it goes folks! Short one wasn't it.

3. Ok so lets say on your habbo cms you cant see an image on your topstats page or somewhere like that... Open the .php in notepad and press CTRL with H. Then replace habbo.co.uk with habbo.com. The kazzam! Your images are fixed.


Don't were there will be tons more tutorial soon!


Stay Classy Devbest,,,, Stay classy...
 

Users who are viewing this thread

Top