Forums / Developer / Captcha/ Anti-Spam using Powercontent

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

eZ debug

Timing: Jan 17 2025 21:03:56
Script start
Timing: Jan 17 2025 21:03:56
Module start 'content'
Timing: Jan 17 2025 21:03:57
Module end 'content'
Timing: Jan 17 2025 21:03:57
Script end

Main resources:

Total runtime0.8067 sec
Peak memory usage4,096.0000 KB
Database Queries214

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 597.1875180.8281
Module start 'content' 0.00540.6995 778.0156794.7266
Module end 'content' 0.70480.1018 1,572.7422340.6641
Script end 0.8067  1,913.4063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.4775210.0002
Check MTime0.00140.1677210.0001
Mysql Total
Database connection0.00070.082710.0007
Mysqli_queries0.720789.34232140.0034
Looping result0.00180.22882120.0000
Template Total0.780696.820.3903
Template load0.00180.223820.0009
Template processing0.778896.534520.3894
Template load and register function0.00020.022510.0002
states
state_id_array0.00160.203210.0016
state_identifier_array0.00130.161420.0007
Override
Cache load0.00160.2001400.0000
Sytem overhead
Fetch class attribute can translate value0.00100.126970.0001
Fetch class attribute name0.00130.1556120.0001
XML
Image XML parsing0.00570.712170.0008
class_abstraction
Instantiating content class attribute0.00000.0031120.0000
General
dbfile0.00500.6164530.0001
String conversion0.00000.000630.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
7content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
5content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 28
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs