[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4758: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3893)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4760: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3893)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4761: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3893)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4762: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3893)
phplist forums • View topic - [mod] Customizing confirmation emails with custom attributes

[mod] Customizing confirmation emails with custom attributes

3rd party code for phpList

[mod] Customizing confirmation emails with custom attributes

Postby H2B2 » 2:06am, Fri 24 Mar, 2006

Last edited by H2B2 on 7:28am, Fri 29 Feb, 2008, edited 1 time in total.
phpList | | | |
H2B2
Moderator
 
Posts: 7188
Joined: 1:51am, Wed 15 Mar, 2006

Postby Totto » 9:45pm, Fri 24 Mar, 2006

Look at thread - it explains how to be able to add user attributes placeholders in your emails. Hope that helps!
To all forum users: Search the forums when you got a question first! Your question may have already been asked many times before and also many times answered. The search feature is your best friend on any forums of this kind!
Totto
PL Master
 
Posts: 370
Joined: 11:20pm, Tue 31 Jan, 2006

Postby H2B2 » 11:16pm, Sun 26 Mar, 2006

Thanks for pointing out this thread. I'll take a look and see how far i get in solving this problem.

Cheers!
phpList | | | |
H2B2
Moderator
 
Posts: 7188
Joined: 1:51am, Wed 15 Mar, 2006

Postby H2B2 » 9:32pm, Wed 24 May, 2006

Well, it appears most placeholders do not work in the confirmation mails. The placeholders [LISTS], [CONFIRMATIONURL], etc. are some of the exceptions.

A bug report has been filed () and hopefully this problem will be resolved in release 2.11.

Still, most -if not all- placeholders do work in list messages to subscribers.
phpList | | | |
H2B2
Moderator
 
Posts: 7188
Joined: 1:51am, Wed 15 Mar, 2006

Postby H2B2 » 12:44am, Tue 05 Dec, 2006

I ran some tests to check which placeholders would work with specific system messages. These are my test results for Phplist 2.10.3 :

Message they receive when they subscribe
Message they receive when they confirm their subscription


Working
confirmationurl: [CONFIRMATIONURL]
preferencesurl: [PREFERENCESURL]
subscribeurl: [SUBSCRIBEURL]
unsubscribeurl: [UNSUBSCRIBEURL]
lists: [LISTS]
domain: [DOMAIN]
website: [WEBSITE]

Not working
1. all custom placeholders: e.g. [FIRSTNAME]
2. built-in placeholders:
Email: [EMAIL]
forward: [FORWARD]
forwardform: [FORWARDFORM]
forwardurl: [FORWARDURL]
listowner: [LISTOWNER]
preferences: [PREFERENCES]
signature: [SIGNATURE]
subscribe: [SUBSCRIBE]
userid: [USERID]
usertrack: [USERTRACK]
userdata: [USERDATA]
unsubscribe: [UNSUBSCRIBE]


Message that is sent when users change their information

Working
confirmationurl: [CONFIRMATIONURL]
preferencesurl: [PREFERENCESURL]
subscribeurl: [SUBSCRIBEURL]
unsubscribeurl: [UNSUBSCRIBEURL]
lists: [LISTS]
userdata: [USERDATA]

Not working
1. all custom placeholders: e.g. [FIRSTNAME]
2. built-in placeholders:
Email: [EMAIL]
forward: [FORWARD]
forwardform: [FORWARDFORM]
forwardurl: [FORWARDURL]
listowner: [LISTOWNER]
preferences: [PREFERENCES]
signature: [SIGNATURE]
subscribe: [SUBSCRIBE]
userid: [USERID]
usertrack: [USERTRACK]
unsubscribe: [UNSUBSCRIBE]
domain: [DOMAIN]
website: [WEBSITE]


Message users receive when they unsubscribe

Working
confirmationurl: [CONFIRMATIONURL]
preferencesurl: [PREFERENCESURL]
subscribeurl: [SUBSCRIBEURL]
unsubscribeurl: [UNSUBSCRIBEURL]
lists: [LISTS] (will state "All newsletters" instead of listing all lists)

Not working
1. all custom placeholders: e.g. [FIRSTNAME]
2. built-in placeholders:
Email: [EMAIL]
forward: [FORWARD]
forwardform: [FORWARDFORM]
forwardurl: [FORWARDURL]
listowner: [LISTOWNER]
preferences: [PREFERENCES]
signature: [SIGNATURE]
subscribe: [SUBSCRIBE]
userid: [USERID]
usertrack: [USERTRACK]
Userdata: [USERDATA]
unsubscribe: [UNSUBSCRIBE]
domain: [DOMAIN]
website: [WEBSITE]
phpList | | | |
H2B2
Moderator
 
Posts: 7188
Joined: 1:51am, Wed 15 Mar, 2006

Postby rjc » 12:46am, Tue 12 Dec, 2006

rjc
PL Nut
 
Posts: 28
Joined: 10:57pm, Mon 11 Dec, 2006

Postby H2B2 » 4:38am, Tue 12 Dec, 2006

phpList | | | |
H2B2
Moderator
 
Posts: 7188
Joined: 1:51am, Wed 15 Mar, 2006

Postby rain999 » 8:52am, Wed 18 Apr, 2007

rain999
phpLister
 
Posts: 11
Joined: 5:42am, Tue 17 Apr, 2007

Re: [mod] Customizing confirmation emails with custom attributes

Postby splowar » 5:20am, Mon 26 Jul, 2010

splowar
phpList newbie
 
Posts: 1
Joined: 5:13am, Mon 26 Jul, 2010

Re: [mod] Customizing confirmation emails with custom attributes

Postby AndrewFickling » 9:00am, Thu 16 Sep, 2010

This is excellent.... Applied and standard system emails now have correct placeholder info.

However does this work with the system messages/pages created using a custom subscribe page?

My custom subscribe page seems not to work in the same way as the main customisation pages.

Also can all pages have html content to format the system messages. If so what is the format for these... A full html page or just part?

Many thanks
AndrewFickling
phpLister
 
Posts: 5
Joined: 6:38pm, Mon 07 Sep, 2009

Re: [mod] Customizing confirmation emails with custom attributes

Postby NickLaenen » 7:15am, Thu 07 Oct, 2010

wow amazing add-on! Almost all confirmation mails are in html and with the attributes.

The only mail that doesn't work with the HTML is the mail when the user has changed it's information.
Does anyone know how to make this work?


*** Update: The problem with the changed information e-mail is the fact that somewhere in the code the it puts a '\' before every "-sign. Does someone know how to solve this issue? It seems to be a PHP thing called 'addslashes', but I can't find the problem in the LIB file
NickLaenen
phpList newbie
 
Posts: 1
Joined: 7:02am, Thu 07 Oct, 2010

Re: [mod] Customizing confirmation emails with custom attributes

Postby shiftinglight » 4:03pm, Sun 12 Dec, 2010

Yes, thanks, works a treat!
shiftinglight
phpLister
 
Posts: 5
Joined: 3:31pm, Fri 12 Nov, 2010

Re: [mod] Customizing confirmation emails with custom attributes

Postby andrew55 » 4:57pm, Thu 04 Aug, 2011

andrew55
phpLister
 
Posts: 12
Joined: 1:54am, Sun 31 Jul, 2011

Re: [mod] Customizing confirmation emails with custom attributes

Postby fitzybhoy » 9:45am, Mon 08 Aug, 2011

everything seems to work fine for me...
fitzybhoy
phpList newbie
 
Posts: 1
Joined: 9:42am, Mon 08 Aug, 2011

Re: [mod] Customizing confirmation emails with custom attrib

Postby Craxx » 1:55pm, Tue 20 Sep, 2011

Why is that no STANDART in phplist, i can´t understand????
Craxx
PL Nut
 
Posts: 20
Joined: 7:11pm, Fri 26 Nov, 2010

Next

Return to Contributions: Plug-ins, Add-ons, Mods

Who is online

Users browsing this forum: No registered users and 1 guest