Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#121 2007-01-16 02:44:25

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

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.


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#122 2007-01-16 19:20:53

snkhan
Member
From: Leicester, UK.
Registered: 2004-07-20
Posts: 57
Website

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

benbruce
Plugin Author
Registered: 2006-01-13
Posts: 328
Website

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

benbruce
Plugin Author
Registered: 2006-01-13
Posts: 328
Website

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

benbruce
Plugin Author
Registered: 2006-01-13
Posts: 328
Website

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

benbruce
Plugin Author
Registered: 2006-01-13
Posts: 328
Website

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

benbruce
Plugin Author
Registered: 2006-01-13
Posts: 328
Website

Re: [archived] Postmaster -- A simple email-on-post / newsletter manager

gerhard01,

You’re very welcome.

  • Ben

Offline

#132 2007-01-17 04:31:31

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

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)


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

Board footer

Powered by FluxBB