Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

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

THE BLUE DRAGON
Member
From: Israel
Registered: 2007-11-16
Posts: 637
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: 637
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: 637
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

#151 2008-06-19 07:23:44

worths1
Member
Registered: 2005-03-08
Posts: 18

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

maniqui wrote:

hi ben,

this is an output of <txp:bab_pm_data display="Excerpt_html" strip_html="yes" />

Another quite enlightening column and newsletter for those who speak German is Der Spiegel’s Zwiebelfisch by Bastian Sick.  The newsletter might well be included in the "Eats Shoots and Leaves” phenomenon, with three volumes already published and a successful tour around Germany.

       In his issue of October 31, 2006, he discussed English loan words in German under an innovative perspective (and very clever, too)

First issue: the closing quote is being converted to an HTML entity (as if it has been textiled). Have tested this in other articles and it’s always the same.
Second issue: the 7 blank spaces before “In his issue of…”. I don’t know where they come from. Also tested with other articles and it’s the same.

I fixed issue one by editing the Postmaster Library. Find the function “deglyph” near the bottom and replace „ in the glyphs array with ”.

Issue two is over my head. I’d like to understand it, too.

Thanks.

Offline

#152 2008-06-22 16:10:04

donkeyd
New Member
Registered: 2008-06-22
Posts: 5

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

i installed postmaster and i get this when i go in the postmaster tab:
Warning: Missing argument 1 for page_url() in /home/content/s/t/a/stanfordplanet/html/textpattern/publish/taghandlers.php on line 2911

Warning: array_keys(): The first argument should be an array in /home/content/s/t/a/stanfordplanet/html/textpattern/lib/txplib_misc.php on line 651

Warning: array_diff(): Argument #1 is not an array in /home/content/s/t/a/stanfordplanet/html/textpattern/lib/txplib_misc.php on line 651

Warning: Invalid argument supplied for foreach() in /home/content/s/t/a/stanfordplanet/html/textpattern/lib/txplib_misc.php on line 651

any help would be appreciated.

Thanks in advance

Offline

#153 2008-06-22 16:24:16

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,446
Website GitHub

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

donkeyd wrote:

i installed postmaster and i get this when i go in the postmaster tab: [snip]

It’s a known issue with the plugin but does not affect its performance as far as I can tell.

They are only warnings due to undeclared stuff in the code. If you are feeling brave, there are some fixes you can make to the plugin. If you don’t feel confident doing that, just switch your site to Live mode and the errors go away ;-)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#154 2008-06-27 09:21:35

vinterstille
Member
From: Denmark
Registered: 2005-01-09
Posts: 17
Website

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

I have succesfully installed the plugin and set the site to ‘live’ to omit the error messages. There is a subscriber, list and an admin.
But after i create a post in a non-published section and try to send it to the ‘default’ list, i get a:

301
Moved Permanently
The document has moved here. (link to site/textpattern/index.php)
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

Can anybody help me?

.klaus

Edit: I can save an article with “email to subscribers” set to no, but set to “yes” or “test” i get the 301 error…
ANY help is appreciated!

Last edited by vinterstille (2008-07-18 14:14:54)


http://vinterstille.dk

Offline

#155 2008-07-14 13:41:35

catnip
Member
From: Sydney Australia
Registered: 2006-07-29
Posts: 58
Website

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

Ben, to learn how to use the plugin I’ve gone through the manual step by step. Have tried to implement the automatic subscription-date code from the manual

<txp:bab_pm_zemTime custom_field="zemSubscriberCustom1" />

but when subscribing a new user using the form on my test page, the custom field doesn’t get included in the email nor is it added to the new user’s information. The html behind that page shows:

<input type="hidden" name="zemSubscriberCustom1" value="July 14, 2008, 11:23 pm" >

Any idea why it isn’t working?

Offline

#156 2008-07-16 09:09:08

pieman
Member
From: Bristol, UK
Registered: 2005-09-22
Posts: 491
Website

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

I’m having a small problem with escaped ampersands in file download links.

My newsletter_email form (set in the Postmaster prefs) includes a call to upm_file to loop over any files attached and list the download links in the plain text email.

<txp:bab_pm_data display="custom_3" />
<txp:if_custom_field name="files">
There are some files to download:
<txp:upm_article_file_list form="files_download" />
</txp:if_custom_field>

The problem is that the download links don’t work because of the escaped ampersand – and lead to a 404 page
eg. they’re output as /index.php?s=file_download&#38;id=2
rather than /index.php?s=file_download&id=2

I tried to follow Worths1’s lead and edit the Postmaster Library. I replaced '&#38;', with '&', on line 573, but it made no difference.

Anyone else had this problem?

cheers
Stu

Offline

Board footer

Powered by FluxBB