Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Registration & Entry?

Are Entry and Registration part of the same thing?
If I want to eliminate self-registration (it's a members-only group, Forum participants are added manually) do I comment-out all lines related to entry and registration in css and php?

«1

Comments

  • TamaTama ✭✭✭

    You can change this in your settings Dashboard> Users> Registration and set it to Invitation

    you can then set "Invitations per month" to none to the people who don't want to have the power to invite new users.

    There was an error rendering this rich post.

  • Thanks, I have done this, but I'd like to also remove the text suggesting that someone may self-register "Don't have an account? Create One." but I'm not sure where that is located in the Vanilla Folder Structure.

  • He wants to get rid of registration , I think he wants to register people manually and have no access until he does.

    The only thing I can think of is hide the buttons to the registration page on the guest module and on the sign in form.

  • I cannot tell from looking at the Wiki and Vanilla Folder Structure docs where I should go to fix that screen. I'm guessing that to remove "Don't have an account? Create One." is trivial. Not sure about removing the actual code that allows self-registration (so it cannot be intentionally or unintentionally activated somewhere down the road).

  • I can give some advice here , you can hide the guest module with css

    div.Box.GuestBox{
    display:none;
    }
    
    li.CreateAccount {
    display: none;
    }
    
  • Is this the correct .css file to edit?

    /themes/RedWood/design/custom.css

  • You can also use the $Configurations to have it show or not in the config.php

    $Configuration['Garden']['Modules']['ShowGuestModule']          = FALSE;
    $Configuration['Garden']['Modules']['ShowSignedInModule']       = FALSE;
    $Configuration['Garden']['Modules']['ShowRecentUserModule']     = FALSE;
    
  • OK, I added those lines to

    /conf/config.php

    Should I also leave these commented-out in /conf/config.php?

    // $Configuration['Garden']['Registration']['ConfirmEmail'] = '1';
    // $Configuration['Garden']['Registration']['Method'] = 'Invitation';
    // $Configuration['Garden']['Registration']['ConfirmEmailRole'] = '3';
    // $Configuration['Garden']['Registration']['CaptchaPrivateKey'] = '';
    // $Configuration['Garden']['Registration']['CaptchaPublicKey'] = '';
    // $Configuration['Garden']['Registration']['InviteExpiration'] = '-1 week';
    // $Configuration['Garden']['Registration']['InviteRoles'] = 'a:5:{i:3;s:1:"0";i:4;s:1:"0";i:8;s:1:"0";i:16;s:1:"0";i:32;s:1:"0";}';
    
  • If I comment-out or remove these lines from /themes/RedWood/design/custom.css will that get rid of the "Don't have an account? Create One." text, or is that in HTML somewhere else?

    div.Entry.SingleEntryMethod {
    background:#666;
    border-color:#222;
    border-width:1px;
    font:family:Arial;
    }
    
    div.Entry.SingleEntryMethod Label {
    font-color:#adadad;
    }
    
    div.Entry.SingleEntryMethod h1 {
    background:url(images/woodnav.png);
    border-color:#222;
    border-style:solid;
    border-width:1px;
    color:#000;
    font:family:Arial;
    }
    
  • edited July 2013

    You can't comment out css, if you remove them the main style will show them.

    You need to write new css rules

    div.Entry.SingleEntryMethod{display:none;}

  • This unresponsive script error keeps popping up and is blocking editing of custom.css

    Can you sort out what it means, please?

  • This has to do with your host please contact your host, I recommend you undo some of the things in the config.php like un comment the parts you commented out.

    check your files that they are in the right places , check for any errors like missing brackets or unclosed html.

    Can't think of anything except retrace you steps .

  • OK, after moving the commented-out lines in config.php and I returned entrycontroller to the custom.css array and all appears to be well in Dashboard.

  • this will hide the guest box the sign in link will still appear in the menu. But the module withe apply for membership will be hidden.

    div.Box.GuestBox{
    display:none;
    }
    
  • This, in custom.css, has no impact. The invitation remains in the Sign In box and when clicked the Apply for Membership box pops up.

    div.Box.GuestBox{
    display:none;
    }
    

    If I add this then there is no Sign In box and the Sign In button is unresponsive

    div.Entry.SingleEntryMethod{
    display:none;
    }
    
  • edited July 2013

    try this , the rule work I have used it ...maybe add

    #Panel div.Box.GuestBox{
    display:none!important;
    }
    
  • Do I need both? By itself this makes no change either.

    #Panel div.Box.GuestBox{
    display:none!important;
    }
    
  • edited July 2013

    hmmm let me go check ok?

    but you will need to disable the redirect so I can view as a guest

  • I just changed your Roles to include Guest, Member, Applicant - does that work?

  • ForceRedirect has been disabled as well.

Sign In or Register to comment.