In this release:
*Added direct email confirmation support (no more use of token or token errors during email confirm)
With Love,Uddhava dāsa
View Uddhava dasa's plugins
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.
Registrations - so far so good. I've tested on 3 different sites and the registration now seems to go well without any Token errors. Thanks Uddhava, nice work.
I still do not understand what "Allow Account Activation by Email" does by setting it to "No". Nothing seems to change when it's on and when it's off. I'd like to know what this is suppose to do.
And as for the walled-garden - I still seem to have an issue with it. I think it must have something to do with my browser and cache - don't know. It's Firefox 3.6 that's acting up. But, I don't plan on using it, so doubt I'll mess with it any more. I'm happy the registration works.
ron
Is anyone using this with the 'login by email' plugin? The two don't seem to be able to work together which seems a shame as they are two great plugins. Has anyone got any ideas on how to fix the conflict between these two plugins so that login by email works with the site access plugin??
Dear Tom,
Seems like a good oportunity to add a new feature to siteaccess.
With Love,
Uddhava dāsa
installed in 1.7 - works like a charm so far :-) thanks!
I have been trying it in1.7 for a day. Like Cim above, I am having the same problem when I try to register a test user! (I hope I did not find a bug)
Here is the error message I am getting:
Sorry, the text that you entered didn't match the text in the image.
I look forward to your answer.
@TF Site Access plugin uses its own captcha, so turning off elgg's plugin captcha will fix this.
@Uddhava Any idea why turning on the captcha elgg plugin gives error while using Site Access (when register a new user )
Hello elHayaze,
The site access plugin checks for code verification code, this is why if it doesn't get it, it will cry. You can disable this fairly easy by commenting some lines of code.
With Love,
Uddhava dāsa
Thank you elHayaze. It works now. However, I am not able to make the new user registration only activate by Administrator approval. Would you happen to know which settings can do that?
Thanks again. And of course thank you Uddhava for this plugin.
TF said "I am not able to make the new user registration only activate by Administrator approval."
I've asked the below question several times, but I never get a reply. I think, or at least thought, that by setting the field to "no" would cause the effect you are looking for. But, for me, it doesn't work, and maybe I'm off base thinking this way. Unfortunately, I never get an answer to my question. So I remain clueless. Here it is again...
I still do not understand what "Allow Account Activation by Email" does by setting it to "No". Nothing seems to change when it's on and when it's off. I'd like to know what this is suppose to do.
Ron
Dear Ron,
Please try to replace the code on line 347 to:
I'm sorry haven't replied to your other messages, i did sent someone this code who asked the same thing. Please try out, the problem is that we needed to set a new page handler for 1.7 elgg security, and it goes through the validation function everytime.
I don't have much time for testing, so please try it out and see if automatic registration works.
With Love,
Uddhava dāsa
Dear Ron,
This option of automatic registration, will either send an email for registration, or enable the user immediately without the need for any email confirmation (if its set to yes).
Please try to replace the code on line 347 to fix the automatic enabling of accounts:
I'm sorry haven't replied to your other messages, i did sent someone this code who asked the same thing. Please try out, the problem is that we needed to set a new page handler for 1.7 elgg security, and it goes through the validation function everytime.
I don't have much time for testing, so please try it out and see if automatic registration works.
With Love,
Uddhava dāsa
@Uddhava Thank you. I understand you don't have time, at least now I know that it's not working, so I don't have to continue to try to figure out what it's suppose to do and or not.
I think though that what TF and I are wanting is not to do an automatic registration without email, but rather have the Adminstrator activate the email without any user intervention at all. In other words, something similar to this -- 1) User Registers, 2) User sees a message that says the Administrator will approve the registration shortly, 3) an email is sent to the Admin saying there is a registration waiting, 4) the Admin manually activates the user.
I don't know enough about how SiteAccess works to know if your line 347 will cause such a reaction. I too don't have much time available, so now that my question is answered, I'm not going to worry about it any longer and go about our business. I just wasn't sure if I was doing something wrong or it was broke, now I know.
Site Access for our normal registrationa is working fine. We won't have a need for an admin activated registration, as I discuss above, unless spammers start bothering us again. For the moment things have simmered down.
Thank you. -ron
Dear Ron,
Please try changing that code, and setting the two options to no:
Allow account activation via email? NO
Auto activate account? (does not enforce email validation - NO
With Love,
Uddhava dāsa
Not able to see captcha after enabling siteaccess..
Is there a way to make the captcha larger? I know I found the code.jpg, but want to make the numbers larger for people to see it more easily.
Hello Uddhava dāsa,
great plugin - thanks for your work!
I needed the ability to allow people to register without an email being sent to them. With the addition of your code on line 347 start.php - it works!:
if (($user) && ($user instanceof ElggUser) && (get_plugin_setting('autoactivate', 'siteaccess') == 'no')) {
Ok, is there a simple way to log people in right after they have successfully register?
Thanks,
4dplane
Hello 4dplane,
Cool, so we'll keep that change in the code for the next release.
I think it is possible failry easily by looking at the code of one of the core plugins, that validates without email confirmation. We'd just have to tweak that. Or another option is to change the "you are registered" text, to explain that account is ready, please log in.
With Love,
Uddhava dāsa
I'm stumped, I keep getting the "Sorry, the text that you entered didn't match the text in the image"
I can't think of what I haven't set up correctly, could you please have a look at it and give me a clue?
http://yooperliving.com/myelgg/
@Edward, disable the elgg default captcha n it will work. :)
elHayaze, thank you..
That is exactly what the problem was, the module is working very well now.
I just installed this plugin and invited a new member. However, when the new member clicks on the link in the invite email, it takes them directly to my own home page. Is this correct? It would seem that they should be taken to a new signup page, not to a current members' account.
@sunwest Before you click on the invite link you should have logged out from the current account.
Of course! That makes sense.
But now, when the new member clicks on the link, they see a double image of the sign up page, and a warning - You must be logged in to view this page.
And after completing the registration information, they get a message saying registration is by invitation only.
@Hello Uddhava dāsa
Fantastic, thanks for adding the auto login feature in the next release. Also, it would be nice if there was a field in the siteAccess settings that would allow me to add the url I want the site to auto log into...
Nice how you extended the register.php file so we can add additional registration fields. I added some new fields that coincide with my sites profile but when I create a new user the fields like "Interests" or "Skills" are not updated from the initial registration.
Can you give me a little advice as to how I am supposed to make this work? I looked up the register_user in the elgg core and it does not have any setup for more fields.
Thanks,
4dplane
@sunwest I'd bet that you have the Walledgarden set to "Yes". Your explanation is exactly what happens to me when I try to use it. I've never been able to make it work properly - always get the double screens with the error message you mention. Set it to "No" and that may fix your problem.
As for the "by invitation only" - I'd guess you may have it set to "yes" also. I've never tried it, but if you set it to "no" it may solve that problem.