Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#91 2009-11-10 21:53:00

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: mem_postmaster - Postmaster Revamp

Yeah PascalL, I think that’s a good idea. Added to the list

Offline

#92 2009-11-22 22:30:36

paperboy
Member
From: Gothenburg, SE
Registered: 2006-01-24
Posts: 30
Website

Re: mem_postmaster - Postmaster Revamp

I haven’t updated to Txp 4.2 or Postmaster Revamp yet but this post, smd_if and a persistent spambot finally pushed me to make my newsletter double opt-in. I’m sure only some small changes needs to be done for it to work in Txp 4.2/Revamp.

I put these three smd_if blocks of code in a single article in it’s own “newsletter” section and after a couple of hours of testing it seems to work well:

<txp:smd_if field="urlvar:uid, urlvar:name, urlvar:email" operator="undefined, undefined, undefined">
 <h2>Newsletter</h2>
 <p>Subscribe to our newsletter bla bla blah!</p>
 <txp:zem_contact to="myemail@mydomain.com" label="" copysender="yes" subject="Paperboy newsletter sign-up confirmation" thanks="<p>Now that that's done you should check your inbox where you will receive a confirmation email with further instructions.</p>">
  <txp:zem_contact_text name="subname" label="Your name" break="" />
  <txp:zem_contact_email name="subemail" label="Your email address" break="" />
  <txp:zem_contact_secret label="Message" value='<txp:smd_if field="postvar:subname, postvar:subemail" operator="isused, isused" filter="/\s/" replace="%20">To complete the sign up to the Paperboy newsletter you need to click this link and confirm your name and email address: http://www.mydomain.com/newsletter/?name={smd_if_subname}&email={smd_if_subemail}</txp:smd_if>' />
  <txp:zem_contact_submit label="Submit" />
 </txp:zem_contact>
</txp:smd_if>
<txp:smd_if field="urlvar:name, urlvar:email" operator="defined, defined">
 <h2>Newsletter sign-up confirmation</h2>
 <p>Welcome back <em>{smd_if_name}</em>,</p>
 <p>You are about to subscribe to the <em>Paperboy newsletter</em> using this email-address: <em>{smd_if_email}</em>.</p>
 <p>You will be able to unsubscribe anytime just by clicking a link in the newsletter that gets sent out.</p>
 <txp:zem_contact to="myemail@mydomain.com" label="" copysender="no" subject="New subscriber" thanks="<p><strong>Thank you</strong> for signing up bla bla blah...</p>">
  <txp:zem_contact_secret name="zemSubscriberName" label="Name" value="{smd_if_name}" break="" />
  <txp:zem_contact_secret name="zemSubscriberEmail" label="Email" value="{smd_if_email}" break="" />
  <txp:zem_contact_secret name="zemSubscriberLists" label="Newsletter" value="newsletter1" />
  <txp:zem_contact_serverinfo name="REMOTE_ADDR" label="IP number" />
  <txp:zem_contact_serverinfo name="HTTP_USER_AGENT" label="Browser" />
  <txp:zem_contact_submit label="Yes - subscribe!" />
 </txp:zem_contact>
</txp:smd_if>
<txp:smd_if field="urlvar:uid" operator="defined">
 <h2>You are now unsubscribed</h2>
 <p>You were successfully removed from our database and your name and your email address has been permanently deleted.</p>
<txp:bab_pm_unsubscribe />
</txp:smd_if>

It may help someone else who needs double opt-in, or if you have any ideas how to make it better they’re welcome!

Offline

#93 2009-12-01 19:33:09

angka
New Member
Registered: 2009-12-01
Posts: 2

Re: mem_postmaster - Postmaster Revamp

Help! Everything is working great with Postmaster except for one maddening little problem that is preventing me from using it. The title of the email, once sent, is showing the ASCII for a nonbreaking space (&-#-160;) between the next-to-last and last words in the title. I don’t know why this is happening but I can’t make it not happen. Is this an error anyone else is seeing? Thanks!

Offline

#94 2009-12-01 19:34:28

truist
Plugin Author
From: Ohio, USA
Registered: 2004-11-09
Posts: 257
Website

Re: mem_postmaster - Postmaster Revamp

I’m also seeing it. (I’ve been seeing it as long as I’ve been using it, but I just lived with it.)

Offline

#95 2009-12-01 19:38:56

Manfre
Plugin Author
From: North Carolina
Registered: 2004-05-22
Posts: 588
Website

Re: mem_postmaster - Postmaster Revamp

Admin->Prefs->Advanced:
“Prevent widowed words in article titles?”

The email subject is using the article’s title, which is subject to the above setting. Disabling this setting will prevent the space character between the last 2 words of the title. I’ll add this to the list of things to fix for the next release.

Offline

#96 2009-12-01 19:44:14

angka
New Member
Registered: 2009-12-01
Posts: 2

Re: mem_postmaster - Postmaster Revamp

This worked! Seems small but was actually really vexing to me, thanks so much!

Offline

#97 2009-12-01 20:07:29

truist
Plugin Author
From: Ohio, USA
Registered: 2004-11-09
Posts: 257
Website

Re: mem_postmaster - Postmaster Revamp

Manfre, my plan is to leave the setting on (because I take advantage of it) but of course, I haven’t minded the problem enough to worry about reporting it :) I look forward to the next release. Thanks for a great plugin!

Offline

#98 2009-12-21 11:28:37

AdamK
Member
From: Kraków, Poland
Registered: 2009-08-11
Posts: 47

Re: mem_postmaster - Postmaster Revamp

Hi. I have installed the plugin on a brand new txp 4.2.0 (site is one of 5+ in multisite setup) and getting this error, when sending to the list:

Notice: Undefined variable: uPosted in /home/dogen/public_html/serwisy_hostowane/textpattern/textpattern/publish.php on line 921 Notice: Undefined variable: uExpires in /home/dogen/public_html/serwisy_hostowane/textpattern/textpattern/publish.php on line 922 Notice: Undefined variable: uLastMod in /home/dogen/public_html/serwisy_hostowane/textpattern/textpattern/publish.php on line 923

(all the txp files are put into /home/dogen/public_html/serwisy_hostowane/textpattern/ dir, site is in /home/dogen/public_html/serwisy_hostowane/textpattern/sites/sitename)

All the installed plugins on site:

mem_postmaster Michael Manfre 1.0.7 (loaded as 7)
mem_postmaster_library Michael Manfre 1.0.4 (loaded as 6)
zem_contact_lang TXP Community 4.0.3.6 (loaded as 5)
zem_contact_reborn TXP Community 4.0.3.20 (loaded as 5)

Adam

P.S. When trying to send Direct Message to the list, I get:
Notice: Undefined variable: Title in /home/dogen/public_html/serwisy_hostowane/textpattern/textpattern/lib/txplib_misc.php(594) : eval()’d code on line 1107 Notice: Undefined variable: Body in /home/dogen/public_html/serwisy_hostowane/textpattern/textpattern/lib/txplib_misc.php(594) : eval()’d code on line 1108 Notice: Undefined variable: Body in /home/dogen/public_html/serwisy_hostowane/textpattern/textpattern/lib/txplib_misc.php(594) : eval()’d code on line 1109 Notice: Undefined variable: Excerpt in /home/dogen/public_html/serwisy_hostowane/textpattern/textpattern/lib/txplib_misc.php(594) : eval()’d code on line 1112 Notice: Undefined variable: Excerpt in /home/dogen/public_html/serwisy_hostowane/textpattern/textpattern/lib/txplib_misc.php(594) : eval()’d code on line 1113

Last edited by AdamK (2009-12-21 11:50:44)

Offline

#99 2010-01-12 12:21:24

xylpho
Member
From: Brest, France
Registered: 2005-10-24
Posts: 28

Re: mem_postmaster - Postmaster Revamp

Hi all,

I use Textpattern 4.2.0 and mem_postmaster (last version). I’m stuck in the csv import process. All my tests return the same error :

Warning: Wrong parameter count for fgetcsv() in /homez.323/leclou/www/textpattern/lib/txplib_misc.php(594) : eval()'d code on line 715

I tried many options for my csv file like :

xxx@xxx.net,
xxx@xxx.org,
etc.

or

,,xxx@xxx.net,
,,xxx@xxx.org,
etc

Nothing works and i get the same error each time. I tried to split my file too, the original has 2422 lines. Nada

Can someone please help me ?


don’t eat yellow snow

Offline

#100 2010-01-13 19:04:27

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: mem_postmaster - Postmaster Revamp

xylpho wrote> I tried many options for my csv file like…

Looks to me like you’re just throwing a bunch of comma seperated email addresses at the import area.

You have to include all the fields even if they’re blank.

First Name,Last Name,Email,Lists,Custom 1,Custom 2,Custom 3,Custom 4,Custom 5,Custom 6,Custom 7,Custom 8,Custom 9,Custom 10

Offline

#101 2010-01-15 04:03:28

TJ
Member
From: Alton, Missouri USA
Registered: 2010-01-14
Posts: 23
Website

Re: mem_postmaster - Postmaster Revamp

Thanks for the plug-in! I’ve used postmaster for a while now and appreciate your efforts.

I’ve only one question (and believe me I’ve read this over and over)

1) How do I remove the “flag” that’s inserted into the database after mailing so I may send out a mailing once a week or everyday if need be?

That’s it!

Thanks!


“…freely ye have received, freely give.” | www.PublishingAWebsite.com

Offline

#102 2010-01-15 15:36:56

Manfre
Plugin Author
From: North Carolina
Registered: 2004-05-22
Posts: 588
Website

Re: mem_postmaster - Postmaster Revamp

TJ wrote:

1) How do I remove the “flag” that’s inserted into the database after mailing so I may send out a mailing once a week or everyday if need be?

Whenever a new mailing is started, it will clear the flag.

Offline

#103 2010-01-15 16:42:54

TJ
Member
From: Alton, Missouri USA
Registered: 2010-01-14
Posts: 23
Website

Re: mem_postmaster - Postmaster Revamp

Manfre wrote:

TJ wrote:

1) How do I remove the “flag” that’s inserted into the database after mailing so I may send out a mailing once a week or everyday if need be?

Whenever a new mailing is started, it will clear the flag.

==================

Thanks for the quick reply…

That’s probably my problem. That is, I’m testing the mailing, but always on the same article.

I’ll make a new article and see what happens!


“…freely ye have received, freely give.” | www.PublishingAWebsite.com

Offline

#104 2010-01-25 01:06:06

Bill Grimm
New Member
From: Colorado
Registered: 2010-01-25
Posts: 8

Re: mem_postmaster - Postmaster Revamp

I am having a similar problem with the ‘mailed’ flag — it is not being cleared for new mailings. Perhaps I am not doing things in the right order? I create a new article, publish it, then use postmaster to send it out. No emails get sent unless I send it to Test, then I get it. Or if I manually clear the flag field, then it works. Any ideas? Thanks.

Offline

#105 2010-01-25 13:41:30

TJ
Member
From: Alton, Missouri USA
Registered: 2010-01-14
Posts: 23
Website

Re: mem_postmaster - Postmaster Revamp

Bill Grimm wrote:

I am having a similar problem with the ‘mailed’ flag — it is not being cleared for new mailings. Perhaps I am not doing things in the right order? I create a new article, publish it, then use postmaster to send it out. No emails get sent unless I send it to Test, then I get it. Or if I manually clear the flag field, then it works. Any ideas? Thanks.

That’s exactly what was happening to me. Bill describes the problem more accurately.

I haven’t had a chance to send out a new mailing yet, but I just wanted to “second” Bills’ post.


“…freely ye have received, freely give.” | www.PublishingAWebsite.com

Offline

Board footer

Powered by FluxBB