Captcha/ Anti-Spam using Powercontent

Author Message

Fredrick Sabu

Sunday 26 October 2008 10:44:43 pm

Hi Guys,

I'm wondering if anyone has been able to use any of the Captcha extensions whilst using the extension Powercontent. I have tried two so far with no success and I have read on the forums that it can't be done.

I'm using Powercontent to be able to add comments inline on a Blog, but my client is worried about Spam, so we are trying to provide a Captcha.

Has anyone had any experience with this, or at least point me in the right direction?

Cheers.

Kristof Coomans

Monday 27 October 2008 1:17:11 am

Hi Frederik

Maybe the currently available solutions don't work together with Powercontent, but I don't see a problem to make one that does work.

1. Create an image for 1-time-usage in the powercontent template
2. Include post fields for text & the unique image ID
3. When submitting, content/edit takes over, the captcha datatype checks if the entered text equals the text of the image, and the image gets removed on the server

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Fredrick Sabu

Monday 27 October 2008 3:06:11 pm

I had another crack at using ez Human Captcha, and I got it working.
Thanks for a very quick reply

Piotrek Karaƛ

Tuesday 18 November 2008 8:49:23 pm

I had another crack at using ez Human Captcha, and I got it working. 

And what problems did you have before another crack? ;)
Cheers,
Piotrek

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

Serhey Dolgushev

Monday 16 March 2009 5:30:29 am

http://ez.no/developer/contribs/datatypes/ib_captcha should be working with powercintent

kracker (the)

Saturday 06 June 2009 3:35:56 am

When doing some research on the topic of using the powercontent and recaptcha extensions together for anonymous user created content functionality I found this thread :)

At first afraid of hidden complications ... I thought I had a problem at first when trying to use it (Captcha content submitted was not received by ez).

Though I don't quite always understand it. After further testing I found I did not have a problem using the recaptcha extension and the powercontent extension.

Your mileage may very ...

Cheers
<i>//kracker

Dance through it, Somebody's Watching Me, http://www.youtube.com/watch?v=HItwu7PNdNo</i>

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

Jon Arvid Ludviksen

Thursday 25 August 2011 2:23:57 am

I wanted to use powercontent to put data into a XML block and made a workaround:

http://share.ez.no/forums/developer/using-the-powercontent-extension-to-store-data-in-a-xml-block

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 29 2025 13:35:39
Script start
Timing: Jan 29 2025 13:35:39
Module start 'layout'
Timing: Jan 29 2025 13:35:39
Module start 'content'
Timing: Jan 29 2025 13:35:39
Module end 'content'
Timing: Jan 29 2025 13:35:39
Script end

Main resources:

Total runtime0.0128 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0041 588.1563151.2109
Module start 'layout' 0.00410.0020 739.367236.6484
Module start 'content' 0.00610.0055 776.015698.2813
Module end 'content' 0.01160.0012 874.296937.9922
Script end 0.0127  912.2891 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002116.5024140.0002
Check MTime0.00107.4758140.0001
Mysql Total
Database connection0.00075.540610.0007
Mysqli_queries0.001814.444130.0006
Looping result0.00000.061610.0000
Template Total0.00097.110.0009
Template load0.00075.494010.0007
Template processing0.00021.590010.0002
Override
Cache load0.00053.827510.0005
General
dbfile0.001915.018880.0002
String conversion0.00000.046740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs