Textpattern CMS support forum

You are not logged in. Register | Login | Help

#11 2009-09-02 17:00:44

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 7,377
Website

Re: mem_postmaster - Postmaster Revamp

Hi Michael,

Thanks… It would be nice if there was a field in that tab so as to make the whole thing self contained. But no worries:)

Just noticed that the update to mem_postmaster deletes all existing subscriber names. Any ideas?

>Edit

Also can you post some basic subscriber/unsubscriber tags? Our existing form does not seem to work. Here’s what we currently have

<txp:zem_contact to="ourmail@mail.com" label="" thanks_form="news-subform">
<txp:zem_contact_text name="zemSubscriberName" label="Your Name:" required="1"  />
<txp:zem_contact_email name="zemSubscriberEmail" label="Your Email:" required="1" />
<txp:zem_contact_secret name="zemSubscriberLists" value="default subscriber" />
<txp:zem_contact_text name="zemSubscriberCustom1" label="Your website:" required="0" />
<txp:zem_contact_checkbox label="Check this box if you wish to subscribe to our newsletter. " />
<txp:zem_contact_submit label="Subscribe" />
</txp:zem_contact>

Our unsubscribe form

<txp:zem_contact to="ourmail@mail.com" label="" thanks_form="news-unsubform">
<txp:zem_contact_email name="zemSubscriberEmail" label="Your Email:" />
<txp:zem_contact_checkbox name="zemUnSubscribe" label="Unsubscribe" required="no" />
<txp:zem_contact_submit label="usubuscribe" />
</txp:zem_contact>

and this is the form we are using to send emails

Dear <txp:bab_pm_data display="subscriberName" />,
<txp:bab_pm_data display="Body" />

What do we need to change?

Last edited by colak (2009-09-02 17:46:05)


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | Respbublika! | NeMe @ github

Offline

#12 2009-09-02 18:13:21

mrdale
Moderator
From: Walla Walla
Registered: 2004-11-19
Posts: 2,203
Website

Re: mem_postmaster - Postmaster Revamp

colak wrote: Just noticed that the update to mem_postmaster deletes all existing subscriber names. Any ideas?

This is because The new postmaster has firstName and lastName feilds. I would do a csv export of your existing subscribers, break apart first and last names into two fields, then reimport.

Also can you post some basic subscriber/unsubscriber tags? Our existing form does not seem to work. Here’s what we currently have

I think you can just substitute the following on both the subscribe and unsubscribe forms

<txp:zem_contact_text name="zemSubscriberFirstName" label="Your Name:" required="1" />
<txp:zem_contact_text name="zemSubscriberLastName" label="Your Name:" required="1" />

and this is the form we are using to send emails…

Dear <txp:bab_pm_data display="subscriberFirstName" />, <txp:bab_pm_data display="Body" />

That should work

Offline

#13 2009-09-02 18:25:23

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 7,377
Website

Re: mem_postmaster - Postmaster Revamp

HI Dale

is this correct?

Dear <txp:bab_pm_data display="subscriberFirstName" />, <txp:bab_pm_data display="Body" />

In the subscriber form we have zemSubscriberFirstName whereas on the email template there is subscriberFirstName.

I guess there is no real diference from the original plugin:)

Also if I want the last name too, do I write Dear <txp:bab_pm_data display="subscriberFirstName" /> <txp:bab_pm_data display="subscriberLastName" />, <txp:bab_pm_data display="Body" />?

Last edited by colak (2009-09-02 18:27:12)


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | Respbublika! | NeMe @ github

Offline

#14 2009-09-02 20:01:51

mrdale
Moderator
From: Walla Walla
Registered: 2004-11-19
Posts: 2,203
Website

Re: mem_postmaster - Postmaster Revamp

Colak> I think you have it.

Offline

#15 2009-09-05 08:58:56

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 7,377
Website

Re: mem_postmaster - Postmaster Revamp

mrdale wrote:

Colak> I think you have it.

:( Not really:(

Our subscriber lists are many but they are basically divided into 3:

  • Online subscribers (who directly subscribe through the form)
  • Offline subscribers who give us their email during our events with specific instructions to subscribe them. This is subdivided on per event basis
  • Default subscribers: which comprises of ALL the names/emails.

What doesn’t work is the Online subscribers.

<txp:zem_contact_secret name="zemSubscriberLists" value="default subscriber" /> which used to allocate people to the particular lists is not recognised, although it is sent in the email.

I also tried <txp:zem_contact_secret name="zemSubscriberLists" value="default, subscriber" /> and the same without the space after the comma with no results.


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | Respbublika! | NeMe @ github

Offline

#16 2009-09-05 14:41:30

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 7,377
Website

Re: mem_postmaster - Postmaster Revamp

Apologies but I think that I hit another bug, this time with the search utility.

When searching the“Subscriber list”, it is only the first 100 names which appear in the results and there is no pagination for the other names. The original plugin listed all names under that list as well as supplying the number of items within it.


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | Respbublika! | NeMe @ github

Offline

#17 2009-09-05 23:49:44

mrdale
Moderator
From: Walla Walla
Registered: 2004-11-19
Posts: 2,203
Website

Re: mem_postmaster - Postmaster Revamp

colak wrote:

What doesn’t work is the Online subscribers.

<txp:zem_contact_secret name="zemSubscriberLists" value="default subscriber" /> which used to allocate people to the particular lists is not recognised, although it is sent in the email.

I also tried <txp:zem_contact_secret name="zemSubscriberLists" value="default, subscriber" /> and the same without the space after the comma with no results.

OK, So <txp:zem_contact_secret /> is a tag that only displays something in the output of the ZCR form’s email. eg <txp:zem_contact_secret value="The answer is 42" />

What you need is an input similar to…

<txp:zem_contact_select list="default,test" selected="default" name="zemSubscriberLists" label="Your List:" />

Offline

#18 2009-09-06 00:16:28

hidalgo
Member
From: Australia
Registered: 2008-02-05
Posts: 58
Website

Re: mem_postmaster - Postmaster Revamp

Unfortunately I have the same problem as Colak. When subscribing with <txp:zem_contact_secret name="zemSubscriberLists" value="default" /> the user is subscribed but not added to the default list. I receive the following error:

Tag error:  <txp:zem_contact to="example@email.com"> ->  Textpattern Warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '6 = 6' at line 1
insert into bab_pm_subscribers_list set list_id = 1, 6 = 6  on line 85

I’ve just tried <txp:zem_contact_select list="default,test" selected="default" name="zemSubscriberLists" label="Your List:" /> and receive the same error.

The MySQL version is 4.1.20 if that helps.

Another problem I’ve noticed is that I’m not able to access the ‘DB Backup’ tab of rss_admin_db_manager while Postmaster is active. I receive the following error:

Fatal error: Cannot redeclare pref_func() (previously declared in /var/www/vhosts/.../httpdocs/textpattern/lib/txplib_misc.php(594) : eval()'d code:881) in /var/www/vhosts/.../httpdocs/textpattern/include/txp_prefs.php on line 244

Lastly, the progress image is missing when sending bulk mail. Is there anywhere the image can be downloaded?

Offline

#19 2009-09-06 05:49:42

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 7,377
Website

Re: mem_postmaster - Postmaster Revamp

mrdale wrote:

OK, So <txp:zem_contact_secret /> is a tag that only displays something in the output of the ZCR form’s email. eg <txp:zem_contact_secret value="The answer is 42" />

What you need is an input similar to…

<txp:zem_contact_select list="default,test" selected="default" name="zemSubscriberLists" label="Your List:" />

Hi Dale, thanks for the response but is there another way? Our online subscribers should by default be listed in 2 lists: default AND subscribers. Given the names we gave to those lists it would be inappropriate/possibly confusing to have them visible anyway. The secret tag was a documented feature of ben’s plugin which made subscriptions like ours possible.

Michael, is there a way to bring it back in?

@ Kalon. I’m using MySQL MySQL: 4.1.18 without any problems for rss_admin_db_manager. I wish I could ask you which rss_admin_ version you are using but with all the hacks/mods supplied for that plugin I don’t think that the answer will be of help.


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | Respbublika! | NeMe @ github

Offline

#20 2009-09-07 16:22:25

zoltandragon
Member
Registered: 2007-04-30
Posts: 43

Re: mem_postmaster - Postmaster Revamp

Hi. I have been using Postmaster for quite a while, but encountered problems only when upgrading to TXP 4.2. Whenever I tried to send a newsletter to my list, the following error came up:

“301: Moved Permanently

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@mydomain.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.”

I now installed the revamped Postmaster – same thing happens (plus the First and Last name of the subscribers are now gone). My server does not enable the use of “show_source, phpinfo, shell, symlink” – does it have to do with anything relating to the problem above?

Note: this does not happen when using TXP 4.0.8

Can anyone help? I would really appreciate it :))

Offline

Board footer

Powered by FluxBB