CodeIgniter Forums
No-CMS, A Free CodeIgniter based CMS to start your project - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22)
+--- Thread: No-CMS, A Free CodeIgniter based CMS to start your project (/showthread.php?tid=48566)

Pages: 1 2 3 4 5 6 7 8 9 10


No-CMS, A Free CodeIgniter based CMS to start your project - El Forum - 10-25-2012

[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).



No-CMS, A Free CodeIgniter based CMS to start your project - El Forum - 10-25-2012

[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!


No-CMS, A Free CodeIgniter based CMS to start your project - El Forum - 10-25-2012

[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.


No-CMS, A Free CodeIgniter based CMS to start your project - El Forum - 11-17-2012

[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-language-even-for-static-pages.html


No-CMS, A Free CodeIgniter based CMS to start your project - El Forum - 11-19-2012

[eluser]goFrendiAsgard[/eluser]
http://www.getnocms.com/2012/11/better-multi-language-template-better.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-multi-language-template-better.html


No-CMS, A Free CodeIgniter based CMS to start your project - El Forum - 12-03-2012

[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!




No-CMS, A Free CodeIgniter based CMS to start your project - El Forum - 12-03-2012

[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/tree/80247c81b1eb42dfb7ae0420412d6c286cc8f812


No-CMS, A Free CodeIgniter based CMS to start your project - El Forum - 12-07-2012

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


No-CMS, A Free CodeIgniter based CMS to start your project - El Forum - 12-11-2012

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


No-CMS, A Free CodeIgniter based CMS to start your project - El Forum - 01-11-2013

[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-party-authentication.html