Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#109 2010-01-25 22:35:01
- Bill Grimm
- New Member
- From: Colorado
- Registered: 2010-01-25
- Posts: 8
Re: mem_postmaster - Postmaster Revamp
I took a closer look at the code, and it appears the flag field is used to keep track of addresses that have been sent to in batch mailings. So I won’t be removing the check from the query like I thought I might do. It seems like it would be possible to update the flag field to NULL once the mailing is complete, though (rather than doing it ahead of time like it is supposed to be doing now). Would that cause any problems, do you think?
Offline
#110 2010-01-26 00:20:32
- Bill Grimm
- New Member
- From: Colorado
- Registered: 2010-01-25
- Posts: 8
Re: mem_postmaster - Postmaster Revamp
OK. I fixed the problem I was having. I suspect TJ’s problem stems from the same thing.
In the code, the call to update the flag to ‘mailed’ was being called with the Textpattern function safe_update(), but the call to clear the flags was using safe_query(). I’m not familiar enough with mysql and php to understand entirely what the differences are, but when I changed the clear flags call to safe_update() and adjusted the passed variables to what they needed to be for that function, it works just fine!
Maybe this is just a version 1.0.7 issue?
Offline
#111 2010-02-01 10:48:43
Re: mem_postmaster - Postmaster Revamp
This is my first time installing mem_postmaster. Everything went well. That means I’m getting a test mail.
But also some ‘warnings’ >
What does this mean and is it a problem? And can I get rid of them? Thanks for any help.
Last edited by RedFox (2010-02-01 10:49:51)
Offline
#112 2010-02-02 13:03:01
- mlarino
- Member
- Registered: 2007-06-29
- Posts: 367
Re: mem_postmaster - Postmaster Revamp
colak wrote:
Hi Michael, This is much appreciated but the latest version returns
Fatal error: Call to undefined function mem_pm_createTables() in /path/to/site/textpattern/lib/txplib_misc.php(594) : eval()’d code on line 123
It also prohibits viewing any of the postmaster tabs
I just installed a new txp 4.2 with PostMaster 1.0.7 and have this error. (missing Postmaster tabs style)
But intalling PostMaster 1.0.5 solves the Tabs problem but preferences doesnt work
Is there an error in the file?
Thanks!
Last edited by mlarino (2010-02-02 13:08:11)
Offline
#113 2010-02-03 10:36:26
- mlarino
- Member
- Registered: 2007-06-29
- Posts: 367
Re: mem_postmaster - Postmaster Revamp
Post Master Manual needs to be updated…
The examples there dont work.
I am willing of doing it if people send me examples of how they are using Post Master…
I am a Designer and code is not my strength, so a manual that doesnt explain things correctly is not usefull…
Any way to fix the tab styling problem?
Another question:
I read all the forum posts, but seems noone needed this option,
I am creating 5 newsletter lists, and would like users to suscribe to the ones they are interested (maybe its 1, maybe its 3)
I wanted to use checkboxes, but tried doing this and doesnt work at all, am I doing something worng? or is it imposible to do it with checkboxes?:
<txp:zem_contact to="MY EMAIL HERE" >
<txp:zem_contact_text name="zemSubscriberFirstName" label="NAME:" required="1" />
<txp:zem_contact_text name="zemSubscriberLastName" label="LASTNAME:" required="1" />
<txp:zem_contact_email name="zemSubscriberEmail" label="Email:" />
<txp:zem_contact_checkbox name="zemSubscriberLists" label="LIST 1" />
<txp:zem_contact_checkbox name="zemSubscriberLists" label="LIST 2" />
<txp:zem_contact_checkbox name="zemSubscriberLists" label="LIST 3" />
<txp:zem_contact_checkbox name="zemSubscriberLists" label="LIST 4" />
<txp:zem_contact_checkbox name="zemSubscriberLists" label="LIST 5" />
<txp:zem_contact_submit />
</txp:zem_contact>
One more thing, where can I find a list of tags used by this plugin? in the help dont appear.
I am talking about tags like:
<TXP:BAB_PM_DATA /> etc...
Last edited by mlarino (2010-02-03 13:04:29)
Offline
#114 2010-02-04 10:40:25
- xylpho
- Member
- From: Brest, France
- Registered: 2005-10-24
- Posts: 28
Re: mem_postmaster - Postmaster Revamp
hello, me again. I have some problems with the unsubscribe form, it doesn’t work.
here is my unsubscribe form (some french language in it but nevermind)
<txp:zem_contact to="xylpho@gmail.com" thanks="Vous n'êtes plus abonné à notre newsletter" subject="désinscription d'un internaute à la newsletter" label="">
<txp:zem_contact_secret name="zemSubscriberLists" value="test, letter" />
<p><txp:zem_contact_email name="zemSubscriberEmail" label="Votre Email" /></p>
<p class="check"><txp:zem_contact_checkbox name="zemUnSubscribe" label="Se désabonner" required="yes" /></p>
<txp:zem_contact_submit label="Confirmer" />
</txp:zem_contact>
When I try to unsubscribe, the form returns this error on the web page :
Erreur de balise : <txp:zem_contact
to="xylpho@gmail.com"
thanks="Vous n'êtes plus abonné à notre newsletter"
subject="désinscription d'un internaute à la newsletter"
label=""> -> Textpattern Warning: Duplicate entry 'nkdancingqueen@gmail.com' for key 2
insert into bab_pm_subscribers set subscriberFirstName = '',
subscriberLastName = '',
subscriberEmail = 'nkdancingqueen@gmail.com',
subscriberCustom1 = '',
subscriberCustom2 = '',
subscriberCustom3 = '',
subscriberCustom4 = '',
subscriberCustom5 = '',
subscriberCustom6 = '',
subscriberCustom7 = '',
subscriberCustom8 = '',
subscriberCustom9 = '',
subscriberCustom10 = '',
unsubscribeID = '553ee59d936646af76129105c27c0909' on line 85
Could someone explain to me what goes wrong with it ?
don’t eat yellow snow
Offline
#115 2010-02-04 10:55:08
- mlarino
- Member
- Registered: 2007-06-29
- Posts: 367
Re: mem_postmaster - Postmaster Revamp
xylpho wrote:
hello, me again. I have some problems with the unsubscribe form, it doesn’t work.
I think you have to delete this line of code:
<txp:zem_contact_secret name="zemSubscriberLists" value="test, letter" />
I am not completely sure, but I think what your form is doing is writing a new user at the same time that deleting it.
delete that code and try it.
Offline
#116 2010-02-04 11:12:15
- xylpho
- Member
- From: Brest, France
- Registered: 2005-10-24
- Posts: 28
Re: mem_postmaster - Postmaster Revamp
I deleted this line, but i got the error message
don’t eat yellow snow
Offline
#117 2010-02-04 11:20:43
- mlarino
- Member
- Registered: 2007-06-29
- Posts: 367
Re: mem_postmaster - Postmaster Revamp
<txp:zem_contact to="xylpho@gmail.com" label="" ><br />
<txp:zem_contact_email name="zemSubscriberEmail" label="Your Email: " /><txp:zem_contact_submit label="Unsubscribe" /><br />
<txp:zem_contact_checkbox name="zemUnSubscribe" label="Unsubscribe" required="no" /><br />
</txp:zem_contact>
Thats what I am using, chek if it works for you.
Last edited by mlarino (2010-02-04 11:21:25)
Offline
#118 2010-02-04 11:49:02
- xylpho
- Member
- From: Brest, France
- Registered: 2005-10-24
- Posts: 28
Re: mem_postmaster - Postmaster Revamp
Don’t understand why, but it definitely don’t work.
Don’t understand why i got
Textpattern Warning: Duplicate entry 'nkdancingqueen
gmail.com’ for key 2 insert into bab_pm_subscribers set subscriberFirstName = ‘’@
don’t eat yellow snow
Offline
#119 2010-02-04 12:00:30
- mlarino
- Member
- Registered: 2007-06-29
- Posts: 367
Re: mem_postmaster - Postmaster Revamp
Is it posible that in your subscribers there are 2 that use the same email?
That could be a reason
Offline
#120 2010-02-04 12:06:49
- xylpho
- Member
- From: Brest, France
- Registered: 2005-10-24
- Posts: 28
Re: mem_postmaster - Postmaster Revamp
After checking my subscribers list in textpattern and in SQL too, i have only one subscriber with this email
don’t eat yellow snow
Offline