Okay, 'cause I'm living rs just for a while 'cause of college, I decided to make publish all my summer work...
It's azure edited, a new cms which is currently being used at LZE and the db that includes a full catalog, so let me describe...
Azure:
- I review all source and I make a simple changes
- Don't have exploits and so,,,(I'm not lammer I'm software developer)
- I add in all commands the filtering used at server_blackwords for all commands that shows a message so if for example a staff wanna send a message with the word: Habbo, if the word is added in server_blackwords at db, it will not being showed, instead he will receive a alert or whisper with the message saying "dont use that word: ---"
- It's currently a bit in Spanish because my mother tongue is Spanish
- Commands and a bit of alerts that returns a message I prefer to change to whisper because Silver recognize that the used before consume a lot memory.
- I add a new command called pickbots it's very simple... just pick all bots of the owner who said the command and reload the room...
- The command about I edit without any credits(Sorry, if you don't feel good, change xd)
MKICms(Lola :B)
- It's really simple and complete
- It can being used with Azure Emulator and Butterfly(Butterstorm, Phx...etc....etc...)
- It use MySQLi from Jeffery Way and Josh Campbell (Use query() if you DON'T use sintaxis like: "Select * from `hola` WHERE id = 'xd'" if you use that, use: ourquery())
- It use a really good debug log (It catch all if you enable at config)[It isn't a php error handler it just catch my bugs/logs handles.]
- It filter ALL data that is being part with the customers so is really secure
- It current use PHP 5.6
- It works in Spanish and English languages
- It has a profile settings in which can choose profile background, profile image and so on...
- ...
Notes for Lola:
- If you are developer and wanna make your own website edition based in my core just add a folder at terminals with your websitename and inside copy a config and core from others terminals and make a folder called public and there put your content, all should be like this:
Code:use Lola\Main\Main;define('TERMINAL', dirname(dirname(__FILE__))); require_once("./../../../Basic/starter.php"); $user->logged('yes'); /* or not or allow */ $main->usualcleaner(); /* for clean $_Post get...etc...- At the current terminal called: "mundoki-marsh" you found a public folder which contents all website public data so configure your apache or IIs for that folder...
- At home.php I prefer to use a sintaxys like:
instead of html but you can obviously erase all and use just html and....Code:$box->b('container', 'div', null, 'both', 'class="profile-background" background-lolita="url('.$imgsrc.')"');- If you need to get data from the current session user, use: $user->get("column-name-from-users-table");
- If you need to get data from user_cms table, use: $user->getcms("column-name-from-user_cms-table);
- If you wanna make a query, use: $db->ourquer("...."); or $db->query(""); or if you know php just see the mysqli class and use all functions for example insert(arraydata...etc.)
- If you wanna make a staff invisible, set 1 in the enum called: staff_ocult
- It use jquery for change the languages... For example : {{HELLO}} if you add HELLO at home.js in the arrays for languages, it will change depending of the lang of customer...
- As you see there is a HK.php file for Housekeeping but It isn't completely functional because I didn't needed xd (My staffs has access directly to db...xd)
- It use a UTF-8
How to set your site at terminal settings:
- Open the config.php which is at /terminal/yourterminalname/config.php
- Set the environment as 'ENVIRONMENT' => 'development', to see ALL posible errors for your first set and then when you think all work faen, change for: 'ENVIRONMENT' => 'production',
- In order to see debug data it you have set environment as development use 'ENABLE_CONSOLE' => true, if not, use 'ENABLE_CONSOLE' => false,
- If you registering doesn't work, enable development environment, console and set: 'DISABLE_LOGIN_REDIRECCTIONS' => true, to disable redirecctions to see all logs and set: 'DISABLE_LOGIN_REDIRECCTIONS' => false, to use properly
- Set your 'DBHOST', DBPORT, user..e.tc.... for your db...
- Set your DOMAIN_URL and your client url...
- Set your site name....SITE_FULL_NAME.....
- WARNING: at the end of the config you will found: Hotel configs depending on db fields so there you need to set depending of your emulator of using, the columns of your users table. For example: 'DIAMONDS' => 'belcredits', is for butterfly(Nova), 'DIAMONDS' => 'diamonds', for azure... and for butterstorm(i think)
- To setup your client (swfs and so) open the file called: client.php at your public terminal, and set the defines... for example: define('external_variables' ,'YOUR SWF LINK FOR EXTERNAL VARIABLES'); ....
How to set your RECAPTCHA keys:
1. Go to your users_ class (users_marsh.php or users_azure.php) and search the line:and change JUST THE key for example:Code:$response=file_get_contents("https://www.google.com/recaptcha/api/siteverify?secret=
there you change: 6LfmcAkTAAAAAIiTFPy6tJh9KAjiMErqu6rdf4VY for your private website key.Code:$response=file_get_contents("https://www.google.com/recaptcha/api/siteverify?secret=6LfmcAkTAAAAAIiTFPy6tJh9KAjiMErqu6rdf4VY&response=".$captcha."&remoteip=".filter_input(INPUT_SERVER, "REMOTE_ADDR", FILTER_SANITIZE_URL));
2. Go to index.php at your public terminal path and look for:
and change the key for your public key, for example:Code:<div class="g-recaptcha" data-sitekey="change: 6LfmcAkTAAAAAA9pyPq0aYBUqJu_rHIzG9HoumcR for your keyCode:<div class="g-recaptcha" data-sitekey="6LfmcAkTAAAAAA9pyPq0aYBUqJu_rHIzG9HoumcR"></div>
Simple DB querys just for the CMS:
Code:DROP TABLE IF EXISTS `cms_news`;CREATE TABLE IF NOT EXISTS `cms_news` (Catalog for Azure (REMEMBER FOR AZURE) (Obviously it can be change for compatibility for others emu)Code:`id` int(11) NOT NULL, `title` mediumtext NOT NULL, `time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `content` longtext NOT NULL, `author` varchar(255) NOT NULL DEFAULT 'Administration', `background` text ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8; DROP TABLE IF EXISTS `staff_logs`; CREATE TABLE IF NOT EXISTS `staff_logs` ( `id` int(11) NOT NULL, `staffuser` varchar(40) NOT NULL, `target` varchar(40) NOT NULL, `action_type` varchar(40) NOT NULL, `description` text, `time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ) ENGINE=InnoDB AUTO_INCREMENT=603 DEFAULT CHARSET=latin1; DROP TABLE IF EXISTS `staff_permissions`; CREATE TABLE IF NOT EXISTS `staff_permissions` ( `user_id` int(255) NOT NULL, `main` enum('1','0') NOT NULL DEFAULT '0', `news` enum('1','0') NOT NULL DEFAULT '0', `users` enum('1','0') NOT NULL DEFAULT '0', `ranks` enum('1','0') NOT NULL DEFAULT '0' ) ENGINE=InnoDB DEFAULT CHARSET=utf8; DROP TABLE IF EXISTS `user_cms`; CREATE TABLE IF NOT EXISTS `user_cms` ( `user_id` int(255) NOT NULL, `role` varchar(255) NOT NULL DEFAULT 'User', `background-url` varchar(255) NOT NULL DEFAULT 'http://i.imgur.com/ebfAtNW.png', `profileimage_url` varchar(255) NOT NULL DEFAULT '/img/default_profile_image.jpg', `country_cf` varchar(255) NOT NULL DEFAULT 'Spain', `profile_background_url` varchar(255) NOT NULL DEFAULT 'http://i.imgur.com/uFdnZ5y.png' ) ENGINE=InnoDB DEFAULT CHARSET=utf8; ALTER TABLE `cms_news` ADD PRIMARY KEY (`id`); ALTER TABLE `staff_logs` ADD PRIMARY KEY (`id`); ALTER TABLE `staff_permissions` ADD PRIMARY KEY (`user_id`); ALTER TABLE `user_cms` ADD PRIMARY KEY (`user_id`); ALTER TABLE `cms_news` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=3; ALTER TABLE `staff_logs` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=603; ALTER TABLE `user_cms` ADD `twitter` VARCHAR(255) NOT NULL DEFAULT 'Mundoki' AFTER `profile_background_url`, ADD `facebook` VARCHAR(255) NOT NULL DEFAULT 'Mundokii' AFTER `twitter`; DROP TABLE IF EXISTS `users_suspect`; CREATE TABLE IF NOT EXISTS `users_suspect` ( `id` int(255) NOT NULL, `ip` varchar(15) NOT NULL ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; ALTER TABLE `users_suspect` ADD PRIMARY KEY (`id`); ALTER TABLE `users_suspect` MODIFY `id` int(255) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=2;
- I make a algorithm which help me to set all current exist furnis at habbo.com so this catalog has ALL existing furnis with the exceptions of the ones which has been developed those latest days...
- The pages of the catalog is in Spanish and English...
- The furnis that hasn't being added at today(11/09/2015):
Code:nest_pterosaur id: 8191yttv_retro id: 8192 africa15_meerkat id: 8223 anc15_pharaohduck id: 8232 anc_c15_table id: 8233 anc_c15_chair id: 8234 gothic15_toilet id: 8235 lt_c15_tree id: 8236 lt15_tele id: 8237 lt_c15_bush id: 8238 africa_c15_table id: 8239 africa_c15_chair id: 8240 africa_c15_bongos id: 8241 habbo15_win_2 id: 8242 habbo15_win_3 id: 8243 habbo15_win_1 id: 8244 tiki_c15_leigiver id: 8245 tiki_c15_tele id: 8246 greek_c15_floor id: 8247 greek_c15_bench id: 8248 greek_c15_lamp id: 8249 greek_c15_tile id: 8250 garden_c15_toolshed id: 8251 garden_c15_shroomchr id: 8252 garden15_lawnmower id: 8253 habbo15_win_5 id: 8254 habbo15_win_4 id: 8255 habbo15_win_10 id: 8256 habbo15_win_7 id: 8257 habbo15_win_6 id: 8258 habbo15_win_8 id: 8259 romantique_c15_table*1 id: 8273 romantique_c15_table*2 id: 8274 romantique_c15_table*3 id: 8275 romantique_c15_table*4 id: 8276 romantique_c15_table*5 id: 8277 habbo15_win_27 id: 8323 habbo15_win_36 id: 8324 habbo15_win_38 id: 8325 habbo15_win_39 id: 8326 habbo15_win_41 id: 8327 habbo15_win_37 id: 8328 habbo15_win_43 id: 8329 habbo15_win_40 id: 8330 habbo15_win_42 id: 8331 habbo15_win_44 id: 8332 habbo15_win_45 id: 8333- You can use the furnidata.xml actual from habbo.com (DON'T USE the one from habbo.es because don't have the same items ids)
- If you don't have the swfs of the furnis use the tool from azure called azure files extractor...
- Most of furnis bugs fixed (Thanks my excelent staffs: Koh, lKiwaii, Rerik, DrWho)
Links:
Azure edited:
Db for azure with catalog:Code:https://mega.nz/#!kRYnjTwI!VE0mlDVeHEx0YZTp30lo05qXJ9phjrxgQ3G-OryCnW0
Db for marshall without this catalog:Code:https://mega.nz/#!oVRhSbyb!URrFd2qgIK4RabG7-xe7tbrhSmi2UpP2xgeau4CWkaw
Db JUST with the catalog for nova(I think is this db i'm not to sure because I delete the db)Code:https://mega.nz/#!5dp0nb7D!2dhKqc5dJraXHwg95ufpailaCjIKH6Aoz8f1wC0FFY8
MKICms:Code:https://mega.nz/#!xVgxSS6Q!JDDv_z8urxT3UQ-uGzcw7_x7NETSwX91GX1LLBLb4Y4
Screenshots:Code:https://mega.nz/#!8Vh0iSQC!f1RbaEnPjaN-QB5xjvhOlg8wYGEZMFjy5zRZlbY43Ek
Credits:
- Azure developers...
- KrzDavid
- Silver(Current lze owner)
- Rerik, Koh, lKiwaii, DrWho
- so on...
If someone need help I have just 3 days more and then I'm gonna move to madrid for study...
FB:
If you have personal fb:
If not...Code:www.facebook/DimeQuienTeAma
Thanks, Please don't make a judge without seeing the code... I'm back-end developer so website design isn't my best.Code:https://www.facebook.com/noexisteestuser







Reply With Quote![MKICMS[Lola] + Azure Emulator edited + Full catalog [AdrianSh]](http://ragezone.com/hyper728.png)


