Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-02-15 21:34:54

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

[request] a plug-in to save ZCR e-mails on TxP database

Hi,

I asked for this one long time ago, but the request has sunk in the deep ocean.

I request a plug-in that could save e-mails sent through a zem_contact_reborn contact form on the TxP database.

What could be this plug-in useful for?

For saving e-mails on database!
I have had problems related to e-mails & hosting more than once.
I’m not talking about problems directly related to ZCR but to e-mails in general.
Specially, if you have your MX entry changed to work with another server, like Google Apps.
For example, if your hosting company has had any problem with their server configuration and they are restoring the configuration, they may forget/delete your MX entry configurations. (In fact, this has happened to me more than once).
Of course, if that happens, you will have problems receiving e-mails, not just ZCR e-mail but any e-mail that people send to you.

So, this plug-in could help, at least, to avoid losing the e-mails sent through ZCR while you and your hosting company were having some troubles with e-mail configuration. By having a copy of your e-mail in the DB, you can access those e-mails and take actions.

Also, then you can hit a button and get those e-mails sent again to the e-mail address it should be delivered.

What do you think? I hope someone would like the idea and do some abracadabra.

Last edited by maniqui (2008-02-15 21:35:36)


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#2 2008-02-15 21:55:53

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: [request] a plug-in to save ZCR e-mails on TxP database

Storing the information in a table isn’t that hard…. depending on how you want to store it. If you store it as one big chunk of text, I suspect it doesn’t take more than 10 or 15 lines, assuming the table itself already exists. But if you also want a webinterface to access those emails, that is more time consuming.

Offline

#3 2008-02-16 15:44:17

Zanza
Plugin Author
Registered: 2005-08-18
Posts: 699
Website

Re: [request] a plug-in to save ZCR e-mails on TxP database

Uhm… what about using comments? If you just want basic user information (i.e., not custimizing the form), you could have a “contact” article, that only display the comment form, with “moderated” setting. The message wouldn’t be displayed, an email would be sent to you, and the message stored in the db. Without any plugin.

Never tried, just asking if this solution could be viable…

Z-

Offline

#4 2008-02-17 17:44:49

benbruce
Plugin Author
Registered: 2006-01-13
Posts: 328
Website

Re: [request] a plug-in to save ZCR e-mails on TxP database

This might be more complicated than you want, but I think you could use Postmaster to achieve this. You’d have to think of “Subscribers” as “Emails you want to save” …

Last edited by benbruce (2008-02-17 17:45:21)

Offline

#5 2008-02-17 19:06:41

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: [request] a plug-in to save ZCR e-mails on TxP database

@Zanza

Yes, I’ve thinked of that. In fact, I’ve seen a TxP site (a travelling agency) that does exactly that: use comment form as contact form. It was a very clever idea. The only cons I see is that the visitor has to preview the e-mail, and that could be confusing, or even worst, it could lead to people not hitting the “Submit” button (because they already think the e-mail has been sent after hitting “Preview”), in which case, you will be as in my scenario: you have lost an e-mail.

@benbruce

Yes, you are right. The idea is very similar to what Postmaster does. The problem is that PM doesn’t have a textarea in any field for “Subscribers”.
So, a work-around (a hack, or a new plug-in, or an add-on plug-in) is needed.
And finally, doing such a plug-in is beyond my current abilities.
So, now… the ball is in your field! :D
Let’s name it the “Postkeeper” or “Postguardian” ;)

Last edited by maniqui (2008-02-17 19:08:04)


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#6 2008-02-19 15:25:37

benbruce
Plugin Author
Registered: 2006-01-13
Posts: 328
Website

Re: [request] a plug-in to save ZCR e-mails on TxP database

maniqui,

It used to have textareas for just this reason (vs input fields) but with the latest release it switched up. That’s actually a pretty simple hack, or ideally you could set preferences for how you want the fields.

  • Ben

Offline

Board footer

Powered by FluxBB