Register User in custom Class

Author Message

H-Works Agency

Friday 22 June 2007 5:26:47 am

Hi all,

How can i configure the "register user" action to publish user's object using a custom class (and not the default "user" class) ?

The aim is to have different user classes depending on if you are a admin user (would use the normal user class) or a site user (would use a custom user class with more fields and informations).

Thanx in advance.

EZP is Great

André R.

Friday 22 June 2007 5:31:08 am

Take a look at [UserSettings] in site.ini

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Łukasz Serwatka

Friday 22 June 2007 5:48:56 am

See also:
http://ez.no/community/forum/setup_design/custom_user_class/re_custom_user_class
http://ez.no/community/forum/setup_design/registering_custom_user
http://ez.no/community/forum/developer/custom_userclass_cannot_be_assigned_roles

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

H-Works Agency

Friday 22 June 2007 6:02:02 am

Thanx a lot everyone - in fact its pretty simple...i could have searched the forum first :\

EZP is Great

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 20 2025 06:51:22
Script start
Timing: Jan 20 2025 06:51:22
Module start 'layout'
Timing: Jan 20 2025 06:51:22
Module start 'content'
Timing: Jan 20 2025 06:51:22
Module end 'content'
Timing: Jan 20 2025 06:51:22
Script end

Main resources:

Total runtime0.0160 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 589.1563152.6250
Module start 'layout' 0.00480.0038 741.781339.4453
Module start 'content' 0.00860.0052 781.226693.3203
Module end 'content' 0.01380.0021 874.546934.3047
Script end 0.0159  908.8516 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002415.0568140.0002
Check MTime0.00116.8489140.0001
Mysql Total
Database connection0.00063.772810.0006
Mysqli_queries0.003421.149330.0011
Looping result0.00000.131310.0000
Template Total0.001710.510.0017
Template load0.00095.600210.0009
Template processing0.00084.843910.0008
Override
Cache load0.00063.829510.0006
General
dbfile0.00031.633580.0000
String conversion0.00000.049240.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