Evilsmoothie
Mad kung-fu artist
- Feb 11, 2013
- 446
- 57
Uuu, now I'm very intrigued! Best of luck, man!
Uuu, now I'm very intrigued! Best of luck, man!
Uuu, now I'm very intrigued! Best of luck, man!
cheersSent from my iPhone using Tapatalk
Cheers man! Original post has been updatedWooo, a different CMS!
Thanks! Yeah i'm beginning to grow out of habbo, actually i already have but i don't mind developing my first and final cms.Nice man, You did a great job.
Cries because it's his last project.
Good job, I hope you continue though you've made the habbo community happy.
Nowhere near a masterpiece but it should be significantly close lelMasterpiece! Keep going looking forward into it.
Glad this is your last project; it fucking sucksThe back story:
object oriented php pdo cms
Thread last updated: 11/13/15
I originaly wanted to code a habbo cms in python with flask, but then i noticed that it's a pain to get mod_python working on a server, and it could be a hassle if i wanted to release this cms to the public as a contribution to the community. This will be my last habbo project, as i've already out grown habbo retros.
The idea is to make a fast habbo cms that allows you to edit all the content on the pages without having to do server side html. For example, enter the panel and add/remove html or css elements to the server through a client (the admin panel)).
gHabbo features
Code snippets
- gHabbo
- Lightweight templating
- Call php variables with {category->variable}
- Import html widgets to make your template pages less clunky with {widget->name}
- Use your own custom template by placing it in pub/template_name
- Secure querys & database functions
- PDO Prepared statements (counters sql injections)
- CSRF encrypted tokens (counters cross site request forgery)
- Simple User system
- Create a user easily with gUsers::create($user, $pass, $passconfirm, etc);
- Return user currency with gUsers::getCurrency('currency_type');
- Smart error filtering automatically integrated into the user class
- Effective code base
- Import your own classes & functions by simply placing your file in app/classes/class.YOURCLASS.php.. that's it!
- Clean site mapping. (yoursite.com/thispage/or maybe a subpage)
- Install gHabbo easily without having to edit config files
- Call configuration variables easily with gConfig::get('category->variable');
- Call $_POST variables easily with gFormData::.pack('field_username');
- (This list is updated often, check back soon)
Development log
gHabbo will allow automatic class loading, all you have to do is make a file named class."your classname".php. start your class with "classname", and call it in gHabbo with "classname"::"function"():
the database will utilize pdo. easily make a query in gHabbo with gDatabase::dbConnect()->prepare('SELECT * FROM ?');
you can call config values with gConfig::get('site->name');. the config is in array format as shown below:
[*] = change [+] = added [-] = removed
[+] 11/4/15 -You must be registered for see links
[*] 11/5/15 -You must be registered for see links
[+] 11/7/15 -You must be registered for see links
[+] 11/10/15 -You must be registered for see links
[*] 11/10/15 -You must be registered for see links
[+] 11/11/15 -You must be registered for see links
[*] 11/13/15 -You must be registered for see links
[*] 11/13/15 -You must be registered for see links
Screenshots:
Gyzao GIFWhat do you use to take those videos of your screen?
NoopeGyzao GIF
What do you use to take those videos of your screen?
Thanks!Looks good. Gl
I plan on making a function called gUsers::updateUserInfo because atm it looks real sloppy :x
My god! I didn't even think about that! Good point man, i'll have to look into this asap.The fact that you're inserting data from a cookie straight into the database can't be safe. I am not 100% sure, but I'm pretty sure that it's possible to modify your web browsers cookies, therefore allowing you to theoretically alter someone else's account settings.