<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : Captcha + pages</title>
		<link>https://www.cotonti.com</link>
		<description>Neueste Themenbeiträge</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Wed, 15 Apr 2026 07:46:06 -0000</pubDate>

		<item>
			<title>Trustmaster</title>
			<description><![CDATA[<p>
	You need to add the captcha with a plugin. This normally consists of two parts.</p>
<p>
	The first is displaying the captcha tags, e.g. using 'page.add.tags' hook:</p>
<pre class="brush:php;">
$t-&gt;assign(array(
	'PAGEADD_FORM_VERIFYIMG' =&gt; cot_captcha_generate(),
	'PAGEADD_FORM_VERIFYINPUT' =&gt; cot_inputbox('text', 'rverify', '', 'size="10" maxlength="20"'),
));</pre>
<p>
	Then you need to verify what a user enters, e.g. in 'page.add.add.error' hook:</p>
<pre class="brush:php;">
$rverify = cot_import('rverify', 'P', 'TXT');

if (!cot_captcha_validate($rverify))
{
	cot_error('captcha_verification_failed', 'rverify');
}</pre>
<p>
	Normally you'd want to check that only for guests, so put it inside an if:</p>
<pre class="brush:php;">
if ($usr['id'] == 0)
{
	// captcha code here
}</pre>
]]></description>
			<pubDate>So, 17 Jun 2012 06:31:18 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/de/forums?m=posts&q=6974&d=0#post34710]]></link>
		</item>
		<item>
			<title>Twiebie</title>
			<description><![CDATA[<p>
	Not sure if that will work, i'm sure one of the devs can answer that.</p>
<p>
	I do however have a shoutbox I build for Siena. I can add Captcha to it if you want. It's basically a guestbook then.</p>
<p>
	Edit: Added Captcha. <a href="http://bluemonday.twiebie.com/index.php?e=shoutbox" rel="nofollow">http://bluemonday.twiebie.com/index.php?e=shoutbox</a></p>
]]></description>
			<pubDate>So, 17 Jun 2012 00:08:25 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/de/forums?m=posts&q=6974&d=0#post34707]]></link>
		</item>
		<item>
			<title>Kingsley</title>
			<description><![CDATA[<p>
	Seeing there is no guestbook thingy for Cotonti, I've made one using the normal page structure, and am using the list to display the messages</p>
<p>
	<a href="http://www.decestaro.com/index.php?e=page&amp;c=guestbook" rel="nofollow">http://www.decestaro.com/index.php?e=page&amp;c=guestbook</a></p>
<p>
	Problem now is the shitload of spam the owner is receiving. Ok, the messages aren't displayed on the site, but the validation list is huge.<br /><br />
	How can I get the captcha to work in the page structure? Or is that not possible?</p>
<p>
	thank you.</p>
]]></description>
			<pubDate>Sa, 16 Jun 2012 20:03:16 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/de/forums?m=posts&q=6974&d=0#post34706]]></link>
		</item>
	</channel>
</rss>