Forums / Extensions / eZ Newsletter / Automated sync with eZ users

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

eZ debug

Timing: Jan 31 2025 00:21:51
Script start
Timing: Jan 31 2025 00:21:51
Module start 'content'
Timing: Jan 31 2025 00:21:51
Module end 'content'
Timing: Jan 31 2025 00:21:51
Script end

Main resources:

Total runtime0.0252 sec
Peak memory usage6,144.0000 KB
Database Queries4

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0082 588.0781370.2344
Module start 'content' 0.00820.0138 958.31251,002.7500
Module end 'content' 0.02200.0032 1,961.062570.7031
Script end 0.0252  2,031.7656 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00249.3428120.0002
Check MTime0.00103.8598120.0001
Mysql Total
Database connection0.00103.919310.0010
Mysqli_queries0.003212.791640.0008
Looping result0.00000.048220.0000
Template Total0.002911.410.0029
Template load0.00072.719310.0007
Template processing0.00228.703210.0022
Override
Cache load0.00051.886010.0005
General
dbfile0.00207.8329100.0002
String conversion0.00000.026530.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs