• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Cms: µHabbo

Status
Not open for further replies.
Newbie Spellweaver
Joined
Apr 7, 2015
Messages
6
Reaction score
2
What else have to be done before release? Seems 90% done to me. Any rough dates?
 
Junior Spellweaver
Joined
Feb 2, 2015
Messages
181
Reaction score
86
What else have to be done before release? Seems 90% done to me. Any rough dates?

I've done the installation page today, and it works! I'll upload a zip file tomorrow (no more computer for me this day :() so everyone who wants to can start making plugins.
It is indeed 90% done, and I'll release the test version within a week. These things need to be done:
- Translation: most of the translated files lack a lot of strings because I didn't updte every single one of them while developing.
- The page manager: it shows the page, and a bit of the javascript is alreay working, but on the back-end side a lot of progress must still be made
- The user manager: it's no more than a button in the admin panel. I got these things planned: editing (also avatar editing, thanks ti @iExit) - banning - permissions - ranks

-----------------

Skinners/Plugin Makers - Dev Release
Download URL:
Decryption key: Qe-cD1GlVTZrmvzXm1Gp_uYO2rZyx7M-AVbreOXbaSg


Disclaimer
1. Translations might be inaccurate. If you want to help translating, create a pull requets on
2. There are certain features missing in the housekeeping, namely the user manager and the page manager. Those will follow in future releases.

Installation instructions
- Create a database
- Upload your emulator's DB
- Load the installation of µHabbo through [possible subdirectory]/install
 
Last edited:
  • Like
Reactions: pel
Joined
Sep 10, 2011
Messages
778
Reaction score
138
I hope you clean up your folder structure before first user release, and it's a shame that you came in and completely stole the scene (in my opinion atleast) since I was working on a project with the same features :p

Edit::
Your CMS has lots of issues regarding it's installation - mainly alongside it's database side, and same deal with the runthrough.
 
Last edited:
Junior Spellweaver
Joined
Feb 2, 2015
Messages
181
Reaction score
86
Can't test it out, using Azure. Would it work if I use Phoenix as db type for now?

Edit:
Using IIS, imported htaccess into url rewrite, installer won't go beyond last step

Create your own database type in /content/database and share it with us.
The installer doesn't use the url rewrite, btw.
Can you show a screen of what happens?



Same issue, I had to use Xampp and even after there's tons of bugs with it's database queries and what not. :p It takes a little bit but it's a decent CMS so far

There's nothing wrong with the database queries as long as you use the right database configuration file in /content/database.
If you're not using a Phoenix/GTE db, create a config file for Azure or whatever you are using, and share it.


I'll look into the IIS problem
 
Experienced Elementalist
Joined
Aug 21, 2012
Messages
215
Reaction score
52
Can't test it out, using Azure. Would it work if I use Phoenix as db type for now?

Edit:
Using IIS, imported htaccess into url rewrite, installer won't go beyond last step

I tried to make a azure.db.php
PHP:
<?php

// Users
$dbTable['user']['_table']          = 'users';
$dbTable['user']['id']              = 'id';
$dbTable['user']['email']           = 'mail';
$dbTable['user']['username']        = 'username';
$dbTable['user']['password']        = 'password';
$dbTable['user']['look']            = 'look';
$dbTable['user']['motto']           = 'motto';
$dbTable['user']['credits']         = 'credits';
$dbTable['user']['activity_points'] = 'activity_points';
$dbTable['user']['vip_points']      = 'seasonal_currency';
$dbTable['user']['account_created'] = 'account_created';
$dbTable['user']['rank']            = 'rank';
$dbTable['user']['home_room']       = 'home_room';
$dbTable['user']['no_online']       = 'hide_online';
$dbTable['user']['no_follow']       = 'hide_inroom';
$dbTable['user']['sso_ticket']      = 'auth_ticket';

// Badges of users
$dbTable['user_badge']['_table']    = 'user_badges';
$dbTable['user_badge']['_ref_user'] = $dbTable['user']['id'];
$dbTable['user_badge']['user']      = 'user_id';
$dbTable['user_badge']['badge']     = 'badge_id';
$dbTable['user_badge']['slot']      = 'badge_slot';

// Achievements of users
$dbTable['user_achievement']['_table']      = 'user_achievements';
$dbTable['user_achievement']['_ref_user']   = $dbTable['user']['id'];
$dbTable['user_achievement']['user']        = 'userid';
$dbTable['user_achievement']['achievement'] = 'group';
$dbTable['user_achievement']['level']       = 'level';

// Rooms
$dbTable['room']['_table']      = 'rooms_data';
$dbTable['room']['_ref_user']   = $dbTable['user']['username']; // Field name in user table
$dbTable['room']['user']        = 'owner';
$dbTable['room']['name']        = 'caption';
$dbTable['room']['description'] = 'description';
$dbTable['room']['users_in']    = 'users_now';

// Ranks
$dbTable['rank']['_table']  = 'ranks';
$dbTable['rank']['id']      = 'id';
$dbTable['rank']['name']    = 'name';
$dbTable['rank']['badge']   = 'badgeid';
//$dbTable['rank']['visible'] = 'visible';

// Permissions for ranks, assuming a table with a lot of fields
/*$dbTable['rank_permission']['_table']  = 'permissions_ranks';
$dbTable['rank_permission']['rank_id'] = 'rank';
$dbTable['rank_permission']['flood']   = 'floodtime';
$dbTable['rank_permission']['admin']   = 'hk_login';
$dbTable['rank_permission']['mod']     = 'acc_supporttool';*/

// Permissions for ranks, assuming a table with a lot of fields
/*$dbTable['user_permission']['_table']  = 'permissions_users';
$dbTable['user_permission']['user_id'] = 'userid';
$dbTable['user_permission']['flood']   = 'floodtime';
$dbTable['user_permission']['admin']   = 'hk_login';
$dbTable['user_permission']['mod']     = 'acc_supporttool';*/

// Vouchers
/*$dbTable['voucher']['_table']          = 'vouchers';
$dbTable['voucher']['id']              = 'code';
$dbTable['voucher']['credits']         = 'credits';
$dbTable['voucher']['activity_points'] = 'activity_points';
$dbTable['voucher']['vip_points']      = 'vip_points';*/

// Wordfilter
/*$dbTable['wordfilter']['_table']  = 'wordfilter';
$dbTable['wordfilter']['word']    = 'word';
$dbTable['wordfilter']['replace'] = 'replacement';*/

// Items
/*$dbTable['item']['_table'] = 'items';
$dbTable['item']['_ref_user'] = $dbTable['user']['id'];
$dbTable['item']['user'] = 'user_id';
$dbTable['item']['room'] = 'room_id';
$dbTable['item']['item'] = 'base_item';*/

function fixdb($pdo)
{
    // Make sure visible column exists
    $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
    try {
        $pdo->query('SELECT visible FROM ranks');
    } catch (Exception $ex) {
        $pdo->query("ALTER TABLE `ranks` ADD COLUMN `visible` ENUM('0','1') NOT NULL DEFAULT '1' AFTER `badgeid`");
    }
    // Make sure password column is long enough
    $pdo->query("ALTER TABLE `users` MODIFY COLUMN `password` VARCHAR(200) NOT NULL");
    // Set latest user admin
    $pdo->query('UPDATE users SET rank = 7 ORDER BY account_created DESC LIMIT 1');
    // make users rank not visible
    $pdo->query('UPDATE ranks SET visible = \'0\' WHERE id = 1');
    $pdo->query("ALTER TABLE `permissions_ranks`
	ADD COLUMN `hk_login` ENUM('1','0') NOT NULL DEFAULT '0' AFTER `cmd_vipoverride`,
	ADD COLUMN `hk_news_edit` ENUM('1','0') NOT NULL DEFAULT '0' AFTER `hk_login`,
	ADD COLUMN `hk_news_create` ENUM('1','0') NOT NULL DEFAULT '0' AFTER `hk_news_edit`,
	ADD COLUMN `hk_news_delete` ENUM('1','0') NOT NULL DEFAULT '0' AFTER `hk_news_create`,
	ADD COLUMN `hk_users_edit` ENUM('1','0') NOT NULL DEFAULT '0' AFTER `hk_news_delete`,
	ADD COLUMN `hk_users_ban` ENUM('1','0') NOT NULL DEFAULT '0' AFTER `hk_users_edit`,
	ADD COLUMN `hk_settings_cms` ENUM('1','0') NOT NULL DEFAULT '0' AFTER `hk_users_ban`,
	ADD COLUMN `hk_settings_client` ENUM('1','0') NOT NULL DEFAULT '0' AFTER `hk_settings_cms`,
	ADD COLUMN `hk_settings_registration` ENUM('1','0') NOT NULL DEFAULT '0' AFTER `hk_settings_client`,
	ADD COLUMN `hk_settings_plugins` ENUM('1','0') NOT NULL DEFAULT '0' AFTER `hk_settings_registration`,
	ADD COLUMN `hk_vouchers_create` ENUM('1','0') NOT NULL DEFAULT '0' AFTER `hk_settings_plugins`,
	ADD COLUMN `hk_vouchers_delete` ENUM('1','0') NOT NULL DEFAULT '0' AFTER `hk_vouchers_create`;");
}

but because I can't find the last 4 tables it's not wodking:
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'hubb1.permissions_ranks' doesn't exist' in C:\xampp\htdocs\content\database\azure.db.php:110 Stack trace: #0 C:\xampp\htdocs\content\database\azure.db.php(110): PDO->query('ALTER TABLE `pe...') #1 C:\xampp\htdocs\install\index.php(89): fixdb(Object(PDO)) #2 {main} thrown in C:\xampp\htdocs\content\database\azure.db.php on line 110
 
Junior Spellweaver
Joined
Feb 2, 2015
Messages
181
Reaction score
86
I tried to make a azure.db.php
PHP:
........

but because I can't find the last 4 tables it's not wodking:

Αzure lacks a wordfilter and a decent permission system?
And I cannot imagine it's got no support for credit vouchers. I'll look into it



I tried to make a azure.db.php
PHP:
<?php

// Permissions for ranks, assuming a table with a lot of fields
/*$dbTable['rank_permission']['_table']  = 'permissions_ranks';
$dbTable['rank_permission']['rank_id'] = 'rank';
$dbTable['rank_permission']['flood']   = 'floodtime';
$dbTable['rank_permission']['admin']   = 'hk_login';
$dbTable['rank_permission']['mod']     = 'acc_supporttool';*/

// Permissions for ranks, assuming a table with a lot of fields
/*$dbTable['user_permission']['_table']  = 'permissions_users';
$dbTable['user_permission']['user_id'] = 'userid';
$dbTable['user_permission']['flood']   = 'floodtime';
$dbTable['user_permission']['admin']   = 'hk_login';
$dbTable['user_permission']['mod']     = 'acc_supporttool';*/

// Vouchers
/*$dbTable['voucher']['_table']          = 'vouchers';
$dbTable['voucher']['id']              = 'code';
$dbTable['voucher']['credits']         = 'credits';
$dbTable['voucher']['activity_points'] = 'activity_points';
$dbTable['voucher']['vip_points']      = 'vip_points';*/

// Wordfilter
/*$dbTable['wordfilter']['_table']  = 'wordfilter';
$dbTable['wordfilter']['word']    = 'word';
$dbTable['wordfilter']['replace'] = 'replacement';*/

// Items
/*$dbTable['item']['_table'] = 'items';
$dbTable['item']['_ref_user'] = $dbTable['user']['id'];
$dbTable['item']['user'] = 'user_id';
$dbTable['item']['room'] = 'room_id';
$dbTable['item']['item'] = 'base_item';*/

but because I can't find the last 4 tables it's not wodking:

Well, I downloaded Azure myself and decided it sucks. Not just a little bit, but it really sucks. I already knew that. The CMS is worth no poop either, but the database really blew me off: All ranks are stored in server_fuserights and use a min_rank system, which means you cannot specify it for indiviual users, you cannot have ranks have different permissions than others, only more or less, and you have to sort ranks on permission base, not in the logical order.

But yeah, now the rest.
wordfilter is in server_blackwords ánd in rooms_wordfilter for rooms-specific words, but that can be ignored safely.
vouchers is in items_vouchers. It's got a type, instead of multiple fields for data. I'll update the cms to work with either variant of it, but the voucher system is currently not implemented in the housekeeping etc, so you can safely set it to null
items is in items_rooms and got almost the same table layout as the Phoenix variant, so just changing the table name does the job.

Edit:
Oh and I saw you commented out the rank.visible. Not necessary. In the fixdb-function there's already a query that adds that column. It's necessary for the staff page.



I hope you clean up your folder structure before first user release, and it's a shame that you came in and completely stole the scene (in my opinion atleast) since I was working on a project with the same features :p

Edit::
Your CMS has lots of issues regarding it's installation - mainly alongside it's database side, and same deal with the runthrough.

Yep, I will. habbo-imaging will probably be moved somewhere else. It's acutally only used for the head.php, so I might as well just keep that file and get rid of the rest. Gonna play with that a bit.

And sorry that I stole the scence. Don't start a case please. :D
 
Last edited:
Experienced Elementalist
Joined
Aug 21, 2012
Messages
215
Reaction score
52
Αzure lacks a wordfilter and a decent permission system?
And I cannot imagine it's got no support for credit vouchers. I'll look into it





Well, I downloaded Azure myself and decided it sucks. Not just a little bit, but it really sucks. I already knew that. The CMS is worth no poop either, but the database really blew me off: All ranks are stored in server_fuserights and use a min_rank system, which means you cannot specify it for indiviual users, you cannot have ranks have different permissions than others, only more or less, and you have to sort ranks on permission base, not in the logical order.

But yeah, now the rest.
wordfilter is in server_blackwords ánd in rooms_wordfilter for rooms-specific words, but that can be ignored safely.
vouchers is in items_vouchers. It's got a type, instead of multiple fields for data. I'll update the cms to work with either variant of it, but the voucher system is currently not implemented in the housekeeping etc, so you can safely set it to null
items is in items_rooms and got almost the same table layout as the Phoenix variant, so just changing the table name does the job.

Edit:
Oh and I saw you commented out the rank.visible. Not necessary. In the fixdb-function there's already a query that adds that column. It's necessary for the staff page.

I use the ranks from phoenix db, so I can have my individual ranks :D
Hm still a problem, I try it again later ._.
PHP:
<?php

// Users
$dbTable['user']['_table']          = 'users';
$dbTable['user']['id']              = 'id';
$dbTable['user']['email']           = 'mail';
$dbTable['user']['username']        = 'username';
$dbTable['user']['password']        = 'password';
$dbTable['user']['look']            = 'look';
$dbTable['user']['motto']           = 'motto';
$dbTable['user']['credits']         = 'credits';
$dbTable['user']['activity_points'] = 'activity_points';
$dbTable['user']['vip_points']      = 'seasonal_currency';
$dbTable['user']['account_created'] = 'account_created';
$dbTable['user']['rank']            = 'rank';
$dbTable['user']['home_room']       = 'home_room';
$dbTable['user']['no_online']       = 'hide_online';
$dbTable['user']['no_follow']       = 'hide_inroom';
$dbTable['user']['sso_ticket']      = 'auth_ticket';

// Badges of users
$dbTable['user_badge']['_table']    = 'user_badges';
$dbTable['user_badge']['_ref_user'] = $dbTable['user']['id'];
$dbTable['user_badge']['user']      = 'user_id';
$dbTable['user_badge']['badge']     = 'badge_id';
$dbTable['user_badge']['slot']      = 'badge_slot';

// Achievements of users
$dbTable['user_achievement']['_table']      = 'user_achievements';
$dbTable['user_achievement']['_ref_user']   = $dbTable['user']['id'];
$dbTable['user_achievement']['user']        = 'userid';
$dbTable['user_achievement']['achievement'] = 'group';
$dbTable['user_achievement']['level']       = 'level';

// Rooms
$dbTable['room']['_table']      = 'rooms_data';
$dbTable['room']['_ref_user']   = $dbTable['user']['username']; // Field name in user table
$dbTable['room']['user']        = 'owner';
$dbTable['room']['name']        = 'caption';
$dbTable['room']['description'] = 'description';
$dbTable['room']['users_in']    = 'users_now';

// Ranks
$dbTable['rank']['_table']  = 'ranks';
$dbTable['rank']['id']      = 'id';
$dbTable['rank']['name']    = 'name';
$dbTable['rank']['badge']   = 'badgeid';
$dbTable['rank']['visible'] = 'visible';

// Permissions for ranks, assuming a table with a lot of fields
$dbTable['rank_permission']['_table']  = 'server_fuserights';
$dbTable['rank_permission']['rank_id'] = 'min_rank';
$dbTable['rank_permission']['flood']   = 'floodtime';
$dbTable['rank_permission']['admin']   = 'hk_login';
$dbTable['rank_permission']['mod']     = 'acc_supporttool';

// Permissions for ranks, assuming a table with a lot of fields
$dbTable['user_permission']['_table']  = 'permissions_users';
$dbTable['user_permission']['user_id'] = 'userid';
$dbTable['user_permission']['flood']   = 'floodtime';
$dbTable['user_permission']['admin']   = 'hk_login';
$dbTable['user_permission']['mod']     = 'acc_supporttool';

// Vouchers
$dbTable['voucher']['_table']          = 'items_vouchers';
$dbTable['voucher']['id']              = 'code';
$dbTable['voucher']['credits']         = 'credits';
$dbTable['voucher']['activity_points'] = 'activity_points';
$dbTable['voucher']['vip_points']      = 'vip_points';

// Wordfilter
$dbTable['wordfilter']['_table']  = 'server_blackwords';
$dbTable['wordfilter']['word']    = 'word';
$dbTable['wordfilter']['replace'] = 'type';

// Items
$dbTable['item']['_table'] = 'items_rooms';
$dbTable['item']['_ref_user'] = $dbTable['user']['id'];
$dbTable['item']['user'] = 'user_id';
$dbTable['item']['room'] = 'room_id';
$dbTable['item']['item'] = 'base_item';

function fixdb($pdo)
{
    // Make sure visible column exists
    $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
    try {
        $pdo->query('SELECT visible FROM ranks');
    } catch (Exception $ex) {
        $pdo->query("ALTER TABLE `ranks` ADD COLUMN `visible` ENUM('0','1') NOT NULL DEFAULT '1' AFTER `badgeid`");
    }
    // Make sure password column is long enough
    $pdo->query("ALTER TABLE `users` MODIFY COLUMN `password` VARCHAR(200) NOT NULL");
    // Set latest user admin
    $pdo->query('UPDATE users SET rank = 7 ORDER BY account_created DESC LIMIT 1');
    // make users rank not visible
    $pdo->query('UPDATE ranks SET visible = \'0\' WHERE id = 1');
    $pdo->query("ALTER TABLE `permissions_ranks`
	ADD COLUMN `hk_login` ENUM('1','0') NOT NULL DEFAULT '0' AFTER `cmd_vipoverride`,
	ADD COLUMN `hk_news_edit` ENUM('1','0') NOT NULL DEFAULT '0' AFTER `hk_login`,
	ADD COLUMN `hk_news_create` ENUM('1','0') NOT NULL DEFAULT '0' AFTER `hk_news_edit`,
	ADD COLUMN `hk_news_delete` ENUM('1','0') NOT NULL DEFAULT '0' AFTER `hk_news_create`,
	ADD COLUMN `hk_users_edit` ENUM('1','0') NOT NULL DEFAULT '0' AFTER `hk_news_delete`,
	ADD COLUMN `hk_users_ban` ENUM('1','0') NOT NULL DEFAULT '0' AFTER `hk_users_edit`,
	ADD COLUMN `hk_settings_cms` ENUM('1','0') NOT NULL DEFAULT '0' AFTER `hk_users_ban`,
	ADD COLUMN `hk_settings_client` ENUM('1','0') NOT NULL DEFAULT '0' AFTER `hk_settings_cms`,
	ADD COLUMN `hk_settings_registration` ENUM('1','0') NOT NULL DEFAULT '0' AFTER `hk_settings_client`,
	ADD COLUMN `hk_settings_plugins` ENUM('1','0') NOT NULL DEFAULT '0' AFTER `hk_settings_registration`,
	ADD COLUMN `hk_vouchers_create` ENUM('1','0') NOT NULL DEFAULT '0' AFTER `hk_settings_plugins`,
	ADD COLUMN `hk_vouchers_delete` ENUM('1','0') NOT NULL DEFAULT '0' AFTER `hk_vouchers_create`;");
}
 
Junior Spellweaver
Joined
Feb 2, 2015
Messages
181
Reaction score
86
I use the ranks from phoenix db, so I can have my individual ranks :D
Hm still a problem, I try it again later ._.
PHP:
....

I made a fix. Azure DB file is now included!
Download URL:
Decryption Key: eq_1Podo3vV1X0eDlIRgNkz45rVDAN_8qib_11SSlYU

Installation instructions
- Create a database
- Upload your emulator's DB
- Load the installation of µHabbo through http://[yoursite]/[possible subdirectory]/install

Updates:
- Moved necessary files from habbo-imaging to content/image, deleted the rest
- Added support for Azure-style permission management (server_fuserights). $dbTable['rank_permission']['_style'] = 'row';
- Separated /docs. It's now here:

What's gonna happen now:
- Adding support for separated user data and info/settings
- User manager in hk
 
Last edited:
Experienced Elementalist
Joined
Aug 21, 2012
Messages
215
Reaction score
52
I made a fix. Azure DB file is now included!
Download URL:
Decryption Key: eq_1Podo3vV1X0eDlIRgNkz45rVDAN_8qib_11SSlYU

Updates:
- Moved necessary files from habbo-imaging to content/image, deleted the rest
- Added support for Azure-style permission management (server_fuserights). $dbTable['rank_permission']['_style'] = 'row';
- Separated /docs. It's now here:

What's gonna happen now:
- Adding support for separated user data and info/settings
- User manager in hk

Installation works! thanks :D
But:
couldnt load lang file


Updated lang file:
PHP:
<?php

$lang = [
    'translation.language' => 'Deutsch',
    'translation.translator' => 'C0R3G4M3R',
    'translation.translator.url' => 'https://forum.ragezone.com/members/1333430713.html',
    'translation.last-updated' => 'August 10th 2015',

    'error.page-not-found' => 'Seite nicht gefunden',
    'error.page-not-found.description' => 'Die gewünschte Seite konnte nicht gefunden werden.',
    'error.no-access' => 'Kein Zugriff',
    'error.no-access.description' => 'Du hast keine rechte (mehr) um diese Seite zu sehen.',
    'error.return-to-home' => 'Zur Startseite zurückkehren.',

    'error.login.login' => 'Es gibt keinen Account mit diesem Nutzernamen oder E-Mail Adresse.',
    'error.login.password' => 'Das eingegebene Passwort ist fehlerhaft.',
    'error.login.banned' => 'Dieser Account wurde gebannt. Grund: %1',
    'error.login.blocked' => 'Der Loginversuch wurde geblockt.',

    'error.register.username.legnth' => 'Dein Nutzername kann aus 3 bis maximal 20 Zeichen bestehen.',
    'error.register.username.not-available' => 'Dieser Nutzername ist nicht verfügbar.',
    'error.register.password.length' => 'Dein Passwort muss mindestens 8 Zeichen lang sein.',
    'error.register.password.dont-match' => 'Die angegebenen Passwörter stimmen nicht überein',
    'error.register.email.not-available' => 'Die angegebene E-Mail Adresse wird bereits verwendet.',
    'error.register.email.format' => 'Die angegebene E-Mail Adresse ist ungültig.',
    'error.register.blocked' => 'This registration attempt was blocked.',

    'general.advertisement' => 'Werbung',
    'general.users-online' => 'Es sind %1 spieler online!',
    'general.welcome' => 'Willkommen im %1',
    'general.register-now' => 'Registriere dich im %1',
    'general.enter-hotel' => 'Enter %1!',
    'general.logged-out' => 'Du hast dich erfolgreich ausgeloggt! Auf wiedersehen.',
    'general.welcome-back' => 'Willkommen zurück, %1',

    'login' => 'Einloggen',
    'login.username-or-email' => 'Nutzername oder E-Mail',
    'login.password' => 'Passwort',
    'login.remember-me' => 'Merken',
    'login.submit' => 'Einloggen!',

    'register' => 'Registrieren',
    'register.login' => 'Already have an account?',
    'register.username' => 'Nutzername',
    'register.email' => 'E-Mail Addresse',
    'register.password' => 'Passwort',
    'register.password-repeat' => 'Passwort (wiederholen)',
    'register.captcha' => 'Ich bin kein Roboter:',
    'register.submit' => 'Registerieren!',
    'register.account-created' => 'Herzlichen Glückwunsch! Dein Account wurde erstellt. Überprüfe deine E-Mail für die Aktivierung. TIPP: Gucke auch in deinen Spam/Junk Ordner.',
    'register.account-created.title' => 'Dein Account im %1 wurde erstellt.',
    'register.account-created.message' => "%1,\r\n\r\nDein Account im %3 wurde erstellt.\r\nBevor du dich einloggen kannst, musst du deinen Account zuerst aktivieren. Dann sind wir uns sicher"
     . ", dass diese E-Mail Adresse gültig ist. Klicke folgenden Link zum Aktivieren:\r\n\%2\r\n\r\nSincerely\r\nThe %3 team",

    'news' => 'News',
    'news.latest-news' => 'Die letzten news',
    'news.select-article' => 'Wähle einen Artikel aus der Liste um ihn zu lesen',
    'news.read-more' => 'Weiter lesen',
    'news.article.published' => 'Der Artikel wurde am %2 von %1 verfasst',

    'staff' => 'Staff',

    'user.last-online' => 'Zuletzt online gewesen am %1',
    'user.my-page' => 'Meine Seite',
    'user.logout' => 'Ausloggen',
    'user.online' => 'Online',
    'user.offline' => 'Offline',

    'user.settings' => 'Einstellungen',
    'user.settings.my-preferences' => 'Meine Einstellungen',
    'user.settings.my-password' => 'Mein Passwort',
    'user.settings.my-email' => 'Meine E-Mail Addresse',
    'user.settings.change-password' => 'Passwort ändern',
    'user.settings.change-email' => 'E-Mail Addresse ändern',
    'user.settings.e-mail' => 'E-Mail Addresse',
    'user.settings.change-email.description' => 'Du möchtest deine E-Mail Adresse ändern?',
    'user.settings.my-status' => 'Mein Status',
    'user.settings.my-status.description' => 'Wie ist dein Status?',
    'user.settings.online-status' => 'Online Status',
    'user.settings.online-status.description' => 'Wer kann sehen, ob du online bist?',
    'user.settings.online-status.everybody' => 'Jeder',
    'user.settings.online-status.nobody' => 'Niemand',
    'user.settings.friends-follow' => 'Freunde folgen',
    'user.settings.friends-follow.description' => 'Können dir deine Freunde im Hotel folgen?',
    'user.settings.friends-follow.yes' => 'Ja, gerne',
    'user.settings.friends-follow.no' => 'Nein, danke',
    'user.settings.change-my-password' => 'Mein Passwort ändern',
    'user.settings.change-my-password.description' => 'Du denkst, dass jemand dein Passwort kennt? Ändere es hier.',
    'user.settings.current-password' => 'Derzeitiges Passwort',
    'user.settings.new-email' => 'Deine neue E-Mail Adresse',
    'user.settings.new-email-repeat' => 'Deine neue E-Mail Adresse (wiederholen)',
    'user.settings.new-password' => 'Dein neues Passwort',
    'user.settings.new-password-repeat' => 'Dein neues Passwort (wiederholen)',
    'user.settings.save' => 'Speichern',
    'user.settings.error.email-incorrect' => 'Die angegebene E-Mail Adresse ist ungültig.',
    'user.settings.error.password-incorrect' => 'Das angegebene Passwort ist fehlerhaft.',
    'user.settings.error.passwords-dont-match' => 'Die angegebenen Passwörter stimmen nicht überein.',
    'user.settings.error.password-too-short' => 'Das angegebene Passwort ist zu kurz.',
    'user.settings.error.emails-dont-match' => 'Die angegebenen E-Mail Adressen stimmen nicht überein.',
    'user.settings.success.preferences-changed' => 'Deine Einstellungen wurden gespeichert!',
    'user.settings.success.email-changed' => 'Deine E-Mail Adresse wurde geändert!',
    'user.settings.success.password-changed' => 'Dein Passwort wurde geändert!',

    'community' => 'Community',
    'community.staff' => 'Staff Mitglieder',
    'community.staff.staff-on-hotel' => 'Staffs im %1',
    'community.richest-members' => 'Reichste Spieler',

    'admin' => 'Housekeeping',
    'admin.dashboard' => 'Dashboard',
    'admin.welcome' => 'Welcome, %1',
    'admin.settings' => 'Einstellungen',

    'admin.settings.cms' => 'CMS Einstellungen',
    'admin.settings.client' => 'Client Einstellungen',
    'admin.settings.plugin' => 'Plugin Einstellungen',
    'admin.settings.register' => 'Registrations Einstellungen',
    'admin.settings.setting.base_url' => 'Standard URL',
    'admin.settings.setting.hotel_name' => 'Hotel Name',
    'admin.settings.setting.hotel_slogan' => 'Hotel Slogan',
    'admin.settings.setting.language' => 'Sprache',
    'admin.settings.setting.logo_url' => 'Logo URL',
    'admin.settings.setting.password_min_length' => 'Mindest Passwort Länge',
    'admin.settings.setting.skin' => 'CMS Skin',
    'admin.settings.setting.maintainance' => 'Wartungsmodus',
    'admin.settings.setting.avatar_image_url' => 'Avatar Image URL',
    'admin.settings.setting.client_css' => 'Client CSS URL',
    'admin.settings.setting.client_emu_ip' => 'Emulator IP',
    'admin.settings.setting.client_emu_port' => 'Emulator Port',
    'admin.settings.setting.client_js' => 'Client JS URL',
    'admin.settings.setting.client_mus_ip' => 'Emulator MUS IP',
    'admin.settings.setting.client_mus_port' => 'Emulator MUS Port',
    'admin.settings.setting.client_swf_dir' => 'SWF Ordner URL',
    'admin.settings.setting.client_swf_express' => 'expressInstall.swf URL',
    'admin.settings.setting.client_swf_ext_texts' => 'External Flash Texts URL',
    'admin.settings.setting.client_swf_ext_vars' => 'External Variables URL',
    'admin.settings.setting.client_swf_habbo' => 'Habbo.swf URL',
    'admin.settings.setting.register_activity_points' => 'Acitivitätspunkte für neue Nutzer',
    'admin.settings.setting.register_credits' => 'Credits für neue Nutzer',
    'admin.settings.setting.register_vip_points' => 'VIP Punkte für neue Nutzer',
    'admin.settings.setting.register_look' => 'Look für neue Nutzer',
    'admin.settings.setting.register_motto' => 'Motto für neue Nutzer',
    'admin.settings.save' => 'Einstellungen speichern!',
    'admin.settings.saved' => 'Die Einstellungen wurden gespeichert!',

    'admin.news' => 'Neuigkeiten',
    'admin.news.success.article-published' => 'Der Artikel wurde erfolgreich veröffentlicht!',
    'admin.news.creation-error' => 'Etwas ist wärend des speicherns schiefgegangen.',
    'admin.news.edit-article' => 'Artikel bearbeiten: %1',
    'admin.news.new-article' => 'Neuen Artikel verfassen',
    'admin.news.title' => 'Titel',
    'admin.news.lead' => 'Lead',
    'admin.news.message' => 'Nachricht',
    'admin.news.image' => 'Bild',
    'admin.news.image-live-preview' => 'Bildvorschau',
    'admin.news.publish' => 'Veröffentlichen!',

    'admin.users' => 'Nutzer',
    'admin.users.ban' => 'Bann!',
    'admin.users.edit' => 'Nutzer bearbeiten',

    'admin.plugins' => 'Plugins',
    'admin.plugins.enabled-plugins' => 'Aktivierte Plugins (%1)',
    'admin.plugins.disabled-plugins' => 'Deaktivierte Plugins (%1)',
    'admin.plugins.edit' => 'Einstellungen bearbeiten',
    'admin.plugins.disable' => 'Plugins deaktivieren',
    'admin.plugins.enable' => 'Plugins aktivieren',
    'admin.plugins.no-enabled' => 'Es ist derzeit kein Plugins aktiviert',
    'admin.plugins.no-disabled' => 'Es ist derzeit kein Plugins deaktiviert',
    'admin.plugins.plugin-enabled' => 'Das Plugin wurde aktiviert',
    'admin.plugins.plugin-disabled' => 'Das Plugin wurde deaktiviert',
    'admin.plugins.no-settings' => 'Dieses Plugin hat keine Einstellungen',
    'admin.plugins.saved' => 'Die Einstellungen wurden gespeichert',
    'admin.plugins.couldnt-save' => 'Etwas ist schiefgegangen wärend des speicherns',

    'admin.pages' => 'Seiten',
    'admin.pages.edit' => 'Seite bearbeiten: %1',
    'admin.pages.name' => 'Seiten Name',
    'admin.pages.access-level' => 'Access level',
    'admin.pages.access-level.all' => 'Jeder',
    'admin.pages.access-level.guest' => 'Nur Gäste',
    'admin.pages.access-level.user' => 'Registrierte Nutzer',
    'admin.pages.access-level.mod' => 'Moderatoren',
    'admin.pages.access-level.admin' => 'Administratoren',
    'admin.pages.add-column' => 'Column hinzufügen',
];
 
Last edited:
Joined
Sep 10, 2011
Messages
778
Reaction score
138
Create your own database type in /content/database and share it with us.
The installer doesn't use the url rewrite, btw.
Can you show a screen of what happens?





There's nothing wrong with the database queries as long as you use the right database configuration file in /content/database.
If you're not using a Phoenix/GTE db, create a config file for Azure or whatever you are using, and share it.


I'll look into the IIS problem
IIS shows a page telling you to install it even on "/install"
And I was using Phoenix's database
 
Junior Spellweaver
Joined
Feb 2, 2015
Messages
181
Reaction score
86
IIS shows a page telling you to install it even on "/install"
And I was using Phoenix's database

Oh poop, I thought I had fixed that
Go to web.config, and replace it with:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <rewrite>
            <rules>
                <rule name="SpecificRewrite" stopProcessing="true">
                    <match url=".*" />
                    <conditions logicalGrouping="MatchAll">
                        <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="true" negate="true" />
                        <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="true" negate="true" />
                    </conditions>
                    <action type="Rewrite" url="index.php" />
                </rule>
            </rules>
        </rewrite>
    </system.webServer>
</configuration>
 
Master Summoner
Joined
Dec 1, 2013
Messages
547
Reaction score
694
You take phoenix as base? You know that it's dead. Nobody will use it anymore in the future since there are better things on the market. To get back about the permissions system there is a new one getting developed at Azure. So the one you see now is getting deprecated and not supported anymore after i saw your snippets it wouldn't be hard to change that for users. ps. The azure cms isn't getting developed anymore sad to see that :p.

Good luck with your project gets intrested by the day ;)
 
Junior Spellweaver
Joined
Feb 2, 2015
Messages
181
Reaction score
86
You take phoenix as base? You know that it's dead. Nobody will use it anymore in the future since there are better things on the market. To get back about the permissions system there is a new one getting developed at Azure. So the one you see now is getting deprecated and not supported anymore after i saw your snippets it wouldn't be hard to change that for users. ps. The azure cms isn't getting developed anymore sad to see that :p.

Good luck with your project gets intrested by the day ;)

Phoenix is dead, and hell I know that, it's dead for ages. I built it around Phoenix because many emulators that are still being used are either edits or rewrites that use the same database structure. Well, I actually didn't write it around Phoenix but around an extraction system :)

Can you send me an SQL file (over PM or something) for the new permission system for Azure, so I can start updating the database file already?
 
Master Summoner
Joined
Dec 1, 2013
Messages
547
Reaction score
694
Phoenix is dead, and hell I know that, it's dead for ages. I built it around Phoenix because many emulators that are still being used are either edits or rewrites that use the same database structure. Well, I actually didn't write it around Phoenix but around an extraction system :)

Can you send me an SQL file (over PM or something) for the new permission system for Azure, so I can start updating the database file already?
It's still under development. I can't send you a base where you mostly go waste your time on haha. If you add me on Skype. I will send a beta sql in a couple of days ;}
 
Junior Spellweaver
Joined
Nov 11, 2012
Messages
144
Reaction score
11
Put this code in index under namespace uHabbo;

Code:
if($_SERVER['REMOTE_ADDR'] == '::1' || '' || '127.0.0.1') $_SERVER['REMOTE_ADDR'] = 'your ip here';

Because uHabbo uses session check that check your ip aswell and when you are the host your ip is ::1 :p
 
Last edited:
Newbie Spellweaver
Joined
Apr 7, 2015
Messages
6
Reaction score
2
No, but you must have those modules, because else you get a 500 error for missing modules

---------------------------

I've worked on a really cool plugin today and yesterday:
Xesause - Cms: µHabbo - RaGEZONE Forums


This is the source, made compact using TinyPHP.
It works for µHabbo 1.2a, so you can't yet run it, but I'm about to roll out the new update, so stay tuned!
Nice updates, too bad I still can't get around to actually use the cms. I have both modules. And pretty sure coregamer has the same issue as I do so it's not iis?
 
Junior Spellweaver
Joined
Feb 2, 2015
Messages
181
Reaction score
86
Nice updates, too bad I still can't get around to actually use the cms. I have both modules. And pretty sure coregamer has the same issue as I do so it's not iis?

For me, on IIS7 with URLRewrite and RequestFiltering, it did work.
I used to get a 500 too until I installed URLRewrite.

According to the IIS7 docs, you also need:
- Module: DirectoryListingModule
- Handler: StaticFile

-----------------------------------------

uHabbo 1.2a

Download link:
Decryption key: zNHFoOp94HdEiTV6GNmJqncpnF9f2x7IwIJycJFiZV8

Updates
- Added novaEmulator support
- Taken user online status setting into account on staff page
- Fixed avatar image url in Habbo6 theme
- Added PluginEnabled event, so you can execute install scripts like SQLs
- Fixed NewsSlider with less than 3 articles
- Made giveClub($time) and giveVIP($time) for User
- Fixed server status (online count etc)
 
Last edited:
Junior Spellweaver
Joined
Feb 2, 2015
Messages
181
Reaction score
86
I have no problem running Rev, has got to be this cms..

This CMS was made for web servers that don't suck. Use Apache or Nginx. Those servers are capable of generating comprehensible error messages. IIS isn't. What is the error you are getting?
 
Joined
Oct 11, 2012
Messages
544
Reaction score
143
@Xesause Add Azure Support!

Edit:
Never mind, I saw you did add support then criticized our lack of our database tables ;p
In Azure 2.0 there is a new command system and a permissions system also there is a wordfilter like Phoenix, id, word. We called it, "BobbaFilter" - Works like the real Habbo system.
 
Last edited:
Status
Not open for further replies.
Back
Top