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

eZ debug

Timing: Jan 18 2025 15:10:03
Script start
Timing: Jan 18 2025 15:10:03
Module start 'content'
Timing: Jan 18 2025 15:10:03
Module end 'content'
Timing: Jan 18 2025 15:10:03
Script end

Main resources:

Total runtime0.1862 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0062 587.5938180.8438
Module start 'content' 0.00620.0052 768.437597.8359
Module end 'content' 0.01130.1748 866.2734526.4844
Script end 0.1862  1,392.7578 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00361.9560200.0002
Check MTime0.00150.8175200.0001
Mysql Total
Database connection0.00090.505810.0009
Mysqli_queries0.140775.52671410.0010
Looping result0.00160.83881390.0000
Template Total0.174593.710.1745
Template load0.00100.544010.0010
Template processing0.173593.168810.1735
Override
Cache load0.00080.413510.0008
Sytem overhead
Fetch class attribute can translate value0.00070.366810.0007
XML
Image XML parsing0.00030.170310.0003
General
dbfile0.00331.7870200.0002
String conversion0.00000.002730.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs