TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 09-13-2009, 04:39 AM   #1 (permalink)
The Wanderer
 
Join Date: Sep 2009
Posts: 10
Thanks: 2
khr2003 is on a distinguished road
Default My new open source cms

Hi everyone
I just finished designing a new open source cms named "DIY-CMS" that is Do It Yourself CMS. Please check it at this link. http://www.diy-cms.com or download it from here http://www.diy-cms.com/mod.php?mod=d..._file&downid=1
and give any suggestion of feedback you have on any area (except the design because I am not a designer).
khr2003 is offline  
Reply With Quote
Old 09-13-2009, 06:38 AM   #2 (permalink)
The Acquainted
 
Randy's Avatar
 
Join Date: May 2007
Location: Your G/F's Closet
Posts: 114
Thanks: 7
Randy is on a distinguished road
Default

I know you requested no feedback on design but you do need a new one, it is terrible in my opinion and i would not use it for that reason.

Also i do not see how you can call it yours, reading your website it says you took a popular arab cms and just modified the code, so you added a few features, re-organized it but still kind of a cheap way to make it in my thoughts, I recommend start from scratch and build it yourself.
__________________
Real Programmers always confuse Christmas and Halloween because Oct31 == Dec25 - Andrew Rutherford
Send a message via AIM to Randy Send a message via MSN to Randy
Randy is offline  
Reply With Quote
Old 09-13-2009, 11:22 AM   #3 (permalink)
The Wanderer
 
Join Date: Sep 2009
Posts: 10
Thanks: 2
khr2003 is on a distinguished road
Default

thanks for the response, and sorry for the misunderstanding. Actually, I rewrote about 85% of the whole cms. I just used number of files in that cms which I am one of its developers (and still). thanks for the response anyway
khr2003 is offline  
Reply With Quote
Old 09-13-2009, 03:09 PM   #4 (permalink)
The Addict
 
Join Date: May 2009
Posts: 287
Thanks: 5
adamdecaf is on a distinguished road
Default

All I got when I downloaded it was a 1.86MB "mod.php" file with 15,000 lines of code in it. Over half were corrupt. There was no readme, no install script, not even the decency to compress the file.

I would recommend that you change your distribution methods and server side design.
__________________
My Site
adamdecaf is offline  
Reply With Quote
Old 09-13-2009, 05:10 PM   #5 (permalink)
The Wanderer
 
Join Date: Sep 2009
Posts: 10
Thanks: 2
khr2003 is on a distinguished road
Default

Quote:
Originally Posted by adamdecaf View Post
All I got when I downloaded it was a 1.86MB "mod.php" file with 15,000 lines of code in it. Over half were corrupt. There was no readme, no install script, not even the decency to compress the file.

I would recommend that you change your distribution methods and server side design.
The folder is compressed and contains a readme file and the database as well as the rest of the files. I just tried downloading it and it seemed fine to me. I will try to download it from another computer maybe there is something wrong with the download module.

try this link to see if there is something different:
http://www.diy-cms.com/mod.php?mod=d...=goto&downid=1
khr2003 is offline  
Reply With Quote
Old 09-13-2009, 06:05 PM   #6 (permalink)
The Addict
 
Enfernikus's Avatar
 
Join Date: Jun 2008
Posts: 335
Thanks: 2
Enfernikus is on a distinguished road
Default

http://lmgtfy.com/?q=php5

Also, Objects should have specific functions this one seems to be all over the place. ( I refer to functions.class.php )

And you have an awkward naming convention like module_outPut.
__________________
My Blog
Enfernikus is offline  
Reply With Quote
Old 09-13-2009, 07:08 PM   #7 (permalink)
Wizard
Top Contributor 
 
Village Idiot's Avatar
 
Join Date: Sep 2007
Posts: 1,299
Thanks: 17
Village Idiot is on a distinguished road
Default

The zip file was corrupt both times I tried to download it.
__________________

Village Idiot is offline  
Reply With Quote
Old 09-13-2009, 07:20 PM   #8 (permalink)
The Addict
 
Enfernikus's Avatar
 
Join Date: Jun 2008
Posts: 335
Thanks: 2
Enfernikus is on a distinguished road
Default

http://www.megaupload.com/?d=6GGU7QOZ
__________________
My Blog
Enfernikus is offline  
Reply With Quote
The Following 2 Users Say Thank You to Enfernikus For This Useful Post:
adamdecaf (09-13-2009), khr2003 (09-14-2009)
Old 09-13-2009, 10:18 PM   #9 (permalink)
The Addict
 
Join Date: May 2009
Posts: 287
Thanks: 5
adamdecaf is on a distinguished road
Default

My Thoughts...
  1. The download fails in Chrome, (It works in FF 3.6pre) it must be a header issue. Here is a list of HTTP MIME Types.
  2. The robots.txt doesn't specify any links that the search engine can index.
  3. You have no comments, this is bad, very bad.
  4. Switch/Case Expressions work a lot better than if/elif/elif/elif...
  5. if (($y>1582)||(($y==1582)&&($m>10))||(($y==1582)&&($ m==10)&&($d>14)))

    Wow, thats not easy to read.
  6. It seems that every "modual" has a separate admin panel, this is not only bad but a waste of space.

I would not use or recommend this because it doesn't seem to have the level of effort put into that other CMS systems do. The longest comment for anything other than the readme.txt (and phpmailer) was a single line.

Commenting is required if you expect anyone to modify your code.
__________________
My Site
adamdecaf is offline  
Reply With Quote
Old 09-14-2009, 02:18 AM   #10 (permalink)
The Wanderer
 
Join Date: Sep 2009
Posts: 10
Thanks: 2
khr2003 is on a distinguished road
Default

Thanks all for such constructive criticism.

Enfernikus: thank you for posting the download, and regards the class issue, this problem existed in the original cms. I modified, removed and moved many functions in this file, yet it still unprofessional. I will certainly change it to something more specific.


adamdecaf
I have tested the download on FF, IE7 and IE8 it seemed to be working fine, yet on chrome there are some issues. I changed the mime type in the header but ended up with the same error.

All your comments are valid, yet I have one question, you said:
Quote:
It seems that every "modual" has a separate admin panel, this is not only bad but a waste of space.
How is that bad? My understanding is that modules or plug-ins come as a package, so if I want say remove the module I would not need the admin panel related to it.
Is there another approach to creating modules in a cms.

Last edited by khr2003 : 09-14-2009 at 02:54 AM.
khr2003 is offline  
Reply With Quote
Old 09-14-2009, 02:27 AM   #11 (permalink)
The Addict
 
Join Date: May 2009
Posts: 287
Thanks: 5
adamdecaf is on a distinguished road
Default

If I were to put myself in a normal users shoes I would assume that I have one control panel that manages everything in the CMS, not four or five that only manage parts of it.
__________________
My Site
adamdecaf is offline  
Reply With Quote
Old 09-14-2009, 07:56 PM   #12 (permalink)
The Addict
 
Enfernikus's Avatar
 
Join Date: Jun 2008
Posts: 335
Thanks: 2
Enfernikus is on a distinguished road
Default

A better option for the admin panel in my opinion is providing hooks for instance a provide a function that could hook onto the admin's menu and add items and have it return a resource which the same function could hook onto therefore creating a submenu. All of these hooks would in kind be linked to a page which is encapsulated by the master admin theme but the contents of which be provided by the module's admin file.
__________________
My Blog
Enfernikus is offline  
Reply With Quote
Old 09-14-2009, 08:46 PM   #13 (permalink)
Wizard
Top Contributor 
 
Village Idiot's Avatar
 
Join Date: Sep 2007
Posts: 1,299
Thanks: 17
Village Idiot is on a distinguished road
Default

The ZIP file has HTML at the beginning and end. This is a common mistake, it means that you are writing the entire page to the HTTP output stream instead of just the file.
__________________

Village Idiot is offline  
Reply With Quote
The Following User Says Thank You to Village Idiot For This Useful Post:
khr2003 (09-14-2009)
Old 09-14-2009, 10:15 PM   #14 (permalink)
The Wanderer
 
Join Date: Sep 2009
Posts: 10
Thanks: 2
khr2003 is on a distinguished road
Default

Enfernikus: thanks for the advice. I tried this already with module settings. However, let say the admin wants to give a moderating permission to a group or a member on a part of cms. So if the member wants to moderate the cms he will do so through the frontend and not through the admin panel.

Basically, the admin gives permissions through the admin panel by a hooked module file, yet practicing these permissions will be through the fronted so only the admin has access to the admin control panel.

Village Idiot: thanks for the great advice. The issue is now fixed and I tested downloading the file on chrome browser, and it worked just fine. One question though: why your name is the village idiot, you should be more like the php village :) just kidding
khr2003 is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for partner(s) for open source framework Scottymeuk General 4 02-06-2009 12:05 AM
Open source programs KingOfTheSouth The Lounge 24 12-01-2008 01:54 AM
php open source coolbug General 5 11-22-2008 04:05 AM
Porn CMS Open Source? 9three Advanced PHP Programming 4 11-07-2008 02:26 PM
Open Source Forums with LDAP support Jenski General 2 10-02-2008 10:46 AM


All times are GMT. The time now is 11:07 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design