Automated sync with eZ users

Author Message

Ivo Lukac

Saturday 21 February 2009 3:47:46 am

Is there a way to automatically create newsletter subscribers when ezuser is registered?

It can be done manually for every single user but it is not an option.

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

Norman Leutner

Wednesday 18 March 2009 7:13:03 am

I've written a cronjob which sync's the groups with different lists.

[GeneralSettings]
#preset output email format
Format=1

[SubscriptionLists]
# Subscription lists to sync
AvailableLists[]
AvailableLists[]=testnewsletter

[testnewsletter]
GroupNodeID=13
ClassFilterArray[]
ClassFilterArray[]=user

Mit freundlichen Grüßen
Best regards

Norman Leutner

____________________________________________________________
eZ Publish Platinum Partner - http://www.all2e.com
http://ez.no/partners/worldwide_partners/all2e_gmbh

Ivo Lukac

Wednesday 25 March 2009 3:29:40 am

Hello Norman,

Did you share this functionality with community?
For what version of newsletter and ez did you made it?

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

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 30 2025 19:37:54
Script start
Timing: Jan 30 2025 19:37:54
Module start 'layout'
Timing: Jan 30 2025 19:37:54
Module start 'content'
Timing: Jan 30 2025 19:37:55
Module end 'content'
Timing: Jan 30 2025 19:37:55
Script end

Main resources:

Total runtime0.8545 sec
Peak memory usage8,192.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0066 588.2813151.2266
Module start 'layout' 0.00660.0055 739.5078220.7188
Module start 'content' 0.01210.8415 960.22664,454.7188
Module end 'content' 0.85370.0008 5,414.945311.8281
Script end 0.8544  5,426.7734 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.4172160.0002
Check MTime0.00130.1558160.0001
Mysql Total
Database connection0.00070.085310.0007
Mysqli_queries0.764289.4367590.0130
Looping result0.00100.1116570.0000
Template Total0.789592.420.3948
Template load0.00210.246920.0011
Template processing0.787492.149020.3937
Template load and register function0.00140.158110.0014
states
state_id_array0.00150.179910.0015
state_identifier_array0.00140.158820.0007
Override
Cache load0.00180.2073150.0001
Sytem overhead
Fetch class attribute can translate value0.00220.251620.0011
Fetch class attribute name0.00240.284550.0005
XML
Image XML parsing0.00360.427120.0018
class_abstraction
Instantiating content class attribute0.00000.001660.0000
General
dbfile0.00340.3943240.0001
String conversion0.00000.001140.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
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.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: 14
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs