Forums / Cotonti / Extensions / Pages for guests - new plugin

Allow guests to submit pages, protected with CAPTCHA

foxhound
#32998 2012-01-31 21:12

I am using math captha on that site and the captcha manager is installed even though I am not sure its required sine I use only 1 captcha.

[quote]Also maybe captcha was not used for pages ???[/quote]

Originally no, thats what I am making :)
Unless you mean something else.

[quote]So you should check the hooks used with captcha on the page.add stuff[/quote]

I have no idea what I am doing with those hooks, right now I have this (and tried many different "names").

In page4guests.validate.php:

/* ====================
[BEGIN_SED_EXTPLUGIN]
Code=pages4guests
Part=validation
File=pages4guests.validate
Hooks=page.add
Tags=
Order=10
[END_SED_EXTPLUGIN]

==================== */

page4guests.tags.php

/* ====================
[BEGIN_SED_EXTPLUGIN]
Code=pages4guests
Part=page.tags
File=pages4guests.tags
Hooks=page.add.tags
Tags=page.add.tpl: {PAGE_OWNER}, {PAGE_VERIFY_IMG}, {PAGE_VERIFY}
Order=10
[END_SED_EXTPLUGIN]
==================== */


Maybe I should change Part=validation in page4guests.validate.php to Part=submit? But again, I have no idea what I am doing :)
<img src="http://www.armaholic.com/datas/thumbs/green-sea-battalion-uniforms-version-03-preview_4.jpg" alt="green-sea-battalion-uniforms-version-03-" />