Different concurrent user classes

Author Message

Paul Forsyth

Tuesday 03 February 2004 11:45:11 am

This is a follow up to a thread from back in May last year:

http://ez.no/community/forum/developer/shop_account_users

At the time I didn't quite understand how eZ built their shop user but after digging around 'shop/userregister.php' and the shop handler for it i understand now. This allows for two types of user to exist on the same site: something that isnt possible with the standard user set up, at least from a registration point of view on the user side.

I have a few reservations about that method, and had a think about whether it would be suitable for our sites. I prefer using standard user objects and classes for user activity.

Would it be possible to add this functionlity to eZ? I might try to change the UserSettings INI values on demand to see if i can have shop and regular users co-existing on a site. From what i can see as long as each user object has a user account attribute all should be well.

However, it would be lovely if this was standard functionality. I'll add an enhancement request.

Paul

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 19 2025 00:25:51
Script start
Timing: Jan 19 2025 00:25:51
Module start 'layout'
Timing: Jan 19 2025 00:25:51
Module start 'content'
Timing: Jan 19 2025 00:25:52
Module end 'content'
Timing: Jan 19 2025 00:25:52
Script end

Main resources:

Total runtime0.7304 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.0054 587.9219152.6250
Module start 'layout' 0.00540.0026 740.546939.4609
Module start 'content' 0.00790.7209 780.0078400.0938
Module end 'content' 0.72890.0015 1,180.10168.1563
Script end 0.7303  1,188.2578 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.4081160.0002
Check MTime0.00130.1715160.0001
Mysql Total
Database connection0.00090.122310.0009
Mysqli_queries0.689794.4274460.0150
Looping result0.00040.0597440.0000
Template Total0.699195.720.3495
Template load0.00210.284020.0010
Template processing0.697095.427120.3485
Template load and register function0.00020.023810.0002
states
state_id_array0.00100.132710.0010
state_identifier_array0.00110.144020.0005
Override
Cache load0.00160.2238100.0002
Sytem overhead
Fetch class attribute can translate value0.00100.138310.0010
Fetch class attribute name0.00090.118810.0009
XML
Image XML parsing0.00010.015510.0001
class_abstraction
Instantiating content class attribute0.00000.000710.0000
General
dbfile0.00070.0896100.0001
String conversion0.00000.000940.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/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: 4
 Number of unique templates used: 4

Time used to render debug report: 0.0001 secs