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

Release Notes

In this release:

*Added direct email confirmation support (no more use of token or token errors during email confirm)

With Love,Uddhava dāsa

  • Ron,

    Thanks for the tip. It worked out just fine. I think the invitation only is OK also, after changing it to "no":

    I appreciate the help.

  • I just upgraded to 1.7 in my sandbox and am experiencing a problem where the secrity code that a new user etners is now showing as a broken image. It showed before the upgrade. Is this mod compatible with 1.7?

  • @NDD:

    I believe UD did fix that captcha issue b/c of missing tokens prob.. SiteAcces shud work if you've got his latest vers..


  • @DhrupDeScoop: You are aboslutely right. I reinstalled this version and worked fine. Thanks

  • Hi Guys,

    I am having problems with the user auth - the site doesn't seem to be sending authentication emails...

    I am new to Elgg, so any help would be appriciated




  • Hi John,

    Try using the default settings in a fresh install with 1.7. If that works fine, then proceed to test with the SiteAccess plugin, it should also work.

    With Love,
    Uddhava dāsa

  • Hello

    Good mod, and it well works.
    But it is impossible to adjust it. On the main page icons(Newest members, Latest groups, Latest blog posts, ...). are not displayed.

    I could make only that pictures at Latest files were shown, having added this line in an WalledGarden exception.



    Please help anyone.

  • Anyone have any ideas on why I'm getting a double image on the main page when walled garden is activated?

    You can see it here -

  • umm all perfect but.. when a member use "invitefriends" and the new friend open the email,click,clack,cluck,etc.. well, then at the riverDB you can see(its an example):

    Snowball is now a friend with Mark

    ..but its not true; They arent really  friends, and if Snowball wants to be a friend with Mark, he need to send a friend request after the register process.. any idea to solve this?

  • For some unknown reason, after a user registers, he doesn't get a request for email validation, neither on screen message nor by email. He gets a "You must be logged in to view that page" message on the screen and that's all. It seems that this message comes from the core gatekeeper. If after this message, the user tries to login, then he gets the validation request and all the rest is fine. I don't know if this is the normal behaviour of the script, but in my sense, it makes an unnecessary step. The user should receive an on the screen invitation to consult his emails for the email validation, immediately after his registration, not after the first login try. (using site access 2.6 with elgg 1.7 and "site access walledgarder" enabled and "walledgarden plugin" desactivated, - the probelm occurs both ON and OFF "Allow account activation via email" settings.

  • When I select "hourly" with the required user name, for "Notification Options" - I get the following email sent to me ... It appears this may not be working. Can anyone else verify this as being a problem? 

    Maybe the hourly cron is picking up some tool, but I don't think so. My best guess is that this error is coming from this plugin. Yes? Anyhow. Here's the email that I am getting (note for some reason the html is not being translated, and not the DatabaseException error) ...

    Is this a bug in siteaccess?

            <title>Welcome to Elgg.</title>
            <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

            <style type="text/css">

            body {
                background: #4690d6;
                font: 80%/1.5  "Lucida Grande", Verdana, sans-serif;
                color: #333333;
            a {
                color: #4690d6;
                text-decoration: none;
                -moz-outline-style: none;
                outline: none;
            a:visited {
                color: #0054a7;
            a:hover {
                color: #0054a7;
                text-decoration: underline;
            p {
                margin: 0px 0px 15px 0;
            img {
                border: none;
            #startpage_wrapper {
                padding:10px 40px;
                border-right: 1px solid #666666;
                border-bottom: 1px solid #666666;

            label {
                font-weight: bold;
                font-size: 140%;
            input[type="password"]  {
                font: 120% Arial, Helvetica, sans-serif;
                padding: 5px;
                border: 1px solid #cccccc;
            .database_settings input[type="text"],
            .database_settings input[type="password"] {
            textarea {
                width: 100%;
                height: 100%;
                font: 120% Arial, Helvetica, sans-serif;
                border: solid 1px #cccccc;
                padding: 5px;
            textarea:focus, input[type="password"]:focus, input[type="text"]:focus {
                border: solid 1px #4690d6;
                background: #e4ecf5;

            input[type="submit"]:hover {
                background: #0054a7;
                border: 4px solid #0054a7;

            input[type="submit"] {
                font: 16px/100% Arial, Helvetica, sans-serif;
                font-weight: bold;
                color: #ffffff;
                border: 4px solid #4690d6;
                -webkit-border-radius: 4px;
                -moz-border-radius: 4px;
                width: auto;
                height: 35px;
                padding: 2px 6px 2px 6px;
                margin:10px 0 10px 0;
                cursor: pointer;
            #startpage_wrapper hr {
                border-bottom:1px solid #333333;
            #startpage_wrapper td {
                text-align: left;
                vertical-align: middle;

            .messages {
                border:1px solid #00cc00;
                padding:3px 10px 3px 10px;
            .messages_error {
                border:1px solid #D3322A;
                padding:3px 10px 3px 10px;


        <div id="startpage_wrapper">
    Welcome to Elgg.

            <!-- display any system messages -->

        <span title="DatabaseException">
        Elgg couldn't connect to the database using the given credentials.  </span>


  • When a user does not input the captcha box correctly what action/file is called? I know it's not root/actions/registration! Yet this is the only file I see being called in the registartion form.

    I'm trying to work this plugin with the Profile_Manager and when the captcha is missed all of the new fileds from the Profile_Manager are lost and the user has to re-input them.


  • What is meant by replace register.php?


  • There is a php file named register.php, you neeed to replace it with the one in side of the site_access_2.6 zip. The location of the file to be replaced is root/actions/register.php.

    Of course back up your original register.php file incase there is a problem...


  • Thank you, I thought this was what was meant, but I wasn't sure.

  • nobody has the same problem as me? new users(invited by a user with the "invite friends" option) are not friends of the member invite them (even on the desktop appears, but it does not really)

  • This is not a "problem", it is the way things work... there will be some fair amount of brain work and coding involved to make this work "perfectly" for different needs..  e.g you call me "friend", but i do not call you "friend" ! isn't that more like real life ? and so if in Elgg -- person A calling person B "friend" *forces person B to call person A "friend".. we lose the correlation to reality and start to think more about how software should behave for disparate requirements...

  • I think I havent explained well:  if i turn off  site acces plugin, when a user invite other user to the network and he/she register an account, then they are friends.. but with site acces plugin, dont work.

  • Am I missing something? The version number does not seem to be changed in the new zip

    (Site Access

    The manifest.xml still says version 2.4?

    When I try to run this version on a fresh clean install of elgg 1.6.1 I have two issues.

    1) When I access Administration>>Site Access I get a blank page but under Tools Administration I can change settings just fine.

    2) when a user trys to register they recieve an email to validate the registration but when the user clicks the link inside the email it loads the page and says "You must be logged in to view that page!" And it will not let the system log you in. I check the database and the user account is not activated.


    Any insight/help is greatly apreciated.

  • I have a fresh n clean ELGG 1.7.1 install.  When i enable Site Access 2.6 and set it to invitation only, no one can register.  When a tester tries to click on the invite in their email, elgg responds with "you must be logged in ...."

    How about a hand here, thank you,




  • werd, thanks for the debug mode and wow what a windowlicker i am for not turning it on before asking for help.  :D

  • Hi, great plugin.

    I would like to know if it was possible to send an automatic e-mail to the user, when admin rejects his request ? And if it was, how to do it?


    By the way I'm a totally newbee and in top of that frenchee...

  • This helped me out of a huge whole, as the other way around email vailidation via plug in wasn't working.  Thanks a ton!

  • When Uddhava dasa writes to "Please try to replace the code on line 347..." which file is he talking about?  I am new to elgg and programming, so this is condusing to me.

    Any help would be great.

  • @Uddhava dasa

    I'm having a strange issue after moving to 1.7.1.

    When a user changes email address they should show up on the activation page in admin, for some reason they don't! If I go to the users profile I do however see the Activate-link.

    Problem is that I haven't got anywhere to see who needs reactivating, and so far users have to write me an email to tell me they can't login anymore - then I have to go to their profile and use the Activate link.

    Do you know how to fix this?

Project Info


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

Other Projects

View Uddhava dasa's plugins