Elxis CMS Forum

Community => Elxis 2008.x Olympus (dev) => Topic started by: pcfun on February 10, 2008, 20:51:55

Title: User Registration & Content Submission Problem
Post by: pcfun on February 10, 2008, 20:51:55
Firstly congradulations to the elxis team for this great work.
I would like to refer 2 (bugs???) errors that i found. I installed elxis in the root folder of my site. SEO PRO works fine. Whatever i submit in the admin panel is applied correctly but there are 2 problems regarding the front-end

The first one: As user you click on Create Account link of the Login Form. You go at the www.mysite.com/registration/register.html and you put the info needed to create the account. When you click on Send Registration, though, you get a message Warning Please try again in few seconds (Προειδοποίηση Παρακαλούμε ξαναπροσπαθήστε σε μερικά δευτερόλεπτα!) and the url is http://pctime.gr/registration/registration-complete.html

The second one: I logged in as user at the front-end (using my admin information) and i submitted an article. Then this article was pending activation. I went to the admin panel and i clicked on submitted content. I clicked on the item and i saved it. Then this item appeared in the appropriate category. Though, the article doesn't appear at the front-end. I go to this category menu but it seems there is no submitted content.

How is it possible?
Title: Re: User Registration & Content Submission Problem
Post by: datahell on February 10, 2008, 21:00:40
For the first one:
Elxis 2008.0 has integrated flood protection in users registration. It should pass at least 30 seconds from the last registration to accept a new one. The problem you refer maybe is caused by a server time offset mis-set. To debug go to your Elxis database manager, browse table elx_users and see the last date on column registerdate. It should pass 30 seconds from this date to be able to register.

For the second one:
I think again it is a time offset issue. Please go to administration and check the publish status of that content item. It is published but pending? To solve this issue edit the article and change the publish date to something in the past!

Notice 1: add the "www" prefix at your live site url (global settings)
Notice 2: Did you removed or unpublished the System Links? (system menu). You better create a hidden (system) link to component search or add a normal visible link to component search.
Title: Re: User Registration & Content Submission Problem
Post by: pcfun on February 10, 2008, 22:43:49
Well regarding the 1st one, it has passed many minutes after the last registration. Not just seconds. (If it could help, i tell you that the FloodBlocker is disabled - I tried even in enabled mode)
Always the same message

Regarding the second one, i changed the dates and it is published. However, in the newsflash module the article doesn't appear (it appeared only once and not any more since that moment).

But i have a question. Every article submitted has to be verified by the admin? How can i make the articles "auto-accepted/published"? Is there any way?
(if it can help i notice that in the registered users i added the possibility of creating, viewing, editting and publishing their own articles)<-- Regarding the editting: I can't edit articles from the front-end
Title: Re: User Registration & Content Submission Problem
Post by: datahell on February 10, 2008, 23:44:09
Read my first answer carefully, you did nt read it. I did nt spoke about flood blocker. Did you checked the offset, your server time and the users database table as I said?

No one is allowed to edit articles from front-end. The feature has been removed, ACL is not only for the core components. Thats why the "edit" access is still there. We have announced this change months ago. The reason is simple and practical:
1. 99% of the sites does not even give you the option to submit articles from frontend.
2. 95% of the 1% of the sites that gives you the option to submit articles do not allow you to change articles (you have to be at least publisher to do this) or there is no reason to change them.

So, it is very rare someone to edit an article once published. At the other hand by removing this feature we strengthen the security so much that it is impossible to hack an Elxis site's content from front-end. User submitted content is entered in a different, temporary database table separately from the accepted/published ones. Our work on content has not yet finished. In Elxis 2008.1 or 2008.2 we will integrate commentary on all content items, create new blog system and new archive system.
Title: Re: User Registration & Content Submission Problem
Post by: pcfun on February 11, 2008, 01:14:42
You are right about the time. I had a difference of -9 between the server and the country's time. Now it works fine.

About the second one, thank you for your information. I am looking forward to hearing of the 2008.1 or 2008.2 that will have these cool features. For the moment THANKS
Title: Re: User Registration & Content Submission Problem
Post by: Ahmad Said on March 15, 2008, 10:15:44
hello all

i have creat three acount : Auther, editor and publisher and give each one the roll to complete his job, but i found that the editor cant access the content submited by the auther and the publisher dont have the ability to publish the artical from public side.
Title: Re: User Registration & Content Submission Problem
Post by: datahell on March 15, 2008, 22:44:29
Direct content publishing from front-end is not allowed to anyone, even to super administrators.
Also published content editing is also not allowed from front-end.