-
UberCMS 3.0 [based off Galaxy Hotel] [PHP, MySQLi,, THEMES]
Hiya RaGEZONE,
Today I'm here to announce the development of UberCMS 3.0; a CMS that has been used on Galaxy Hotel (which shut down however)
Why UberCMS 3.0?
At first, this development was going to be known as "Galaxy [CMS]", however
1. The CMS name was already taken
2. I'd prefer not to rename a CMS that this development was originally based off
What will it feature?
The back end of this CMS is going to be very much like the original UberCMS (not Jonty's edit), however there have been many rewritten files. At this current point in time, the template system (.tpl) has been removed and instead replaced with PHP files.
The CMS currently features a unique dark-theme, however throughout this development, a theming system will be introduced that will allow administrators to switch to different themes for the CMS (similar to Rev)
Features to be introduced shall include:
- Advanced user account controls
- Cross compatibility between Phoenix & Butterfly Emulator
- The possibility of reintroducing a template system
- Administration Panel (not the original UberCMS HK)
- Ability to modify many aspects of how the CMS runs (IP addresses, x accounts per user, proxy settings, etc)
- Messages (similar to minimail)
- Homes / Groups - completely recoded system
- News Comments & Plugins
- Bot Manager
- Badge Shop
- Referral system - users earn rewards by referring x amount of users
- Search Engine - search through a number of pages within the site
- Tags
Based on the emulator you use, some features may be disabled due to compatibility reasons, or servers being too new for some of the homepage features.
More information will be included as the development progresses.
This CMS will be open-source and placed on github
No one is perfect (and nor is my coding!), so I will always be up for suggestions for improving bits of code.
IMAGES:
http://i.gyazo.com/f346adeeab372347bed869e50e82c8d7.png
http://i.gyazo.com/16ef0d0211cff7bfdda715e81379b85a.png
SNIPPETS: (is bound to change in the future) - me.php
PHP Code:
<?php
define('TAB_ID', 1);
define('PAGE_ID', 2);
define('MAIN',true);
require_once "global.php";
define('TITLE',USER_NAME);
if($config->VOTINGAPI == true && $config->VOTINGENABLED == true){
require_once(INCLUDES."/voting_api/force.client.php");
}
if (!LOGGED_IN)
{
header("Location: ".WWW."/");
exit;
}
$core->Header(1);
$core->Header(2);
include(TEMPLATES.'/generic-top.php');
include(TEMPLATES.'/me/my_info.php');
echo'<div id="column1">';
include(TEMPLATES.'/community/campaigns.php');
include(TEMPLATES.'/me/referrals.php');
echo'</div><div id="column2">';
include(TEMPLATES.'/news/news_display.php');
include(TEMPLATES.'/community/staff_picks.php');
echo'</div>';
include(TEMPLATES.'/footer.php');
If you have any questions, concerns or queries, please shoot me a PM or leave a comment in this thread!
-
Re: UberCMS 3.0 [based off Galaxy Hotel] [PHP, MySQLi,, THEMES]
-
Re: UberCMS 3.0 [based off Galaxy Hotel] [PHP, MySQLi,, THEMES]
Oh! I just realised that the thread was approved haha.
I hope to have some updates soon.
-
Re: UberCMS 3.0 [based off Galaxy Hotel] [PHP, MySQLi,, THEMES]
I think you're better off writing a CMS from scratch rather than improving UberCMS.
Good luck on the homes and groups, they are a pain in the ass :love:
-
Re: UberCMS 3.0 [based off Galaxy Hotel] [PHP, MySQLi,, THEMES]
Quote:
Originally Posted by
The General
I think you're better off writing a CMS from scratch rather than improving UberCMS.
Good luck on the homes and groups, they are a pain in the ass :love:
haha true. I honestly like the base of Uber, plus I've already implemented a tonne of features.
In the future I'll look into it, however at the moment its just too much time haha
-
Re: UberCMS 3.0 [based off Galaxy Hotel] [PHP, MySQLi,, THEMES]
Homes work fine on Uber already :P: Plus, so do groups if you get the right released download ;)
Glad you came through with this ! Hopefully you don't back out of it though :) Good luck amigo! If you've done any main core changes (Which I suggest..) Can I see a snippet of it? :) Just to compare of course
-
Re: UberCMS 3.0 [based off Galaxy Hotel] [PHP, MySQLi,, THEMES]
Quote:
Originally Posted by
FatalLulz
Homes work fine on Uber already :P: Plus, so do groups if you get the right released download ;)
Glad you came through with this ! Hopefully you don't back out of it though :) Good luck amigo! If you've done any main core changes (Which I suggest..) Can I see a snippet of it? :) Just to compare of course
At the moment, the current state is "messy" because it isn't coded for general use (it was only coded for my hotel at the time) but the code certainly is better :P
In regards to Groups/Homes, I plan on recoding them by NOT using the original scripts from Habbo because the rest of the site (apart from the client) doesn't use them.
EDIT
Here, I'll give you a glimpse of the config file. Instead of storing settings within the database I placed them all in the config file:
OLD
PHP Code:
<?php
$config['Site']['www'] = "http://shock.im";
$config['Site']['hash_secret'] = "xCg532%@%gdvf^5DGaa6&*rFTfg^FD4\$OIFThrR_gh(ugf*/";
$config['Site']['disable_api'] = true;
$config['MySQL']['hostname'] = "127.0.0.1";// use 127.0.0.1
$config['MySQL']['username'] = "";
$config['MySQL']['password'] = "";
$config['MySQL']['database'] = "";
$config['MUS']['enabled'] = true;
$config['MUS']['ip'] = "127.0.0.1";
$config['MUS']['port'] = 1233;
?>
NEW
PHP Code:
<?php
class goatConfig {
/* Site Configuration */
public $WWW = "http://localhost";
public $LOCAL = "http://localhost";
public $SHORTNAME = "Galaxy"; // Hotel short name
public $LONGNAME = "Galaxy Hotel"; // Hotel long name
public $USERS = "Galaxies"; // Name of users on the hotel
public $HASH = "xCg532%@%gdvf^5DGaa6&*rFTfg^FD4\$OIFThrR_gh(ugf*/"; // UberHash DO NOT TOUCH
public $CLOUDFLARE = FALSE; // Cloudflare Protection
public $ADVERTISING = FALSE; // Allow Google Ads to appear on the page
public $VOTINGAPI = FALSE; // Enable forced API voting (users cannot access any part of the site without voting)
public $VOTINGENABLED = FALSE; // Enables voting throughout the site
/* Social Media */
public $FACEBOOK = 'http://facebook.com/Hotel.Shock';
public $TWITTER = 'http://twitter.com/RareOpenBeta';
/* Database Configuration */
public $db_host = "127.0.0.1";
public $db_username = "";
public $db_password = "";
public $db_database = "";
/* MUS Configuration */
public $mus_enabled = true;
public $mus_host = "127.0.0.1";
public $mus_port = 30003; //1233;
public function __construct(){
$host = $_SERVER['HTTP_HOST'];
if($host == 'localhost'){
define('WWW', $this->LOCAL);
}
else {
define('WWW', $this->WWW);
}
define('LOCAL_WWW', $this->LOCAL);
define('SHORTNAME', $this->SHORTNAME);
define('LONGNAME', $this->LONGNAME);
define('NAME', $this->SHORTNAME);
define('USERS', $this->USERS);
}
}
?>
(ignore that "localhost" bit :P
Its not totally done and I'm still going to make changes.
global.php has also had a lot of changes.
-
Re: UberCMS 3.0 [based off Galaxy Hotel] [PHP, MySQLi,, THEMES]
May I suggest you put it on GitHub as of now, so we're able to view your code and give you suggestions along the way. Because there's bound to be problems once released. Good luck with this.
-
Re: UberCMS 3.0 [based off Galaxy Hotel] [PHP, MySQLi,, THEMES]
Quote:
Originally Posted by
Reverb
May I suggest you put it on GitHub as of now, so we're able to view your code and give you suggestions along the way. Because there's bound to be problems once released. Good luck with this.
Yeah I'm going to make the GitHub soon (it will be before the release of the CMS).
I'd prefer to get some other bits done before I upload it (I have to remove bits that were specific to my old hotel)
-
Re: UberCMS 3.0 [based off Galaxy Hotel] [PHP, MySQLi,, THEMES]
Quote:
Originally Posted by
Ddos Attack
Yeah I'm going to make the GitHub soon (it will be before the release of the CMS).
I'd prefer to get some other bits done before I upload it (I have to remove bits that were specific to my old hotel)
Alright, sounds good. But the only reason why I say put it up on GitHub now (or as soon as possible) is because this could have potential, and I personally don't want to see another crappy-coded CMS. And don't rush through things, and take your time! And again, good luck.
-
Re: UberCMS 3.0 [based off Galaxy Hotel] [PHP, MySQLi,, THEMES]
Quote:
Originally Posted by
F Connect
Alright, sounds good. But the only reason why I say put it up on GitHub now (or as soon as possible) is because this could have potential, and I personally don't want to see another crappy-coded CMS. And don't rush through things, and take your time! And again, good luck.
Thank you very much :)
I plan on this being an on going project (not forever though, haha). And I agree, I'll need as much feedback as possible because I'd like to make this a CMS that is fast, sleek and makes everyone happy! :P
-
Re: UberCMS 3.0 [based off Galaxy Hotel] [PHP, MySQLi,, THEMES]
lets develope this together. got some new input
-
Re: UberCMS 3.0 [based off Galaxy Hotel] [PHP, MySQLi,, THEMES]
I like the template, good luck :)
-
Re: UberCMS 3.0 [based off Galaxy Hotel] [PHP, MySQLi,, THEMES]
Nicholas, you have skype or inbox keeps saying its full anytime i try to pm you! Thanks
-
Re: UberCMS 3.0 [based off Galaxy Hotel] [PHP, MySQLi,, THEMES]
Due to some problems in my life, I'm going to have to close the development for now.