Forums / Developer / Upgrading User - is it possible?

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

eZ debug

Timing: Jan 31 2025 01:27:29
Script start
Timing: Jan 31 2025 01:27:29
Module start 'content'
Timing: Jan 31 2025 01:27:29
Module end 'content'
Timing: Jan 31 2025 01:27:29
Script end

Main resources:

Total runtime0.1585 sec
Peak memory usage8,192.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 589.0625370.2969
Module start 'content' 0.00580.0130 959.35941,009.5313
Module end 'content' 0.01880.1396 1,968.89063,898.2109
Script end 0.1584  5,867.1016 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00392.4784200.0002
Check MTime0.00120.7322200.0001
Mysql Total
Database connection0.00060.376710.0006
Mysqli_queries0.079550.17781410.0006
Looping result0.00090.58511390.0000
Template Total0.139387.910.1393
Template load0.00080.474510.0008
Template processing0.138587.397010.1385
Override
Cache load0.00050.332610.0005
Sytem overhead
Fetch class attribute can translate value0.00140.907510.0014
XML
Image XML parsing0.00020.153310.0002
General
dbfile0.00805.0540200.0004
String conversion0.00000.003230.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