[RevCMS] Habbo Theme errors [FIXES]

Status
Not open for further replies.
Joined
Oct 2, 2011
Messages
857
Reaction score
271
If you use RevCMS and you are using the Habbo Theme you will notice a few errors.

{lastSignedIn} error.
Picture:
Danny - [RevCMS] Habbo Theme errors [FIXES] - RaGEZONE Forums

The way to fix this is to.

1) Go to your wwwroot(IIS) or htdocs(Xampp).

2) Then proceed to app, then class.template.php and open that in Notepad++.

3) Find this line in class.tempplate.php
PHP:
$this->setParams('ip_last', $users->getInfo($_SESSION['user']['id'], 'ip_last'));

3) Under that line add this code:
PHP:
$this->setParams('lastSignedIn',  date('M j, Y H:i:s A', $users->getInfo($_SESSION['user']['id'],  'last_online')));

----

Another error is {newsPreview} error that looks like this

Danny - [RevCMS] Habbo Theme errors [FIXES] - RaGEZONE Forums


To fix this follow these steps:


1) Open up news.php file.

2) Do CTRL + H I would use NotePad++ for this.

3) In the first box type {newsPreview} and in the second type {newsTitle} and replace.

That should fix those common error in the Habbo Theme for RevCMS.

If there are anymore errors let me know...
 
Last edited:
The news error will help more Hejula mentioned how to fix the Last signed i n error in his thread w/Habbo Style.
 
Status
Not open for further replies.
Back