Add support for flexinodes.
Thanks
Flexinode is being replaced by CCK, hence I'd rather code for it.
It is very easy to fix this, just by adding one line of code to the captcha module:
Simply replace:
foreach($user->roles as $role) { $candidate_trigger = $formid .'_'. strtr($role,' ','_') .'_captcha';
with:
$formname = substr($formid,0,9) == "flexinode" ? "node_form" : $formid; foreach($user->roles as $role) { $candidate_trigger = $formname .'_'. strtr($role,' ','_') .'_captcha';
Comments
Comment #1
arnabdotorg commentedFlexinode is being replaced by CCK, hence I'd rather code for it.
Comment #2
baraban commentedIt is very easy to fix this, just by adding one line of code to the captcha module:
Simply replace:
with:
Comment #3
wundo commented