Users reg. without lastname, firstname duplication

Author Message

J-A Eberhard

Friday 22 April 2005 12:03:26 am

Hi,
When the user register I want to avoid not only that the username is already used but also that firstname and lastname are not already in uses.
How can I do this?
JAE

Open Source Solution Provider
Open-Net Ltd Switzerland
http://www.open-net.ch

Frederik Holljen

Monday 25 April 2005 6:07:57 am

You will have to change the eZ publish kernel code to accomplish this. In the future we will create hooks for the workflow system in these places so you can change this behavior simply by making a workflow.

J-A Eberhard

Monday 25 April 2005 6:10:57 am

Where should the changes been done? In kernel/register.php.

What do you mean by 'in the future'? Ez 3.6 or eZ 4.0?

Open Source Solution Provider
Open-Net Ltd Switzerland
http://www.open-net.ch

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 23:30:02
Script start
Timing: Jan 20 2025 23:30:02
Module start 'layout'
Timing: Jan 20 2025 23:30:02
Module start 'content'
Timing: Jan 20 2025 23:30:03
Module end 'content'
Timing: Jan 20 2025 23:30:03
Script end

Main resources:

Total runtime1.3597 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.0082 588.0625151.2266
Module start 'layout' 0.00820.0256 739.289136.6797
Module start 'content' 0.03381.3249 775.9688562.5078
Module end 'content' 1.35870.0009 1,338.476611.8125
Script end 1.3597  1,350.2891 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00720.5262160.0004
Check MTime0.00430.3126160.0003
Mysql Total
Database connection0.00090.063210.0009
Mysqli_queries1.275593.8067570.0224
Looping result0.00070.0489550.0000
Template Total1.260492.720.6302
Template load0.00320.238420.0016
Template processing1.257192.455720.6286
Template load and register function0.00010.007810.0001
states
state_id_array0.00410.298710.0041
state_identifier_array0.00310.225320.0015
Override
Cache load0.00260.1924150.0002
Sytem overhead
Fetch class attribute can translate value0.00080.055620.0004
Fetch class attribute name0.00310.228250.0006
XML
Image XML parsing0.00120.089720.0006
class_abstraction
Instantiating content class attribute0.00000.001260.0000
General
dbfile0.00230.1703210.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
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/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: 12
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs