Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2013-04-13 13:29:10

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

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

Yes, it works! And what about that authorid=“visitor” status=“4” ? Seems to me that it makes no difference – articles are published anyway.

Offline

#14 2013-04-13 19:24:02

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

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

admi wrote:

And what about that authorid=“visitor” status=“4” ? Seems to me that it makes no difference – articles are published anyway.

Statuses: 1=draft, 2=hidden, 3=pending, 4=live, 5=sticky. The default status is 3, so articles are saved as pending: you see them on the admin side, but not on the public one. authorid is not so important, but if you use <txp:author /> in article forms, it will be empty for your visitor-published articles, unless you create some “fake” author (say, visitor).

Glad it works, but there is yet few things to do. So please test, but wait a little before fully trusting it.

Offline

#15 2013-04-14 14:59:03

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

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

Thanx! Sure, I will.
It is OK with 4.5.4 but not Ok with 4.4.1. At least on my sites.
Glad TXP is getting a another useful plugin!

Offline

#16 2013-04-15 08:01:08

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

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

admi wrote:

It is OK with 4.5.4 but not Ok with 4.4.1. At least on my sites.

Yeah, thanks, it’s because of txpspecialchars function introduced in 4.5. You can replace it with htmlspecialchars in the code.

Offline

#17 2013-04-16 00:23:36

aslsw66
Member
From: Canberra, Australia
Registered: 2004-08-04
Posts: 342
Website

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

Why not use mem_simple_form to do this?

Offline

#18 2013-04-16 05:27:29

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

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

aslsw66 wrote:

Why not use mem_simple_form to do this?

I guess that Oleg’s way is easier AND supported:)


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

Offline

#19 2013-04-18 08:27:31

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

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

I think it still has problem with TXP 4.4.1 but the best way to solve it to upgrade txp to 4.5.4.

Offline

#20 2013-06-26 16:30:54

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

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

admi wrote:

I think it still has problem with TXP 4.4.1 but the best way to solve it to upgrade txp to 4.5.4.

Right, that’s because of article validation introduced in 4.5. Now should work in 4.4.

aslsw66 wrote:

Why not use mem_simple_form to do this?

Also because mem_simple_form is a generic data-insertion plugin, that does not make article validation.

Last edited by etc (2013-06-27 13:25:38)

Offline

#21 2014-04-09 08:32:19

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, I am testing this plugin and I get no results. ie the comment form is not saved in the db. Could this be because I have a form with numerous fields only some of which I gave the required names (such as body, title, custom_field_1, etc)?


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

Offline

#22 2014-04-09 11:36:55

raminrahimi
Member
From: India
Registered: 2013-03-19
Posts: 278

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

there is a problem, when some one submit more paragraphs on the body (textarea) it will join all paragraphs and will make one paragraph, is it possible to receive all those paragraph separately ?

Offline

Board footer

Powered by FluxBB