Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#121 2007-01-16 02:44:25
Re: [archived] Postmaster -- A simple email-on-post / newsletter manager
Hi.
Ultra fast and ultra short post:
I have upgraded and tested the subscribe form but it isn’t working for me. Subscription mail is being sent, but the subscribed user is not being added to the database.
I will try a bit more and try to find out what’s going on.
Thanks for this excellent work, Ben.
Offline
#122 2007-01-16 19:20:53
Re: [archived] Postmaster -- A simple email-on-post / newsletter manager
benbruce wrote:
Try setting it to “on” in the hidden input. Or, in any case, the value you want is “on”.
This worked – thanks!
Offline
#123 2007-01-16 19:40:03
Re: [archived] Postmaster -- A simple email-on-post / newsletter manager
Saj,
Can you post your working unsubscribe form here for me? I’d like to copy it and add it to the Postmanual.
- Ben
Offline
#124 2007-01-16 19:40:07
- gerhard01
- Plugin Author
- Registered: 2006-12-07
- Posts: 108
Re: [archived] Postmaster -- A simple email-on-post / newsletter manager
kees-b wrote:
gerhard01 wrote:
Copy & pasting the plugin from http://www.benbruce.com/txp/Postmaster_v4.0.4.0.2.php
leads to
Badly formed or empty plugin code
in my case (TXP 4.0.4). Ideas what I could do?
Thanks!
Hi ben,
Same error here on a dutch host (Linux 2.6.16.29-xen)! […]
version 0.3 finally installs without troubles – looking forward to testing :-)!
Last edited by gerhard01 (2007-01-16 19:40:37)
Offline
#125 2007-01-16 19:41:43
Re: [archived] Postmaster -- A simple email-on-post / newsletter manager
gerhard01,
Great news!
- Ben
Offline
#126 2007-01-16 19:58:30
- gerhard01
- Plugin Author
- Registered: 2006-12-07
- Posts: 108
Re: [archived] Postmaster -- A simple email-on-post / newsletter manager
having enabled all plugins described in the tutorial, I followed the consecutive steps.
1) Edit “default” list displayed the following message right on top of the edit form:
Notice: Undefined index: listSubjectLine in /home/[…]textpattern/lib/txplib_misc.php(512) : eval()’d code on line 450
1) Editing the default list then and clicking on “Update List information” delivered the following warning:
Warning: Unknown column ‘listSubjectLine’ in ‘field list’ update txp1_bab_pm_list_prefs set listName=‘name’, listDescription=‘All subscribers’, listAdminEmail=‘news@domain’, listUnsubscribeUrl=’‘, listEmailForm=’‘, listSubjectLine=’‘ where listID=1 in /home/[…]/textpattern/lib/txplib_db.php on line 84
without saving the newly defined list parameters, but showing the default list as prior to editing.
Last edited by gerhard01 (2007-01-16 19:59:44)
Offline
#127 2007-01-16 20:20:04
Re: [archived] Postmaster -- A simple email-on-post / newsletter manager
gerhard01,
It’s acting as though either the tables did not install, or did not install correctly.
Do you have Rob Sable’s “rss_admin_db_manager” installed? If so, can you do me a favor:
- Go to TXP > EXTENSIONS > DB Manager tab
- Make sure there is a “bab_pm_list_prefs” Table listed
- If there is, click on “bab_pm_list_prefs” and make sure that one of the columns listed on the resulting page is “listSubjectLine” (should be the 7th column from the left)
Thanks,
- Ben
Last edited by benbruce (2007-01-16 20:23:52)
Offline
#128 2007-01-16 20:44:23
- gerhard01
- Plugin Author
- Registered: 2006-12-07
- Posts: 108
Re: [archived] Postmaster -- A simple email-on-post / newsletter manager
That’s the columns I have:
listID listName listDescription listAdminEmail listUnsubscribeUrl listEmailForm catchall
So it seems “listSubjectLine” is missing in my case …
Offline
#129 2007-01-16 21:09:23
Re: [archived] Postmaster -- A simple email-on-post / newsletter manager
gerhard01,
This is weird, but I think the fix is going to be fairly simple.
- Go to TXP > EXTENSIONS > DB Backup tab
- Back up your database
- Go to TXP > EXTENSIONS > DB Manager tab
- Click “drop” next to “bab_pm_list_prefs” [be extra careful here — make sure you are clicking “drop” in the same row]
- If you have no subscribers entered, go ahead and click “drop” next to “bab_pm_subscribers” too (if you do have subscribers, leave this table alone for now)
- Click on TXP > EXTENSIONS > POSTMASTER
- Try editing the “default” list again and see what happens.
Sorry for the trouble,
- Ben
Offline
#130 2007-01-16 21:13:26
- gerhard01
- Plugin Author
- Registered: 2006-12-07
- Posts: 108
Re: [archived] Postmaster -- A simple email-on-post / newsletter manager
benbruce,
Great! – your suggestion did work like a charm – no more notices & warnings, plus “listSubjectLine” is there after having dropped and re-created the tables according to your advice.
Many thanks for your swift and competent help!
Offline
#131 2007-01-16 23:12:48
Re: [archived] Postmaster -- A simple email-on-post / newsletter manager
gerhard01,
You’re very welcome.
- Ben
Offline
#132 2007-01-17 04:31:31
Re: [archived] Postmaster -- A simple email-on-post / newsletter manager
maniqui wrote:
I have upgraded and tested the subscribe form but it isn’t working for me. Subscription mail is being sent, but the subscribed user is not being added to the database.
I will try a bit more and try to find out what’s going on.
I can re-confirm this.
I have been testing with the (very simple) form I have been using with v0.2 and also with many of the forms suggested in the documentation.
As said before: the e-mail is sent, but nothing is added to the db table (note: the db table was created during installation of the version v0.2).
I have tried both with and without the <input type="hidden" name="zemSubscriberLists" value="list_name" > trick.
I’m thinking about backing-up the db, drop any table related to the plug-in, uninstall it and start again from zero. But I will wait to see if Ben considers I can be helpful by testing anything.
Thanks in advance.
Last edited by maniqui (2007-01-17 14:20:36)
Offline
#133 2007-01-17 06:11:58
Re: [archived] Postmaster -- A simple email-on-post / newsletter manager
maniqui,
Can you go here (a few posts back) and do me the favor of following the instructions in that post?
First, see if there is a missing “listSubjectLine” column in the table “bab_pm_list_prefs”. If you are missing the “listSubjectLine” column in your table, can you tell me what version of Postmaster you installed initially (0.1 or 0.2)? You can simply follow the directions laid out here, which is exactly what you had in mind.
I’ll have to post a note about this upgrade path.
Thanks,
- Ben
Offline
#134 2007-01-17 09:39:19
- gerhard01
- Plugin Author
- Registered: 2006-12-07
- Posts: 108
Re: [archived] Postmaster -- A simple email-on-post / newsletter manager
benbruce,
congrats to your excellent postmaster manual. IMHO, if you added some screenshots it would just be perfect.
(E.g. that would surely answer my dull question I could not figure out from the text:
regarding list forms: in postmaster > list > forms, do I have to directly define the form there or do I have to specify the form name defined under TXP > presentation >forms?)
figured that out: TXP > presentation >forms for list forms
Last edited by gerhard01 (2007-01-17 19:10:43)
Offline
#135 2007-01-17 10:21:50
- infusion
- Member
- Registered: 2005-08-04
- Posts: 19
Re: [archived] Postmaster -- A simple email-on-post / newsletter manager
Ok I’ve read through this forum and I still can’t seem to be able to send customized “Welcome to the newsletter” emails sent out to the subscriber. What I did was to first create a form called “New Retailer Email” with the content being:-
<code>
<p>Thank you for subscribing with us.</p>
<p>We might occassionally send you emails on the latest products that we have. If you do not wish to receive these emails, please click on the link below:-
<txp:bab_pm_unsubscribeLink type=“text” />
</code>
Then I created a new article and filled it up like so:
<code>
<txp:zem_contact to=“myemail@myemail.com” redirect=“Info/registration-received” copysender=“yes” subject=“New Subscription” thanks_form=“New Retailer Email”>
<txp:zem_contact_text name=“zemSubscriberName” label=“Your Name:” required=“yes” />
<txp:zem_contact_email name=“zemSubscriberEmail” label=“Your Email:” />
<txp:zem_contact_text name=“zemSubscriberCustom1” label=“Phone:” min=7 />
<txp:zem_contact_text name=“zemSubscriberCustom2” label=“Fax:” required=“no” />
<input type=“hidden” name=“zemSubscriberLists” value=“ONE OF MY LISTS” >
<txp:zem_contact_submit />
</txp:zem_contact>
</code>
But this doesn’t work and the subscriber is still just getting a response with the details he/she just keyed in i.e name, tel, etc. Could someone tell me what I’m doing wrong?
Also, the subscription works in the sense that the user is added into the database and is sent a copy of the fields that he/she just filled up. However, the admin (me) does not receive a copy of the subscription. I understand that this may be because my host blocks BCC fields? Is there a work around?
Offline