Brett
188 days ago
In addition to providing protection against spam-bots, this plugin adds
a way of immediately validating, enabling, and logging in new user accounts
without the need for email verification.
Uncaptcha uses a reverse captcha to protect against spam bots by inserting a
"trick" form element into the registration page, but hiding it from users.
If the honey-pot form element has a value, we know a bot is posting the information
and will deny registration to that request.
**INSTALLATION**
* Unzip the file to the elgg/mod/ directory.
* Go to your Elgg tools administration section, find the uncaptcha tool, and
enable it.
* Customize the settings if desired.
**CHANGES**
v1.3
* Added default settings that fixes a bug with displaying the trick field.
* Clarified the settings page.
* Added installation instructions to README.
v1.2
* No longer requires a patch to Elgg Core.
* Updates to allow request_user_validation() to work when not called
during registration.
* Code cleanup in the language file.
* Better generation of uncaptcha code.
Great idea johno! There are a few more things I'd like to incorporate into the next release. Maybe having a drop-down of places to forward to would be a good idea, also...
Brett 188 days ago
It's working now Brett! Just wondering tho, what did u do to fix the 1.2 bug?
Thanks
wtver87 188 days ago
The bug had to do with my defaulting the trick field to 'email_address' in some places and not in others...specifically the CSS that hides it. I corrected this by checking in the init function if the trick field is empty, and setting it to 'email_address' if it is...
Brett 187 days ago
Hi Brett, just to check if I understood: with your plugin there is no change in the registration page (nothing will change from the original layout and fields to fill). Is that ok?
I understand that the protection is "automagic", using internal tricks in order to detect spam-bots.
How can I test it, in order to check if it the protection is in effect?]
Thanks
Eduardo
José Eduardo De Lucca 187 days ago
José,
The default registration page isn't changed except for some javascript that is appended to the end. It should look the same to users.
When I test, I use firebug under Firefox to edit the CSS and unset the display: none; for the trick field and then I enter some data. If data is present, the form should be rejected.
Hope this helps!
Brett 187 days ago
Works like a champ!
Ciaphas 186 days ago
Hello!
With Firefox 3.0.5 I can see the new field, that should be hidden, under the "Reigster" Button. With IE it's ok.
Any Ideas?
Gleb L. 169 days ago
Gleb,
I have just checked with a new installation of Elgg, Uncaptcha v1.3, and Firefox 3.0.5 and can't duplicate your problem. Have you changed the name of the trick field in the uncaptcha settings? Also, you might need to shift+reload the page to get a fresh copy of the CSS.
Brett
Brett 169 days ago
Ok, thank you - after I've changed the name it was still there, but after reloading the page it disappeared :)
Gleb L. 169 days ago
Out of curiosity to make sure this isn't a bug, what did you change the name to and why?
Brett 169 days ago
Does anyone know a way of redirecting the user to the profile page once they have logged in?
I am trying to bypass the Dashboard entirely, I find it redundant for what I need from the site.
Aaronj 158 days ago
Aaron,
This is planned for the next version, but for the mean time you can redirect anywhere you want by changing the actions/register.php on line 63. Put the url of your choice in the forward() call.
Brett 158 days ago
I tried to place pg/profile/ in the forward() call, but I'm assuming that I need a php script to tell it to forward to the user's profile, otherwise the site just goes to site.com/pg/profile/, and I get, "sorry, we could not find the specified profile"
Aaronj 158 days ago
Nevermind, I took a look at the Actions page of this site and was lucky enough to be presented with an example code that redirects the user to the profile page!
If anyone else wants to do this operation here is the code:
forward($_SESSION['user']->getURL());
Aaronj 158 days ago
Thank you Aaronj!
forward($_SESSION['user']->getURL());
Is exactly what I was looking for.
skotmiller 150 days ago

johno
Profile
Friends
Friends of
Pages
Plugins & themes
Thanks this is really cool.
I use this to auto logon newly registered users, with one minor mod: I forward the new user to the edit profile section.
actions/register.php:
line 63 replace
forward();
with
forward('mod/profile/edit.php');
johno 188 days ago