Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Allow website users to create new articles
If something is sitting in the moderation queue can you edit it there as though it’s an article before approving it or at least publish it as hidden so you can edit it before going live?
Yes, you see a simplified list of submitted articles a bit like the articles pane but without whistles and bells and there’s an edit pane which shows the submitter’s notes at the top followed by the various fields one below the next – not terribly pretty but it works. You can edit the details and choose between “Save” (= edit but keep in the moderation queue), “Accept” (=becomes a txp article) and “Reject” (= delete).
I believe there’s even a tag to output the articles currently in the moderation queue in the front end but I’ve not tried that.
TXP Builders – finely-crafted code, design and txp
Offline
#17 2010-03-26 14:08:58
- Algaris
- Member
- From: England
- Registered: 2006-01-27
- Posts: 605
Re: Allow website users to create new articles
Next question (sorry I’m asking an awful lot here). If I want people to be able to upload an image and associate it and its thumbnail with an article is that fairly easy to do? I noticed the mem_moderation_image plugin so I’m assuming I can mix this in with the mem_moderation form and give it the appropriate textpattern table name for the article image or custom field.
Offline
Re: Allow website users to create new articles
WOw thanks a lot jakob. You really almost helped me to make the perfect ticket system (for me) =)
There are only two little issues left. For any reason when user initialy write an article with mem_moderation i as the admin get no email notificaton about the fact that there is something new in the queue. Any idea how that can be done? I use comments as suggested somewhere by stef to handle the back and forth of the user and the admin. I get an email notification there by using the rvm_mail_comments plugin. So that works fine.
The second thing is… I would like to search through comments. Is that possible somehow. As a ticket system it only makes sense if later the user can search for any words that are mentioned in the comments.
Hopefully I can at least solve one of those two issues to get the system finally running.
Offline
Re: Allow website users to create new articles
OK…. i was too stupid to see that there are additonal preferences to be made in “preferences” …almost to ashamed to write that down.. but maybe it saves someone some time.
For the comments thing i haven´t found a solution yet. I am thinking of playing around with articles belonging to certain categories (ticket number) for example. Dont know if that works because I will end up with a lot of categories then. just an idea for now.
Offline
#20 2010-09-16 08:35:11
- Gallex
- Member
- Registered: 2006-10-08
- Posts: 1,331
Re: Allow website users to create new articles
trying to get to work my (simpler) form using jakob’s as an example
but, after installation and activation mem_admin_parse, mem_moderation, mem_moderation_article and mem_form i get blank page with this error:
Fatal error: Call to undefined function mem_form() in /home/np34630/domains/hm-kodulehed.ee/public_html/textpattern/lib/txplib_misc.php(594) : eval()'d code on line 1170
what this refers to?
Offline
#21 2010-09-17 07:19:41
- Gallex
- Member
- Registered: 2006-10-08
- Posts: 1,331
Re: Allow website users to create new articles
is it something wrong with my code or plugin?
Offline