<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : Guestbook posts and its markup</title>
		<link>https://www.cotonti.com</link>
		<description>Son konu mesajları</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Tue, 21 Apr 2026 00:52:33 -0000</pubDate>

		<item>
			<title>staleo</title>
			<description><![CDATA[<p>Hi all,</p>

<p>I got some issues on a guestbook run by Cotonti, hopefully the community could help me out.</p>

<p>All right, I download a plugin here: <a href="http://www.cotonti.com/extensions/forms-feedback/guestbook">http://www.cotonti.com/extensions/forms-feedback/guestbook</a>, also, there's a Siena version of it (see a <strong>esclkm</strong> 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</p>

<blockquote>
<p>Here's a first string.</p>

<p>And here's a second string.</p>

<p>While there's a link: https://www.google.com/</p>
</blockquote>

<p>here's what it will be transformed into:</p>

<blockquote>
<p>&amp;lt;p&gt;Here&amp;#39;s a first string.&amp;lt;/p&gt;rnrn&amp;lt;p&gt;And here&amp;#39;s a second string.&amp;lt;/p&gt;rnrn&amp;lt;p&gt;While there&amp;#39;s a link:&amp;nbsp;https://www.google.com/&amp;lt;/p&gt;</p>
</blockquote>

<p>(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 <em>guestbook.php</em>, I just eleminated <em>class=\"editor\"</em> in the textareas. And, for the same sample text as above, here's what the posts now look like:</p>

<blockquote>
<p>Here's a first string.rnrnAnd here's a second string.rnrnWhile there's a link: https://www.google.com/</p>
</blockquote>

<p>As you see, it's a bit better, but again, these <em>rnrn</em> are freaking. <span style="line-height:1.6em;">I feel fine with no Editor in guestbook, but how do I get rid of these <em>rnrn</em>? Any ideas?</span></p>

<p><strong>Добавлено 2 часа спустя:</strong></p>

<p>All right, I asked the best PHP-programmer ever, my girlfriend, and she helped me out. :)</p>

<p>Here's a <a href="http://www.cotonti.com/datas/users/guestbook.php_307.zip">zipped guestbook.php</a>, just replace the original and bugged guestbook.php with mine, and the plugin should work properly.</p>
]]></description>
			<pubDate>Per, 06 Kas 2014 17:35:53 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/tr/forums?m=posts&q=7820&d=0#post40146]]></link>
		</item>
	</channel>
</rss>