Re: iPlace CMS v1.7 Official Release
Quote:
Originally Posted by
jasler
Thank you for you ideas! They are helpful! I'll code that badgeshop, refers and a limit IP register :)
I think they are in the V1.8 version :)
About the VIP: I use a Dutch call line(eurobellen), it's in the CMS because it was first just a Dutch CMS, but when the English version is (the V1.8) I think you need to code it by yourself, I don't use Paypal... Sorry, I'll search for it, but if I can't find a script: Sorry :(
If you have more good ideas you can always sent me a PM :)
Greets,
Jasper
Thee V1.8 is in MySQLi by the way :) (it's almost like mySQL(and it's use a MySQL database), but that's almost dedicated (sorry, I don't remember that word, it was something like this :P (auto correct on mobile is helpful xD)) so that's why I changed it to MySQLi :)
Use object oriented style because thats better with mysqli.
Use something like this:
PHP Code:
$query = $connect->query("bullshitquery");
while($data = $query->fetch_assoc())
echo $data['row'];
Not like this:
PHP Code:
$query = mysqli_query($connect,"bullshitquery");
while($data = mysqli_fetch_assoc($query))
{
echo $data['row'];
}
Dont change only "mysql" to "mysqli" because if you use the procedural style its looks still ugly as fuck like mysql.
But if you use OOP you could make your project must faster and better! And you get a better view of it.
Well, I wish you goodluck.
Re: iPlace CMS v1.7 Official Release
Quote:
Originally Posted by
Jerking
Use object oriented style because thats better with mysqli.
Use something like this:
PHP Code:
$query = $connect->query("bullshitquery");
while($data = $query->fetch_assoc())
echo $data['row'];
Not like this:
PHP Code:
$query = mysqli_query($connect,"bullshitquery");
while($data = mysqli_fetch_assoc($query))
{
echo $data['row'];
}
Dont change only "mysql" to "mysqli" because if you use the procedural style its looks still ugly as fuck like mysql.
But if you use OOP you could make your project must faster and better! And you get a better view of it.
Well, I wish you goodluck.
I used the object style already, that's looks a lot better than the old.mySQL querys xD
And thank you for thinking :)
And thanks, I'll do my best for my project :) I saw it was released on 3 different forums in other language, but the CMS still in Dutch, so now I'll make it multi language, I think I'll make this languages:
Dutch, English, German,Italian and maybe Spanish and Portuguese :P The last for languages I can't, so I'll will first make the English version, and than I'll search to translators (they get translate copyrights than).
Greets,
Jasper
Re: iPlace CMS v1.7 Official Release
Quote:
Originally Posted by
jasler
I used the object style already, that's looks a lot better than the old.mySQL querys xD
And thank you for thinking :)
And thanks, I'll do my best for my project :) I saw it was released on 3 different forums in other language, but the CMS still in Dutch, so now I'll make it multi language, I think I'll make this languages:
Dutch, English, German,Italian and maybe Spanish and Portuguese :P The last for languages I can't, so I'll will first make the English version, and than I'll search to translators (they get translate copyrights than).
Greets,
Jasper
Just make a language system.
Re: iPlace CMS v1.7 Official Release
Jasler, does this client work? If so, what do I have to edit for it to work? Because, I can't seem to get it to work.
Re: iPlace CMS v1.7 Official Release
Quote:
Originally Posted by
Jerking
Just make a language system.
No, that's too mutch work xD (kidding :P)
Maybe, I think I'll just make a few folders in the CMS .zip:
NL - Dutch
EN- English
DE - Deutch
IT - Italian
PR - Portuguese
Something like this, and than in eatch folder that language of the CMS. I need to have some translaters, so who wants (first the english version, and then the translators translate it)? :P
Quote:
Originally Posted by
noobforlunc
Jasler, does this client work? If so, what do I have to edit for it to work? Because, I can't seem to get it to work.
Yes, well, I use Swift SWF's, check if your external_variables is right :)
Re: iPlace CMS v1.7 Official Release
Quote:
Originally Posted by
jasler
No, that's too mutch work xD (kidding :P)
Maybe, I think I'll just make a few folders in the CMS .zip:
NL - Dutch
EN- English
DE - Deutch
IT - Italian
PR - Portuguese
Something like this, and than in eatch folder that language of the CMS. I need to have some translaters, so who wants (first the english version, and then the translators translate it)? :P
Yes, well, I use Swift SWF's, check if your external_variables is right :)
Language system is easy as fuck.
Just include the link in your core/global (or whatever you call it)
And the file from config.
core
PHP Code:
include('/lang/'.$lang.'.php');
config
PHP Code:
$lang = "en"; // en = english / nl = dutch / ger = german
(and just to show it)
nl.php
PHP Code:
$jerk['header'] = "Dit is je header tekst";
en.php
PHP Code:
$jerk['header'] = "This is your header text";
And in your main page where you need to use the language system just echo
PHP Code:
<div id="lalal"><?php echo $jerk['header']; ?></div>
You've configured the language in the config file then.
No folders needed at all !!!!
Re: iPlace CMS v1.7 Official Release
Quote:
Originally Posted by
Jerking
Language system is easy as fuck.
Just include the link in your core/global (or whatever you call it)
And the file from config.
core
PHP Code:
include('/lang/'.$lang.'.php');
config
PHP Code:
$lang = "en"; // en = english / nl = dutch / ger = german
(and just to show it)
nl.php
PHP Code:
$jerk['header'] = "Dit is je header tekst";
en.php
PHP Code:
$jerk['header'] = "This is your header text";
And in your main page where you need to use the language system just echo
PHP Code:
<div id="lalal"><?php echo $jerk['header']; ?></div>
You've configured the language in the config file then.
No folders needed at all !!!!
Alright you win -.-"
By the way, I didn't tell you it was difficult? XD But it will take a long time to translate everything and change it in PHP :P
Re: iPlace CMS v1.7 Official Release
Another way of doing a language system is put the each language file in an array, so it looks neater ;)
Re: iPlace CMS v1.7 Official Release
Quote:
Originally Posted by
ησвяαιη
Another way of doing a language system is put the each language file in an array, so it looks neater ;)
There so many ways to make a language system. I just showed something easy.
Re: iPlace CMS v1.7 Official Release
When I try to use BCStorm or any ButterFly EMU though, it drops the users table. How can I use SwiftEMU or BCStorm if it won't work?
Re: iPlace CMS v1.7 Official Release
Quote:
Originally Posted by
noobforlunc
When I try to use BCStorm or any ButterFly EMU though, it drops the users table. How can I use SwiftEMU or BCStorm if it won't work?
It's drops the users table??
Quote:
Originally Posted by
Jerking
There so many ways to make a language system. I just showed something easy.
Yup, I'll see what I do, it's not difficult, but I need to change a lot :s
Quote:
Originally Posted by
ησвяαιη
Another way of doing a language system is put the each language file in an array, so it looks neater ;)
In a array?
Re: iPlace CMS v1.7 Official Release
I import the database of BCStorm and when I do the website becomes unusable. The error message "User is not available" comes up also by the way I have the whole CMS translated if you want me to help with the English. :)
Re: iPlace CMS v1.7 Official Release
Quote:
Originally Posted by
jasler
In a array?
PhoenixPHP's language system is an example,
Re: iPlace CMS v1.7 Official Release
Re: iPlace CMS v1.7 Official Release
Quote:
Originally Posted by
Sir Jacob
Holy.. 2 exploits found.
Can you tell me where the exploits are?
Quote:
Originally Posted by
ησвяαιη
PhoenixPHP's language system is an example,
Allright, I'll take a look at it :)
Quote:
Originally Posted by
noobforlunc
I import the database of BCStorm and when I do the website becomes unusable. The error message "User is not available" comes up also by the way I have the whole CMS translated if you want me to help with the English. :)
Well, first you need to inport the BCstorm tables, and than of the CMS, than you can use the fixes. User is not avaible? I think Bcstorm dropped the users table (for his own user table), than you can use fixes to let the CMS work :)