sNews Forum

General Category => Miscellaneous Discussion => Topic started by: Rui Mendes on November 08, 2012, 06:38:52 pm

Title: eBookCMS
Post by: Rui Mendes on November 08, 2012, 06:38:52 pm
Sorry guys I was involved with my personal cms.

Next weeks I'll publish some information, templates, addons and plugins.

I'm prepare a forum, but you can put here your opinions.

Official site is www.ebookcms.com (http://www.ebookcms.com)
Title: Re: eBookCMS
Post by: Keyrocks on November 09, 2012, 04:29:18 pm
Hi Rui - good to see you are still with us.  8)
I look forward to testing your new CMS project. When will you have it available for download?
Title: Re: eBookCMS
Post by: Rui Mendes on November 09, 2012, 05:51:06 pm
Hello Doug.

Yes I'm envolved with 2 projects (snews and ebookcms).

Right now I'm in Portugal, and try to get a job on Europe. I love Canada but is far away.

You can download here (http://www.ebookcms.com/?page=download)
Title: Re: eBookCMS
Post by: Keyrocks on November 09, 2012, 09:02:05 pm
Hello Doug.
Right now I'm in Portugal, and try to get a job on Europe. I love Canada but is far away.
You can download here (http://www.ebookcms.com/?page=download)

Thanks Rui. I tried that earlier but the download link doesn't work. You must be happy to be back home close to family again.
Cheers.
Title: Re: eBookCMS
Post by: nukpana on November 11, 2012, 12:08:44 am
Hey Rui, how have you been?

Congrads on your new script.  Some quick questions:

1. Why is it called eBookCMS? Is there something specific to eBooks? Right now, nothing says anything to that fact.

2. Looking at the features, it looks like alot of other CMSs out there. What makes yours different? 
2a. (Information will come later, but hopefully you can answer) Why should a developer invest time into your system?

3. (Since we don't have access to the download..)The header picture shows a picture with some code, which shows a function tags(), similar to sNews. Is there alot of sNews influenced code? Why did you choose to go this route?

4. The search form HTML is probably done via PHP, but the login form is done via Javascript, why did you choose this route and not keep a php/HTML way?

5. Why does ebookcms.com/submit.php look like it was hacked?
Title: Re: eBookCMS
Post by: Rui Mendes on November 11, 2012, 01:15:56 am
Hello Jason, I'm fine thanks and you?

1 - In future yes, my ideia is have some free books everything about other CMS.
2 - Yes my CMS have lot features, I did't copy any ideia. My ideia was tp create a simple cms and small not like others.
I create an API file with all complicate code but admin.php is more simple to understand.
I do not want stole any user from here, but all users are welcome to try or give ideias.

3 - I don't know why didn't work, I made an addon to control downloads and I have some people did download. Download here (http://www.ebookcms.com/cc/ebookcms.zip).
If you download, you can see is complete diferent, nothing similar with snews code. And by the way tags is html is commands right.
I start coding by hobby, next I create a cms for a client. And restart again with new ideia, simple, lite.

4 - Yes the login form is done by php and javascript maybe with js the button will only active when login and password are not empty.
if I have problems I will change by HTM/php.

5 - The existing submit is wrong link for spambot to keep them busy. Until now I got no hack, I spend a lot of time to avoid that.

And another think, I made this cms to keep me busy. I never give up for snews project, snews teach me as a professional.
Title: Re: eBookCMS
Post by: nukpana on November 11, 2012, 06:25:19 am
I'm good. Surviving Hurricane Sandy, playing with my Raspberry Pi, maybe getting back into my CMS (http://snewscms.com/forum/index.php/topic,10292.msg69200.html#msg69200)/app base idea (http://snewscms.com/forum/index.php/topic,10292.msg69506.html#msg69506), since I may need something like this in the near future...

I looked over the system & the code. I am curious why you chose the coding decisions you made?

Quote
If you download, you can see is complete diferent, nothing similar with snews code
Right, but the style is very similar/influenced to sNews. A big duh if I actually think about it.... lol
Title: Re: eBookCMS
Post by: Fred K on November 11, 2012, 12:22:16 pm
Hey Rui, good to see you back. Best of luck with your cms (I'll try it out in a bit.)
Title: Re: eBookCMS
Post by: sibas on November 11, 2012, 02:12:45 pm
Hello Rui, glad to see you with your ebookcms!  :)

I give it a try and my first impression is mixed because I don't understand how is working,
I found it very complex to manage it generally, certainly you need to write how-to is working.

As first release is good, but I think you need lot of work to add some functions-plugins like rss, breadcrumbs, archive, sitemap, and also to make friendly urls.

I like your code, is clean and easy understand how is working, the big plus for me is that not generate errors or notices (just a few notices I discover)

I like the users and the comment system, I wish some similar functions for snews.


Keep it up 8) but just think how you make it less complex in admin content.

Finally one bug!

I login as “super” and I got “My first time – Configurations”
I press cancel and after I go to ”Change my Profile”
Where I add my email
I logout and login again
Still got “My first time – Configurations” with the following
Quote
* Last time to register/change your e-mail
your_email@email.com

in “Change my Profile” exist another email that I have write.
And when I go to write a comment as “super” I got
Quote
“Error Empty email or not valid”
Title: Re: eBookCMS
Post by: Rui Mendes on November 11, 2012, 05:26:17 pm
@nukpana
I'm glad nothing happen to Jason, Quebec was afected but did left 2 weeks before.
Raspberry Pi is a thing I would try too, maybe in future :)

@Fred
Thank you Fred, I expect your opinion as friend.

@Sibas
Thank you Sibas to try.
- The first time is a option for register e-mail reg not normal e-mail or gravar e-mail. To disapear you need to save. The ideia is if someone hack your e-mail, recover e-mail will be based to reg-email.

This functions "rss, breadcrumbs, archive, sitemap" will be addons to put in folder addons, plugins will be functions with admin.
If you want use plugins, or addons in pages you need to create webtext (top pages or bottom), and use [func]funcname;attributtes[/func]

I appreciate all kind comments to get better cms, give me a concrete example to show notices/errors.

Yes comments are good the way I put, everyone can costomize them. Soon I will put some indormation about that.

Yes in admin is a concern for me.
Title: Re: eBookCMS
Post by: Rui Mendes on November 11, 2012, 05:42:07 pm
Let me give some easy approch how this works.

- Setup is to config some variables
- Languages if you use more than one language.

Sections (One the most important option)
Example: Top Links (top-links)
- Group Member (All Users if Group member let them access)
- Group by (The place will appears on root)
- Section type (Root pages, Categories or Plugin)
In particular option I choose Root pages, so I put in index.php to call these Root pages is:
Quote
<?php showLinkRootPages('top-links'); ?>

if was Categories, I would call
Quote
<?php showLinkRootCats('top-links');
Title: Re: eBookCMS
Post by: sibas on November 11, 2012, 05:48:31 pm
for errors/notices try this
http://snewscms.com/forum/index.php/topic,10362.0.html
Title: Re: eBookCMS
Post by: Rui Mendes on November 11, 2012, 06:21:49 pm
Yes Sibas I used function you put some time ago, to detect errors.

I use it as addon download here (http://www.ebookcms.com/downloads/report_errors.zip)

How to install
Just unzip and copy file to addon folder
Title: Re: eBookCMS
Post by: nukpana on November 11, 2012, 07:43:40 pm
Thanks Rui. Raspberry Pi is cool. Since I used Arduino before, so the RPi is not too foreign  - it is even better, for specialized tasks of course.

On to eBookCMS, again, congratulations on your project, I am sure it is working well for you and your projects.  I will pass as I can't get into it and disagree with design decisions - form API looks alot worse than the sNews html_input, too much mixing of HTML/5 into the core (I'm sure Fred may agree too), for quick examples.  I also agree with Sibas, as it seems very complex or round-about to do stuff.... more documentation is definable needed

Bugs...
1) Comments - 3rd level no reply button, but I can manually edit the url and go further..
2) Can't delete sections?
3) Can't disable addons? Why isn't this like plugins?
Title: Re: eBookCMS
Post by: Rui Mendes on November 11, 2012, 11:54:35 pm
Thanks Jason.

You're right, sections have a issue, I think delete one line by mistake.
To Correct this is add this line inside function admin_sections, just add:
Quote
$form['edit_ks'] = 'key_security';
$form['delkey'] = 'del_key';

About comments, the level I define was 3, but you can change this
In language file (en.php) you can find this line
Quote
$t['level_comments'] = '1,2,3,4,5';
Then you must go super_root (setup) and find on ID=19 (level_comments) and change for level you wish

Addons is a auto include, yes I can increase a variable to disable this if you wish.
I will do that tomorrow :)

HTML 5 is future, I tried to include this option can be disable it in ebookcms - define('HTML5', true); // line 35
Yes you're right in forms is more complicate, just fight spam with RSA encryption without mathcaptcha
Title: Re: eBookCMS
Post by: Fred K on November 12, 2012, 07:19:49 am
Ok, so just a few observations based on a quick, simple test run. Keep in mind that this is just my personal opinion and since I haven't actually built a public CMS I don't know how valid the points are... Anyway.

1. It's easy to install and get into on the first level, which is good.

2. The lack of info about basic operations makes the user walk on eggs in it. Even though basic operations are easy, walking on eggs is no fun. With so many other options out there when it comes to CMS's, yours needs to be user-friendly and to some degree offer a fun experience if you want people in general to use it.

3. The basic template and the lack of info makes it not so user-friendly in its current state. Why should I choose ebookcms over, say, Wordpress or ExpressionEngine or even sNews (based only on the initial experience in terms of look and feel)? This is a question you should ask, even if you're doing something for a small audience or even just yourself.

What I would do in your shoes is, probably, to call this a beta version, maybe even do a limited test with a small focus group before doing a wider public launch. Primarily the lack of guidance on usage, both for the site admin and for stuff like templating or plugin-ing as well as basic requirements info (is it limited to LAMP servers?, minimum PHP-level? do I need a Masters Degree in Astrophysics from M.I.T to run it?, etc) needs to be adressed before making it publicly available, otherwise you will spend the next 5 years doing nothing but answering stupid email questions. If you want a successful public launch you'll also need to consider making it attractive. We know that looks don't determine worth, but unfortunately looks do sell. This applies to the standard template, the logo, the eventual user forum, the source code, everything really. Obviously it primarily needs to be solid and well functioning but that should go without saying. And it currently appears to be working well.

Regarding HTML5 or not, my personal take on it is that if you're going to have HTML5 as an option it needs to affect any and all HTML output, not just the header part. HTML5 is the present, every major browser vendor supports enough HTML5 elements and features today for it to be called stable, across the board of web browser platforms (desktop, smartphone, tablet). If you're going to have it as an option, do it properly. That's all.

In short: take your time, polish the code, make sure you have proper documentation for users and invest in well designed selling points. That's what I would do if I ever were to build my own CMS. Also consider who your target audience is and what your immediate "competition" is. Make comparisons, make sure you have things that either are better than the others have or things they don't have at all. That is assuming you want other people to use it. If you're just making it for yourself then it's obviously a whole different ballgame. ;)

Again, these are just my thoughts.
Title: Re: eBookCMS
Post by: nukpana on November 12, 2012, 10:35:10 am
Addons is a auto include, yes I can increase a variable to disable this if you wish.
I will do that tomorrow :)
No, no, please don't do it for me.  I said I will not be using this. If that was part of your design then leave it be. If you truly think it's a bug, then change it.

Quote
HTML 5 is future, I tried to include this option can be disable it in ebookcms - define('HTML5', true); // line 35
Right, but it's not just a switch that can be turned on or off. Yes in some aspects it is backwards compatible, but for full on HTML5, it is more than that (type="email" for one?). Again, you have taken an sNews approach and bundled the HTML, which again, I don't like (get_header() for one).

There are other current & future practices you (and other CMSs) neglect as well:
mysql_* functions & magic quotes are discouraged & depreciated.
Progressive Enhancement, separating HTML, CSS, & JS (search form for one).
Better HTML (Badly named & duplicated id's, not closing attributes, invalid HTML - accept-* is invalid HTML5, for attribute for legend (registration & comment forms) is not even in HTML4) &  JS (new Array = [],  for one).
Separating core code & view code (equaling more maintainable code). 
Separating "core" functions into addons - comments, search, etc.

Quote
...just fight spam with RSA encryption without mathcaptcha
Probably for CSRF, but your not doing Ajax or the like and I think your approach may be a bit overboard. We've also been fighting spam without RSA encryption for a while as well, so again, I am confused why you chose certain design decisions (which you haven't answered by the way).
Title: Re: eBookCMS
Post by: nukpana on November 20, 2012, 01:27:43 pm
Rui,

Regarding the HTML, I posted a thread as an example to unbundle HTML:
http://snewscms.com/forum/index.php/topic,10534.msg69625.html
Title: Re: eBookCMS
Post by: Rui Mendes on November 20, 2012, 08:57:22 pm
Thank you Fred and Jason for your opinions.

I make a pause for 1 week to rest a little bit. I'm back again, this week new revision will out.