Welcome Guest, Not a member yet? Register   Sign In
No-CMS, A Free CodeIgniter based CMS to start your project
#81

[eluser]goFrendiAsgard[/eluser]
Sorry guys, I'm currently busy with my thesis. And to make it worst, every notification from CodeIgniter forum are automatically sent to the spam by gmail (I don't know what really happens here). This was a very unexpected behavior.

@mrgswift: qq library is not written by me. But I think yes, there is a problem with file size limit. Thanks to find it out. I'll try to fix it

@humty: cms_navigation is related to cms_authorization. If you want to only use the database, you should probably change it a bit (especially the foreign key part).
#82

[eluser]Altazar[/eluser]
Hi, I've installed it and I like it. First I'll play with themes.
Is there or will there be a forum module for No-CMS? I'd buy it.
Good luck with thesis!
#83

[eluser]goFrendiAsgard[/eluser]
[quote author="Altazar" date="1351160855"]Hi, I've installed it and I like it. First I'll play with themes.
Is there or will there be a forum module for No-CMS? I'd buy it.
Good luck with thesis![/quote]
Hi @Altazar. I don't make it yet. But I think someone else has probably make such a module. Still don't know about it yet.
#84

[eluser]goFrendiAsgard[/eluser]
The future release of No-CMS will support multi-language, even for the static pages
http://www.getnocms.com/2012/11/multi-la...pages.html
#85

[eluser]goFrendiAsgard[/eluser]
http://www.getnocms.com/2012/11/better-m...etter.html
I've just make some improvement on No-CMS.

The first one is related to its performance. Accessing variables is considered faster than accessing databases and files. So, from now on The ci_sessions, configuration and language files will only be accessed in the first time call of a request. (e.g: the first $this->cms_username() will access the database, but the second call of the same function will access a variable)
The second one is related to new template system. The core is now fully using regex. In the new template system, you'll find a new branching tag. This way, I don't even need the table structure (something I'm afraid of). You can use:

{{ if language:indonesia }}
Show something that only be shown when your language is "indonesia"
{{ else }}
Show something that only be shown when your language is not "indonesia"
{{ end_if }}

The screenshot is available here: http://www.getnocms.com/2012/11/better-m...etter.html
#86

[eluser]mrgswift[/eluser]
[quote author="goFrendiAsgard" date="1351151624"]
@mrgswift: qq library is not written by me. But I think yes, there is a problem with file size limit. Thanks to find it out. I'll try to fix it
[/quote]

Hi goFrendiAsgard,

I figured out what was wrong a few weeks ago and thought I would post it here. There is a problem with the if statement In the file modules/wysiwyg/fileuploader_library/php.php on lines 121 to 124

Code:
if ($postSize < $this->sizeLimit || $uploadSize < $this->sizeLimit){
            $size = max(1, $this->sizeLimit / 1024 / 1024) . 'M';            
            die("{'error':'increase post_max_size and upload_max_filesize to $size'}");    
        }


If you notice what this if statement is doing, anytime the postSize or uploadSize is less than the sizeLimit, it will die and display the error message that you need to increase your post_max_size and upload_max_filesize. This should be the other way around. Line 121 should be changed to:

Code:
if ($postSize > $this->sizeLimit || $uploadSize > $this->sizeLimit){
This way the if statement is checking whether postSize and uploadSize is greater than the sizeLimit. I believe this was the original intent for having this if statement here, but was probably written quickly without realizing the mistake.

Thanks for your hard work goFrendiAsgard!

#87

[eluser]goFrendiAsgard[/eluser]
[quote author="mrgswift" date="1354578220"][quote author="goFrendiAsgard" date="1351151624"]
@mrgswift: qq library is not written by me. But I think yes, there is a problem with file size limit. Thanks to find it out. I'll try to fix it
[/quote]

Hi goFrendiAsgard,

I figured out what was wrong a few weeks ago and thought I would post it here. There is a problem with the if statement In the file modules/wysiwyg/fileuploader_library/php.php on lines 121 to 124

Code:
if ($postSize < $this->sizeLimit || $uploadSize < $this->sizeLimit){
            $size = max(1, $this->sizeLimit / 1024 / 1024) . 'M';            
            die("{'error':'increase post_max_size and upload_max_filesize to $size'}");    
        }


If you notice what this if statement is doing, anytime the postSize or uploadSize is less than the sizeLimit, it will die and display the error message that you need to increase your post_max_size and upload_max_filesize. This should be the other way around. Line 121 should be changed to:

Code:
if ($postSize > $this->sizeLimit || $uploadSize > $this->sizeLimit){
This way the if statement is checking whether postSize and uploadSize is greater than the sizeLimit. I believe this was the original intent for having this if statement here, but was probably written quickly without realizing the mistake.

Thanks for your hard work goFrendiAsgard!

[/quote]

At the first glance I don't notice it too :p
But thanks, I've just push a commit in github
https://github.com/goFrendiAsgard/No-CMS...286cc8f812
#88

[eluser]goFrendiAsgard[/eluser]
New themes for No-CMS is now available
http://www.getnocms.com/2012/12/new-themes.html
#89

[eluser]goFrendiAsgard[/eluser]
New widget loading mechanism in No-CMS
http://www.getnocms.com/2012/12/too-many...idget.html
#90

[eluser]goFrendiAsgard[/eluser]
No-CMS is now supporting third party authentication (e.g: login via facebook, twitter etc)
http://www.getnocms.com/2013/01/third-pa...ation.html




Theme © iAndrew 2016 - Forum software by © MyBB