Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#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
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.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
#154 2008-06-27 09:21:35
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
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
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&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 '&', with '&', on line 573, but it made no difference.
Anyone else had this problem?
cheers
Stu
Offline
#157 2008-07-30 09:19:58
Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager
I’m having problems creating new subscribers. I need to import a list of 200+ subscribers, but when using the method posted in the manual I get only the first user and address showing up. Furthermore, if I delete that subscriber it randomly shows up once in a while after refreshing the page. Very frustrating. :-) It gives me the idea that in one way or another the items aren’t properly deleted out of the DB. Has anyone encountered this problem?
I’m using Textpattern versie: 4.0.6 (r2805)
Postmaster Ben Bruce 0.4.4
Postmaster Library Ben Bruce 0.2.3
Edit: When deleting the faulty subscriber: “Deleted subscriber.” appears (so it’s supposed to be gone). Then, when going to Lists and afterwards returning to the Subscriber tab… the faulty (deleted) subscriber is there again.
Last edited by Piru (2008-07-30 09:32:28)
Offline
#158 2008-07-31 17:41:58
Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager
Hi Ben and all,
I have read this support thread from beginning to end, and I can’t figure out why I’m still having problems. My main issue is that it would seem Postmaster does not automatically create the MySQL entries upon installation. Here’s what I did:
- Using MySQL version: 5.0.51b Community Ed. + PHP version: 5.2.6
- Installed Postmaster Library, activated it
- Installed Postmaster, activated it
- Went to the Admin —> Extensions tab and clicked Postmaster
- Noticed the errors and found the solution to change site status to LIVE
- Some errors disappeared but there were still some that remained
- Removed all Postmaster plugins and reinstalled them
- Still getting the following error related to tables not existing:

Here is a shot of the MySQL DB:

This sounds like a great plugin which is fully featured and does exactly what I need, so I’m really anxious to fix these errors and get everything setup!
Any help is greatly appreciated…thanks in advance!
Last edited by georgeM (2008-07-31 18:00:34)
Offline
#159 2008-08-21 09:44:16
- Gallex
- Member
- Registered: 2006-10-08
- Posts: 1,331
Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager
my newsletter e-mail form:
=============================
NEWSLETTER
=============================
Dear <txp:bab_pm_data display="subscriberName" />,
<txp:bab_pm_data display="Author" /> has posted a new article at <txp:site_url />.
Read article at: <txp:bab_pm_data display="link" />
Excerpt: <txp:bab_pm_data display="Excerpt" />
==============================
Unsubscribe: <txp:bab_pm_unsubscribeLink type="text" />
everything works well, but author’s name doesn’t appear in e-mail :(
can anybody tell me where i’m wrong?
Offline
#160 2008-08-21 10:08:13
Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager
Dear Ben,
First of all, many thanks for this great plugin, it works like a charm!
I have only one question: is it possible to give a name for admin, not just the email (so the Sender is not just an email address but name+address)? I cannot figure out how to implement this, and some spam filters score high if you send your email without Sender name.
Thanks in advance, awesome plugin!
Offline
#161 2008-08-21 16:03:27
Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager
Gallex wrote:
everything works well, but author’s name doesn’t appear in e-mail :(
can anybody tell me where i’m wrong?
I can’t see anything wrong with your form. Could you try using <txp:author /> instead of the bab_pm_data tag?
Offline
#162 2008-08-21 17:13:46
Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager
sipke wrote:
Dear Ben,
First of all, many thanks for this great plugin, it works like a charm!
I have only one question: is it possible to give a name for admin, not just the email (so the Sender is not just an email address but name+address)? I cannot figure out how to implement this, and some spam filters score high if you send your email without Sender name.
Thanks in advance, awesome plugin!
THE BLUE DRAGON wrote:
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 = “From: Your name <blabla@domain.com>”.
or
$headers = “From: Your name <$listAdminEmail>”.
enjoy ;)
Last edited by THE BLUE DRAGON (2009-07-10 16:40:00)
Offline
#163 2008-08-23 12:23:06
- Gallex
- Member
- Registered: 2006-10-08
- Posts: 1,331
Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager
maniqui wrote:
I can’t see anything wrong with your form. Could you try using
<txp:author />instead of the bab_pm_data tag?
it helped. thank’s
Offline
#164 2008-09-03 13:32:18
Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager
Hi,
I’ve installed postmaster but it looks like it didn’t create tables in my database?
I’m getting this error:
Warning: Unknown character set: ‘utf’ CREATE TABLE IF NOT EXISTS bab_pm_list_prefs ( `listID` int(4) NOT NULL auto_increment, `listName` varchar(100) NOT NULL default ‘’, `listDescription` longtext NOT NULL default ‘’, `listAdminEmail` varchar(100) NOT NULL default ‘’, `listUnsubscribeUrl` varchar(100) NOT NULL default ‘’, `listEmailForm` varchar(100) NOT NULL default ‘’, `listSubjectLine` varchar(128) NOT NULL default ‘’, `catchall` longtext NOT NULL default ‘’, PRIMARY KEY (`listID`) ) ENGINE=MyISAM CHARACTER SET = utf-8 in /public_html/site/textpattern/lib/txplib_db.php on line 81
Warning: Unknown character set: ‘utf’ CREATE TABLE IF NOT EXISTS bab_pm_subscribers ( `subscriberID` int(4) NOT NULL auto_increment, `subscriberName` varchar(100) NOT NULL default ‘’, `subscriberEmail` varchar(100) NOT NULL default ‘’, `subscriberLists` varchar(100) NOT NULL default ‘’, `subscriberCustom1` longtext NOT NULL default ‘’, `subscriberCustom2` longtext NOT NULL default ‘’, `subscriberCustom3` longtext NOT NULL default ‘’, `subscriberCustom4` longtext NOT NULL default ‘’, `subscriberCustom5` longtext NOT NULL default ‘’, `subscriberCustom6` longtext NOT NULL default ‘’, `subscriberCustom7` longtext NOT NULL default ‘’, `subscriberCustom8` longtext NOT NULL default ‘’, `subscriberCustom9` longtext NOT NULL default ‘’, `subscriberCustom10` longtext NOT NULL default ‘’, `subscriberCatchall` longtext NOT NULL default ‘’, `flag` varchar(100) NOT NULL default ‘’, `unsubscribeID` varchar(100) NOT NULL default ‘’, PRIMARY KEY (`subscriberID`), UNIQUE (subscr in /public_html/site/textpattern/lib/txplib_db.php on line 81
Warning: Table ‘trumdo01_bepanthen.bab_pm_list_prefs’ doesn’t exist INSERT INTO bab_pm_list_prefs values (‘1’,‘default’,‘All subscribers’,’‘,’‘,’‘,‘Notification: A new article has been posted at <txp:site_url />’,’‘) in /public_html/site/textpattern/lib/txplib_db.php on line 81
Warning: Table ‘trumdo01_bepanthen.bab_pm_subscribers’ doesn’t exist INSERT INTO bab_pm_subscribers values (‘1’,‘Test’,‘test@test’,‘default’,‘custom1’,’‘,’‘,’‘,’‘,’‘,’‘,’‘,’‘,‘custom10’,’‘,’‘,‘2b9595b63092b70833e249811aeba2fd’) in /public_html/site/textpattern/lib/txplib_db.php on line 81
Thanks!
Offline
#165 2008-09-03 14:27:49
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager
Fuls
Can you try this… edit your postmaster_library plugin and look for the bab_pm_createTables() function.
Replace this line…
$dbcharset = $txpcfg['dbcharset'];
… with this one…
$dbcharset = "'".$txpcfg['dbcharset']."'";
… save and try accessing the Postmaster tab again.
— Steve
Offline