How to log in my custom user class?

Author Message

Pål Øystein Carlsen

Monday 17 November 2003 1:44:57 am

I have now created a custom user class: custom_user

It works almost fine. I can now register new users and when I submit them I find them where I want them in the admin interface. however I can't login with my custom users. I get a message saying I can't login because I need a valid username/password.

First I thought this might be a rights issue again, but the funny thing is if I create a custom_user from the admin interface I can log in with no trouble. It seems like there is an issue with user account activation here.

In
settings\siteaccess\my site\site.ini.append I originaly had
[UserSettings]
RegistrationEmail=enabled but when I used the standard user class I could login even though no email was sent.
However, changing it to disabled does not change anything. I still get a message telling me a verification email has been sent.
If I am to interpret the file success.tpl
{section show=$verify_user_email} is still true even if I change the RegistrationEmail parameter to disabled.

If anybody has any thoughts about this I would be most greatfull.

Pål

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 01:09:28
Script start
Timing: Jan 19 2025 01:09:28
Module start 'layout'
Timing: Jan 19 2025 01:09:28
Module start 'content'
Timing: Jan 19 2025 01:09:29
Module end 'content'
Timing: Jan 19 2025 01:09:29
Script end

Main resources:

Total runtime0.8967 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.0068 589.1641152.6250
Module start 'layout' 0.00680.0035 741.789139.4609
Module start 'content' 0.01030.8850 781.2500401.5625
Module end 'content' 0.89520.0015 1,182.81258.1563
Script end 0.8967  1,190.9688 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.4285160.0002
Check MTime0.00150.1691160.0001
Mysql Total
Database connection0.00060.071010.0006
Mysqli_queries0.856995.5560460.0186
Looping result0.00040.0479440.0000
Template Total0.862996.220.4315
Template load0.00210.236120.0011
Template processing0.860895.993820.4304
Template load and register function0.00010.011810.0001
states
state_id_array0.00100.114210.0010
state_identifier_array0.00100.114120.0005
Override
Cache load0.00170.1918150.0001
Sytem overhead
Fetch class attribute can translate value0.00050.057710.0005
Fetch class attribute name0.00070.082410.0007
XML
Image XML parsing0.00010.012210.0001
class_abstraction
Instantiating content class attribute0.00010.005710.0001
General
dbfile0.00080.0872100.0001
String conversion0.00000.001240.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
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 6
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs