Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#136 2008-05-26 07:29:25

THE BLUE DRAGON
Member
From: Israel
Registered: 2007-11-16
Posts: 638
Website

Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager

ok I found how to chenge the “from” to a name:

edit the Postmaster Library and search for
$headers = "From: $listAdminEmail".
replace $listAdminEmail
with
Your name <blabla@domain.com>
or
Your name <$listAdminEmail>

so after all you got:
$headers = “Your name <blabla@domain.com>”.
or
$headers = “Your name <$listAdminEmail>”.

enjoy ;)

Offline

#137 2008-05-28 08:08:07

Dandruff
Member
Registered: 2007-03-16
Posts: 18

Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager

Hi there,

I’m trying to add the option to Subscribe OR Unsuscribe to a newsletter called “default” in the same form. And it doesn’t work at all.

It looks like this:

<txp:zem_contact to="email@domain.com">
<txp:zem_contact_email name="zemSubscriberEmail" label="Your email" />
<txp:zem_contact_secret name="zemSubscriberLists" value="default" />
<txp:zem_contact_checkbox name="zemDoSubscribe" label="Subscribe" required="no" value="on"  />
<txp:zem_contact_checkbox name="zemUnSubscribe" label="Unsubscribe" required="no" value="on"  />
<txp:zem_contact_submit />
</txp:zem_contact>

Any idea on how to achieve this?

Offline

#138 2008-05-28 20:34:15

keukenkikker
Member
From: Netherlands
Registered: 2006-08-08
Posts: 79
Website

Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager

I’m also having problems with the <txp:bab_pm_unsubscribeLink /> tag.

The unsuscribe link on the received email is not correct.

The article with the unsubscribe info is at fi. www.mydomain.com\unsubscribe
The unsubscribe link in my email shows: www.mydomain.com\unsubscribe\&uid=

When I click on this link I receive a 404 error – page not found. I assume something has to be done with this &uid= …?

Any idea what I need to do to fix this?

Offline

#139 2008-05-28 20:41:01

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager

Are you sending a test e-mail or a real e-mail?


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#140 2008-05-28 20:51:19

THE BLUE DRAGON
Member
From: Israel
Registered: 2007-11-16
Posts: 638
Website

Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager

keukenkikker Like “maniqui” said:
If it’s a test email or you the admin of that list
go and make a “test” list and add another email address that you got
and then send it by “yes” and not “test” and see, it sould work
I was confus with this too ;)

Last edited by THE BLUE DRAGON (2008-05-28 20:52:17)

Offline

#141 2008-05-28 21:49:25

THE BLUE DRAGON
Member
From: Israel
Registered: 2007-11-16
Posts: 638
Website

Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager

ohh btw I found a bug!
if you create lists 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15
and then send mail to list “1” it is sending it to lists 1,10,11,12,13,14,15
and not only to “1” !

so I changed it to a,b,c,d,e,f,g… and now it’s fine

i’m sending only 40 per send
because of if i’m sending to 200+ at ones it’s giving me errors and going crazy into a loop

and yea if you got only 9 lists you can name them by using numbers but from 10+ it’s getting confused

Last edited by THE BLUE DRAGON (2008-05-28 22:00:45)

Offline

#142 2008-05-28 21:55:18

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager

It’s not a bug, it’s a feature ;)


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#143 2008-05-28 21:59:14

THE BLUE DRAGON
Member
From: Israel
Registered: 2007-11-16
Posts: 638
Website

Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager

maniqui wrote:

It’s not a bug, it’s a feature ;)

lol nice ;)

Offline

#144 2008-05-29 10:07:09

keukenkikker
Member
From: Netherlands
Registered: 2006-08-08
Posts: 79
Website

Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager

When I send a test message, the &uid= is empty.

When I send a message to my test list, the &uid= has a whole bunch of numers behind it, but when I click on it, I still have a 404-error page.

I assume that you should go to the unsubscribe page and the information should be filled out already?

Offline

#145 2008-05-29 10:49:34

THE BLUE DRAGON
Member
From: Israel
Registered: 2007-11-16
Posts: 638
Website

Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager

did you put <txp:bab_pm_unsubscribe /> into your unsubscribe’s article ?

also check if you made the unsubscribe page correctly like:

<html>
<head>
</head>
<body>
you have been successfully unsubscribed from our newsletter!
<txp:article allowoverride="0" form="your_unsubscribe_form" limit="1" pgonly="0" status="4" />
</body>
</html>

Offline

#146 2008-05-29 12:42:00

keukenkikker
Member
From: Netherlands
Registered: 2006-08-08
Posts: 79
Website

Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager

Hi Blue Dragon,

I’ve added the <txp:bab_pm_unsubscribe /> tag to the unsubscribe’s article. However it is not working yet.

I’m totally confused now. The unsubscribe page is this a Textpattern page, a Textpattern form or an article?

I’ve tried it as a form and as an article, but both are not working.

Offline

#147 2008-05-29 14:01:31

THE BLUE DRAGON
Member
From: Israel
Registered: 2007-11-16
Posts: 638
Website

Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager

1. create a page “unsubscribe” like this:

<html>
<head>
</head>
<body>
you have been successfully unsubscribed from our newsletter!
<txp:article allowoverride="0" form="unsubscribe" limit="1" pgonly="0" status="4" />
</body>
</html>

2. create a section “unsubscribe”, and link it to the “unsubscribe” page.
3. create a form (an article form) with only <txp:body /> call it “unsubscribe”.
4. create an article with title “unsubscribe”, put <txp:bab_pm_unsubscribe /> into the body of that article.
5. now you got the next unsubscribe-link: http://www.domain.com/unsubscribe/unsubscribe
copy & paste it into the edit page of the list under “Unsubscribe Url:”.

6. go to your newsletter form and paste this:

<a href="<txp:bab_pm_unsubscribeLink type="text" />">
UNSUBSCRIBE FROM OUR NEWSLETTER</a>

(if you don’t use html email just put <txp:bab_pm_unsubscribeLink type="text" /> )
and I hope it will work ;)

Offline

#148 2008-05-31 07:58:28

keukenkikker
Member
From: Netherlands
Registered: 2006-08-08
Posts: 79
Website

Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager

I’ve been trying and trying, but it’s still not working.

At first the http://www.domain.com/unsubscribe/unsubscribe was not working, when I changed it to http://www.domain.com/unsubscribe the page was accessible (www.keukenkikker.nl/unsubscribe).

However, as soon as the personal code is attached (http://www.keukenkikker.nl/unsubscribe&uid=0c9831d5031a384b2f93e96dc5b57c5e), the 404 page is back again …

Offline

#149 2008-05-31 10:45:44

THE BLUE DRAGON
Member
From: Israel
Registered: 2007-11-16
Posts: 638
Website

Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager

keukenkikker wrote:

I’ve been trying and trying, but it’s still not working.
At first the http://www.domain.com/unsubscribe/unsubscribe was not working, when I changed it to http://www.domain.com/unsubscribe the page was accessible (www.keukenkikker.nl/unsubscribe).

In the admin > Preferences > what is your “Permanent link mode” ?

the link I gived you is for /section/title

change it to what you need to point specifically on the article with the <txp:bab_pm_unsubscribe /> code

Last edited by THE BLUE DRAGON (2008-05-31 10:48:40)

Offline

#150 2008-05-31 12:02:15

keukenkikker
Member
From: Netherlands
Registered: 2006-08-08
Posts: 79
Website

Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager

You’re the GREATEST!

Thanks for your help, it’s working!

Offline

Board footer

Powered by FluxBB