Add users from the front end

Author Message

Thibaut D

Wednesday 06 June 2007 3:55:15 am

Hi all

Thanks for this support forum !

Just one question about the eznewsletter extension.
I installed it, it seems to be good but I don' t know where I can add user from the front office.
I have an input text field which will receive the email of the user and a ok button.
When a user fill in the email field and press ok, I want to automatically subscribe him in my subscription list .
Is it possible at all ? which URL can I use to do this action ?
Thanks in advance, I will have other questions next maybe.

Tibo

Tobias Struckmeier

Wednesday 06 June 2007 3:37:33 pm

Hi,

you have to access the module ../newsletter/register_subscription/XXX.
Where XXX is the ID or a custom choosen string by you when creating the subscription list.
So it should be normally something like
http://yourhostname/newsletter/register_subscription/1

I hope that helps you.
Additionally I would like to point you to the documentation as well: http://ez.no/doc/extensions/newsletter

Cheers

Thibaut D

Thursday 02 August 2007 1:12:48 am

Thanks, it helped me a lot ;)
Nice extension, well done !

Jean-Luc Nguyen

Friday 12 October 2007 2:23:10 am

Hello there,

I would like to know if I can bypass the "http://yourhostname/newsletter/register_subscription/1" form to subscribe to a newsletter. I have a contact form with collected info fields and a checkbox "subscribe to newsletter".

Thanks a lot, I'll hope somebody help me!

http://www.acidre.com

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 10:33:16
Script start
Timing: Jan 18 2025 10:33:16
Module start 'layout'
Timing: Jan 18 2025 10:33:16
Module start 'content'
Timing: Jan 18 2025 10:33:16
Module end 'content'
Timing: Jan 18 2025 10:33:16
Script end

Main resources:

Total runtime0.0158 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 588.0625152.6406
Module start 'layout' 0.00570.0035 740.703139.4766
Module start 'content' 0.00920.0045 780.179790.4141
Module end 'content' 0.01370.0021 870.593834.3047
Script end 0.0158  904.8984 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002515.8860140.0002
Check MTime0.00117.0039140.0001
Mysql Total
Database connection0.00085.363610.0008
Mysqli_queries0.003521.835530.0012
Looping result0.00000.088910.0000
Template Total0.001711.010.0017
Template load0.00106.065510.0010
Template processing0.00084.947910.0008
Override
Cache load0.00074.194810.0007
General
dbfile0.00031.583080.0000
String conversion0.00000.051240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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