Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#91 2006-02-21 17:12:13

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

Re: [archived] bab_newsletter: Newsletter Manager for Textpattern

- jw -,

I think that perhaps I’m confused about the subdomain vs the prefix issue. Are they one and the same? In other words, when you run TXP on a subdomain, does it have a prefix on the table? If so, then the latest fix that I posted may resolve the problem altogether. Let me know.

The only thing I can think of is that I’m using relative urls to create the third row of newsletter tabs … on the subdomain, when you are in a tab, do your urls look like:

subdomain.domain.com/index.php?event=newsletter

or is something else happening there?

Thanks,

– Ben

Offline

#92 2006-02-22 10:32:37

-jw-
Member
From: fruitbelly, the Netherlands
Registered: 2004-03-16
Posts: 79

Re: [archived] bab_newsletter: Newsletter Manager for Textpattern

- Ben,

The way I use this is that the subdomain has it’s own txp instal, but uses the same database as the txp instal on the main domain. The subdomain tables have a prefix. It could use another, seperate database without the need of a table prefix.

the url looks like this
http://subdomain.domain.nl/txp/index.php?event=newsletter


textile deletes my identity

Offline

#93 2006-02-27 00:13:28

loid
Member
Registered: 2005-03-09
Posts: 38

Re: [archived] bab_newsletter: Newsletter Manager for Textpattern

Ben, sorry to say, but while the latest version removes the double “install tables” issue, its not fixing the prefix issue. I uninstalled the old version, dropped the table fbtxp_nlprefs (fb being the prefix) and then installed the new version of the plugin. No double “install tables,” but the newsletter preferences still disappear after filling in the fields, and the newsletter still doesn’t send.

Anyone have any ideas for a workaround? I really would like to make this work.

Offline

#94 2006-03-01 21:30:28

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

Re: [archived] bab_newsletter: Newsletter Manager for Textpattern

loid, sorry you’re having trouble.

i’ll do another thorough going over as soon as i can — i’m very busy this week.

i’m pretty sure this has to do with the prefix issue. not thinking people might have them, the script was hardcoded to look for “txp_nlprefs” and “txp_subscribers.” Then I had to go back through and update it, but must have missed something.

That makes me think of a few questions, though.

  • When you look up the table in Database Manager, it’s called “fbtxp_nlprefs”?
  • Are you able to save subscribers to “txp_subscribers” — and, is it called “txp_subscribers” or “fbtxp_subscribers”?

Again, until we can get your prefs to save, the emails will not be sent.

- jw -, i think the script may be getting confused as to where to go for the table, and that’s why it’s not working. In addition, though, it seems like there’s still an issue — a “fix” that just won’t fix.

Offline

#95 2006-03-06 21:31:55

loid
Member
Registered: 2005-03-09
Posts: 38

Re: [archived] bab_newsletter: Newsletter Manager for Textpattern

Benbruce, yes, it’s fbtxp_nlprefs, and the subscribers are saved, in the table fbtxp_subscribers

Thanks for looking into it, it’s greatly appreciated.

Offline

#96 2006-03-08 22:50:32

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

Re: [archived] bab_newsletter: Newsletter Manager for Textpattern

Loid,

Thanks for your info — it seems like since it’s saving in one case and not in another, that it’s “simply” a matter of going in and finding the difference. I expect it’s just an error on my part and once I find it the script should work fine.

It will take me some to time to get through the script, however. I’ll post the update when it’s ready, and if anyone else happens to poke around and find it, please post in this thread as well.

Thanks,

– Ben

Offline

#97 2006-03-28 00:21:52

squaredeye
Member
From: Greenville, SC
Registered: 2005-07-31
Posts: 1,495
Website

Re: [archived] bab_newsletter: Newsletter Manager for Textpattern

Ben,
Howdy. I’ve got this running at artiswork.org via the EOP plugin (co-installed with this one)
you can find the subscription form here

I found that the folks who subscribed via the form had their names duplicated in the “subscrbers” area? I tried to delete the copies, but both were deleted even if only one of the copies was checked for deletion.

Does that make sense?
Otherwise its working great!!!
Thanks bro,

Matthew


Offline

#98 2006-03-28 18:31:48

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

Re: [archived] bab_newsletter: Newsletter Manager for Textpattern

ma_smith,

Will you humor me and see if placing the bab_subscribe form on a page without the other form — which has a field with the same name [ie, “email”] — might resolve the issue? It could be that it’s somehow sending two copies of the email address. If that does resolve it, then it’s a matter of me replacing the hardcoded name “email” with something more unique, like “bab_subcribe_email.” Otherwise I’ll have to dig a little deeper.

Glad to hear it’s working well … I’ve been slowly but fairly steadily working on the next updates to these plugins. Still a ways to go but I’m optimistic that the next version will have “bulk mail,” and also that the subscribe functions will be available as a separate plugin [which would make it so you don’t need NM, if you really want EOP — they both pull from the separate plugin].

– Ben

Offline

#99 2006-03-28 18:53:40

squaredeye
Member
From: Greenville, SC
Registered: 2005-07-31
Posts: 1,495
Website

Re: [archived] bab_newsletter: Newsletter Manager for Textpattern

Ben,
I should have guessed it.
That’s the problem. The bab_subscribe form on its own does not produce duplicates.
Thanks for all your hard work bro. And that was kind of you to mention me in the help docs, although I feel like I didn’t do much at all :)

Matthew


Offline

#100 2006-03-30 00:54:07

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

Re: [archived] bab_newsletter: Newsletter Manager for Textpattern

madebeer,

You cannot do this right now, but it’s certainly a good idea. I’ll look into it. Glad the plugin is useful!

– ben

Last edited by benbruce (2006-03-30 00:54:22)

Offline

#101 2006-03-31 06:53:06

rsilletti
Moderator
From: Spokane WA
Registered: 2004-04-28
Posts: 707

Re: [archived] bab_newsletter: Newsletter Manager for Textpattern

I got this installed and working at The Day-Old Weekly

After putting it thru its paces, I found that it integrated flawlessly and operates as described with one exception.

The unsubscribe URL I used involved clean URLs using section/title which didn’t work. I got it working by placing the unsubscribe tag in an article posted to a section (unsub) as the only article in that section, then used a url to that section as follows:
http://dayold.us/index.php?s=unsub
The URL generated in the outgoing email then works perfectly.

Thanks for this, I love it!

Offline

#102 2006-03-31 08:08:08

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

Re: [archived] bab_newsletter: Newsletter Manager for Textpattern

rsilletti,

Great to hear you like the plugin … that’s a nice trick for the unsubscribe section with only one article. Personally, I like the idea of having a customized space for the unsubscription — you could place a contact form with a little survey for feedback on why they are leaving, you could try to grab them one last time with something else, etc — so having a dedicated section could make a lot of sense in any case.

The other option which I’ve been describing is to place the article’s “hard” url, not the clean one, in the unsubscribe address field [the one that looks like “http://www.example.com/index.php?id=##”]. Even if your site uses clean urls a hard url like this should take you to the correct article. It only appears in the link at the bottom of your subscriber’s email — doesn’t affect the article or the rest of the site, either.

Offline

#103 2006-04-11 00:07:59

dominique
New Member
Registered: 2006-04-10
Posts: 3

Re: [archived] bab_newsletter: Newsletter Manager for Textpattern

Ben,

It seems I have a problem similar to jw’s and Loid’s already discussed in this forum.

Installation process goes OK.
The new tab newsletters appears.
But when I click on it nothing appear neither the third row of tabs [“create,” “preferences” and “subscribers”] nor Subscribers page. No install tables link at the top of the preferences panel too.

I then tried to install another plugin, Database Manager and it works fine !

My configuration is :
  • Textpattern 4.0.3
  • TXP installation on a sub-domain
  • textpattern tables have a “prefix”
  • url links on newsletters tag is “http://subdomain.anakena/textpattern/index.php?event=newsletter”
  • PHP 4.3.10
  • MySQL 4.1.16-log
  • I use french localization (well, after all who knows ;-) )

Well Ben ! Every post on this forum said [NL] is a fantastic plugin ! I hope I could test it right soon and write this kind of nice words !

-Dominique

Offline

#104 2006-04-11 06:42:25

-jw-
Member
From: fruitbelly, the Netherlands
Registered: 2004-03-16
Posts: 79

Re: [archived] bab_newsletter: Newsletter Manager for Textpattern

-dominique

It’s all in the table prefix. I moved my txp subdomain install to it’s own database (no need for a prefix) and ben’s plugins work like a charm now.


textile deletes my identity

Offline

Board footer

Powered by FluxBB