Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Improving...
Ah, well there you go.
Not to worry – I’ll try it on a current version later tonight.
I like the idea though!
Keith
Blyth, Northumberland, England
Capture The Moment
Offline
#14 2009-07-02 20:24:10
- saccade
- Plugin Author
- From: Neubeuern, Germany
- Registered: 2004-11-05
- Posts: 521
Re: Improving...
@juanjonavarro
Nice! Thanks!
So a plugin solution is possible. That’s fine.
EDIT: Just forgot to say: Tested it in 4.0.8 on a live install and it works just fine!
Some thoughts:
- When posted the final message is on an empty pane. For me it would be much more comfortable to get back to the comments catalogue again.
- Just an idea: If your task is to answer lots of comments (e.g. when they are mostly questions, regarding an event or a product) it seems to me a little complicated, going through the edit-procedure. What I think of instead: Couldn’t an additional column be placed in the comments catalogue, with an input-textfield for each comment in which you could write your answer and post them all (means: all filled) by one single “post”-button? (But this may likely be impossible, because it interferes closely with the generating of the comments catalogue).
Just thoughts, maybe you have solutions?
Last edited by saccade (2009-07-02 20:26:38)
Offline
Re: Improving...
Didn’t the version of jquery change between those versions? Maybe just a jquery upgrade will make it work.
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
Re: Improving...
MattD wrote:
Didn’t the version of jquery change between those versions? Maybe just a jquery upgrade will make it work.
Maybe. Keith, do you see the “reply” link but it doesn’t work?
Offline
Re: Improving...
saccade wrote:
- When posted the final message is on an empty pane. For me it would be much more comfortable to get back to the comments catalogue again.
Yes. This is part of the “more polished” sentence :-)
- Just an idea: If your task is to answer lots of comments (e.g. when they are mostly questions, regarding an event or a product) it seems to me a little complicated, going through the edit-procedure. What I think of instead: Couldn’t an additional column be placed in the comments catalogue, with an input-textfield for each comment in which you could write your answer and post them all (means: all filled) by one single “post”-button? (But this may likely be impossible, because it interferes closely with the generating of the comments catalogue).
Yes, it’s more difficult, but I think this use has some interaction problems: input field too narrow, impossible preview, …
Offline
Re: Improving...
juanjonavarro wrote:
Maybe. Keith, do you see the “reply” link but it doesn’t work?
Yes, that’s the situation, Juanjo – but JQuery wasn’t bundled with 4.0.4 and although I’ve added it to my install, maybe I’ve got an older version of the script.
I’ll check that out, but don’t worry, I don’t mind if this doesn’t work on the 4.0.4 install…
Keith
Blyth, Northumberland, England
Capture The Moment
Offline
Re: Improving...
jQuery is only used for the “animation” effect (the reply form is hidden and is displayed using jQuery). It’s easy to modify if you need it. Just let me know if you need a modified version without jQuery.
Offline
Re: Improving...
Oh, bless your heart that’s kind of you!
Keith
Blyth, Northumberland, England
Capture The Moment
Offline
Re: Improving...
Ok. The “polished” version here
(“human” texts, go to the comments list after replying, it should work in 4.0.4)
What do you think?
Offline
Re: Improving...
Excellent, Juanjo – perfectly implemented (no “Preview” needed for the Admin!) and fully functional, even in 4.0.4.
The only improvement I can think of is that Admin comment responses via the plugin could be “auto-approved” and go straight to publication on submit.
Keith
Blyth, Northumberland, England
Capture The Moment
Offline
Re: Improving...
juanjonavarro wrote:
Ok. The “polished” version here
Really good job juanjonavarro. Some thoughts:
- Remember to escape the insert queries. Currently the web, email and name…
- Maybe you don’t need to define globals for every page when they don’t do anything. Actually you don’t even need them for anything, because the code always calls the function directly (or could).
- The
txp_discuss.php
include is not required if you just point the form to the comment edit page with correct inputs.
keith wrote:
The only improvement I can think of is that Admin comment responses via the plugin could be “auto-approved” and go straight to publication on submit.
The plugin should set visiblity automatically to 1
.
Offline
Re: Improving...
keith wrote:
The only improvement I can think of is that Admin comment responses via the plugin could be “auto-approved” and go straight to publication on submit.
It’s already working this way! :-)
Offline