Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2013-04-09 19:17:00

admi
Member
From: BY
Registered: 2007-12-10
Posts: 145
Website

Publishing info from e-mail or comments form?

Hello to TXP guys!

I wonder if it is possible to do that with TXP. Example: a user fills a form with questions like name, email, phone, type of service needed, etc. (something what zem contact reborn can do) after the information is submitted it is published on the site somewhere.

I know WordPress has an ability of publishing through E-mail. Is there any chance for TXP to get closer to this somehow?

Or can some combination of comments plug-ins be used for the purpose?

Offline

#2 2013-04-09 21:48:56

etc
Developer
Registered: 2010-11-11
Posts: 5,192
Website GitHub

Re: Publishing info from e-mail or comments form?

Hi Andre,

zem_contact_reborn has a callback that should make writing such a plugin (if none exists) a relatively easy task. You’ll have to decide how to store the posted data: as articles, comments or somewhat else.

Offline

#3 2013-04-10 07:00:03

admi
Member
From: BY
Registered: 2007-12-10
Posts: 145
Website

Re: Publishing info from e-mail or comments form?

Hi etc! I just discovered great plugins (new to me) on your site!

Oh really? As articles from one section would be perfect. If that is possible I will be happy to compensate the efforts!

Offline

#4 2013-04-10 08:42:27

etc
Developer
Registered: 2010-11-11
Posts: 5,192
Website GitHub

Re: Publishing info from e-mail or comments form?

Thank you, I didn’t meant myself. :) A general plugin like this would require some time to make a back-end for complete customization (which input corresponds to which article field, and so on). I have no much time for this right now, but could try to make a minimal interface-less template that you could extend/adapt to your case if you don’t mind some php coding. You can also take a look at this plugin, though I have never tried it.

Offline

#5 2013-04-11 19:00:03

etc
Developer
Registered: 2010-11-11
Posts: 5,192
Website GitHub

Re: Publishing info from e-mail or comments form?

If you feel brave enough to let anyone publish articles on your site, here it is:

# Name: etc_zemcontact v0.1 
# Type: Public side plugin
# 
# Author: 
# URL: 
# Recommended load order: 5

# .....................................................................
# This is a plugin for Textpattern CMS - http://textpattern.com/
# To install: textpattern > admin > plugins
# Paste the following text into the 'Install plugin' box:
# .....................................................................

YToxMTp7czo0OiJuYW1lIjtzOjE0OiJldGNfemVtY29udGFjdCI7czo2OiJhdXRob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it: forgotten to comment out an exit; at the end of the plugin, resulting in a blank page, now fixed.

Last edited by etc (2013-06-27 13:26:04)

Offline

#6 2013-04-11 19:50:57

admi
Member
From: BY
Registered: 2007-12-10
Posts: 145
Website

Re: Publishing info from e-mail or comments form?

I will try! How is it supposed to be? A user fills ZCR form and admin will see the sent message in the article list?

Offline

#7 2013-04-11 19:59:41

etc
Developer
Registered: 2010-11-11
Posts: 5,192
Website GitHub

Re: Publishing info from e-mail or comments form?

admi wrote:

I will try! How is it supposed to be? A user fills ZCR form and admin will see the sent message in the article list?

By default, yes, the new article will await approval. But you can set status="4" in <txp:etc_zemcontact /> to publish it immediately. An email will be sent by ZCR, as usual.

Description

Allows any visitor to post articles via zem_contact forms.

Attributes

Same as (some of) lowercase article fields (section, category1, custom_2, etc).

Usage

  • Install and activate ZCR and this plugin.
  • Create a zem_contact form, with few fields named as txp article fields (in lowercase).
  • Place the tag etc_zemcontact before or inside this form.

On form submit, a new article will be created.

Example

<txp:zem_contact to="recipient@example.com">
	<txp:zem_contact_email />
	<txp:zem_contact_text name="title" label="Title" default="Help needed" />
	<txp:zem_contact_text name="category1" label="Category" />
	<txp:zem_contact_text name="custom_2" label="Custom" />
	<txp:zem_contact_textarea name="body" label="Your question" />
	<txp:zem_contact_submit label="Send" />
	<txp:etc_zemcontact section="incoming" authorid="visitor" status="4" />
</txp:zem_contact>

will post articles in section incoming.

Last edited by etc (2013-04-11 20:06:29)

Offline

#8 2013-04-12 05:39:54

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: Publishing info from e-mail or comments form?

This plugin will be of use to me too – if a project comes through. can it populate custom_fields too? Oops you did mention that it does!!!! Great!

Last edited by colak (2013-04-12 06:09:09)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#9 2013-04-12 07:31:50

etc
Developer
Registered: 2010-11-11
Posts: 5,192
Website GitHub

Re: Publishing info from e-mail or comments form?

Yes, just call them custom_i rather than by their names, though that could be changed if necessary. And don’t forget that this thing is as much spam-protected as ZCR is – but no more.

Offline

#10 2013-04-12 12:29:02

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: Publishing info from e-mail or comments form?

Hi Oleg, Maybe you should add this plugin in the plugin author support part of the forum as it will be easier to find


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#11 2013-04-12 13:05:59

admi
Member
From: BY
Registered: 2007-12-10
Posts: 145
Website

Re: Publishing info from e-mail or comments form?

That will be a great and useful plugin! I am testing it, it works but after I push the button submit i got this

Fatal error: Call to undefined function do_pings() in /home/egaza02/public_html/txp/textpattern/lib/txplib_misc.php(812) : eval()’d code on line 126

Anything I missed?

Offline

#12 2013-04-12 19:23:32

etc
Developer
Registered: 2010-11-11
Posts: 5,192
Website GitHub

Re: Publishing info from e-mail or comments form?

colak wrote:

Hi Oleg, Maybe you should add this plugin in the plugin author support part of the forum as it will be easier to find

Hi Yiannis. Once it’s tested a bit more (I had very little time for it), why not. But it’s Andre who has opened the thread, I can not modify anything.

admi wrote:

Fatal error: Call to undefined function do_pings()

Ah yes, do_pings() is not available on the public side, sorry and thanks for the report. You can safely comment it out (somewhere at the end of the code), I have not the code at hand right now.

Thank you for testing, and all suggestions are welcome.

Edit: commenting out do_pings() done.

Last edited by etc (2013-04-12 19:58:06)

Offline

Board footer

Powered by FluxBB