-
Quote:
Originally Posted by
FatalLulz
Editing what rank has access to what HK page via a page in the HK would also be great! :D:
Funny enough, that was in the paragraph but this Quick Reply glitched and deleted it all so I had to retype it, missed that off. It was already planned. :thumbup:
Forgot to mention, Administrators will be able to set the minimum rank required for each of the navigation pages on the main part of the website. This includes sub-navigation items and main navigation tabs. It is also already in the database.
Type settings
1 = Main navigation
2 = Sub navigation
3 = Hidden
You can also set the order of the tabs so you can display them by choice, along with that set the minimum required rank and the parent IDs. There is also a 'new' feature which looks like this when enabled:
http://i.imgur.com/IxGjPap.png
http://i.imgur.com/SdQLDkp.png
Spent a while thinking about this, I think I have decided to make use of Google's Material Design. Found this neat project on GitHub of a guy who put Material Design in Bootstrap so all the elements are easy to use. You can use the link below to check out the design.
http://fezvrasta.github.io/bootstrap-material-design/
Also, I'm fairly ill at the moment so there will be very little progress today. Probably just sit in bed watching anime for a while. Even though it's almost 4pm...
---
Some more screenshots:
http://i.imgur.com/yOxQlF5.png
http://i.imgur.com/y4p9A3Z.png
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC]
Quote:
Originally Posted by
ησвяαιη
Spent a while thinking about this, I think I have decided to make use of Google's Material Design. Found this neat project on GitHub of a guy who put Material Design in Bootstrap so all the elements are easy to use. You can use the link below to check out the design.
http://fezvrasta.github.io/bootstrap-material-design/
That design lacks a bit of polish, I think KuntaCMS nailed the Material design. There's a bit too much shadow and padding everywhere too be honest.
It's supposed to be a Habbo CMS right? Using Material for Habbo, a site that is/was most frequently visited by 9-14 year old people wouldn't attract a lot of people. If you want to switch designs, you should consider using the new Habbo Beta design :rolleyes:
Offtopic: What kind of anime do you watch? :ott1:
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC]
Quote:
Originally Posted by
azaidi
That design lacks a bit of polish, I think KuntaCMS nailed the Material design. There's a bit too much shadow and padding everywhere too be honest.
It's supposed to be a Habbo CMS right? Using Material for Habbo, a site that is/was most frequently visited by 9-14 year old people wouldn't attract a lot of people. If you want to switch designs, you should consider using the new Habbo Beta design :rolleyes:
Offtopic: What kind of anime do you watch? :ott1:
It's only going to be for the Administration side, not the entire website. I was originally planning to release it with the Administration like this - which is still tempting since it's simple. Note; this is an old picture.
http://i.imgur.com/kSFouLu.png
Off-topic: Currently watching Darker than Black. I watch way too much anime. :P
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC]
Why did you decide to use APC when it is deprecated in newer versions of PHP?
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC]
Quote:
Originally Posted by
oleaa
Why did you decide to use APC when it is deprecated in newer versions of PHP?
The base project already came with APC, including classes and on some pages. It's a planned change but it's not very important right now and not my main focus since there is WinCache support as well.
---
Made the subnavi smaller, like on the current Habbo website.
Habbo Way:
http://i.imgur.com/eciFJMe.png
---
Found out that the WinCacheManager class wasn't functioning properly, fixed the issue.
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Normally the sub navi is wide on wide pages and small on the small pages.
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Honestly looking through the progress of this so far.. You're doing a really good job, I love how you're bringing back old features as well as creating new features, can't wait to see the end results and I'd happily use this cms.
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Quote:
Originally Posted by
The General
Normally the sub navi is wide on wide pages and small on the small pages.
I know this, I need to adjust the CSS. It's just the Safety Tips and the Habbo Way pages which have a longer sub-navi, hate how they did it to be honest. :P
Quote:
Originally Posted by
stevenxox
Honestly looking through the progress of this so far.. You're doing a really good job, I love how you're bringing back old features as well as creating new features, can't wait to see the end results and I'd happily use this cms.
Thank you, man!
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Login ban checking completed.
TODO:
IP Address banning.
Handle account / ip banning expiry.
Redirect user to 'banned' page so they can contact an Administrator to appeal to a ban if allowed.
http://i.imgur.com/SoMItkh.png
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Quote:
Originally Posted by
ησвяαιη
Account banning is completed.
TODO:
IP Address banning.
Handle account / ip banning expiry.
Redirect user to 'banned' page so they can contact an Administrator to appeal to a ban if allowed.
http://i.imgur.com/SoMItkh.png
Ban in IP should be like: Ban User, mark as IP aswell, so it would be filled user and IP ban enum (only 0 or 1). So, when the user logs in the account, the IP goes to the ban list or something, unabling to use other accounts. And normal IP Ban aswell.
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Quote:
Originally Posted by
Droppy
Ban in IP should be like: Ban User, mark as IP aswell, so it would be filled user and IP ban enum (only 0 or 1). So, when the user logs in the account, the IP goes to the ban list or something, unabling to use other accounts. And normal IP Ban aswell.
Already in the database it's just I haven't written the code for that. I didn't explain it very well. Login ban check is completed. I'll adjust my post. :)
On a side note; A live demo should be up around Monday/Tuesday time next week.
---
Completely off-topic; Hozier album is utterly fantastic and so relaxing to write code while listening to.
---
Currently writing the code in the Administration panel so Admins can ban Users via Account or IP.
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Looking good but you should consider a language system, store all text from the CMS in one single file like this,
http://i.imgur.com/UVy7Uic.png
Been using this for a while and it's just so much easier to both translate and edit text.
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Quote:
Originally Posted by
Exonize
Looking good but you should consider a language system, store all text from the CMS in one single file like this,
(image)
Been using this for a while and it's just so much easier to both translate and edit text.
I was thinking about this earlier and currently it would be more hassle than it's worth since I would have to create the language file, create template definitions for each one, then modify every single row in the template table within the database with the definitions. To quite honest, unless more people are asking for a multi-lingual system I don't really see the worth in it currently since the text will be editable via the Admin panel through the templates.
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
I use language system like that:
table language:
lang_key, varchar, primary
en, varchar
de, varchar
br, varchar
..., varchar (You add one row for each language you want to use & use the propper text)
So, let's pretend lang_key = "GLOBAL_USERNAME" (which would be "Username" in that matter), so we fetch something like
Quote:
SELECT ({$yourlanguage}) FROM language WHERE lang_key='GLOBAL_USERNAME';
That's one of the million ways you could use this. At least this is consistent.
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Quote:
Originally Posted by
Droppy
I use language system like that:
table language:
lang_key, varchar, primary
en, varchar
de, varchar
br, varchar
..., varchar (You add one row for each language you want to use & use the propper text)
So, let's pretend lang_key = "GLOBAL_USERNAME" (which would be "Username" in that matter), so we fetch something like
That's one of the million ways you could use this. At least this is consistent.
My idea was more along the lines of the way PhoenixPHP does it except I would set parameters for each line of text and then put the parameter within the template file on the database. Like below for example.
http://i.imgur.com/gKQswXP.png