-
HabboCMS [HOMES/GROUPS/TAGS/FORUM]
Hi RZ! :D
I'm a French developer, I do not speak English very well, so I helped myself with a translator while correcting my mistakes.
A few days ago, I started a basic CMS from zero, but I wanted it to be an unusual CMS, which is why I have included features such as the homepages, groups, tags and the forum!!
Languages used by this CMS: FR/EN.
Emulators supporteds: Phoenix, and maybe Butterfly
Some screenshots (FR version):
http://lightpics.fr/images/2013/09/07/qa7B5.png
http://lightpics.fr/images/2013/09/07/gYyzl.png
http://lightpics.fr/images/2013/09/07/37BWC.png
http://lightpics.fr/images/2013/09/07/z8WiD.png
http://lightpics.fr/images/2013/09/07/gTwRK.png
http://lightpics.fr/images/2013/09/07/mSACi.png
http://lightpics.fr/images/2013/09/07/NtO0Y.png
http://lightpics.fr/images/2013/09/07/5ug7R.png
http://lightpics.fr/images/2013/09/07/L8b2l.png
http://lightpics.fr/images/2013/09/07/7boCf.png
http://lightpics.fr/images/2013/09/07/ibcxP.png
http://lightpics.fr/images/2013/09/07/zieF.png
The CMS is completed except the administration that has not yet been started, the English version is being prepared, it will come soon!
Some snippets:
CORE.PHP
http://lightpics.fr/images/2013/09/11/P6BVd.png
HABBO_FONCTIONS.PHP
http://lightpics.fr/images/2013/09/11/U6mov.png
I will share HabboCMS soon, with the EN version! :)
-
Re: HabboCMS [HOMES/GROUPS/TAGS/FORUM]
Approved, good luck on your project. Hope you see it to its end.
-
Re: HabboCMS [HOMES/GROUPS/TAGS/FORUM]
Looks very basic and without OOP I suppose this will turn into spaghetti code. Still good luck with this.
PD: vLife, my thread :/:
-
Re: HabboCMS [HOMES/GROUPS/TAGS/FORUM]
I think that the forum should be made as a seperate tab, other than that, it looks nice.
-
Re: HabboCMS [HOMES/GROUPS/TAGS/FORUM]
SystemCMS (/based idc/idk)..... Nice!
-
Re: HabboCMS [HOMES/GROUPS/TAGS/FORUM]
This is looking nice even though I'm confused if the forum is for groups only or its for the general part of the hotel and if for the general then you should try making them only for groups or groupdiscussions.
-
Re: HabboCMS [HOMES/GROUPS/TAGS/FORUM]
Looks amazing!
All the best!
-
Re: HabboCMS [HOMES/GROUPS/TAGS/FORUM]
PHP Code is very ugly, like french systemCMS shit :/
-
Re: HabboCMS [HOMES/GROUPS/TAGS/FORUM]
He, i want to help you to mabye the netherlands version of this nice CMS
-
Re: HabboCMS [HOMES/GROUPS/TAGS/FORUM]
It's very basic, and you are new in PHP, but the result looks amazing (Homes, groups, forums, etc)
So, I wish luck, and use OOP.
-
Re: HabboCMS [HOMES/GROUPS/TAGS/FORUM]
Quote:
Originally Posted by
BurakDev
PHP Code is very ugly, like french systemCMS shit :/
I know but I don't have used SystemCMS, why? Because in the french community and maybe in the english community, some people never used PHP Code like UberCMS or other, that's why I use a shit code, but I will correct it and make a second version coded in PDO.
-
Re: HabboCMS [HOMES/GROUPS/TAGS/FORUM]
Quote:
Originally Posted by
H4mid
I know but I don't have used SystemCMS, why? Because in the french community and maybe in the english community, some people never used PHP Code like UberCMS or other, that's why I use a shit code, but I will correct it and make a second version coded in PDO.
OOP is not PDO, you can use PDO without OOP.
-
Re: HabboCMS [HOMES/GROUPS/TAGS/FORUM]
You're still using mysql_() functions ? Remember that in > PHP5.5.x , these functions are obsoletes ^^
-
Re: HabboCMS [HOMES/GROUPS/TAGS/FORUM]
Quote:
Originally Posted by
rockster34
He, i want to help you to mabye the netherlands version of this nice CMS
Does not make sense because you can also wait for it to be released and then translate it and release it for those who are not French.
Good luck !
-
Re: HabboCMS [HOMES/GROUPS/TAGS/FORUM]
Selecting from the configuration table for every var isn't very efficient, just do one big select and save that to a variable $Config and then use that global variable in Config()
-
Re: HabboCMS [HOMES/GROUPS/TAGS/FORUM]
Quote:
Originally Posted by
Hoshiko
this code gave me aids
Instead of making such a "funny" (NOT) comment you could actually help him out.
-
Re: HabboCMS [HOMES/GROUPS/TAGS/FORUM]
Ugh..
1. MySQL is deprecated, try to use PDO/MySQLi.
2. Why are you putting error_reporting to 0? Some errors to hide? yeyeye..
Btw, ini_set doesn't belong in your code but in your php.ini.
-
Re: HabboCMS [HOMES/GROUPS/TAGS/FORUM]
Quote:
Originally Posted by
Crypt0nite
Ugh..
1. MySQL is deprecated, try to use PDO/MySQLi.
2. Why are you putting error_reporting to 0? Some errors to hide? yeyeye..
Btw, ini_set doesn't belong in your code but in your php.ini.
ini_set doesn't go in php.ini. :thumbdown:
-
Re: HabboCMS [HOMES/GROUPS/TAGS/FORUM]
Quote:
Originally Posted by
ησвяαιη
ini_set doesn't go in php.ini. :thumbdown:
I didn't mean that. But the key and value does ;)
-
Re: HabboCMS [HOMES/GROUPS/TAGS/FORUM]
Quote:
Originally Posted by
DjInTrouble
Instead of making such a "funny" (NOT) comment you could actually help him out.
It really did give me aids however..
-
Re: HabboCMS [HOMES/GROUPS/TAGS/FORUM]
Quote:
Originally Posted by
Hoshiko
It really did give me aids however..
Your computer is not for sexual activity.
-
Re: HabboCMS [HOMES/GROUPS/TAGS/FORUM]
Quote:
Originally Posted by
Crypt0nite
I didn't mean that. But the key and value does ;)
It's better to use ini_set so the end user doesn't have to modify their PHP installation to have this CMS working as it's designed to.
-
Re: HabboCMS [HOMES/GROUPS/TAGS/FORUM]
Quote:
Originally Posted by
Hoshiko
It really did give me aids however..
No need to post that non-sense here.
Verstuurd van mijn GT-I9070
-
Re: HabboCMS [HOMES/GROUPS/TAGS/FORUM]
Quote:
Originally Posted by
Caustik
Your computer is not for sexual activity.
Web history says otherwise :B)
-
Re: HabboCMS [HOMES/GROUPS/TAGS/FORUM]
Quote:
Originally Posted by
Clawed
Web history says otherwise :B)
I meant sexual activity as in performing acts with the pc physically.
Does one fornicate with a computer?
-
Re: HabboCMS [HOMES/GROUPS/TAGS/FORUM]
Quote:
Originally Posted by
Caustik
I meant sexual activity as in performing acts with the pc physically.
Does one fornicate with a computer?
Lmao, maybe :P
-
Re: HabboCMS [HOMES/GROUPS/TAGS/FORUM]
I laugh whenever someone in the Habbo section tries to use OOP and claims it's cleaner code. As long as you're in Habbo, just use Procedural.
I've seen BoostCMS. That code is messy and confusing as fuck. I have no idea where anything is. It's got great performance and great methods, but for noobs, you can't possibly expect them to learn from a mess of code that's very specific to the system. And that only tuned-in, familiar readers can understand.
-
Re: HabboCMS [HOMES/GROUPS/TAGS/FORUM]
Maybe people would actually finish developments if they didn't get criticized by others all the time.
-
Re: HabboCMS [HOMES/GROUPS/TAGS/FORUM]
Quote:
Originally Posted by
FullmetalPride
I laugh whenever someone in the Habbo section tries to use OOP and claims it's cleaner code. As long as you're in Habbo, just use Procedural.
I've seen BoostCMS. That code is messy and confusing as fuck. I have no idea where anything is. It's got great performance and great methods, but for noobs, you can't possibly expect them to learn from a mess of code that's very specific to the system. And that only tuned-in, familiar readers can understand.
Why would you limit yourself to using a procedural paradigm?
-
Re: HabboCMS [HOMES/GROUPS/TAGS/FORUM]
Quote:
Originally Posted by
Caustik
Why would you limit yourself to using a procedural paradigm?
Limit myself? OOP has just as many limitations as Procedural.
You forget, they're the same language, but they're different approaches to it.
It's like this. You and your friend are both at point A, backs to each other. Point B is located exactly opposite of point A, on the other side of the Earth, somewhere in China, let's say. Your friend travels one way, you travel another. On your walk, you'll probably go through Africa, then the middle east, then India, then you'll be at point B. Your friend will go across the Atlantic, the USA, then the Pacific, then be at point B with your friend.
Both of them have their pros and cons. Your friend will have to deal with the water, the American coast guard, then more water (and probably more US coast guard considering we're Japan's defense), then getting into China. On your way, you'll have to deal with travelling across the desert, dodging bullets and bombs in the Middle East, then the Himalayas in India. If neither of you have died, you'll still get to point B, in the same distance, with equally intimidating and challenging problems
-
Re: HabboCMS [HOMES/GROUPS/TAGS/FORUM]
Quote:
Originally Posted by
FullmetalPride
Limit myself? OOP has just as many limitations as Procedural.
You forget, they're the same language, but they're different approaches to it.
It's like this. You and your friend are both at point A, backs to each other. Point B is located exactly opposite of point A, on the other side of the Earth, somewhere in China, let's say. Your friend travels one way, you travel another. On your walk, you'll probably go through Africa, then the middle east, then India, then you'll be at point B. Your friend will go across the Atlantic, the USA, then the Pacific, then be at point B with your friend.
Both of them have their pros and cons. Your friend will have to deal with the water, the American coast guard, then more water (and probably more US coast guard considering we're Japan's defense), then getting into China. On your way, you'll have to deal with travelling across the desert, dodging bullets and bombs in the Middle East, then the Himalayas in India. If neither of you have died, you'll still get to point B, in the same distance, with equally intimidating and challenging problems
Do you know what the word paradigm means?
lol
-
Quote:
Originally Posted by
Caustik
Do you know what the word paradigm means?
lol
Not in programming, but I know it's a sort of outline/layout/pattern that you follow or guides you.
-
Re: HabboCMS [HOMES/GROUPS/TAGS/FORUM]
Quote:
Originally Posted by
FullmetalPride
Limit myself? OOP has just as many limitations as Procedural.
You know very little of OOP then. Just FYI, OOP is way more flexible and far exceeds the pros (if any) of Procedural.
-
Re: HabboCMS [HOMES/GROUPS/TAGS/FORUM]
Quote:
Originally Posted by
n0minal
You know very little of OOP then. Just FYI, OOP is way more flexible and far exceeds the pros (if any) of Procedural.
>exceeds pros
LMAO! That's like saying the pros of using your right leg exceed those of using your left. It's the same thing. Just a different approach.
OOP is not more flexible, lol. It's just a way of making things more complicated for yourself, which somehow, you crazies seem to adore.
It's the exact same fucking thing:
Procedural:
PHP Code:
$link = mysqli_connect('localhost', 'my_user', 'my_password', 'my_db');
OOP:
PHP Code:
$mysqli = new mysqli('localhost', 'my_user', 'my_password', 'my_db');
This is what I use for my custom MySQLi class:
PHP Code:
$mysqli = new briteMySQLi($mysql_host, $mysql_user, $mysql_password, $mysql_database);
$mysqli->connect();
Isn't that so much nicer than all of that ramen code?
Or have I been using OOP this entire time and bashing it..
-
Re: HabboCMS [HOMES/GROUPS/TAGS/FORUM]
Quote:
Originally Posted by
FullmetalPride
>exceeds pros
LMAO! That's like saying the pros of using your right leg exceed those of using your left. It's the same thing. Just a different approach.
OOP is not more flexible, lol. It's just a way of making things more complicated for yourself, which somehow, you crazies seem to adore.
It's the exact same fucking thing:
Procedural:
PHP Code:
$link = mysqli_connect('localhost', 'my_user', 'my_password', 'my_db');
OOP:
PHP Code:
$mysqli = new mysqli('localhost', 'my_user', 'my_password', 'my_db');
This is what I use for my custom MySQLi class:
PHP Code:
$mysqli = new briteMySQLi($mysql_host, $mysql_user, $mysql_password, $mysql_database);
$mysqli->connect();
Isn't that so much nicer than all of that ramen code?
Or have I been using OOP this entire time and bashing it..
OOP is used when you want to re-use code over and over. Would you rather type class function code constantly or just access the function in an OOP manner..
-
Re: HabboCMS [HOMES/GROUPS/TAGS/FORUM]
Sorry I'm not as pro as you guys are when it comes to programming but some people did say that OOP is making PHP Shorter than normal PHP is that true or false because I'm at the moment learning for PHP but I'm not sure if i should move on learning PHP or just learn PHP OOP / PDO.
-
Re: HabboCMS [HOMES/GROUPS/TAGS/FORUM]
Looks nice! might be using this