Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2014-04-08 16:53:09

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

how visitors can submit thier article

I prepared a news website with textpattern and need the following options:

1. submitting articles through one user (admin) and option to chose the author of each article from back-end.
2. I need a page that visitors can submit their articles there, but without permission of admin that should not publish.
may be a form with these options: Name, Email, Title, Body, Attachment

any one plz help me,
thanks a lot.

Ramin

Offline

#2 2014-04-08 17:10:13

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 8,865
Website GitHub Twitter

Re: how visitors can submit thier article

2. You can use etc_zemcontact, a plugin from Oleg which works with zcr in the front end and saves posts directly in the db.


Yiannis
——————————
neme.org | hblack.net | EMAP | NeMe @ github
I do my best editing after I click on the submit button.

Offline

#3 2014-04-08 18:17:26

moon blake
Member
From: near Hannover, Germany
Registered: 2009-07-16
Posts: 75

Re: how visitors can submit thier article

Not tried yet, but maybe plh_front_edit is an option?

Offline

#4 2014-04-08 18:24:39

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

Re: how visitors can submit thier article

what about first question?
i’ve a list of 20 author names (reporters) they are sending me the reports by email, and i’m going to login with my admin user and posting from there, but when i want to publish the article from there should be possible to chose the article author for each …

Offline

#5 2014-04-08 18:31:05

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 8,865
Website GitHub Twitter

Re: how visitors can submit thier article

Are those authors already registered in the back end or are you trying to figure out a way to silently register them?


Yiannis
——————————
neme.org | hblack.net | EMAP | NeMe @ github
I do my best editing after I click on the submit button.

Offline

#6 2014-04-08 18:50:25

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 10,740
Website GitHub

Re: how visitors can submit thier article

As Yiannis says, if the authors are already set up as Txp users, you can submit the article(s) under your account (perhaps as Draft first) then go to the Content->Articles panel and use the multi-edit option to change author (and then do likewise to change the status of all the articles to Live if you previously had them at Draft).

If, however, your authors are not set up as Users you will probably have to use a custom field (which you should probably label as “Written_by” and not “Author” because that might clash with something inside Txp). Then you’ll need to alter your forms to read the custom field value and display that as the author. Not as flexible as having real users because you can’t do author lists from the URL as easily.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#7 2014-04-08 19:45:30

planeth
Plugin Author
From: Nantes, France
Registered: 2009-03-19
Posts: 215
Website

Re: how visitors can submit thier article

moon blake wrote #280142:

Not tried yet, but maybe plh_front_edit is an option?

Unfortunately plh_front_edit works only with registered users

Offline

#8 2014-04-09 04:54:03

moon blake
Member
From: near Hannover, Germany
Registered: 2009-07-16
Posts: 75

Re: how visitors can submit thier article

planeth wrote #280147:

Unfortunately plh_front_edit works only with registered users

I know, and that’s like it should be. Who would allow not registered users to write articles dirrectly into the system?

Last edited by moon blake (2014-04-09 08:31:17)

Offline

#9 2014-04-09 06:42:30

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

Re: how visitors can submit thier article

Hi Colak,
thanks i solved the first issue :-) but there is no any captcha code or preview button, to prevent from hackers they might send more spam … ?
also the body of article, if any one has more paragraphs (entered) all of them become joined one paragraph, any way to come separated paragraphs?

second issue also solved, but isn’t any easy way to chose direct from any article the registered authors ?

Offline

#10 2014-04-09 07:22:41

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 8,865
Website GitHub Twitter

Re: how visitors can submit thier article

raminrahimi wrote #280160:

Hi Colak,
thanks i solved the first issue :-) but there is no any captcha code or preview button, to prevent from hackers they might send more spam … ?
also the body of article, if any one has more paragraphs (entered) all of them become joined one paragraph, any way to come separated paragraphs?

second issue also solved, but isn’t any easy way to chose direct from any article the registered authors ?

There used to be a plugin by Mary upm textile which is now off line. If it still works and somebody has it maybe they can pass it on to you. zcr has companion plugins to prevent spam. Maybe some people here can remind me:)

You can chose the (registered) author in the articles tab. You can select the title you wish to change its author and at the bottom of the page there is a pulldown menu to do so.


Yiannis
——————————
neme.org | hblack.net | EMAP | NeMe @ github
I do my best editing after I click on the submit button.

Offline

#11 2014-04-09 10:43:42

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,271

Re: how visitors can submit thier article

colak wrote #280161:

There used to be a plugin by Mary upm textile which is now off line.

It’s still available on TXP Resources.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#12 2014-04-12 10:01:23

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

Re: how visitors can submit thier article

i tried those plugins also, still i have the problem of paragraphs, all paragraphs goes joined and become one paragraph.
my english is not good, i don’t know i received the point what i need or not :-(

Offline

Board footer

Powered by FluxBB