Fixed a problem with the folder layouts in the plugin causing the admin settings to not appear.
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.
Hi,
I installed the plugin on my site
prakamya.org
but I can't see the captcha on my registration page
Please help
Have you put the api keys in? I installed it yesterday and it works a treat. http://www.thebluegym.co.uk/
@venky: Looks like you got it working.
I does work but it does not Keep out the Spam Accounts from being Generated I am still getting them being created and the Random Blogs that these guys post.
It won't stop human spammers. It's not guaranteed to stop bots, but nothing I've seen shows reCAPTCHA has been broken.
Nice work! But, could you please tell me how to put this below the cutom profile fields, created with plugin_manager.
Check where the captcha code is in the profile code and move it.
OK, got it. It needs to be modified in the views/default/account/forms/register.php
No, don't do this that way. It forms a bug on Firefox.
See the 2.0.1 version. It shows you how to add recaptcha to other plugins.
using 1.7.1 with 2.0.1 when i enable captcha with blogs and groups not showing any image and give error not match when we submit . Any Idea why it is not showing in blogs and groups and it is working well on registration and password recover.
Make sure the recaptcha code is within the form elements. Sometimes you have to play with the layout to get it to work. That's one of the reasons why I didn't recommend 2.0.1. It requires more coding than this version, but in return you can use it in more places if you know what you are doing with Elgg and PHP.
Here's the section from my Blog edit.php where the captcha is used. Note how I load the data in one spot but display it later.
<?php
if (!$vars['user']->isAdmin() && !$vars['user']->trusted && get_plugin_setting('blogs', 'qli_recaptcha')){
$captcha = elgg_view('input/captcha');
}
if (isset($vars['entity'])) {
$entity_hidden = elgg_view('input/hidden', array('internalname' => 'blogpost', 'value' => $vars['entity']->getGUID()));
} else {
$entity_hidden = '';
}
$form_body .= <<<EOT
<p>
<label>$title_label</label><br />
$title_textbox
</p>
<p class='longtext_editarea'>
<label>$text_label</label><br />
$text_textarea
</p>
<p>
<label>$tag_label</label><br />
$tag_input
</p>
<!-- <p>
<label>$access_label</label><br />
$access_input
</p> -->
$captcha
<p>
$entity_hidden
<!-- $submit_input -->
</p>
</div>
</div>
<div class="clearfloat"></div><!-- /two_column_left_sidebar_maincontent -->
EOT;
echo elgg_view('input/form', array('action' => "{$vars['url']}action/$action", 'body' => $form_body, 'internalid' => 'blogPostForm'));
?>
Hi. Sorry but I've installed the 1.2.1 ver. (on a 1.7.1) and it doesn't work!
The recaptcha's keys form do not appear in the admin settings page.
I tried to un-install and re-install many times but still don't work...
Any ideas of how to bypass the problem? We're invaded by spammers. tnks. :-(
You aren't seeing the Settings link on the plugin in the Admin Tools list?
No, there isn't any link. Only this:
Then the plug in information...
Check to see if settings file was installed. You should find it in:
mod/qli_recaptcha/views/default/settings/qli_recaptcha/edit.php
Yes. There is!
:-o
You have the plugin installed as qli_recaptcha? It wasn't renamed?
Heh, I need to clean up the headers in those files.
No. Do I need to rename it? (rename and reinstall?)
It needs to be installed as qli_recaptcha, if it's not it won't pick up the settings. So if it's not installed that way, disable the current copy you have installed, rename and reinstall it and see if the settings don't show up.
Or you can try renaming the folder that is holding the settings edit.php to match whatever you renamed the plugin to.
I try to disable and instala as "recaptcha", but I cannot see the "new" plugin.
I'll try to rename the folder...
Well. Now I see both the plugins but still I can't see form or links.
Now I rename...
The default it should be named is qli_recaptcha. If you install it without any changes, as it was downloaded from here, it should work.