Forums / Developer / user inscription

user inscription

Author Message

Habib ABI KHALIL

Thursday 15 March 2007 6:48:09 am

Hello there

I have a website on wich to enter the member area, people need to be registered.

It seems that some of them fill the registration formular and register, receive an email to activate there account.

The account is activated but the membre can't enter the members section. The account is invalid for me.

I tried to find the new member and find it in "My account -> My pending items".

The member is not even associated to the user section !

Why is he in that list ?

How can i put him back to the user list so he can authenticate normaly ?

Thanks for your help.

Xavier Serna

Thursday 15 March 2007 9:13:33 am

This behavior is correct, as you, as an administrator of the site, have to "approve" each user registration.
I'm sure that this setting can be configured to get the users approved automatically, but not sure were to check. You can try searching in Workflow section.

hth,

--
Xavier Serna
eZ Publish Certified Developer
Departament de Software
Microblau S.L. - http://www.microblau.net
+34 937 466 205

Bruce Morrison

Thursday 15 March 2007 4:57:06 pm

Hi Habib

What version of eZ are you using?

I run a number of sites where usrs can register where there is no requirment that the admin user has to approve.

When a user is created with user/register a draft user content object is created with the admin user as the owner. If the registration is abanded for any reason .i.e. the user doesn't click on the Cancel button then the draft remains and is visiable in the "My Drafts" section of "my Account" for the admin user.

As Xavier points out it appears that there may be a workflow that is being triggered before the the new user is published. Check in Settings->triggers to see if there are any workflows associated with the content publish action.

These may help you
http://ez.no/community/forum/install_configuration/users_stay_in_the_admin_pending_list
http://ez.no/doc/ez_publish/technical_manual/3_8/reference/configuration_files/site_ini/usersettings/defaultuserplacement
http://ez.no/doc/ez_publish/technical_manual/3_8/concepts_and_basics/access_control#comment4531
http://ez.no/doc/ez_publish/technical_manual/3_8/reference/configuration_files/site_ini/usersettings

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Habib ABI KHALIL

Wednesday 21 March 2007 3:06:42 am

Thanks for you help.

It seems that my workflow doesn't finish its work.

The new member receive an email to activate its account but this doesn't happen because he's in the pending list.

I noticed that when someone tries to register on the website, sometimes, i have a "transaction error" on my database, the workflow stops and my member is left in the pending list.

Why have I this error ? And how can I avoid that ?

Is the workflow stopped can be launched back or not ?

Another thing :

All users in the pending list can't be found via the ez search module in the BO. Indexation problem ?

Thanks an advance for your all !

Xavier Dutoit

Wednesday 28 March 2007 2:31:19 am

Hi,

First, I think that sending all the correct emails to the user that registers and so on pre validation is a bug, as it should be done after the approval (or put the users outside of the validation process).

What do you think ?

As for your question, the content not approved isn't in the search engine, that's why you don't see it, it should appear once you publish it.

X+

http://www.sydesy.com