Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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,315
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
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,315
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
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
Re: mem_public_article
Trying to use a forum thread as a bug tracker doesn’t really work for various reasons.
- I don’t always get the email about the thread being updated.
- Different problems get interleaved.
- 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
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
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
Re: mem_public_article
Thanks a lot Manfre !
Offline
Re: mem_public_article
Manfre, thank you.
I really like your plugins.
Everything works as it should.
Offline
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