Does anyone have a problem with the current HoloCMS.. Client.php only works on IE. In firefox it will load up the shockwave part and then stick when the shockwave bar is fully loaded?
Printable View
Does anyone have a problem with the current HoloCMS.. Client.php only works on IE. In firefox it will load up the shockwave part and then stick when the shockwave bar is fully loaded?
Ok vouchers management is done. That leaves newsletter, users, help-browsing, hotel/site alerts, logs, and finally updates. The update system will be fun to write. I'm going to try to create a system where whenever I make a SVN commit, Google Codes sends a jQuery command to my server @ phpretro.com where it takes it and inserts the changes into a mysql database. Then, PHPRetro will query phpretro.com where it returns a list of changes and revisions (probelty using jQuery again) and displays it to you. Finally, if I have time, I'll make a system that allows you to download ONLY the changed files (to save time).
The free host that hosts the demo site kicked us from the server without any prior warning. As a result, the database was lost, so sorry guys, but you need to re-register @ demo.phpretro.com if you want to use it, and all data was lost. I'm sorry. I'll try to keep a backup next time.
Ah
That sucks,
Surprised they didn't warn you :/
I can't wait on the release, it's looks verry nice!
To patch the MOD- problems, use this code for filtering mod- checks (instead of the one used currently) in register.php the code to replace starts with "// MOD- Names validation" and ends with "}"
In ajax_namecheck.php replace the code starting with "$pos = strrpos($refer, "MOD-");" and ending with "}" (first one)PHP Code:// MOD- Names validation
$first = substr($name, 0, 4);
if (strnatcasecmp($first,"MOD-") == false) {
$error['name'] = "This name is not allowed.";
$failure = true;
}
PHP Code:$first = substr($name, 0, 4);
if (strnatcasecmp($first,"MOD-") == false) {
header("X-JSON: {\"registration_name\":\"This name is not allowed.\"}");
} else {
header("X-JSON: {}");
}
Doesn't work :S
Oops, my bad people. I forgot to alter the code for it to work with HoloCMS. Fixed now, you may do your copy & pasting again.
Wow, just had a major breakthrough (something just clicked). I altered the HoloUser() class to make many improvments.
First, whenever you create a new object with HoloUser(), you can store it in a session ($_SESSION['user']). The HoloUser() class has variables that store the user and the time the object was created. Now how is the good? 1) The DB don't have to be queried every page for the user details. That was safe (in case the user is banned), but I had another idea. 2) The time is stored also in the object, so when the session time is up (as defined in settings, default is 30 minutes), it "re-creates" the HoloUser object. Now if the guy is banned or whatever, the changes will apply. Also, this allows reauthentication. Like on habbo, if you are inactive for a certain amount of time, you need to reauthencate. In housekeeping, you're logged off for extra security. 3) IP is also stored in the object, so if your session is stolen, then it'll log off.
So more speed AND more security.
In layman's terms: HoloCMS queries MySQL EVERY PAGE to get the user information (id,name,birth,etc). Now, PHPRetro just queries the DB once (during login), and stores the information into a session.
EDIT: Also, the new design for www.phpretro.com: http://twitpic.com/c3ohz (not yet coded, just designed)
Woo, can't wait for this (y)
Just a quick question though
Which version of which emulators will this support? And also which dcr's? There's no point in using a dcr which has say battleball if there is no control system in phpretro for it is there? ;)
It supports any DCR that uses a cms? From V19+ I think
Such a bugged up and badly coded CMS. Hopefully the new version is better.