Site Access 2.6. Full working release for 1.7+ v2.5

Release Notes

Tested for 1.7. Fully working update.

Installation instructions:Replace actions/register.php in your elgg core codePut the siteaccess folder in the mod/ folder

Enable plugin, and tweak settings to your choice.

With Love,Uddhava dāsa

  • @Uddhava dasa I've gotten a hack/fix for it, I wrote a form that takes in a GUID (of a previously unvalidated user) and ctivates the account using Siteaccess's activate action! If anyone wants the hack, I'll be too glad to provide it

    @Ron Wallace My comment "..afterall without site access would users be able to post photos, videos, blog et al?" means that if a user cant register/login convieniently, will they be able to add content to the site?

  • Hello Ron,

    Yes, i can foresee the problem with the Token message. Because Elgg is using the higher security principles in 1.7, i have to use the token variable and send that through email.

    Do you think its better to let the user activate their account anytime/

    @Tom, yes, please send the code, i can post a new update. will this fix the token issue?

    With Love,
    Uddhava dāsa

  • Notice that Brett says explicitly:

    "Because actions are time-sensitive they are not suitable for links in emails or other delayed notifications."


  • Uddhava,

    Yes, users need to be able to activate their account at anytime. Often, in my busy world, I may register for something but not get to validating it at some time later. Or even the email could be delayed for any reason - so many may register but not or be able to validate till some time later. Or even if it's only a short period of time, and the user registers, closes their browser to read their email, and then trys to validate.  Anyhow, I guess Kevin offers Brett's proper directive.

    Wondering, from my limited knowledge of this stuff - can't you somehow mimic whatever uservalidationbyemail does and build that into Site Access?


  • Also - I questioned above...

    What does "Allow account activation via email?" do. I set it to "No" but when I register the same message is displayed "Check your email and select the link" - and that email is sent just like it used to be.

    I thought by disallowing account activation by email, would not send the email and thus we would be able to manually activate each user. But it appears that is not what is happening. What is suppose to happen when I select "NO" for the "Allow account activation via email".

    I realize you are not the original developer, but if you would know what this is suppose to to, I'd like to know. It doesn't seem to do anything. Maybe I'm doing something wrong. Thanks.


  • I'll check these problems and post a new plugin update. I wanted to have a quick release for 1.7, since it is an essencial plugin. Now based on the feedback, we can proceed to some bug fixes.

    Thanks for everyone's cooperation.

    With Love,
    Uddhava dāsa

  • I get an error, when trying to access the "Site Access" menu within the admin module. Here is the error:

    Fatal error: Call to undefined function elgg_get_entities_from_metadata() in /home/<<myusername>>/public_html/elgg/mod/siteaccess/start.php on line 373


    Thanks for all your hard work Uddhava!

Project Info


  • Category: User admin
  • License: FreeBSD license
  • Updated: 2014-11-17
  • Downloads: 10329
  • Recommendations: 14

Other Projects

View Uddhava dasa's plugins