Re: prjDual - DualCMS | PHP / MYSQL /JQUERY / OOP / Plugin System |
I mean 'mastered' PHP, that's a first for me.
Any more snippets though?
Re: prjDual - DualCMS | PHP / MYSQL /JQUERY / OOP / Plugin System |
Quote:
Originally Posted by
Makarov
Its because we truly judge your work and if you cannot take it just tell me, your thread will be gone in a heart beat.
It's not about you truly judging my work, it has been explained to all of you why the code is "messy" and why the design is not good. Let me take that back, there isn't even a design to judge, but the installation page which you will delete in a "heart beat".
Quote:
Originally Posted by
WaffleMaker
Agreed
You know there's a like button right? Useless post.
SNIPPETS:
Some people usually try to rename the folder of their housekeeping, so random users wont be able to connect to it. We fixed that problem for those of you who change it, and for those of you who just leave it there.
The following script denies anyone that tries to access the housekeeping without having the minimum rank to access the housekeeping.
The default minimum rank is 5 but you will be given the option to change it in the installation guide.
PHP Code:
if(defined("HK_INDEX") && $_SSO['hk']['perm'] !== 1) {
die("You do not have any permissions to access this page.");
}
The following script allows anyone with the set minimum rank to access the housekeeping.
PHP Code:
if(defined("HK_FILE") && $_SSO['hk']['logged'] !==1) {
header("LOCATION: index.php");
}
Re: prjDual - DualCMS | PHP / MYSQL /JQUERY / OOP / Plugin System |
Quote:
Originally Posted by
Sway
Are you people that stupid?
He already mentioned why the snippets look messy.
& you know nothing about PHP if you can't read that code.
That's completely readable. You must be dyslexic or some shit.
PHP Code:
$_CORE['vipclothes'] = $database->getServer("vipclothesforhcusers", 2); //Allow HC users to wear VIP Clothes
$_CORE['maxrooms'] = $database->getServer("MaxRoomsPerUser", 2); //Max number of rooms allowed per user
public function replaceVars($string) {
foreach($this->vars as $var => $str) {
$string = str_ireplace('$'.$var.'$', $str, $string);
}
return $string;
}
public function writeTPL($str) {
$str = file_get_contents($str);
echo $this->replaceVars($str);
}
$core->writeTPL('templates/default/index.php');
And, if you think the fucking config file is messy, then I do feel sorry for you.
Also, stop whining about the design, we didn't design shit.
The template isn't even done, and if you're complaining about the design of the installation page, then you should stop and think about it because you're going to delete the install page anyway.
I swear this is the home of flamers.
I posted this on DevB and Otaky and I didn't get shit from them.
This is RaGEZONE, so expect flamers.
Re: prjDual - DualCMS | PHP / MYSQL /JQUERY / OOP / Plugin System |
Forgot to add, to all of you complaining about the MySQL,
we finished adding MySQLi, just giving it the final touches.
I'll post some snippets later tonight.
I'll also post screenshots of the housekeeping, which you should all love, and if you all don't love it, then I'll quit life.
Flame on.
Re: prjDual - DualCMS | PHP / MYSQL /JQUERY / OOP / Plugin System |
Quote:
Originally Posted by
Hejula
Thanks for the suggestion, I'll do that right now :).
Re: prjDual - DualCMS | PHP / MYSQL /JQUERY / OOP / Plugin System |
Quote:
Originally Posted by
</Joh >
Thanks for the suggestion, I'll do that right now :).
So if this is correct the only thing that has good design to it is the fucking installation?
Even though it will be deleted in a "Heart Beat"(:
Re: prjDual - DualCMS | PHP / MYSQL /JQUERY / OOP / Plugin System |
Quote:
Originally Posted by
WaffleMaker
So if this is correct the only thing that has good design to it is the fucking installation?
Even though it will be deleted in a "Heart Beat"(:
If you read, it states that there is no design put together yet, the core and shit is being coded -.-. Jeez people need to learn how to read before they post.
Re: prjDual - DualCMS | PHP / MYSQL /JQUERY / OOP / Plugin System |
I have to say based on structures and work you've done a pretty good work though the ''Next'' ''Previous'' and ''Cancle'' button are very nice and as i assume that it's a installation page it's good enough so keep it going on.
Re: prjDual - DualCMS | PHP / MYSQL /JQUERY / OOP / Plugin System |
Quote:
Originally Posted by
WaffleMaker
So if this is correct the only thing that has good design to it is the fucking installation?
Even though it will be deleted in a "Heart Beat"(:
Judging by the installation the rest will be very nice, one would imagine. If you make a nice CMS you can't drop the good looking styles just because it's an installation page!
Re: prjDual - DualCMS | PHP / MYSQL /JQUERY / OOP / Plugin System |
Yeah it's only a Installation page it's nothing compared to the whole CMS Itself so it doesn't make sense to judge about it.
Re: prjDual - DualCMS | PHP / MYSQL /JQUERY / OOP / Plugin System |
Quote:
Originally Posted by
Livar
If I wanted to I could make a cms myself, I've done around 10 times so far, so yeah.
That's so irrelevant to what I said lol... No ones stopping you for going to make a CMS so if you wanna make one go right ahead. Anyways we've made some progress on the HK. The login has been done and the unique visits have been done. We'll post some snippets soon.
Re: prjDual - DualCMS | PHP / MYSQL /JQUERY / OOP / Plugin System |
May i see your plugin system? Seems interesting :p
Re: prjDual - DualCMS | PHP / MYSQL /JQUERY / OOP / Plugin System |
Re: prjDual - DualCMS | PHP / MYSQL /JQUERY / OOP / Plugin System |
Sorry it took so long to clean. I trimmed off a good 3 pages..
And no, Ewout is not returning, get over it.
Re: prjDual - DualCMS | PHP / MYSQL /JQUERY / OOP / Plugin System |
Dude, then you obviously haven't realised hes still here, just saying.