Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Removing commment preview function
No doubt this question has been asked many times but I couldn’t find anything in the forums and the 2 mods available have been archived.
Preview feature is useful, no doubt. But I would like to test if I get many more comments if it is disabled. I would rather moderate / eliminate spam if this means getting more comments.
Cheers,
Loz
Offline
Re: Removing commment preview function
lozmatic wrote:
No doubt this question has been asked many times…
You said it:) FAQ
Last edited by colak (2008-02-03 18:15:51)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: Removing commment preview function
Some discussion about the issue
As we can see, it can easily break other things but it’s possible. But consider that if you remove preview, it will remove all comment spam features from Textpattern – so basically comment.php must be rebuild. You could change preview process to false there, but then you will get intensive spam – in other words, every spam bot will be able to post the form.
With active site it means a lot of spam, maybe even 100+ messages in a half hour. And when big fish finds the site… darn then the hell is released :(
Cheers!
Last edited by Gocom (2008-02-03 18:26:26)
Offline
Re: Removing commment preview function
OK, it’s not worth the hassle.
I do hope tha future vesions will give users the option to turn it on and off. 1 comment post might be worth deletion of 100 spam ones.
What would be useful too would be to be able to position the preview comment. When someone submits to preview he/she can be re-directed to a point on the page where he/she can see both the preview text as well as the submit button (if the comment isn’t too long, of course). This can be done by placing <a name=”#cpreview”></a> just above where the preview comment is outputted. This is a hack, isn’t it?
Offline
Re: Removing commment preview function
If I understand what you want correctly you can do this in the “comments_display” form with a bit of code similar to:-
<txp:if_comments_preview>
<txp:comments_preview form="comments_preview" />
<txp:comments_form />
<txp:else />
which would place the preview immediately above the form so, as you say, as long as the comment isn’t too long. Or you could place the preview below the form but I’m not sure that would look very good.
Last edited by thebombsite (2008-02-04 13:53:16)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: Removing commment preview function
I tried <txp:comments_preview /> but it returned the preview button.
I didn’t know one could refer to a form. I’ll try that :)
Offline
Pages: 1