How to change the user registration process

Author Message

Oliver Frommel

Tuesday 05 August 2008 11:28:07 am

Hello,

for a new site we need to establish a relatively complex registration process including:
payment details, checking against a database and so on. How can we do this, where do we start?

Thanks
Oliver

Piotrek Karaƛ

Tuesday 05 August 2008 11:54:58 am

Hi,

If you want to have that in all in registration, then probably you will have to create some custom datatypes that would handle different checks, validations etc. I find the datatype one of the most flexible interfaces between eZ and "custom/outside world".

For one of our projects where we have online payments, we separated user registration (it's a bit community site) and payment account registration. It is impossible then to take certain actions (again, with a use of almost-empty validation-purpose datatype) if you do not have valid payment account, which is not required for access, though.

Please share if you can the final outcome of this project.

Piotrek

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

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 18:37:24
Script start
Timing: Jan 18 2025 18:37:24
Module start 'layout'
Timing: Jan 18 2025 18:37:24
Module start 'content'
Timing: Jan 18 2025 18:37:25
Module end 'content'
Timing: Jan 18 2025 18:37:25
Script end

Main resources:

Total runtime0.7160 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 588.0469152.6406
Module start 'layout' 0.00570.0035 740.687539.4766
Module start 'content' 0.00930.7052 780.1641523.5938
Module end 'content' 0.71450.0014 1,303.75788.1250
Script end 0.7159  1,311.8828 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.4997160.0002
Check MTime0.00170.2403160.0001
Mysql Total
Database connection0.00120.174310.0012
Mysqli_queries0.670293.6130540.0124
Looping result0.00050.0649520.0000
Template Total0.683995.520.3419
Template load0.00230.320320.0011
Template processing0.681695.197620.3408
Template load and register function0.00020.029610.0002
states
state_id_array0.00090.129510.0009
state_identifier_array0.00080.114620.0004
Override
Cache load0.00180.2578150.0001
Sytem overhead
Fetch class attribute can translate value0.00110.151020.0005
Fetch class attribute name0.00180.244730.0006
XML
Image XML parsing0.00100.141820.0005
class_abstraction
Instantiating content class attribute0.00000.001430.0000
General
dbfile0.00140.1956170.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.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: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs