User registration/creation - choosing the user group

Author Message

Piotrek Karaś

Tuesday 05 June 2007 1:13:01 am

Hello,

Is it possible to alter or expand the user registration functionality so that:
1 ) newly registered user is created under user group other than 'guest accounts' node?
2) newly registered user nodes are created under user group nodes based on some sort of parameter? For example, current siteaccess?

Is it possible to have two independent registration interfaces for the above goals?

Any suggestions greatly appreciated!

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

Bruce Morrison

Tuesday 05 June 2007 2:06:47 am

Hi Piotrek

1 ) newly registered user is created under user group other than 'guest accounts' node?

See site.ini
[UserSettings]
# Where to store newly self registered users
DefaultUserPlacement=12

http://ez.no/doc_hidden/ez_publish/technical_manual/3_6/reference/configuration_files/site_ini/usersettings/defaultuserplacement

2) newly registered user nodes are created under user group nodes based on some sort of parameter? For example, current siteaccess?

I think you'd have to do this as an on publish workflow

Is it possible to have two independent registration interfaces for the above goals?

With different site accesses you could, or you could create a custom module view (based on user/register) in you own extension.

HTH

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

Piotrek Karaś

Tuesday 05 June 2007 3:34:11 am

Hi Bruce,

This says it all, thanks a lot!

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

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 31 2025 01:17:27
Script start
Timing: Jan 31 2025 01:17:27
Module start 'layout'
Timing: Jan 31 2025 01:17:27
Module start 'content'
Timing: Jan 31 2025 01:17:27
Module end 'content'
Timing: Jan 31 2025 01:17:27
Script end

Main resources:

Total runtime0.0268 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 588.2578151.2266
Module start 'layout' 0.00490.0044 739.4844220.7188
Module start 'content' 0.00930.0157 960.20311,001.9297
Module end 'content' 0.02500.0017 1,962.132833.9922
Script end 0.0267  1,996.1250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003111.4224140.0002
Check MTime0.00124.5105140.0001
Mysql Total
Database connection0.00093.198910.0009
Mysqli_queries0.00217.751330.0007
Looping result0.00000.045410.0000
Template Total0.00114.210.0011
Template load0.00093.255010.0009
Template processing0.00030.934710.0003
Override
Cache load0.00062.167010.0006
General
dbfile0.00155.717980.0002
String conversion0.00000.030340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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