Users without login

Author Message

Remco Wulms

Monday 31 January 2005 5:51:56 am

Hi,

I'm designing a site in eZp 3.5.0, and don't want to bother users with coming up with, and remembering, a login name. The only fields they have to provide upon registering are first name, last name, email address and password. Logging in should be possbible by providing email and password. However, I think removing the login field completely will cause eZp to stop working correctly. The email address field is also needed, since confirmation mails etc. need to be send to the user.

A solution may be to force the login and email address to be the same. I tried this by remove the login field from register.tpl, and modify setInformation() in kernel/classes/datatypes/ezuser/ezuser.php so it will set the login field of the user according to the provided email address.

Apart from the fact that this method is not preferable (modifying kernel code), it doesn't work satisfactory either. Users can register with an existing email address, to name a problem.

Is there anyone who knows a solution to solve this problem nicely? Maybe this is possible a lot easier in a way that I'm not aware of.

Thanks, Remco.

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

Main resources:

Total runtime1.6428 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.0050 589.1484152.6250
Module start 'layout' 0.00500.0027 741.773439.4297
Module start 'content' 0.00761.6330 781.2031399.5703
Module end 'content' 1.64060.0021 1,180.77348.1875
Script end 1.6427  1,188.9609 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.2010160.0002
Check MTime0.00130.0800160.0001
Mysql Total
Database connection0.00060.039610.0006
Mysqli_queries1.603897.6246460.0349
Looping result0.00050.0287440.0000
Template Total1.610398.020.8051
Template load0.00230.140320.0012
Template processing1.607997.876620.8040
Template load and register function0.00020.013510.0002
states
state_id_array0.00150.088610.0015
state_identifier_array0.00150.091420.0008
Override
Cache load0.00180.110490.0002
Sytem overhead
Fetch class attribute can translate value0.00070.041910.0007
Fetch class attribute name0.00070.044510.0007
XML
Image XML parsing0.00010.005410.0001
class_abstraction
Instantiating content class attribute0.00000.000310.0000
General
dbfile0.00080.0513100.0001
String conversion0.00000.002040.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