Custom User Accounts possible?

Author Message

Dan C

Wednesday 06 April 2005 10:20:26 am

Hi,

I'd like users on my site to be able to have their login as their email, and password as their phone numbers. Is this possible?

ie I don't want them to have to verify their password in two seperate fields, and there will be no need for the extra 'login' field in the user account datatype.

Is this easily done or would it be a major hack of kernel/user/register|login.php? If someone could point me in the right direction I'd appreciate it.

Thanks,

Dan

Tim Dickinson

Wednesday 06 April 2005 12:17:13 pm

I don't think that would be too difficult, although I would think that your users might want something more secure than their phone numbers as their password.

To edit the user accounts, as far as I know you just need to go into Setup >> Classes >> Users [Class Group] >> User [Class]

You can then add/remove any fields you like.

Cheers

Tim

http://www.AdBalance.com - Ad network news and reviews
http://www.DevPublisher.com - Website publisher guides, tools and news
http://www.AudioMelody.com - Make better music

Dan C

Wednesday 06 April 2005 1:27:36 pm

The user class has a special data type called 'User Account' though--which is not edittable in the admin interface as far as I can tell... and if you edit that I'm not sure what will break.

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

Main resources:

Total runtime0.7747 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0093 589.0469152.6250
Module start 'layout' 0.00930.0046 741.671939.4453
Module start 'content' 0.01390.7595 781.1172527.7266
Module end 'content' 0.77340.0013 1,308.843812.3203
Script end 0.7747  1,321.1641 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.4427160.0002
Check MTime0.00140.1803160.0001
Mysql Total
Database connection0.00400.512810.0040
Mysqli_queries0.721993.1807570.0127
Looping result0.00060.0728550.0000
Template Total0.730194.220.3651
Template load0.00220.283320.0011
Template processing0.727993.960520.3640
Template load and register function0.00020.027610.0002
states
state_id_array0.00170.221510.0017
state_identifier_array0.00100.132420.0005
Override
Cache load0.00190.2428180.0001
Sytem overhead
Fetch class attribute can translate value0.00050.060720.0002
Fetch class attribute name0.00120.157840.0003
XML
Image XML parsing0.00060.083020.0003
class_abstraction
Instantiating content class attribute0.00000.000940.0000
General
dbfile0.00080.1005160.0000
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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs