I got some issues on a guestbook run by Cotonti, hopefully the community could help me out.
All right, I download a plugin here: http://www.cotonti.com/extensions/forms-feedback/guestbook, also, there's a Siena version of it (see a esclkm comment below). Installataion is fine. But than, all the posts have a bunch of characters you didn't include in the input field. For instance, if you white a post
here's what it will be transformed into:
(with no link parsed, but I'm not sure Editor automatically parses a link, but whatever.) I was thinking that for the guestbook, it's worth turning the Editor off. So, in guestbook.php, I just eleminated class=\"editor\" in the textareas. And, for the same sample text as above, here's what the posts now look like:
As you see, it's a bit better, but again, these rnrn are freaking. I feel fine with no Editor in guestbook, but how do I get rid of these rnrn? Any ideas?
Добавлено 2 часа спустя:
All right, I asked the best PHP-programmer ever, my girlfriend, and she helped me out. :)
Here's a zipped guestbook.php, just replace the original and bugged guestbook.php with mine, and the plugin should work properly.
Відредаговано: staleo (06.11.2014 19:47, 8 років тому)