custom user class problem

Author Message

Alain Mangana

Friday 02 October 2009 3:40:41 am


I created the user in a location other than mysite_admin / Users, I have created in mysite_admin / Content / mygroup_user but I can not connect with these accounts in F-O.

Here is my setup:


[UserSettings]
DefaultUserPlacement=2457
UserClassID=47
VerifyUserEmail=enabled
AuthenticateMatch=login;email

is there something I forgot?

http://tikdem.com
/

Mark Simon

Friday 02 October 2009 6:29:39 am

You have to place the user class in a class-group
and You'll need to mention that group in the site.ini with your user class

[UserSettings]
UserClassID=47
UserClassGroupID=xy

www.all2e.com

Hassan CHAKROUN

Monday 06 June 2011 1:20:41 am

Hi

for me I'm trying to customize user class  twice.

first for customer, second for provider.

with different form for every one.

Customers and providers  have to create there account in front office.

How can I put up this ?

 

Thank you so much.

Gaetano Giunta

Monday 06 June 2011 2:21:19 pm

@Hassan: if you want the users to go through user/register, I'm afraid you should set up two separate siteaccesses, and change the UserClassId parameter.

Or you can create a custom module/view that uses a different class for the user objects based on some other conditions...

Principal Consultant International Business
Member of the Community Project Board

Hassan CHAKROUN

Thursday 09 June 2011 8:24:27 am

thanks Giunta

I think the second solution is better (module/view).

my worry now is that I have to allow visitors to create two different account 'employee' and 'employer' with different attributs for each one.

and when the employee or employer  click a link  register (user/register), I have to disolay two different forms according to who try to create account.

and where the emplyee account is created, he can select some employers in a list  that I have to add theme to the user object by  related objects.

if you have any idea keep me in touch

thank you so much.

 

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 03:09:11
Script start
Timing: Jan 18 2025 03:09:11
Module start 'layout'
Timing: Jan 18 2025 03:09:11
Module start 'content'
Timing: Jan 18 2025 03:09:12
Module end 'content'
Timing: Jan 18 2025 03:09:12
Script end

Main resources:

Total runtime1.0982 sec
Peak memory usage4,096.0000 KB
Database Queries67

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0067 589.0469152.6250
Module start 'layout' 0.00670.0036 741.671939.4453
Module start 'content' 0.01041.0863 781.1172648.8594
Module end 'content' 1.09670.0015 1,429.976616.1641
Script end 1.0982  1,446.1406 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.3214160.0002
Check MTime0.00140.1281160.0001
Mysql Total
Database connection0.00090.085610.0009
Mysqli_queries1.028793.6724670.0154
Looping result0.00080.0714650.0000
Template Total1.065897.020.5329
Template load0.00210.189220.0010
Template processing1.063796.856020.5319
Template load and register function0.00020.015610.0002
states
state_id_array0.00120.107410.0012
state_identifier_array0.00140.124120.0007
Override
Cache load0.00170.1572390.0000
Sytem overhead
Fetch class attribute can translate value0.00160.147140.0004
Fetch class attribute name0.00150.138190.0002
XML
Image XML parsing0.00370.339440.0009
class_abstraction
Instantiating content class attribute0.00000.0016100.0000
General
dbfile0.00290.2629340.0001
String conversion0.00000.000840.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
5content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 22
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs