Upgrading User - is it possible?

Author Message

Fabricio Guerrero

Tuesday 25 October 2005 5:14:20 am

Hi,

I've seen this question a few times in this forum but i haven't managed to find an answer to it.. which makes me wonder if its doable with out having to hack the kernel...

Currently we're building a site that has 3 different user registration types. Each type is an User Group and all with different access privilages. This should all be automatic depending on what membership he/she chooses the user should automatically de under that group.

My question would be if there is a way to manage this? I'd need for an user automatically be put in the corresponding user group upon register.

Once again thanks in advance for your help.

Regards,
Fabricio

http://www.solobromasychistes.com <<Joomla Site :P
http://www.recipesforhealthyfood.com/ <<Drupal Site :P
http://www.ezforge.com/ <<future ezCommunity, Articles, forums and more...

Andrew Kelly

Wednesday 14 December 2005 4:44:12 am

Hi Fabricio,

Did you ever get this problem solved? I'm in pretty much the same boat over here and wondering what you did to set things up.

Appreciate any feedback, and thanks in advance.

Andy

Kåre Køhler Høvik

Wednesday 14 December 2005 6:45:20 am

Hi

You can create a workflow event to create a node assignment , and assign it with the pre-publish trigger. See http://ez.no/products/ez_publish_cms/documentation/development/extensions/workflow_events

Kåre Høvik

Andrew Kelly

Friday 10 February 2006 6:58:15 am

Is there anything more extensive to read on this matter?

It seems to me that it must be a pretty common thing that a site would offer a number of account types and pre-sort registration into pre-defined user groups. Hasn't anybody written a Howto on this somewhere?

Fabricio Guerrero

Friday 10 February 2006 7:30:51 am

Hi Andrew,

What do you mean.. if there's more documentation?? I think not.. but by the way i got this done... I have 3 user groups and a user chooses what he wants to sign up as.. and even later he can choose to upgrade his account wich in ez talk means moving the user from one group to another..

Let me know if you need this and i can paste some of my code..

Regards,
Fabricio

http://www.solobromasychistes.com <<Joomla Site :P
http://www.recipesforhealthyfood.com/ <<Drupal Site :P
http://www.ezforge.com/ <<future ezCommunity, Articles, forums and more...

Andrew Kelly

Monday 13 February 2006 5:26:53 am

Hi Fabricio,

Oh, yes, please! I'll take it all.
Feel free to e-mail it to me if you prefer.

akelly at corisweb dot org

Andrew Kelly

Friday 17 February 2006 5:17:10 am

Fabricio?

Tore Skobba

Monday 20 February 2006 4:40:25 am

Hi

Just added an contribution that could solve your problems.

http://ez.no/community/contribs/workflow/automated_user_placment

Warm regards
Tore

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 22:31:30
Script start
Timing: Jan 18 2025 22:31:30
Module start 'layout'
Timing: Jan 18 2025 22:31:30
Module start 'content'
Timing: Jan 18 2025 22:31:31
Module end 'content'
Timing: Jan 18 2025 22:31:31
Script end

Main resources:

Total runtime0.9333 sec
Peak memory usage4,096.0000 KB
Database Queries76

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 587.9141152.6250
Module start 'layout' 0.00570.0032 740.539139.4453
Module start 'content' 0.00880.9229 779.9844671.4688
Module end 'content' 0.93180.0015 1,451.453120.7813
Script end 0.9333  1,472.2344 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3510160.0002
Check MTime0.00130.1431160.0001
Mysql Total
Database connection0.00090.101410.0009
Mysqli_queries0.842490.2647760.0111
Looping result0.00100.1026740.0000
Template Total0.904396.920.4521
Template load0.00210.228520.0011
Template processing0.902196.659620.4511
Template load and register function0.00010.010310.0001
states
state_id_array0.00080.082810.0008
state_identifier_array0.00140.148320.0007
Override
Cache load0.00190.2029470.0000
Sytem overhead
Fetch class attribute can translate value0.00080.084940.0002
Fetch class attribute name0.00270.2918110.0002
XML
Image XML parsing0.01091.164940.0027
class_abstraction
Instantiating content class attribute0.00000.0040150.0000
General
dbfile0.01021.0939270.0004
String conversion0.00000.000740.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
7content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
8content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
12content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/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: 33
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs