Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#25 2009-10-05 13:28:51

PascalL
Member
From: Switzerland
Registered: 2009-03-09
Posts: 132
Website

Re: mem_public_article

Gallex, this form of mine was not working at all, that’s the reason I posted it!

you should try my later samples of a minimal working form instead.

Offline

#26 2009-10-05 13:37:31

Gallex
Member
Registered: 2006-10-08
Posts: 1,289

Re: mem_public_article

PascalL wrote:

Gallex, this form of mine was not working at all, that’s the reason I posted it!
you should try my later samples of a minimal working form instead.

same story, nothing happens after submitting. what i’m missing?

Last edited by Gallex (2009-10-05 13:45:34)

Offline

#27 2009-10-05 13:59:58

PascalL
Member
From: Switzerland
Registered: 2009-03-09
Posts: 132
Website

Re: mem_public_article

I simply put the mem_public_article tag inside a page template, like this:

<txp:mem_public_article form="public-article" success_form="public-article-success" />

Put the code from one of my examples inside a form, here it’s called “public-article”.
The public-article-success form is there to confirm the user that the form has been submitted. Fill it with whatever you want.

P.S: btw, did you look at the admin articles tab ? be aware that the submitted article is set to “pending” status, you won’t see it on your site without changing manually to “live”

Last edited by PascalL (2009-10-05 14:06:43)

Offline

#28 2009-10-06 13:07:38

Gallex
Member
Registered: 2006-10-08
Posts: 1,289

Re: mem_public_article

PascalL wrote:

I simply put the mem_public_article tag inside a page template, like this:
<txp:mem_public_article form=“public-article” success_form=“public-article-success” />

putted

Put the code from one of my examples inside a form, here it’s called “public-article”.

putted exactly this code

btw, did you look at the admin articles tab ?

…didn’t get any errors after submitting but still nothing showing up into articles tab….wierd

Last edited by Gallex (2009-10-06 13:18:23)

Offline

#29 2009-11-03 17:58:36

ideasweforgottosteal
New Member
Registered: 2009-10-28
Posts: 1

Re: mem_public_article

Hey everyone, first time poster, I’ve been reading through this forum for the past couple months. First off, a big thank you to Manfre for this plug-in!

So far I’ve built a simple working form for registered users to post with. Now I’m trying to add an image upload option, and I don’t know where to go after adding the <txp:mem_form_file /> tag.

Ideally, the form will allow users to upload a single image, and insert that single image tag (with <txp:mem_form_secret /> ?) into the post body.

I’m not much of a programmer and any help would be sincerely appreciated!

Offline

#30 2010-08-03 13:15:52

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

Re: mem_public_article

Is this plugin compatible with 4.2?

Like Gallex, I have used the sample code provided by Pascal but although I get the ‘success’ message nothing is showing up in the database.

Thanks. Falllback option is to use smd_query but that scares me!

Offline

#31 2010-10-03 15:48:35

Manfre
Plugin Author
From: North Carolina
Registered: 2004-05-22
Posts: 588
Website

Re: mem_public_article

Trying to use a forum thread as a bug tracker doesn’t really work for various reasons.

  1. I don’t always get the email about the thread being updated.
  2. Different problems get interleaved.
  3. I’m forget about them and don’t re-read the older pages of a plugin thread looking for unfixed issues.

In an effort to fix this communication disconnect, I have moved all of my plugin code over to bitbucket, /Manfre/txp-plugins. I’ve enabled the issue tracker and wiki (for documentation). With this new channel of managing my plugins, I will continue to ignore issues reported in this plugin thread, but now it will be intentional instead of accidental.

Offline

#32 2011-02-28 22:50:25

skrishi
Member
From: russia federation
Registered: 2011-02-25
Posts: 52
Website

Re: mem_public_article

Why do I get an error?
Ошибка тега: <txp:mem_form_select name=“Section” Label=“Section” items=“Hardware, Sofware” /> -> : Function split() is deprecated on line 818

Offline

#33 2011-03-01 04:28:35

Manfre
Plugin Author
From: North Carolina
Registered: 2004-05-22
Posts: 588
Website

Re: mem_public_article

skrishi wrote:

Why do I get an error?
Ошибка тега: <txp:mem_form_select name=“Section” Label=“Section” items=“Hardware, Sofware” /> -> : Function split() is deprecated on line 818

PHP 5.3 deprecated the split() function, which is used in the mem_form plugin. Either set to txp to live mode or install the
mem_form v0.8.3

Offline

#34 2011-03-01 10:08:13

PascalL
Member
From: Switzerland
Registered: 2009-03-09
Posts: 132
Website

Re: mem_public_article

Thanks a lot Manfre !

Offline

#35 2011-03-01 13:48:45

skrishi
Member
From: russia federation
Registered: 2011-02-25
Posts: 52
Website

Re: mem_public_article

Manfre, thank you.
I really like your plugins.
Everything works as it should.

Offline

#36 2011-03-09 23:48:04

skrishi
Member
From: russia federation
Registered: 2011-02-25
Posts: 52
Website

Re: mem_public_article

Good afternoon.
I’m when using mem_public_article get an error:

Ошибка тега: <txp:mem_public_article form=“public_article” class=“write” /> -> Notice: Undefined variable: article on line 105
mem_public_article_defaults()
textpattern/lib/txplib_misc.php:680 call_user_func_array()
textpattern/lib/txplib_misc.php(525) : eval()’d code:118 callback_event()
textpattern/lib/txplib_misc.php(638) : eval()’d code:85 mem_form()
textpattern/publish.php:1169 mem_public_article()
textpattern/publish.php:1091 processTags()
textpattern/lib/txplib_misc.php(638) : eval()’d code:313 parse()
textpattern/publish.php:1169 ign_if_logged_in()
textpattern/publish.php:1104 processTags()
textpattern/publish.php:535 parse()

Ошибка тега: <txp:mem_public_article form=“public_article” class=“write” /> -> Notice: Undefined variable: article on line 111
mem_public_article_defaults()
textpattern/lib/txplib_misc.php:680 call_user_func_array()
textpattern/lib/txplib_misc.php(525) : eval()’d code:118 callback_event()
textpattern/lib/txplib_misc.php(638) : eval()’d code:85 mem_form()
textpattern/publish.php:1169 mem_public_article()
textpattern/publish.php:1091 processTags()
textpattern/lib/txplib_misc.php(638) : eval()’d code:313 parse()
textpattern/publish.php:1169 ign_if_logged_in()
textpattern/publish.php:1104 processTags()
textpattern/publish.php:535 parse()

Is it critical? It will not threaten security?

Offline

Board footer

Powered by FluxBB