Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager
Ben,
I tried to see if I could identify the source of the “Missing argument 1 for page_url()” error. I think it is the result of the two lines that read $page_url = page_url(). Would it be possible to use something like $page_url = $_SERVER['REQUEST_URI'];? I guess I’m not sure how much information page_url() returns or if there might be problems with the idea I suggested.
Offline
Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager
tye wrote:
I’ve been thinking about this all weekend – but how would I set up templates/sections/categories so that you could have a main news item, the blocks of items showing links, blog excerpts or something similar.
<txp:article_custom/>
Offline
Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager
Thanks jm – I know that its possible in templates – what I was trying to get at was whether how to structure each newsletter… should I have a year for a the section, then weeks or months for the categories and I was trying to figure out if I would need several articles per newsletter.
With more playing I think it is heading this way – but was just trying to get others ideas.
Thanks anyway
Offline
#94 2008-03-10 13:20:32
- erlando
- New Member
- Registered: 2008-03-10
- Posts: 2
Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager
Hi,
I’m just setting up Postmaster for newsletter usage. Everything seems to be going fine except this one thing.
How do I send a confirmation e-mail back to the e-mail address the user just submitted? This is standard netiquette yet I can’t seem to find the option to do just that.
Thanks
Offline
Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager
erlando,
Look at the documentation for zem_contact_reborn. I believe that’s an option you can set in the form tag.
- Ben
Offline
#96 2008-03-16 12:21:50
- nardo
- Member

- From: tuvalahiti
- Registered: 2004-04-22
- Posts: 743
Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager
having a problem with unsubscribe
this is the code in an article
<txp:zem_contact to="me@me.net" label="" thanks="You have been unsubscribed from this list." subject="[Newsletter] unsubscribe notice">
<txp:zem_contact_email name="zemSubscriberEmail" label="Your Email:" /><br />
<txp:zem_contact_checkbox name="zemUnSubscribe" label="Unsubscribe:" required="no" /><br />
<txp:zem_contact_secret name="zemSubscriberLists" value="Newsletter" />
<txp:zem_contact_submit />
</txp:zem_contact>
I get a notification email. But viewing the subscriber list – subscriber is still there!
I can delete the subscriber through the backend.
Offline
Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager
I had the same problem. I found that by putting the unsubscribe flag in a zem_secret tag I was able to successfully unsubscribe a user. Here’s the code I used:
<txp:zem_contact to="EMAIL" subject="Unsubscription Notice" label="" thanks_form="unsubscribe_success">
<p>To unsubscribe simply enter your email and submit the form.</p>
<txp:zem_contact_email name="zemSubscriberEmail" label="Your Email:" />
<txp:zem_contact_secret name="zemUnSubscribe" value="on" />
<txp:zem_contact_submit />
</txp:zem_contact>
Offline
#98 2008-03-16 22:14:55
- nardo
- Member

- From: tuvalahiti
- Registered: 2004-04-22
- Posts: 743
Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager
yep thanks jdykast – that got unsubscribe working
Offline
Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager
nardo and jdykast,
I think the value="on" in jdykast’s version may be the difference, rather than the secret aspect.
- Ben
Offline
#100 2008-03-17 18:52:52
- nardo
- Member

- From: tuvalahiti
- Registered: 2004-04-22
- Posts: 743
Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager
thanks ben – maybe update your docs – I copied & pasted from there
Offline
#101 2008-03-18 00:17:16
Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager
I thought I checked the contents of $_POST while using the checkbox and even when “on” was supplied as the value of zemUnSubscribe it wasn’t working. It’s been a couple of days since I tested the form so I could just be imagining things.
As a side note, I too copied the code from the helps docs.
Offline
#102 2008-03-18 17:28:07
Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager
nardo and jdykast,
I’m really not sure. Glad you figured it out and I’ve updated the docs (added value="on" to the original, and added jdykast’s working tag as well).
Thanks,
- Ben
Offline
#103 2008-03-24 00:16:14
Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager
Hopefully this is a quick question: what would be the best way to test the addition and removal of subscribers without actually sending an email notification? I want to play around with the subscribers but I don’t want a bunch of emails to flood my inbox. Is there a way to bypass the email notification?
Edit: Nevermind. I figured out a temporary solution.
Last edited by jdykast (2008-03-24 13:37:43)
Offline
#104 2008-04-09 19:31:35
- johnnie
- Member
- Registered: 2007-03-10
- Posts: 58
Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager
Why is an HTML mail sent out not displayed as an HTML mail? In several agents (thunderbird, hotmail, webmail, outlook express) it just shows me the mime type information as text and then follows with th mail itself, as text (with HTML tags as mail-text)
Offline
#105 2008-04-14 20:44:36
Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager
Hey everybody,
I’ve just recently upgraded my site and plugins, now running Textpattern 4.0.6, but since I upgraded Postmaster the emails it sends aren’t working out very well. Full list of plug-ins I’m running:
pap_contact_cleaner 0.1
Postmaster 0.4.4
Postmaster Library 0.2.3
rss_admin_db_manager 4.3 (modified to fix the Unauthorized Access issue)
rss_unlimited_categories 0.7.4
zem_contact_lang 4.0.3.6
zem_contact_reborn 4.0.3.20
Here’s sort of a shopping list of issues that I’ve run into…
1. Blank tags?
Some of the tags that I used to use no longer generate any content. For example, <txp:bab_pm_data display=“excerpt” /> doesn’t send the excerpt from the article. If I replace it with the regular <txp:excerpt /> I get straight HTML as text in the email.
Postmanual uses the <txp:bab_pm_data display=“excerpt” /> tag in its examples, so I’m not sure what’s going on for me. I was also unable to find documentation on the Postmanual site that listed all the tags that come with Postmaster, what they do, and their accepted attributes. Maybe I missed a link?
2. Custom Subject?
I used to use the following in the Subject Line field under the Lists tab when editing a list:
Sak.102010.org : <txp:bab_pm_data display=“title” />
Now, the subject line gets truncated for some reason to look like this:
Sak.102010.org : <txp:bab_pm_data display=
and there’s now an additional bit that shows up next to the Subject Line field. I’ve included a screenshot so that you can see what I mean. I’d like to get the custom subject line back so that the title of the new article posted shows up, but whatever I try doesn’t seem to work properly.

Note that this additional attribute with mysterious extra quotation mark at the beginning only appears when using a tag with an attribute. A simple tag like <txp:title /> doesn’t cause it to appear, unless I include an attribute in the tag, at which point it gets truncated and the strange additional attribute shows up.
3. Messy URLs?
My site is set to use messy URLs, something of a necessity for how it’s being hosted currently, iirc, but the links that are being generated and sent by <txp:bab_pm_data display=“link” /> aren’t messy. Is there an attribute that I’m missing for this tag?
4. Normal <txp: /> tags sending straight HTML as text?
With respect to the above problems with the excerpt, and the title in the subject line, I tested the email form with normal textpattern tags in place to see what would happen. The excerpt that is sent is just straight HTML as text, and if I use the <txp:title /> tag in the subject line it also sends HTML for the title as text. I understand that there were some changes to Postmaster to support mime types and whatnot, but the documentation isn’t very clear. Anyone have any suggestions?
Anyway, I appreciate any suggestions or advice anyone can offer to help with these issues.
Thanks,
Sak.
Thanks,
Sak.
Offline