How to remove API? and more questions in thread

KiloBeats

New Member
Sep 21, 2011
11
0
Hello, I am currently doing a small edit on RevCMS 1.9.9.9 Habbo theme by Hejula edited by converse.

Firstly I want to know how to disable the API for thehabbos

Secondly, how do I move the client loading image from the top right corner to the middle?

Third and last question.

Will this work?
PHP:
<div id="footer"><p>&copy; Copyright 2012 <a href="{url}" target="_New"><b>{hotelName} Hotel</b></a>. All rights reserved.<br>
 
Powered by <a href="http://devbest.com/forums/rev.84" target="_New">RevCMS</a> by Kryptos and <a href="http://www.otaku-studios.com/" target="_blank">Phoenix</a> 3.7.1 (Build 13800)<br>{hotelName} Hotel is owned and operated by <userid='1' /></p>      </div>
If you hadnt noticed I changed it abit, if you see I have added <userid='1' /> I want to know if that will show my username
 

Gajeel

Well-Known Member
Oct 4, 2011
2,411
413
To remove the api, delete the thehabbos_api folder and the api.php file on your root folder (wwwroot/htdocs).
About the userid thing, it will not show that. You need to manually type the username if you want.
On targetting a new/blank window for the link to the RevCMS thread, the target should be set to _blank.
 

brsy

nah mang
May 12, 2011
1,530
272
Ok, looks like Imma have to do it manually
If you want it to be like {hotelOwner}, you have to open class.tpl.php and somewhere in it, one of the functions should have something like
PHP:
<?php
$this->SetParam('hotelOwner', $variable['shit']['here']);
?>
Just put the following code.
PHP:
<?php
$this->SetParam('hotelOwner', 'Name of Hotel Owner');
?>
 

Gajeel

Well-Known Member
Oct 4, 2011
2,411
413
What CMS are u using???
Probably RevCMS.

PHP:
<div id="footer"><p>&copy; Copyright 2012 <a href="{url}" target="_New"><b>{hotelName} Hotel</b></a>. All rights reserved.<br>
 
Powered by <a href="http://devbest.com/forums/rev.84" target="_New">RevCMS</a> by Kryptos and <a href="http://www.youporn.com/" target="_blank">Phoenix</a> 3.7.1 (Build 13800)<br>{hotelName} Hotel is owned and operated by <userid='1' /></p>      </div>
 

Users who are viewing this thread

Top