Captcha and Commentbox

41 views
Skip to first unread message

MJ

unread,
Feb 24, 2012, 9:48:22 AM2/24/12
to BoltWire
Does anyone know how to go about adding Boltwires built in Captcha
system to the Commentbox plugin?

The Editor

unread,
Feb 26, 2012, 4:49:52 PM2/26/12
to bolt...@googlegroups.com
If you look on the commentbox plugin page you can create your own
custom form to work with the plugin:

<box>
[form]Add comment:
[box content rows=5 cols=40][box]
[submit COMMENT]
[session comments {=content}]
[session who {id}]
[session savedata who,comments]
[form]
</box>

Just add a captcha and warn line to the form and it should work just
fine. Remember you have the {captcha} variable built into the system
already.

Cheers
Dan


On Fri, Feb 24, 2012 at 8:48 AM, MJ <m...@pathtopar.com> wrote:
> Does anyone know how to go about adding Boltwires built in Captcha
> system to the Commentbox plugin?
>

> --
> You received this message because you are subscribed to the Google Groups "BoltWire" group.
> To post to this group, send email to bolt...@googlegroups.com.
> To unsubscribe from this group, send email to boltwire+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/boltwire?hl=en.
>

MJ

unread,
Feb 27, 2012, 7:26:27 PM2/27/12
to BoltWire
Thanks Dan,

Actually, my question was not very clear. What I was asking about was
revising the commentbox plugin to include captcha. I found the section
of the plugin where the form is but had not luck adding the captcha
variable.

The Editor

unread,
Mar 2, 2012, 11:54:59 AM3/2/12
to bolt...@googlegroups.com
Just guessing, but putting {captcha} in the plugin function will not
work because it will be too late to process the variable at that
point. Look at the source code of the page you generate and see what
is happening there.

You will probably need to create your own variable and insert it
manually into the function. Will work the same way. Wish I had more
time to help with this, but my schedule is under crunch at the moment!

Cheers
Dan

Reply all
Reply to author
Forward
0 new messages