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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 18:37:32
Script start
Timing: Jan 18 2025 18:37:32
Module start 'layout'
Timing: Jan 18 2025 18:37:32
Module start 'content'
Timing: Jan 18 2025 18:37:33
Module end 'content'
Timing: Jan 18 2025 18:37:33
Script end

Main resources:

Total runtime1.7411 sec
Peak memory usage4,096.0000 KB
Database Queries67

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0080 587.7969152.6094
Module start 'layout' 0.00800.0032 740.406339.4141
Module start 'content' 0.01121.7283 779.8203641.8828
Module end 'content' 1.73950.0015 1,421.703116.1875
Script end 1.7410  1,437.8906 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.1847160.0002
Check MTime0.00130.0727160.0001
Mysql Total
Database connection0.00170.097010.0017
Mysqli_queries1.676496.2845670.0250
Looping result0.00070.0383650.0000
Template Total1.704697.920.8523
Template load0.00210.121620.0011
Template processing1.702597.782320.8512
Template load and register function0.00020.011110.0002
states
state_id_array0.00180.103710.0018
state_identifier_array0.00180.103520.0009
Override
Cache load0.00180.1053480.0000
Sytem overhead
Fetch class attribute can translate value0.00060.032840.0001
Fetch class attribute name0.00120.070680.0002
XML
Image XML parsing0.00170.097140.0004
class_abstraction
Instantiating content class attribute0.00000.000880.0000
General
dbfile0.00110.0616280.0000
String conversion0.00000.000640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 20
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs