Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: [archived] bab_newsletter: Newsletter Manager for Textpattern
VINTERSTILLE: I have succesfully sent a newsletter to my “subscribers” (myself times two) so there maybe something else that bothers you… no idea what that can be. Have you checked with your spam filters?
Offline
Re: [archived] bab_newsletter: Newsletter Manager for Textpattern
Hey all,
I just updated the first post with a new link to get the new version of the Newsletter Manager. This is a much improved version — based on everyone’s comments here — and I think it will satisfy a lot of you. That said, it’s much more complex so please test and reply here so we can make any fixes that are necessary.
About manually subscribing users, and uploading a text file or something for bigger groups — it’s definitely possible. We’ll add it to the “to do” list. With this latest update, there’s “Deletion” so it’ll end up in there somewhere. Maybe a new tab for Management.
Vinterstille, it’s weird that the Mails are not arriving. Post all the details here and we’ll try and get it sorted out.
ma_smith and others — GOOD NEWS. Looking at this page … I took “article” as my event — which is what you are on when you write an article — and my little mockup code sent me an email with the title and the body of the article I just posted! So the bones of this function are already set! Remaining items are: Testing, DB selection [you should be able to choose from txp_users, ign_users, txp_subscribers or any others that are out there], etc. Then it can be released as a separate plugin — bab_email_on_post or something … suggestions for a better name appreciated.
Enjoy!
– BenOffline
Re: [archived] bab_newsletter: Newsletter Manager for Textpattern
With 0.2 (by the way, you may want to keep the same name from version to version, and only update the version number, so it will erase the older version when installed) I got these errors accessing the tab, even in production debug level:
Notice: Undefined index: text_signature in /users/home/ludysnet/domains/shadowrun.fr/public_html/textpattern/lib/txplib_misc.php(459) : eval()’d code on line 39
Notice: Undefined index: html_signature in /users/home/ludysnet/domains/shadowrun.fr/public_html/textpattern/lib/txplib_misc.php(459) : eval()’d code on line 40
Notice: Undefined index: text_greeting in /users/home/ludysnet/domains/shadowrun.fr/public_html/textpattern/lib/txplib_misc.php(459) : eval()’d code on line 42
Notice: Undefined index: html_greeting in /users/home/ludysnet/domains/shadowrun.fr/public_html/textpattern/lib/txplib_misc.php(459) : eval()’d code on line 43
Notice: Undefined index: mime_warning in /users/home/ludysnet/domains/shadowrun.fr/public_html/textpattern/lib/txplib_misc.php(459) : eval()’d code on line 44
Notice: Undefined index: subscribe_sorry in /users/home/ludysnet/domains/shadowrun.fr/public_html/textpattern/lib/txplib_misc.php(459) : eval()’d code on line 45
Notice: Undefined index: subscribe_thanks in /users/home/ludysnet/domains/shadowrun.fr/public_html/textpattern/lib/txplib_misc.php(459) : eval()’d code on line 46
Notice: Undefined index: form_hed in /users/home/ludysnet/domains/shadowrun.fr/public_html/textpattern/lib/txplib_misc.php(459) : eval()’d code on line 47
Notice: Undefined index: subscribe_button in /users/home/ludysnet/domains/shadowrun.fr/public_html/textpattern/lib/txplib_misc.php(459) : eval()’d code on line 48
Notice: Undefined index: nl1_name in /users/home/ludysnet/domains/shadowrun.fr/public_html/textpattern/lib/txplib_misc.php(459) : eval()’d code on line 49
Notice: Undefined index: nl2_name in /users/home/ludysnet/domains/shadowrun.fr/public_html/textpattern/lib/txplib_misc.php(459) : eval()’d code on line 50
Notice: Undefined index: nl3_name in /users/home/ludysnet/domains/shadowrun.fr/public_html/textpattern/lib/txplib_misc.php(459) : eval()’d code on line 51
Notice: Undefined index: nl4_name in /users/home/ludysnet/domains/shadowrun.fr/public_html/textpattern/lib/txplib_misc.php(459) : eval()’d code on line 52
Notice: Undefined index: nl5_name in /users/home/ludysnet/domains/shadowrun.fr/public_html/textpattern/lib/txplib_misc.php(459) : eval()’d code on line 53
Notice: Undefined index: archive_default in /users/home/ludysnet/domains/shadowrun.fr/public_html/textpattern/lib/txplib_misc.php(459) : eval()’d code on line 54
Do I need to delete the old SQL tables (from 0.1 version) ?
Environnement:
Version de PHP: 5.0.4
server_time: 2006-01-19 00:42:27
MySQL: 4.1.13-log
Locale: fr_FR.UTF-8
Serveur: Apache
php_sapi_mode: cgi-fcgi
os_version: FreeBSD 5.4-STABLE
Last edited by Jeremie (2006-01-19 00:42:49)
Offline
Re: [archived] bab_newsletter: Newsletter Manager for Textpattern
Ben,
Looking forward to it. Thanks for all your hard work.
Matthew
- I am Squared Eye and I
am launchinghave launched Pattern Tap
Offline
Re: [archived] bab_newsletter: Newsletter Manager for Textpattern
Crap … yes, the tables have changed and you will get those errors until the new versions are installed. Also, when you click “Install Tables” it won’t refresh the page, so it’ll look like it hasn’t worked. Click the “newsletter” tab again to see the Preferences populated … Matt, that’s exactly right about the name of the plugin, I’<s>ll do</s>ve done that.
Last edited by benbruce (2006-01-19 01:11:11)
Offline
Re: [archived] bab_newsletter: Newsletter Manager for Textpattern
Also, the email on post is pretty well worked out. This is a done deal — ma_smith and any others, what sorts of requests are there for this feature?
– BenOffline
Re: [archived] bab_newsletter: Newsletter Manager for Textpattern
Ben,
It depends? I don’t know how customized it can be?
1. Something like this would do well:
Notification message ie: “Matthew Smith has posted a new article at artiswork.org/journal “
Title
date/time
excerpt / or body (…Read More) permlink to accompany excerpt.
unsubscribe link
2. Perhaps a link to the RSS feed of the site?
3. All of the above could be handled by a form I suppose. Correct me if I am wrong, I don’t believe that the current newsletter email setup uses a form in this way. So, in other words, the admin can style their “new-post-email” to look however they choose – all within the parameters of the html that the plugin provides.
Those would be my main hopes for this kind of plugin.
Yippee@!
Last edited by ma_smith (2006-01-19 01:31:21)
- I am Squared Eye and I
am launchinghave launched Pattern Tap
Offline
Re: [archived] bab_newsletter: Newsletter Manager for Textpattern
> benbruce wrote:
> About manually subscribing users, and uploading a text file or something for bigger groups — it’s definitely possible. We’ll add it to the “to do” list. With this latest update, there’s “Deletion” so it’ll end up in there somewhere. Maybe a new tab for Management.
Mmm… I think this all should be on subscribers management. A “subscribers” tab should allow to view and edit subscribers list, import file, add and delete specific users manually, i.e. via check boxes in the user lists.
This should be a different tab and a different set of functions, I think.
Don’t you plan to allow for different newsletters in one install? Is it difficult for the db structure?
By the way, thank for considering my suggestions. A little feedback from the 0.2 version: when I have the greeting text empty in my preferences, I get a mail with 3 blank lines on the top. It’s me making mistakes? Is it avoidable?
Thanks, great job!
Z-
Offline
Re: [archived] bab_newsletter: Newsletter Manager for Textpattern
ma_smith, I think what you were saying about the forms is a good idea and the way to go. It’ll take a bit of wrangling but that’s certainly the most “customizable” way to do it. I think that should then be ported over to the newsletter, too.
Zanza, I don’t think it would be too difficult to “add newsletters.” It would require installing a new table, but that’s not very difficult. I think getting the whole thing more refined the priority and we can add that ability later on. As to the three blank lines — that’s a bug. I think it’s reading the lines in the code and filling them with an empty variable — so it will have to be adjusted to account for if there is, or isn’t, something entered.
– BenOffline
Re: [archived] bab_newsletter: Newsletter Manager for Textpattern
This may sound like I´m stupid. But when it comes to databases and deleting wrong tables I rather play it safe and ask:
What tables do I have to drop?
I dropped some …subscribers… -table. Guess its one or more to drop before I´m back on track, right? Get those error lines.
Offline
Re: [archived] bab_newsletter: Newsletter Manager for Textpattern
> skoggy wrote:
> This may sound like I´m stupid. But when it comes to databases and deleting wrong tables I rather play it safe and ask:
> What tables do I have to drop?
> I dropped some …subscribers… -table. Guess its one or more to drop before I´m back on track, right? Get those error lines.
I did it few hours ago. I dropped txp_nlprefs and txp_subscribers and everything worked fine. I hope it’s right… :)
Z
Offline
Re: [archived] bab_newsletter: Newsletter Manager for Textpattern
Yes, that´s right. Got to admit I solved it myself seconds before you posted the answer. Did a MySQL-backup and figured that nlprefs and subscribers should be it. But thanks anyway… perhaps someone else could use this information(?)
Offline
Re: [archived] bab_newsletter: Newsletter Manager for Textpattern
Ben,
Glad the form idea was helpful. Looking forward to the final revision.
Matthew
- I am Squared Eye and I
am launchinghave launched Pattern Tap
Offline
#44 2006-01-20 16:38:53
- eXOuT
- New Member
- Registered: 2004-06-14
- Posts: 6
Re: [archived] bab_newsletter: Newsletter Manager for Textpattern
ok i installed it and tested it and everything works fine. BUT i just dont get the unsubscribe tag to work! i put it in an article but nothing appears where the tag is placed..?
try here: http://www.vanwylick.net/zoll/article/68/newsletter-unsubscribe
the tag is placed right before the “boo” ;)
oh and btw i dont see a field with the number of subscribers on the dashboard..?
thx
Last edited by eXOuT (2006-01-20 16:42:38)
Offline
Re: [archived] bab_newsletter: Newsletter Manager for Textpattern
eXout, the tag “bab_unsubscribe” won’t actually place anything on the page, except code that runs in the background. If someone clicks the unsubscribe link in their email [assuming you’ve entered an address in the preferences], they will be taken to the article you’ve placed this code in, and their email address will be removed from the database automatically.
You can build the article however you like, though. So that means you can set it up as a proper goodbye page, with offers, etc to try and retain the ex-subscriber [if that makes sense].
As for the subscriber’s list … it’s underneath all your preferences on the Dashboard. Also, if there are no subscribers, you might miss it. Are either of those the case with you?
– BenLast edited by benbruce (2006-01-20 22:40:04)
Offline