Capcha for blog posts?

Hey guys

 

we're wondering if & how a capcha can be easily added to the new blog post form, for the Boonex blog module.

Any suggestions?

 

cheers

Quote · 14 Dec 2011

hm!! nice idea.......:)

so much to do....
Quote · 14 Dec 2011

To add captcha to new blog posts, follow this;

Backup files first...

Open;

/modules/boonex/blogs/classes/BxBlogsModule.php

Find;

'AssociatedImage' => array(
                    'type' => 'hidden',
                ),
                'allowView' => $aAllowView,
                'allowRate' => $aAllowRate,
                'allowComment' => $aAllowComment,
    'hidden_action' => array(
     'type' => 'hidden',
     'name' => 'action',
     'value' => $sAction,
    ),

Add After;

'captcha' => array(
    'type' => 'captcha',
    'caption' => _t('_Enter what you see:'),
    'name' => 'securityImageValue',
     'required' => true,
     'checker' => array(
                 'func' => 'captcha',
                 'error' => _t( '_Incorrect Captcha' ),
                ),
              ),

 

Clear cache. Backup files first when testing and make a note of changes.

Should help a little with blog spam.

Quote · 14 Dec 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.