-
[Bugs Fixed] [PHP, PDO, Multi-TPL] CMS Frost 2.0 - by AmirZ
Quote:
Hello RaGEZONE,
Here it is, my Frost 2.0.
Link:
Frost 2.0.rar
For information view the readme.txt
Live Demos:
-
Hablow Hotel - Make friends, join the fun, get noticed!
I'll add hotels to the Live Demos list on request.
For screens of the Habbo style just go to habbo.com because I've tried to make the Habbocom style as much like it.
Index.php (Multi-tpl):
PHP Code:
require('config.php');
require('./_global_/core.php');
$tpl = new Tpl();
$tpl->addVar('sitename', $site_name);
$tpl->addVar('site', Site::path());
$tpl->addVar('onlinecount', Site::onlineCount());
$tpl->addVar('webbuild', Site::webbuild());
$tpl->addVar('username', $user->getVar('username'));
$tpl->addVar('id', $user->getVar('id'));
$tpl->addVar('motto', $user->getVar('motto'));
$tpl->addVar('look', $user->getVar('look'));
$tpl->addVar('credits', $user->getVar('credits'));
$tpl->addVar('pixels', $user->getVar('activity_points'));
$tpl->addVar('sso', $user->getVar('auth_ticket'));
$tpl->addVar('last_online', $user->last_online());
$tpl->addVar('token', Site::token());
$tpl->output();
Ā© AmirZ
_
For people with a webbuild bug, replace the function UpdateWebbuild in _global_/core/site/oop.site.php with
PHP Code:
static function updateWebbuild($force)
{
global $webbuild_host;
$split = explode('http://images.habbo.com/habboweb/', @file_get_contents('http://'.$webbuild_host));
$_SESSION['wb'] = current(explode('/web-gallery', @$split[1]));
}
Updated bugs fixed:
Frost Bugs Fixed.rar
-
Re: [PHP, PDO, Multi-TPL] CMS Frost 2.0 - by AmirZ
-
Re: [PHP, PDO, Multi-TPL] CMS Frost 2.0 - by AmirZ
Thanks, don't post anymore your live-demo because it's not 24/7 online.
Any screencaptures will be okay.
-
Re: [PHP, PDO, Multi-TPL] CMS Frost 2.0 - by AmirZ
Cool, I love templates :-) Hopefully it's exploit-free, so I can edit CMS to work with HabboBETA.
Sincerely yours,
Josh.
-
Re: [PHP, PDO, Multi-TPL] CMS Frost 2.0 - by AmirZ
-
Re: [PHP, PDO, Multi-TPL] CMS Frost 2.0 - by AmirZ
-
Re: [PHP, PDO, Multi-TPL] CMS Frost 2.0 - by AmirZ
no images show up? how to update web build?
-
Re: [PHP, PDO, Multi-TPL] CMS Frost 2.0 - by AmirZ
Omg this is really nice, I may use this for my hotel. I like cms that fit in my anal cavity(May sound weird).
Thanks!
-
Re: [PHP, PDO, Multi-TPL] CMS Frost 2.0 - by AmirZ
-
Re: [PHP, PDO, Multi-TPL] CMS Frost 2.0 - by AmirZ
Look's great. If I get back into retros I'll be sure to use this.
-
Re: [PHP, PDO, Multi-TPL] CMS Frost 2.0 - by AmirZ
Quote:
Originally Posted by
iPots
no images show up? how to update web build?
Webbuild updates automatically, can you give me your site so I can see the bug?
-
Re: [PHP, PDO, Multi-TPL] CMS Frost 2.0 - by AmirZ
-
Re: [PHP, PDO, Multi-TPL] CMS Frost 2.0 - by AmirZ
This is good man, well done I love it.
-
Re: [PHP, PDO, Multi-TPL] CMS Frost 2.0 - by AmirZ
Quote:
Originally Posted by
Lasse
Bfly compatible right?:)
You only have to edit the sso thing I think, I haven't tested it sorry
-
Quote:
Originally Posted by
azaidi
You only have to edit the sso thing I think, I haven't tested it sorry
That's okay. It's just yesterday i had tested DeltaCMS and FrostCMS it can make users and register but the me page look's very wierd:-D
-
Re: [PHP, PDO, Multi-TPL] CMS Frost 2.0 - by AmirZ
Looks great, thanks for sharing.
-
Re: [PHP, PDO, Multi-TPL] CMS Frost 2.0 - by AmirZ
Nice !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-
Re: [PHP, PDO, Multi-TPL] CMS Frost 2.0 - by AmirZ
RZ First Great Release. Good job Amir.
-
Re: [PHP, PDO, Multi-TPL] CMS Frost 2.0 - by AmirZ
For people with a webbuild bug, replace the function UpdateWebbuild in _global_/core/site/oop.site.php with
Code:
static function updateWebbuild($force)
{
global $webbuild_host;
$split = explode('http://images.habbo.com/habboweb/', @file_get_contents('http://'.$webbuild_host));
$_SESSION['wb'] = current(explode('/web-gallery', @$split[1]));
}
-
Re: [PHP, PDO, Multi-TPL] CMS Frost 2.0 - by AmirZ
The live demo do not work
-
Re: [PHP, PDO, Multi-TPL] CMS Frost 2.0 - by AmirZ
lol
Quote:
Originally Posted by
tdid
GTFO or Amir will pown your hotel. Believe me ^^
proves this is exploitable.
-
Re: [PHP, PDO, Multi-TPL] CMS Frost 2.0 - by AmirZ
Register dosent work for me..
-
Re: [PHP, PDO, Multi-TPL] CMS Frost 2.0 - by AmirZ
Quote:
Originally Posted by
SmartGuyOwns
Register dosent work for me..
I had the same problem
but then I changed to an other db where I already made an account.
-
Re: [PHP, PDO, Multi-TPL] CMS Frost 2.0 - by AmirZ
Get the error ''Username is not valid!''
How do i fix this?
-
Re: [PHP, PDO, Multi-TPL] CMS Frost 2.0 - by AmirZ
Quote:
Originally Posted by
phoxyhabbo
Get the error ''Username is not valid!''
How do i fix this?
Got that problem 2..