• 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.

[MySQLi][TPL]JetCMS & JetEMU

Status
Not open for further replies.
Newbie Spellweaver
Joined
Oct 30, 2013
Messages
7
Reaction score
2
Good evening RageZone (It's evening here in Holland (While i'm typing this, i dont know how long it's going to take to get this approved))

What you are looking at is the new development thread of JetCMS.
Me and a friend of me started it, (We're 14&15) so i'm writing a thread on all forums with a Habbo development section...
Whats so special about JetCMS:

JetCMS is only using modern technology, and we're young aged developers, so we have A LOT of imagination...

JetCMS will have a totally Custom style, so no regular Habbo style.
A really advanced housekeeping but easy to use. (If u get what i mean...)
Automatic themeswitcher, so it recognises what time it is, so like:


22 december 2014 it will switch to the winter theme,

31 oktober 2014 it will switch to the halloween style, and one day later it will switch back to the fall theme.

Progress:

We're currently developing the cores and stuff, but this is our total progress:

- Template: 24%
- Core: 75%
- Style: 20%
- Emulator: 0%

And for the people who care:

Just for the lovers there are some snippets:

Configuration:
PHP:
<?php
// Database

$config["database"]["host"] = "localhost";
$config["database"]["user"] = "root";
$config["database"]["pass"] = "";
$config["database"]["name"] = "";


// Game instellingen

$config["game"]["mus_ip"] = "83.83.231.24";
$config["game"]["mus_port"] = "30001";

$config["game"]["server_ip"] = "83.83.231.24";
$config["game"]["server_port"] = "30000";
$config["game"]["swf_location"] = "http://83.83.231.24/r64/"; // yes, end in slash

// Gebruikers Instellingen

$config["default_user"]["looks"] = "ch-3015-72.lg-275-90.hr-831-37.ha-1012-1330.hd-180-1";
$config["default_user"]["credits"] = 0;
$config["default_user"]["pixels"] = 0;

// Website

$config["game"]["hotel_url"] = "";
$config["game"]["hotel_name"] = "Habking";
$config["game"]["hotel_desc"] = "Chat mee en maak vrienden!";
$config["game"]["secret_salt"] = ""; 

?>


TPL system:

PHP:
<?php

function _template($tpl){
    return htmlspecialchars(file_get_contents( "_pages/$tpl.tpl" ));
}

?>

FAQ's

Q: Is there a possible way that i can help you guys?
A: Yeah, there is! You can always add my on skype: TheMachineWesley BUT Tarik and I are DUTCH developers.

Q: Are there screens?
A: I'll keep this one updated:
ScreenShots:I have one, its from the index, but it's not done jet:
Live Demo: NOT AVAILIBLE
LiveStream: NOT AVAILIBLE

Q: Self use or release?
A: It's going to be a release!

Q: When is this going to be finished?
A: We really dont know, we're 14 and 15, so we need to go to school etc. BUT! i'll update this post alot.


Afterword
I hope you enjoyed this post.
Please don't hate, we are doing the best we can.

Any Ideas or Tips, Put them in a comment!
I would be gratefull for some feedback!

Please don't hate me because of my bad english:$

Cya guys, and have a good day!

TheMachine

*UPDATE* It will be ajustable language! So it will be Dutch, English, and maybe more?

**BIG UPDATE

From now the project will be named HabKing(CMS & EMU) because we found out that we had alot of domains with that name.....

I also got a new screenie

NEW index with no hover:


NEW index with logo hover:


NEW
index with footer hover:


NEW index with register hover:


**UPDATE

YEAH, another one, i've bin brainstorming on this for the last week xD, but the beginning of the register looks like this:

And yeah, i know, it looks a lot like PixelTimeCMS v13, but this is going to be completely different, the 2 characters are defenitly going to be changed, and there will be one f*ckin' awesome feature in the register, i will explain it quickly:

1. You click the register button on the index.
2. You select you'r gender.
3. You're selecting your look by a switcher, like in the V25 or V26, u know, with the arrows, that if u click the hair arrow, the hair changes, (I tought it was pretty awesome.)
 
Last edited:
Initiate Mage
Joined
Sep 17, 2013
Messages
2
Reaction score
0
And you can contact me (Tarik), Developer of JetCMS, on skype: dutchgamercenter
 
Newbie Spellweaver
Joined
Oct 30, 2013
Messages
7
Reaction score
2
@Tarik, We're developing it together...

I just started on the SWF's because my buddy Tarik isn't answering me...
 
Initiate Mage
Joined
Sep 17, 2013
Messages
2
Reaction score
0
And you can contact me (Tarik), Developer of JetCMS, on skype: dutchgamercenter
 
Junior Spellweaver
Joined
Dec 24, 2011
Messages
125
Reaction score
39
hmm i don't like the way how you handle the templates, try to make a class or download a template engine.

TIP: Smarty is really nice to use!.
 
Joined
Jun 23, 2010
Messages
2,324
Reaction score
2,195
First of all, I hope you guys know what you're doing and you see this comment as a possitive thing to prove me wrong.

JetCMS is only using modern technology

Well it's all about that single line. You promise us that this CMS will be superior then others and will use modern ways to make it work. However, that "silly" 3 line template functions just made me cry. It actually broke your promise of using modern technology.

I can beleave you have alot of imagination but that doesn't mean this will be a success. If you tell me, this will be another "fail".

Good luck throught.
 
Newbie Spellweaver
Joined
Oct 30, 2013
Messages
7
Reaction score
2
First of all, I hope you guys know what you're doing and you see this comment as a possitive thing to prove me wrong.



Well it's all about that single line. You promise us that this CMS will be superior then others and will use modern ways to make it work. However, that "silly" 3 line template functions just made me cry. It actually broke your promise of using modern technology.

I can beleave you have alot of imagination but that doesn't mean this will be a success. If you tell me, this will be another "fail".

Good luck throught.

We will see.
 
"(still lacks brains)"
Loyal Member
Joined
Sep 2, 2011
Messages
2,371
Reaction score
1,361
Percentages are quite bad at judging how complete a project is, a changelog is much better. In all honestly I can see this project failing and being dead in about 2 months, more than likely less.
 
Experienced Elementalist
Joined
Nov 25, 2009
Messages
253
Reaction score
35
Well showing a PHP Notice within the title of your site on one of the first screenshots shows that something is quite wrong ...
Additionally if you'd want to use modern technologies, you'd have to use php5 with namespaces, classes AND caching for the template system...
 
Newbie Spellweaver
Joined
Aug 16, 2012
Messages
12
Reaction score
1
return htmlspecialchars file_get_contents :junglejane:

Are u kidding me broooo...
doing htmlspecialchars over the whole content?

Ah duck my life
 
I don't even know
Loyal Member
Joined
Apr 7, 2010
Messages
1,699
Reaction score
420
PHP:
<?php
function _template($tpl){
    return htmlspecialchars(file_get_contents( "_pages/$tpl.tpl" ));
}
?>

Sorry I just had to re-read the entire thread to see if this was not just a troll development

__


Here this might help:
PHP:
<?php
class SeasonTemplates
{
	private $TplRoot = '/templates/{season}/tpls/';
	private $CssRoot = '/web-gallery/{season}/v2/';

	function __construct()
	{
		$Season = strtolower($this->get_season());

		$this->TplRoot = str_replace('{season}', $Season, $this->TplRoot);
		$this->CssRoot = str_replace('{season}', $Season, $this->CssRoot);
	}

	function TplLink($File)
	{
		return $this->TplRoot.$File;
	}

	function CssLink($File)
	{
		return $this->CssRoot.$File;
	}

	//Ripped from: http://biostall.com/get-the-current-season-using-php
	private function get_season()
	{
		$date = date("Y-m-d");

		// Specify the season names  
		$season_names = array('Winter', 'Spring', 'Summer', 'Fall');  
  
		// Get year of date specified  
		$date_year = date("Y", strtotime($date));  
  
		if (strtotime($date) < strtotime($date_year.'-03-21') || strtotime($date) >= strtotime($date_year.'-12-21'))
		{   
                		return $season_names[0]; // Must be in Winter  
		}
		else if (strtotime($date) >= strtotime($date_year.'-09-23'))
		{  
			return $season_names[3]; // Must be in Fall  
		}
		else if (strtotime($date) >= strtotime($date_year.'-06-21'))
		{  
			return $season_names[2]; // Must be in Summer  
		}
		else if (strtotime($date) >= strtotime($date_year.'-03-21'))
		{  
			return $season_names[1]; // Must be in Spring  
		}
	}
}
?>

Edit the TplRoot and CssRoot and then use the ->TplRoot and ->CssRoot functions.
 
Last edited:
Status
Not open for further replies.
Back
Top