Searching for members activated

Author Message

Jorge estévez

Sunday 31 October 2010 3:33:03 am

Hello,

 

The process of registering at an ez site ends up when a user receives an e-mail with a link to click (when activated as default)...

 

I am making a fetch at member’s users and I can reach all of them... But I need to know which ones are really "activated" at the site and which of them haven´t confirm their activation at the site by clicking the link sent in the e-mail...

 

I have done several attribute (show) but cannot figure out what to look for...

 

Need help,

 

Thanks

Diseño Web Cuba
Web Design Cuba
www.elfosdesign.com

Heath

Sunday 31 October 2010 9:46:05 am

Hello Jorge,

I recently had to do something fairly similar.

Which is why I recommend a custom module view for the above need.

Because after you fetch all your users from the content tree you can fetch the eZUser object and call isEnabled method for each to determin if the user is disabled.

$user_object->isEnabled();

From: http://pubsvn.ez.no/doxygen/trunk/html/classeZUser.html

Cheers,

Heath

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

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 17 2025 23:48:51
Script start
Timing: Jan 17 2025 23:48:51
Module start 'layout'
Timing: Jan 17 2025 23:48:51
Module start 'content'
Timing: Jan 17 2025 23:48:52
Module end 'content'
Timing: Jan 17 2025 23:48:52
Script end

Main resources:

Total runtime1.4243 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.0088 587.9141152.6250
Module start 'layout' 0.00880.0034 740.539139.4531
Module start 'content' 0.01221.4109 779.9922523.0234
Module end 'content' 1.42310.0011 1,303.01568.3203
Script end 1.4242  1,311.3359 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.2560160.0002
Check MTime0.00140.0980160.0001
Mysql Total
Database connection0.00220.154110.0022
Mysqli_queries1.372696.3698540.0254
Looping result0.00050.0363520.0000
Template Total1.388697.520.6943
Template load0.00200.140520.0010
Template processing1.386697.356520.6933
Template load and register function0.00020.014810.0002
states
state_id_array0.00080.055310.0008
state_identifier_array0.00120.086820.0006
Override
Cache load0.00170.1170240.0001
Sytem overhead
Fetch class attribute can translate value0.00120.087520.0006
Fetch class attribute name0.00120.086230.0004
XML
Image XML parsing0.00070.051520.0004
class_abstraction
Instantiating content class attribute0.00000.000530.0000
General
dbfile0.00090.0639170.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
2content/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
1content/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: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs