Hi all !
I have problem .I need to stop spamers in my blogs !
I have this
function captcha_actionlist_hook($hook, $entity_type, $returnvalue, $params)
{
if (!is_array($returnvalue))
$returnvalue = array();
$returnvalue[] = 'register';
$returnvalue[] = 'user/requestnewpassword';
return $returnvalue;
}I need to create captcha in my blogs . How to add captcha for blogs width this function?
function captcha_actionlist_hook($hook, $entity_type, $returnvalue, $params)
{
if (!is_array($returnvalue))
$returnvalue = array();
$returnvalue[] = 'register';
$returnvalue[] = 'user/requestnewpassword';
How to register $returnvalue[] = "BLOGS" ????
return $returnvalue;
}
Ty for support !
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
Inspect the html of the form for blog creation. You can see the action is like http://site.com/actions/blog/add/. Add the "blog/add" to the return list.
You need to extend the form input field to shown the captcha input also. Take a look at the wikies.