Register users of different classes, same siteaccess

Author Message

Igor Vrdoljak

Tuesday 16 May 2006 10:15:37 am

Hi

On my site I have 2 types of users, and both need to be able to register within the same siteaccess.

I know how to register custom-class user through UserSettings in site.ini (by using UserClassID tag), but I need to register multiple types of users, so fixing it to a single custom class won't help.

Is there a way of providing information to user/register which user class to use when creating the user (again, apart from UserSettings in site.ini, because I need to register them within the same siteaccess).

Thnx in advance.

http://www.netgen.hr/eng
http://twitter.com/ivrdoljak

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 19:11:57
Script start
Timing: Jan 18 2025 19:11:57
Module start 'layout'
Timing: Jan 18 2025 19:11:57
Module start 'content'
Timing: Jan 18 2025 19:11:57
Module end 'content'
Timing: Jan 18 2025 19:11:57
Script end

Main resources:

Total runtime0.6745 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 589.2891152.6563
Module start 'layout' 0.00650.0037 741.945339.4922
Module start 'content' 0.01010.6630 781.4375461.1719
Module end 'content' 0.67310.0013 1,242.60948.1250
Script end 0.6745  1,250.7344 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.5120160.0002
Check MTime0.00130.1951160.0001
Mysql Total
Database connection0.00080.120410.0008
Mysqli_queries0.629793.3638460.0137
Looping result0.00040.0654440.0000
Template Total0.636594.420.3182
Template load0.00220.320220.0011
Template processing0.634394.039620.3171
Template load and register function0.00030.039410.0003
states
state_id_array0.00100.140910.0010
state_identifier_array0.00070.108520.0004
Override
Cache load0.00170.257290.0002
Sytem overhead
Fetch class attribute can translate value0.00080.113910.0008
Fetch class attribute name0.00170.246120.0008
XML
Image XML parsing0.00240.352710.0024
class_abstraction
Instantiating content class attribute0.00000.000920.0000
General
dbfile0.00210.3136160.0001
String conversion0.00000.001440.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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 5
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs