-
Project H - A bit of the past! [PHP, MySQLi, APC, WinCache, Multilingual]
What is Project H?
Project H is an advanced Habbo content management system built upon an older version of Project Baal. The goal of this project is to bring back the old Habbo design but remain up to date with the current release of Habbo. Project H is going to be released completely open source for anyone to make modifications to, however I request that the original copyright be remained intact but feel free to add yourself to the contributors list. Throughout the development cycle there will be a live test, link(s) will be posted in the future, the live test will also allow people to access the client so it's not just a website viewing. Project H is built upon an older source of Project Baal's CMS from around October 2011 that TheJacob and I worked on. I have been working on this project, slowly and on and off for about a month now and I thought it would be time to post a thread about it.
On a side note, some of the code in Project H may be out dated due to when Project Baal was released, around about 2012, this will be updated in patches that shall be released. Also, on some of the screenshots features may not be enabled at the time of taking them so it may not show the features you are looking for. If you have any requests for features then feel free to reply to the thread.
This will also, hopefully, be my final release in the Habbo section - I'll still roam around and post occasionally but that's about it. Once this is released, I'll release patches and updates for it but there will be no more projects from me.
Current Features
The list below are features that have been coded and completed. This list will always be kept up to date.
Green - Completed
Orange - In progress
Red - Planned
Frontpage
Quick-register
Hot campaign
Hot rooms
News items
News comments
Account settings
- Modify motto
- Enable friend requests
- Disable friend requests
- Change online status
- Change your trading settings
- Change who can follow you
- Change your password
- Change your email
- Friend Management
Habbo Club / VIP
Community
Random Habbos
Staff
Badge shop
Client access
FAQ / Help
Installation system
Homes
Social
Article likes
Groups
Privacy Policy
Terms of Service
Contact Us
Error page
Habbo Way
Safety Tips
Minimail
Maintenance
Different Languages
- Norwegian
- English
- Dutch
- Brazilian
- Swedish
- Finnish
- French
- German
- Spanish
Administration
- Post a news item
- Ban a user
- Submit an issue
- Check for an update
- Standalone package
Note: The Administrative panel will be locked to people rank 6 or above, this can also be user defined - meaning the Hotel owner can choose.
Updating to the latest theme
Updating to the latest theme will be done nearer the end of the development process, it will be a completely separate theme (yes, it has a multi-theme selection feature). Pretty much right at the end once most, if not all, features have been completed.
Credits / Contributors
TheJacob
Joopie
FAQ
Some questions I have recently been asked, decided to put this here to clear things up with people wondering - and to stop people bugging me.
Q: When will Project H be released?
A: Quite a while from now, I estimate probably about a month or two since there are currently still a lot of features missing and I need to document, organise and make sure it is safe to use.
Q: Will it be completely bug free upon release?
A: Of course not, you try and find a CMS which is completely bug free. There are thousands of lines of code powering Project H making it what it is. I'll work my ass off trying to make sure the bugs are minimal however.
Q: What languages will it be available in?
A: Hopefully about 9 different languages to choose from; ranging from English all the way to Finnish.
Q: How many different styles will there be available?
A: As many as the community would like since it's up to them to use their creativity. Upon release there will only be Habbo 2011 style available, I shall be working on the 2014/15 version though.
Screenshots / Code previews
Here is 229 lines out of 1204 lines of the template system:
Code:
/* *
* Public Function buildFact.
*
* Builds the did you know fact HTML from the database.
*
* @return: $result string Fact HTML.
*
*/
final public function buildFact()
{
global $ir;
$result = null;
$query = $ir->db->executeQuery("SELECT f.fact
FROM " . TABLE_PREFIX . "facts f
ORDER BY RAND() ASC;");
if ($ir->db->numRows($query) > 0)
{
$result = $ir->db->fetchObject($query)->fact;
}
return $result;
}
/*
*
* Public Function buildTopNavigation.
*
* Builds the top navigation HTML from the database.
*
* @return: $result string Top navigation HTML.
*
*/
final public function buildTopNavigation()
{
global $ir;
$result = '';
$query = $ir->db->executeQuery("SELECT n.id AS id, n.name AS name, n.url AS url
FROM " . TABLE_PREFIX . "navigation n
WHERE n.type = '1'
AND n.rank <= '{$ir->habbo->getField('rank', H_USER)}'
ORDER BY n.order_number ASC;");
if ($ir->db->numRows($query) > 0)
{
while ($row = $ir->db->fetchObject($query))
{
if ($row->id == THIS_PARENT_ID)
{
$result .= '<li class="metab selected">
<strong>' . $row->name . '</strong>
<span></span>
</li>';
}
elseif ($row->id == 1)
{
$result .= '<li class="metab">
<a href="' . SITE_URL . $row->url . '">' . $row->name . '</a>
<span></span>
</li>';
}
else
{
$result .= '<li>
<a href="' . SITE_URL . $row->url . '">' . $row->name . '</a>
<span></span>
</li>';
}
}
}
return $result;
}
/*
*
* Public Function buildSubNavigation.
*
* Builds the sub navigation HTML from the database.
*
* @return: $result string Sub navigation HTML.
*
*/
final public function buildSubNavigation()
{
global $ir;
$result = '';
$query = $ir->db->executeQuery("SELECT n.id AS id, n.name AS name, n.url AS url, n.new AS new
FROM " . TABLE_PREFIX . "navigation n
WHERE n.parent_id = '" . THIS_PARENT_ID . "'
AND n.type = '2'
AND n.rank <= '{$ir->habbo->getField('rank', H_USER)}'
ORDER BY n.order_number ASC;");
if (($count = $ir->db->numRows($query)) > 0)
{
$loopcount = 1;
while ($row = $ir->db->fetchObject($query))
{
if ($row->id == THIS_SUB_ID)
{
if ($count == $loopcount)
{
$result .= '<li class="selected last">
' . $row->name . '
</li>';
}
else
{
$result .= '<li class="selected">
' . $row->name . '
</li>';
}
}
elseif ($count == $loopcount)
{
$result .= '<li class="last">
<a href="' . SITE_URL . $row->url . '">' . $row->name . '</a>' . (($row->new == 0) ? '' : ' <span style="float: right; color: red; font-size: 8px;"> new</span>') . '
</li>';
}
else
{
$result .= '<li>
<a href="' . SITE_URL . $row->url . '">' . $row->name . '</a>' . (($row->new == 0) ? '' : ' <span style="float: right; color: red; font-size: 8px;"> new</span>') . '
</li>';
}
$loopcount++;
}
}
return $result;
}
/*
*
* Public Function buildEvents.
*
* Builds the events HTML from the database.
*
* @return: $result string Events HTML.
*
*/
final public function buildEvents()
{
global $ir;
$result = '';
$result = '<li class="small" id="feed-hc-reminder">This feature is currently disabled.</li>';
return $result;
}
/*
*
* Public Function buildImageSelect.
*
* Builds the image select HTML from the database.
*
* @return: $result string Image Select HTML.
*
* @Todo: take out the caching and use the handler object.
*
*/
final public function buildImageSelect()
{
global $ir;
$result = '';
$spath = CWD . '/images/top_stories/';
$wpath = SITE_URL . '/images/top_stories/';
$result .= '<select name="n.image_url">';
if ($ir->cache->existsCache('ts_Images') == false)
{
$folder = opendir($spath);
$pic_types = array('gif', 'png');
$index = array();
while ($file = readdir($folder))
{
if (in_array(substr(strtolower($file), strrpos($file, '.') + 1), $pic_types) == true)
{
array_push($index, $file);
}
}
closedir($folder);
$ir->cache->addCache('ts_Images', $index, 0);
}
else
{
$index = $ir->cache->fetchCache('ts_Images');
}
foreach ($index AS $value)
{
$result .= '<option value="' . ($wpath . $value) . '">' . $value . '</option>';
}
$result .= '</select>';
return $result;
}
/*
*
* Public Function buildHotCampaigns.
*
* Builds the hot campaigns HTML from the database.
*
* @Param: $max int Maximum number of results to return.
*
* @return: $result string Hot campaigns HTML.
* */
http://i.imgur.com/4ifMRUz.png
http://i.imgur.com/vDn59MQ.png
http://i.imgur.com/MnuYXu4.png
http://i.imgur.com/MEYMTCo.png
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC]
Good luck Ash! Reserved for any future comments I may have about your project -- when the source is available.
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC]
Have another screenshot for the fuck of it.
http://i.imgur.com/NSunF9w.png
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC]
>1024 LoC for the template system only?! Two queries for the menu?! Unneeded iterations?! TheJacob as contributor (as if he could 'help', rofl)?! You really don't give a fuck about performance and user end perception, do you? or maybe this is truly 'a bit of the past', in which case; job well done.
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC]
Quote:
Originally Posted by
Hoshiko
>1024 LoC for the template system only?! Two queries for the menu?! Unneeded iterations?! TheJacob as contributor (as if he could 'help', rofl)?! You really don't give a fuck about performance and user end perception, do you? or maybe this is truly 'a bit of the past', in which case; job well done.
1204*
If I didn't care about the performance why would I be using APC?
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC]
Quote:
Originally Posted by
ησвяαιη
If I didn't care about the performance why would I be using APC?
APC is a runtime plugin for PHP. It makes PHP perform more reasonable. It won't speed up any loops nor queries however, getting rid of unnessecary code does.
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC]
Excited to see more. Bring back the "trading is turned on/off" function will you? :)
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC]
Quote:
Originally Posted by
Tando
Excited to see more. Bring back the "trading is turned on/off" function will you? :)
Already there bud!
http://i.imgur.com/kBKb0cb.png
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC]
Is there any reason as to why you're conflating database queries with 'template' code?
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC]
Email changing completed.
http://i.imgur.com/b0uAUTb.png
Quote:
Originally Posted by
devtemujin
Is there any reason as to why you're conflating database queries with 'template' code?
The template files (HTML) are stored within the Database (`prjh_templates`) so they can be modified by the Hotel owner within the Administration panel, it's all cached however.
- - - Updated - - -
So, I ended up breaking the Random Habbos feature, took me a while to find the cause. Turns out I'm blind. Here is the current Community page, there is more to be added here.
http://i.imgur.com/LjmzACD.png
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC]
What is APC?
Are you using a MVC-System?
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC]
Quote:
Originally Posted by
iExit
What is APC?
Are you using a MVC-System?
http://en.wikipedia.org/wiki/List_of...ache_.28APC.29
It does not use MVC, using an MVC Architecture seems to be the new trend lately. :P
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC]
Few cool features would be bringing back the ability of the server settings via the HK (For instance if using Phoenix, the credits and pixels timer, amount, MOTD message etc etc). Another thing would be making character settings in client a thing as well :o I miss those (so you can have multiple avatars and all)
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC]
Quote:
Originally Posted by
FatalLulz
Few cool features would be bringing back the ability of the server settings via the HK (For instance if using Phoenix, the credits and pixels timer, amount, MOTD message etc etc). Another thing would be making character settings in client a thing as well :o I miss those (so you can have multiple avatars and all)
I have a list of things for the Administration on my desktop which I made today, on top of that I have a new design in my head for the Administration. I shall update the thread with what I can remember off the top of my head. I'll be sure to add those to the list, I'll make sure everything in the `server_settings` table will be editable via the Administration, these particular settings will be for Rank 7+ by default since it's delicate - however the Hotel owner will be able to adjust this to suit their needs.
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC]
Quote:
Originally Posted by
ησвяαιη
I have a list of things for the Administration on my desktop which I made today, on top of that I have a new design in my head for the Administration. I shall update the thread with what I can remember off the top of my head. I'll be sure to add those to the list, I'll make sure everything in the `server_settings` table will be editable via the Administration, these particular settings will be for Rank 7+ by default since it's delicate - however the Hotel owner will be able to adjust this to suit their needs.
Editing what rank has access to what HK page via a page in the HK would also be great! :D:
-
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
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Quote:
Originally Posted by
ησвяαιη
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
I don't like much array idea because of updates...
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Quote:
Originally Posted by
Droppy
I don't like much array idea because of updates...
In my opinion it'd be easier, and put less strain on the Database Server rather than calling absolutely everything from there. Then again, now that I think about it I could have it editable within the Admin panel if it's stored in the database. Gaaahhhhh, so many options.
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Quote:
Originally Posted by
ησвяαιη
In my opinion it'd be easier, and put less strain on the Database Server rather than calling absolutely everything from there. Then again, now that I think about it I could have it editable within the Admin panel if it's stored in the database. Gaaahhhhh, so many options.
Sure thing, lots of choices. On my old cms (newer version than published), I used this method I told you about of the database, and I'd be glad to send you what I've done over PM. It isn't finished, but you can get a few things from there, even that it's very hardcoded.
My TPL system didn't used any PHP even, only good and old Smarty.
Housekeeping had: Basics of char edit, WHOIS (yes, you should put that for managing user's IP, and all), basic ban system, HTML 5 responsive template for it, search for user with wildcard (wildcard only for admins) (admins had more options of rows to search), news management, image uploader with MySQL Blobs (You can do that if you want, but meh, not completly worth it), I used TinyMCE for WYSIWYG news editor aswell.
I really think you should really foccus on the Housekeeping (or w.e name you call it), and make everything fully editable from there. Catalogue edits, user edits... Today's CMS lacks on Housekeeping functionality, which is unfortune. Housekeeping shouldn't be only for querieng users & creating news.
Create (as uberCMS did) hability to login with X user, so it sets some custom SSO Ticket and let you login (Admins only aswell).
Hability to put "Under attack mode", with some curl stuff to cloudflare (for trusted people) (incase owner is off), to stop DoS/DDoS attack, etc...
You can use your imagination. I trust in your project.
Good luck!
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Quote:
Originally Posted by
Droppy
Sure thing, lots of choices. On my
old cms (newer version than published), I used this method I told you about of the database, and I'd be glad to send you what I've done over PM. It isn't finished, but you can get a few things from there, even that it's very hardcoded.
My TPL system didn't used any PHP even, only good and old Smarty.
Housekeeping had: Basics of char edit, WHOIS (yes, you should put that for managing user's IP, and all), basic ban system, HTML 5 responsive template for it, search for user with wildcard (wildcard only for admins) (admins had more options of rows to search), news management, image uploader with MySQL Blobs (You can do that if you want, but meh, not completly worth it), I used TinyMCE for WYSIWYG news editor aswell.
I really think you should really foccus on the Housekeeping (or w.e name you call it), and make everything fully editable from there. Catalogue edits, user edits... Today's CMS lacks on Housekeeping functionality, which is unfortune. Housekeeping shouldn't be only for querieng users & creating news.
Create (as uberCMS did) hability to login with X user, so it sets some custom SSO Ticket and let you login (Admins only aswell).
Hability to put "Under attack mode", with some curl stuff to cloudflare (for trusted people) (incase owner is off), to stop DoS/DDoS attack, etc...
You can use your imagination. I trust in your project.
Good luck!
Feel free to send it over PM, I'll have a look and see what I can do after I get home from work later. Also, the Admin Panel was always my main focus however I was stuck deciding between things so I decided to move my attention over the main website for the time being. But yeah, it's unfortunate that the current CMS's available lack all these needed features.
So yeah, feel free to send it over PM and I'll take a peek later. :)
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Looks good so far! keep it up :P
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Currently sorting out all the page titles so they match up to the current Habbo website. Got to be precise ;)
http://i.imgur.com/Mw8nqZf.png
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Quote:
Originally Posted by
ησвяαιη
Instead of comments, why don't use Facebook Comment system? Just an idea
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Quote:
Originally Posted by
Droppy
Instead of comments, why don't use Facebook Comment system? Just an idea
I don't think many users will comment on the news if you must give away your private facebook.
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Quote:
Originally Posted by
Andre96
I don't think many users will comment on the news if you must give away your private facebook.
It also was used in a big Habbo Retro in germany. A lot of little fags used it, but I don't recomend this. Dont mix social networks and a habbo retro together, wont work.
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Quote:
Originally Posted by
Droppy
Instead of comments, why don't use Facebook Comment system? Just an idea
Facebook sucks.
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Quote:
Originally Posted by
iExit
It also was used in a big Habbo Retro in germany. A lot of little fags used it, but I don't recomend this. Dont mix social networks and a habbo retro together, wont work.
Then I think nobrain should create things like "Like", flood control, reply to comments, edit, and delete messages, etc...
Also would be cool if you could add URL Linking. You share the URL link on the comment and it replaces, and like a button at the right side, like an arrow, when clicked, you should go to the room url...
Just wondering....
- - - Updated - - -
Quote:
Originally Posted by
The General
Facebook sucks.
The commenting system ain't that bad, and I think would be a good idea to use like/share button (twitter, facebook, or w.e) on each news page.
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
I highly doubt many people will even use the Comment system, or read it, or even have an all out discussion on it. I have read all of your ideas and another idea could be using Disqus. All the comments will be deletable by a Moderator, or higher. (Just haven't got around to coding this)
https://disqus.com/websites/
- - - Updated - - -
Uploaded the files to a private repository on GitLab. Here you will be able to submit issues, browse the files and download them once they are publicly available during release. Next week there will be a Live Demo available running a Development Build and I shall be contacting a few people to see if I can get more people to have Live Demo's incase one goes down. If you want to run a Live Demo for me then feel free to contact me via PM.
http://i.imgur.com/sOjMu4y.png
http://i.imgur.com/OjLWfSj.png
- - - Updated - - -
Need your opinions on this idea.
When a User logs in and their Last IP is different from their Registration IP it will redirect the person logging in to a form where it will ask them to enter their Email to confirm it's who they say they are. If it's different it will ban the IP address of the person logging in. Once the actual user who created the account logs in it will tell them that their account has been accessed by a different person and request them to change their password.
Thoughts?
Updates - 28/02 - 02:19
Adjusted cache settings
Starting work on the installation system for next weeks Live Demo(s).
Slight modifications to the template system
Moving from Habbo hosted files to locally hosted ones to improve page loading speed.
Created a `dev` branch on the repository to split up Stable and Development versions.
Created four labels for issue tracking.
http://i.imgur.com/o3p660N.png
Known issues
When moving all files over to locally hosted ones, website breaks. Investigating this issue.
- Issue has been fixed, turns out one of the CSS files were missing. Just needed downloading from Habbo.com and placing in web-gallery folder.
- - - Updated - - -
So I've been asked a couple of questions on Skype and thought they'd be relevant here.
When is Project H being release?
Unknown currently.
When emulators does it work with?
Essentially all of them, as long as the users table is the same. The SQL file being released with Project H will only contain the tables that have the templates, navigation, styles and more in them. I will not provide a full database.
People these days just want everything right now. :P
---
Broke the fucking repo when messing about with it. Lol.
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC]
Quote:
Originally Posted by
ησвяαιη
It has been the "de facto standard" for GUI-applications for like 20 years+.
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC]
Quote:
Originally Posted by
maritnmine
It has been the "de facto standard" for GUI-applications for like 20 years+.
Holy shit, well - the more you know. Thanks for the information ;o
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC]
Quote:
Originally Posted by
ησвяαιη
Nice. But I was thinking about this aswell.
http://i.imgur.com/coMci0s.png
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC]
Quote:
Originally Posted by
Tando
Mind screenshotting the entire avatar box, I seem to be missing a few features. :rolleyes:
- - - Updated - - -
Have some more screenshots.
http://i.imgur.com/nB4QX6A.png
http://i.imgur.com/XlopERV.png
http://i.imgur.com/G7KaZQo.png
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC]
Quote:
Originally Posted by
ησвяαιη
Mind screenshotting the entire avatar box, I seem to be missing a few features. :rolleyes:
Here's an old screenshot of when the flash client was itroduced.
http://www.site-nl.nl/afbn/habbo-bet...1246716123.jpg
By the way, I do not think this was ever officialy added to any habbo hotel by sulake, but I really like the idea.
Badge holders. There is a roleplay edit of RevCMS that has this.
http://i.imgur.com/pfIUkvd.png
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Badge holders are not going on this CMS by my hands. :)
- - - Updated - - -
Took me a while to sort out the CSS and find the ID's for the images. It's coded and everything. Clicking the link will redirect you to the Account Settings page.
http://i.imgur.com/uR1uc9F.png
http://i.imgur.com/n2TDKTp.png
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Looks great. When will the demo page go up?
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Huh?! I see HTML code in PHP!! Dude, I'm pretty sure there are many templating engines out there like Mustache, Twig, Smarty and so on if you cba to code your own.. use a templating system for god's sake man. And use proper variable names, like '$ir' doesn't make sense and '$db' is not a good name. Also, why not use Depedency Injection instead of globaling the '$ir'? Good luck!
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Quote:
Originally Posted by
iGalaxy
Huh?! I see HTML code in PHP!! Dude, I'm pretty sure there are many templating engines out there like Mustache, Twig, Smarty and so on if you cba to code your own.. use a templating system for god's sake man. And use proper variable names, like '$ir' doesn't make sense and '$db' is not a good name. Also, why not use Depedency Injection instead of globaling the '$ir'? Good luck!
I do use a template engine. One that is almost 1300 lines long. It draws the HTML from the database. I have very minor cases of HTML mixing with PHP, below is an example. There is absolutely nothing wrong with it. Now if you mix up PHP and HTML having full pages after the close tag then that's pretty bad practise.
Code:
return '<li class="small" id="feed-trading-disabled">Trading is off. <a href="profile?tab=1">Click here to turn it on</a></li>';
http://i.imgur.com/8gliG9O.png
Now as for the variable names; I call them what I want. $ir means IRegistry, and don't tell me $db isn't a good name, it's just a fucking variable - I also chose these variable names since they're easy to remember for me since I bloody wrote the thing. I see you posting absolutely retarded shit all the time, like that one post about MVC not working with PHP and now you come on my thread spewing out dumb shit. I suggest you learn PHP, release something that's actually decent and then you may have the ability to criticise my work. You might want to remove the "Web Developer" & "Developer" bullshit from your account's Profile.
Now as for your location, "C:/xampp/htdocs", why? Just, why?
http://i.imgur.com/7eSs79w.png
- - - Updated - - -
Quote:
Originally Posted by
Tando
Looks great. When will the demo page go up?
Monday, Tuesday at the latest if we run into issues. The demo will be running Arcturus; http://forum.ragezone.com/f331/habbo...netty-1027351/
- - - Updated - - -
Just received a load of Ajax files from The General, going to take a very long time to work on Homes & Groups. Huge thanks to him. :rolleyes: :/:
http://i.imgur.com/Z18cO4Y.png
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Just a question:
PHP Code:
AND n.rank <= '{$ir->habbo->getField('rank', H_USER)}'
Why don't you just use params? Your queries look really messy (no offense). I think if you use MySQLi you should use it correctly. I think using params is better. Anyways, good luck!
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Quote:
Originally Posted by
Glaceon
Just a question:
PHP Code:
AND n.rank <= '{$ir->habbo->getField('rank', H_USER)}'
Why don't you just use params? Your queries look really messy (no offense). I think if you use MySQLi you should use it correctly. I think using params is better. Anyways, good luck!
I do use it correctly :) And I don't see how this, for example, is messy:
http://i.imgur.com/OR49HmM.png
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Quote:
Originally Posted by
ησвяαιη
As far as I know, you shouldn't use '" . VAR . "' but params. I guess you make sure all those variables are not editable and if they are, they're escaped, right?
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Quote:
Originally Posted by
Glaceon
As far as I know, you shouldn't use '" . VAR . "' but params. I guess you make sure all those variables are not editable and if they are, they're escaped, right?
Everything is fine, worrying too much there Glaceon. And yes, everything is secured to the best of my knowledge :thumbup:
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Quote:
Originally Posted by
ησвяαιη
Everything is fine, worrying too much there Glaceon. And yes, everything is secured to the best of my knowledge :thumbup:
Then I trust you with that. But it's looking pretty good. I'm sorry if you mentioned in some way but which database is going to be supported?
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Quote:
Originally Posted by
Glaceon
Then I trust you with that. But it's looking pretty good. I'm sorry if you mentioned in some way but which database is going to be supported?
Arcturus ofcourse!
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Quote:
Originally Posted by
Glaceon
Then I trust you with that. But it's looking pretty good. I'm sorry if you mentioned in some way but which database is going to be supported?
Pretty much all, but specifically the Phoenix / Azure database structure. However there will also be a version for The General's project, Arcturus, which supports his Database structure which will be released with his Emulator.
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Quote:
Originally Posted by
The General
Arcturus ofcourse!
That wouldn't be a bad idea at all! If the CMS is as awesome as Arcturus itself... :rolleyes:
Quote:
Originally Posted by
ησвяαιη
Pretty much all, but specifically Phoenix / Azure. However there will also be a version for The General's project, Arcturus, which supports his Database structure which will be released with his Emulator.
Aha, okay that's great!
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Trying to decide whether to put up the current build for a Live Demo but keep the Client off for now (until Monday), hmm.
- - - Updated - - -
Live Demo is available, this is running the latest build however I have removed a few items from the Administration Panel and disabled a few Website features that aren't working. The minimail does not work at the moment it's just there for visual purposes. You are all welcome to consistently post news items for the fun of it! Everyone is rank 6, just so you know.
Live Demo (click here)
Let me know if any of you are having issues.
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
This could also be nice:
You can see your friendrequests and friends online. If you don't have a friendrequest the box doesn't show up.
http://i.imgur.com/NojPuN2.png
http://prntscr.com/6bank4
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Quote:
Originally Posted by
FlyHotel
Those 2 features are in progress.
- - - Updated - - -
Remember to report any bugs you find to this thread.
- - - Updated - - -
Updates - 01/03
You can now 'Return to the Hotel'.
Habbo Club will soon be purchasable from the main website.
Began work on friend request notification in the event box under the avatar.
Screenshots
http://i.imgur.com/ELzuCD8.png
http://i.imgur.com/T5jYTvw.png
Now back to House of Cards :junglejane: http://prntscr.com/6bf3y4
- - - Updated - - -
Have some more updates!!
http://i.imgur.com/JEjC5Zb.png
http://i.imgur.com/w5Qx9k7.png
If there is no friend requests:
http://i.imgur.com/Nd610PT.png
- - - Updated - - -
Just a question: The "Last Online:" thing, is that the last time they entered the Client or the last time they visited the website?
- - - Updated - - -
Updates - 02/13 (00:47am)
A few back-end optimisations.
A few front-end visual changes.
Slight changes to the Template system.
Started work on the Administration Panel.
Administration Panel
The administration panel will look similar to the vBulletin 5 AdminCP in design however the features will be fundamentally different, meaning they will be tailored to Habbo related things for the most part. However, what is similar is that you will be able to adjust things such as the Hotel URL, Hotel name, External variables / texts, Habbo.SWF url, Server IP / Port, ReCAPTCHA settings and so on. Almost everything will be adjustable from the Administration Panel. Of course, this will be a rather large undertaking and I will have to restructure the entire backend of the CMS so that it may be adjustable. This will also mean putting more things in the Database which will mean I have to create tables and optimise them accordingly based on what they do, if they are read heavy, if they are write heavy, and so on. I estimate this will take about a Month to complete, and that's just the Administration Panel alone. The website is essentially completed however the back-end will need slight changes to accommodate for my plans for the Administration Panel. You will essentially be able to do everything within the Administration Panel. For those of you that do not know what the vBulletin 5 AdminCP looks like, there is a screenshot below.
http://www.admin-talk.com/attachment...05qy-jpg.8499/
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Quote:
Originally Posted by
ησвяαιη
Just a question: The "Last Online:" thing, is that the last time they entered the Client or the last time they visited the website?
It's from the website :D:
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Quote:
Originally Posted by
Droppy
It's from the website :D:
Thank you very much :P:
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Currently working on writing the template engine for the AdminCP.
Updates - 02/03 (18:18)
A few back-end optimisations.
Ripped a few things from vBulletin 5's AdminCP
Slight code changes to the Template Engine.
http://i.imgur.com/0OHU5TI.png
- - - Updated - - -
That feeling when NetBeans crashes and you're about 700 lines in to coding and lose about 200. :/:
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
So you move the Housekeeping from the website style to a new style?
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Quote:
Originally Posted by
FlyHotel
So you move the Housekeeping from the website style to a new style?
To a completely standalone application. However, it will be packaged with the Project H release and it will no longer be integrated with the website. I suppose it could be used with absolutely any CMS available however it will be recommended to use Project H with it.
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Quote:
Originally Posted by
ησвяαιη
To a completely standalone application. However, it will be packaged with the Project H release and it will no longer be integrated with the website. I suppose it could be used with absolutely any CMS available however it will be recommended to use Project H with it.
So the AdminCP can be hosted on another server as long as it has a connection to the hotel's database?
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Quote:
Originally Posted by
Tando
So the AdminCP can be hosted on another server as long as it has a connection to the hotel's database?
That's with any CMS system really.
If the emulator you use has RCON/MUS implemented you can have it solely work on HTML :P:
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Quote:
Originally Posted by
Tando
So the AdminCP can be hosted on another server as long as it has a connection to the hotel's database?
To put it simply, yes. It has its own configuration.
- - - Updated - - -
Right, decided to rethink the way I'm approaching the AdminCP, code-wise that is. Deleted the AdminCP directory and starting over. :)
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Will there be Habbo homes in this thing?
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Quote:
Originally Posted by
AspFan
Will there be Habbo homes in this thing?
In the future, I have everything needed to do them but I am more focused on the AdminCP for the time being.
---
Everything is now organised, created database tables for the AdminCP templates and Navigation. Along with that I have split up the two project files so my NetBeans will hopefully stop crashing now.
http://i.imgur.com/DEpUivG.png
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
So, a lot of updates tonight. Currently 2:17am, been working non-stop for the past 6/7 hours on just the AdminCP. I have made some progress on the Website however.
Updates - 03/03 (2:18am)
Rewrote the back-end of the AdminCP so that it actually works now.
Slight code optimisations.
Removed unused code from the following classes.
- class.template.php (Website)
- class.template.php (AdminCP)
- class.habbo.php
- class.iregistry
- init.php
- index.php
- global.php
Managed to get the AdminCP to display the web page. (screenshot below)
A few directory changes to make folders easier to navigate.
Known issues
Styling is broken on AdminCP when using locally stored files. Possibly caused by some encoding they've put within the CSS.
Database tables need optimising.
Need to restructure the class.templates.php class in the function setGenericData.
http://i.imgur.com/XrW0Sbz.png
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
NoBrain good Job! If want help in the php code only ask! I will love an cms with old Habbo Style.
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Nobrain my tip for you. If u doesn't want make a MVC make a good structuring of your folders like:
>>app - private folder where is the php files
>>app/system - where is the main class
>>app/helpers - other classes
>>public - where is the CSS,IMG,etc
>>public/index.php make everything except CSS,js,etc redirect to this file. The big deal is in The htaccess and makes the system and php files private and secure.
>>templates - your php template files
>>etc - misc folder
>>etc/cache - cache folder
>>etc/database_models - your .sql files
>>app/system/config - your configuration files
Cheers!
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
So, after encountering a few issues - design wise that is. I have decided to scrap the entire idea of vBulletin's AdminCP and gone with my own design. Shall reveal the design in a few days, hopefully sooner. :P:
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
This project looks fantastic! All the best nobrain (:
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Had a couple of issues to resolve so here goes...
Updates - 03/03 (13:10)
Htaccess had an issue, that is fixed.
CMS now works under a sub directory.
Set up the folder structure for a language system. Finally figured a way how to do this easily.
Looking for people to translate my CMS into multiple languages. Main focuses; French, German and Spanish. Feel free to ask me if you'd like to do a different language, the more the better. :):
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
I can do a translation to Norwegian for you if you'd like.
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Quote:
Originally Posted by
Tando
I can do a translation to Norwegian for you if you'd like.
I'll PM you once I have made the files.
- - - Updated - - -
Couple issues at the moment. I'll be working from my Laptop for now since my Desktop graphics card has packed in and I don't order my new ones until Thursday. Dual GTX 970's bbbooyysss. Also, git saved my fucking life with this project.
- - - Updated - - -
Quote:
Because my development thread is gone, caused by someone who hates me, doesn't mean I quit development. In fact it gives me more motivation to continue with it.
http://arcturuscallback.netau.net/
From The General, told me to post it as a message for you guys just for a little information.
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
I can translate it do dutch :blushing:
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Currently working on sorting out the current issues with the Language system, it's refusing to play ball. Shouldn't take very long. Once it's done and I've completed all the parameters I'll make the file available on here so you guys can begin translating.
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
I'm up for an English > Brazillian translation. PM or Skype me if needed
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Sooooooo, got distracted by House of Cards... again. Will continue progress soon. God damn House of Cards...
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Quote:
Originally Posted by
sant0ro
Nobrain I repeat i don't dislike him. I only doesn't approve his attitudes.
I understand, it's just your English isn't the best. Took me a while :tongue:
---
Updates
Language system is still in progress, going well for the time being.
Found some beyond fucking useless code and I don't know where it came from, that has been removed.
For those of you that want to translate this, I will PM you all soon. More than likely tomorrow rather than tonight since it's currently 1:39am. My list of people and languages is below.
- Tando - Norwegian
- Aron123 - Dutch
- Droppy - Brazilian
- psykoo - Swedish
- =dj.matias= - Finnish
- herohotelfr - French
Still in need of someone to translate it to German and Spanish!
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Quote:
Originally Posted by
ησвяαιη
I understand, it's just your English isn't the best. Took me a while :tongue:
---
Updates
Language system is still in progress, going well for the time being.
Found some beyond fucking useless code and I don't know where it came from, that has been removed.
For those of you that want to translate this, I will PM you all soon. More than likely tomorrow rather than tonight since it's currently 1:39am. My list of people and languages is below.
- Tando - Norwegian
- Aron123 - Dutch
- Droppy - Brazilian
Still in need of someone to translate it to French!
I'll do swedish just because I have nothing else to do atm
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Quote:
Originally Posted by
psykoo
I'll do swedish just because I have nothing else to do atm
Thank you! I have updated the list.
- - - Updated - - -
To make peoples lives easier, I have put comments describing what each section is for.
http://i.imgur.com/hov3xiv.png
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
I can translate it English -> Finnish. :)
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Quote:
Originally Posted by
=dj.matias=
I can translate it English -> Finnish. :)
Excellent, another language to add to the list :P:
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
I can translate from English to French :) ( if there aren't too many texts :lazy: )
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Quote:
Originally Posted by
herohotelfr
I can translate from English to French :) ( if there aren't too many texts :lazy: )
Thank you! I have updated the list again.
The template engine has hit the 1500 line mark, lol.
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
One question:
Where did u got the css and html stuff from the old content from?
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Quote:
Originally Posted by
iExit
One question:
Where did u got the css and html stuff from the old content from?
Parts of the HTML came with the base, the CSS id's and everything were, for the most part, still in the CSS. Images are a pain to find. And some from older CMS's, like PHPRetro for example. It took me almost 2 hours to get the CSS / Images / HTML sorted.
- - - Updated - - -
Live Demo may go up/down a couple of times, currently sorting out some issues with the Web Server.
- - - Updated - - -
Updates - 05/03 (2:51am)
Ran into a couple of database issues that took about an hour to fix.
Still working on the Language system, found a way to speed up the process of making the documents.
A couple of table optimisations within the database.
Sorry about no visual feature-related updates, working on more of the back-end than anything.
For the translators
I will be handing out the documents tomorrow night, or should I say today since it's almost 3am? I expect them back within 3 days, please do not procrastinate since it will hold up my development process and I have a timetable of things to do that are Project H related. Once you have received the document, rename it to your language but shorten it, for example; English = en.php.
Thank you for your help with my project. I have added you all to the contributors list.
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Quote:
Originally Posted by
ησвяαιη
Parts of the HTML came with the base, the CSS id's and everything were, for the most part, still in the CSS. Images are a pain to find. And some from older CMS's, like PHPRetro for example. It took me almost 2 hours to get the CSS / Images / HTML sorted.
- - - Updated - - -
Live Demo may go up/down a couple of times, currently sorting out some issues with the Web Server.
- - - Updated - - -
Updates - 05/03 (2:51am)
Ran into a couple of database issues that took about an hour to fix.
Still working on the Language system, found a way to speed up the process of making the documents.
A couple of table optimisations within the database.
Sorry about no visual feature-related updates, working on more of the back-end than anything.
For the translators
I will be handing out the documents tomorrow night, or should I say today since it's almost 3am? I expect them back within 3 days, please do not procrastinate since it will hold up my development process and I have a timetable of things to do that are Project H related. Once you have received the document, rename it to your language but shorten it, for example; English = en.php.
Thank you for your help with my project. I have added you all to the contributors list.
Sorry, but where is the link of the Live Demo? Didn't fount the post in this thread :|
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Quote:
Originally Posted by
Aron123
Sorry, but where is the link of the Live Demo? Didn't fount the post in this thread :|
http://mubbo.co.uk/
Live Demo is currently build 28215, the latest build is 04315 so a few features are missing.
---
Why must you do this to my poor News articles :o @maartenvn
http://i.imgur.com/8kYh2Pj.png
---
Actually ended up finding a bug, you can resubmit the form data as many times as you'd like. I shall fix this later. Feel free to spam the comments in the mean time. :junglejane:
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Quote:
Originally Posted by
ησвяαιη
http://mubbo.co.uk/
Live Demo is currently build 28215, the latest build is 04315 so a few features are missing.
---
Why must you do this to my poor News articles :o @
maartenvn
http://i.imgur.com/8kYh2Pj.png
---
Actually ended up finding a bug, you can resubmit the form data as many times as you'd like. I shall fix this later. Feel free to spam the comments in the mean time. :junglejane:
I was just testing it ;-)
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
So about me releasing the translation file last night, that didn't happen because I fell asleep pretty early on in the night... it's also still not complete. THERE'S SO MUCH TO TRANSLATE JESSSUUUUUSSSSS
- - - Updated - - -
I love how 4 lines of code can save you an hour or twos worth of work. PHP is love.
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Quote:
Originally Posted by
ησвяαιη
The template engine has hit the 1500 line mark, lol.
o-o
Quote:
Originally Posted by
ησвяαιη
I love how 4 lines of code can save you an hour or twos worth of work. PHP is love.
This too can apply to your template engine.
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
1500 seems like way to much for a template engine.
-
Re: Project H - A bit of the past! [PHP, MySQLi, APC, WinCache]
Quote:
Originally Posted by
oleaa
1500 seems like way to much for a template engine.
Not that much if you count the empty lines and lines with brackets. You'll loose about half really.