Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#133 2008-05-24 09:29:14
Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager
I was looking at the output of my subscription form, which looks like this:
<form method="post" id="zemContactForm" action="/new/nieuwsbrief">
<fieldset>
<legend>Contact</legend>
<input type="hidden" name="zem_contact_nonce" value="78e7e1024e5173746df30e1d48588b59" /><br />
<label for="zemSubscriberName" class="zemRequired zemSubscriberName">Name</label><br /><input type="text" id="zemSubscriberName" class="zemRequired" name="zemSubscriberName" value="" maxlength="100" /><br />
<label for="youremail" class="zemRequired youremail">Your Email:</label><br /><input type="text" id="youremail" class="zemRequired" name="youremail" value="" maxlength="100" /><br />
<input type="hidden" id="zemSubscriberLists" name="zemSubscriberLists" value="newsletter" /><br />
<input type="checkbox" id="thisisnotspam" class="zemRequired" name="thisisnotspam" /> <label for="thisisnotspam" class="zemRequired thisisnotspam">This is not Spam. </label><br />
<input type="submit" id="zemSubmit" name="zem_contact_submit" value="Send" /><br />
</fieldset>
</form>
Again, this is the form I use:
<txp:zem_contact to="me [at] momono.nl">
<txp:zem_contact_text name="zemSubscriberName" label="Name" />
<txp:zem_contact_email name="zemSubscriberEmail" label="Your Email:" />
<txp:zem_contact_secret name="zemSubscriberLists" value="newsletter" />
<txp:zem_contact_checkbox label="This is not Spam. " />
<txp:zem_contact_submit />
</txp:zem_contact>
How come name="zemSubscriberEmail"
gets converted to id="youremail" name="youremail"
instead of id="zemSubscriberEmail" name="zemSubscriberEmail"
?
I have no idea if this has something to do with the fact that subscribers aren’t stored in the DB…
Offline
#134 2008-05-24 14:16:15
Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager
OK, I would bet that’s the problem…
Is there any Javascript running on the front side of your site that could be modifying the HTML? maybe even a Google toolbar or a Firefox extension?
<label for="zemSubscriberEmail" class="zemText zemRequired zemSubscriberEmail">Your email</label><br /><input type="text" id="zemSubscriberEmail" class="zemText zemRequired" name="zemSubscriberEmail" value="" maxlength="100" />
That should be the output.
Offline
#135 2008-05-25 07:49:57
Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager
maniqui thanks now the ‘Unsubscribe Url:’ is working :)
I only need now to change the “from:” to be a name and not the admin’s email address
how can I do this please?
Last edited by THE BLUE DRAGON (2008-05-25 07:50:58)
Offline
#136 2008-05-26 07:29:25
Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager
ok I found how to chenge the “from” to a name:
edit the Postmaster Library and search for
$headers = "From: $listAdminEmail".
replace $listAdminEmail
with
Your name <blabla@domain.com>
or
Your name <$listAdminEmail>
so after all you got:
$headers = “Your name <blabla@domain.com>”.
or
$headers = “Your name <$listAdminEmail>”.
enjoy ;)
Offline
#137 2008-05-28 08:08:07
- Dandruff
- Member
- Registered: 2007-03-16
- Posts: 18
Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager
Hi there,
I’m trying to add the option to Subscribe OR Unsuscribe to a newsletter called “default” in the same form. And it doesn’t work at all.
It looks like this:
<txp:zem_contact to="email@domain.com">
<txp:zem_contact_email name="zemSubscriberEmail" label="Your email" />
<txp:zem_contact_secret name="zemSubscriberLists" value="default" />
<txp:zem_contact_checkbox name="zemDoSubscribe" label="Subscribe" required="no" value="on" />
<txp:zem_contact_checkbox name="zemUnSubscribe" label="Unsubscribe" required="no" value="on" />
<txp:zem_contact_submit />
</txp:zem_contact>
Any idea on how to achieve this?
Offline
#138 2008-05-28 20:34:15
Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager
I’m also having problems with the <txp:bab_pm_unsubscribeLink /> tag.
The unsuscribe link on the received email is not correct.
The article with the unsubscribe info is at fi. www.mydomain.com\unsubscribe
The unsubscribe link in my email shows: www.mydomain.com\unsubscribe\&uid=
When I click on this link I receive a 404 error – page not found. I assume something has to be done with this &uid= …?
Any idea what I need to do to fix this?
Offline
#139 2008-05-28 20:41:01
Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager
Are you sending a test e-mail or a real e-mail?
Offline
#140 2008-05-28 20:51:19
Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager
keukenkikker Like “maniqui” said:
If it’s a test email or you the admin of that list
go and make a “test” list and add another email address that you got
and then send it by “yes” and not “test” and see, it sould work
I was confus with this too ;)
Last edited by THE BLUE DRAGON (2008-05-28 20:52:17)
Offline
#141 2008-05-28 21:49:25
Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager
ohh btw I found a bug!
if you create lists 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15
and then send mail to list “1” it is sending it to lists 1,10,11,12,13,14,15
and not only to “1” !
so I changed it to a,b,c,d,e,f,g… and now it’s fine
i’m sending only 40 per send
because of if i’m sending to 200+ at ones it’s giving me errors and going crazy into a loop
and yea if you got only 9 lists you can name them by using numbers but from 10+ it’s getting confused
Last edited by THE BLUE DRAGON (2008-05-28 22:00:45)
Offline
#142 2008-05-28 21:55:18
Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager
It’s not a bug, it’s a feature ;)
Offline
#143 2008-05-28 21:59:14
Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager
Offline
#144 2008-05-29 10:07:09
Re: [ARCHIVED] Postmaster (0.4.4) -A simple newsletter manager
When I send a test message, the &uid= is empty.
When I send a message to my test list, the &uid= has a whole bunch of numers behind it, but when I click on it, I still have a 404-error page.
I assume that you should go to the unsubscribe page and the information should be filled out already?
Offline