Forums / Setup & design / New User Registration Workflow

New User Registration Workflow

Author Message

Dan C

Wednesday 09 February 2005 9:23:17 am

Hi,

I've searched the site and can't find anything for creating a workflow for user registration. I've tried to follow similar instructions as in the 'guestbook' tutorial here:
http://ez.no/ez_publish/documentation/building_an_ez_publish_site/the_guestbook/creating_a_workflow
and
http://ez.no/ez_publish/documentation/building_an_ez_publish_site/the_guestbook/connecting_the_workflow_to_a_trigger_function

and I substituted the 'Guestbook Section' for the 'Users Section' but it does not appear to be working.

I've tried disabling VerifyUserEmail under site.ini like so:

[UserSettings]
VerifyUserEmail=disabled

But when a user signs up, they're automatically approved and are logged in right away.

I wish to be able to select which users I approve and which don't gain access to the site. Email validation should be optional as well.

Any help would be greatly appreciated,

Thanks,

Dan

kracker (the)

Wednesday 09 February 2005 7:04:14 pm

I also have experienced this bug in eZ publish 3.

Would an eZ systems developer or partner care to shed some light on the reasons for this bug and a solution to restoring this functionality?

I was building an eZ publish site where I wanted to manually approve which new user accounts would be activated.

The problem is that even if you change:

[UserSettings]
VerifyUserEmail=disabled
to 
[UserSettings]
VerifyUserEmail=enabled

I dug into the problem for days and never could find a solution to the problem. Now that you have proven to me that the problem is not just my own, I really want to know why this feature does not work properly.

Cheers,
Graham

Sage Francis : A Healthy Distrust : Slow Down Gandhi

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

Jonathan Dillon-Hayes

Wednesday 09 February 2005 8:40:12 pm

I can honestly don't know.

We've not confronted this particular situation in our development work.

Is there another partner who has more experience with this particular tidbit?

Jonathan

---------
FireBright provides advanced eZ deployment with root access
http://www.FireBright.com/

kracker (the)

Thursday 10 February 2005 9:46:48 pm

I was checking this thread again to bring the question back up to the surface for air.

Does anyone have any experience with the subject in question.

<b>Updated</b>! I found this similar topic / question, not quite the same but I'd take anything at this point :
http://www.ez.no/community/forum/install_configuration/cant_create_new_self_registered_user

http://www.ez.no/ez_publish/documentation/incoming/tutorial_using_user_register

http://www.ez.no/community/forum/suggestions/user_registration

Then a google search pointed out this file that plays a part in the whole thing : http://pubsvn.ez.no/viewcvs/*checkout*/ezp/trunk/kernel/user/register.php?content-type=text%2Fplain&rev=10653

Relevant Search:
http://www.google.com/search?q=VerifyUserEmail&num=50&hl=en&lr=&safe=off&filter=0

//kracker
Sage Francis : A Healthy Distrust : Sea Lion

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

Lex 007

Tuesday 22 February 2005 7:40:41 am

UP ! I would need that feature ... did you figure out how to do it ?

Thanks

Mindshare Interactive Campaigns

Tuesday 21 June 2005 2:12:45 pm

Has anyone figured this out? I've applied a pre-publish Approve Event workflow to the "User" section, but it never seems to trigger. All users who sign up are instantly approved.

http://www.mindshare.net

zurgutt -

Wednesday 06 July 2005 8:19:53 am

http://ez.no/community/forum/developer/workflow_user_registration

Related thread, I think it says among other stuff that triggering it on publish/after works.

Certified eZ developer looking for projects.
zurgutt at gg.ee

Pascal France

Tuesday 16 May 2006 10:39:01 am

Hi,

I do not either manage to create a workflow to approve user registration.

I did this workflow:

Name: user_apporved
Affected section: Users
User who approves content: admin
Event: Event / approve

And I created a "content / publish / before" trigger.
But an e-mail is sent to the user who can confirm his new account without the admin approves the registration before.

I'm using eZP 3.7.5

Is there some settings to do in some config files ?

Cordially,

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

Pascal France

Tuesday 16 May 2006 11:49:54 am

Hi,

Because wokflow doesn't work I try to use UserSettings in site.ini file.
I tried this:

[UserSettings]
VerifyUserEmail=enabled
RegistrationEmail=pascal@mydomain.fr

In this case, I don't receive any e-mail but the user, yes, and he has to confirm his account.

I tried too:

[UserSettings]
VerifyUserEmail=desabled
RegistrationEmail=pascal@mydomain.fr

In this case any e-mail is sent and the account is automatically created.

Any help will be appracieted.

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

Leif Arne Storset

Thursday 29 June 2006 10:43:56 am

There seems to be a bug that prevents section filtering. I have had the same problem, but have had to work around by turning off filtering. I have reported the bug at http://ez.no/bugs/view/8583 . I hope to do more research into it.

Leif Arne Storset

eZ debug

Timing: Jan 18 2025 01:04:46
Script start
Timing: Jan 18 2025 01:04:46
Module start 'content'
Timing: Jan 18 2025 01:04:47
Module end 'content'
Timing: Jan 18 2025 01:04:47
Script end

Main resources:

Total runtime1.2265 sec
Peak memory usage4,096.0000 KB
Database Queries227

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 588.8438180.8359
Module start 'content' 0.00590.9945 769.6797861.6641
Module end 'content' 1.00040.2261 1,631.3438349.3438
Script end 1.2265  1,980.6875 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00460.3763210.0002
Check MTime0.00200.1593210.0001
Mysql Total
Database connection0.00070.057910.0007
Mysqli_queries1.090688.91812270.0048
Looping result0.00310.25642250.0000
Template Total1.193097.320.5965
Template load0.00290.238620.0015
Template processing1.190197.029320.5950
Template load and register function0.00020.018410.0002
states
state_id_array0.00110.090910.0011
state_identifier_array0.00190.158120.0010
Override
Cache load0.00270.2240830.0000
Sytem overhead
Fetch class attribute can translate value0.00140.116790.0002
Fetch class attribute name0.00350.2867140.0003
XML
Image XML parsing0.00610.497290.0007
class_abstraction
Instantiating content class attribute0.00000.0029150.0000
General
dbfile0.02732.2226480.0006
String conversion0.00000.000430.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
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
10content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
22content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
8content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
4content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
5content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 51
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs