You are here

INSTALL.txt in LoginToboggan 8

Same filename and directory in other branches
  1. 5 INSTALL.txt
  2. 6 INSTALL.txt
  3. 7 INSTALL.txt
*******************************************************
    INSTALL.txt for logintoboggan.module for Drupal
*******************************************************

INSTALLATION:

Place entire loggintoboggan module folder into
  (a) your /modules/contrib directory
  (b) your sites/[my site]/modules directory.

Enable the module at Administration » Modules

Configure logintoboggan settings at
Administration » Configuration » People » LoginToboggan

The module provides an alternative login block to core AND provides a
LoginToboggan logged in block'.

Configure each block at Administration » Structure » Blocks as follows...

1. Configure the 'Logintoboggan login' block for LoginToboggan functionality:

Change title if required; using <none> can make for a very neat login system,
when combined with the javascript functionality: clicking upon "Login/register"
reveals the login form in sliding fashion. To select this functionality, select
'Collapsible form' under "Block type". Selecting 'Link' under "Block type"
sends user to a login form, returning them to original page after successful
login.

2. Configure 'LoginToboggan logged in block'

Tip: by leaving the title blank, the 'LoginToboggan logged in block' is slim
and neat.

Done!

CAVEATS:

1. Use the 'Delete unvalidated users after' feature with extreme caution!

   This feature can be handy, but if misconfigured can cause unexpected damage
   to your user data -- specifically deleting users!  Three things to guard
   against:

     a. Be very careful when editing the 'trusted role' setting.
        If you set it to anything other than the 'authenticated user' role,
        LoginToboggan will happily start deleting any users that don't have that
        role and were created prior to the purge interval. If you want to
        avoid problems, it's best to never change that setting after you've
        initially set it up.

     b. LoginToboggan provides a trusted role that is assigned in addition to
        the authenticated user role. In Drupal 7, it worked the other way round
        in that it removed the authenticated role under a user validated via email.
        However, that's not possible in Drupal 8 because the authenticated role is
        automatically assumed for all logged-in users. Be aware that other contrib modules
        may want to assign permissions to authenticated users so it will be your
        ongoing responsibility as a site manager to remove unwanted permissions from
        the authenticated role, if you have adopted the trusted role approach.

     c. If you are using the trusted role approach, and subsequently decide to stop letting
        users set a password on registration, you should set the trusted role back to authenticated
        before removing the password setting. That will mean the trusted role logic is ignored.

File

INSTALL.txt
View source
  1. *******************************************************
  2. INSTALL.txt for logintoboggan.module for Drupal
  3. *******************************************************
  4. INSTALLATION:
  5. Place entire loggintoboggan module folder into
  6. (a) your /modules/contrib directory
  7. (b) your sites/[my site]/modules directory.
  8. Enable the module at Administration » Modules
  9. Configure logintoboggan settings at
  10. Administration » Configuration » People » LoginToboggan
  11. The module provides an alternative login block to core AND provides a
  12. LoginToboggan logged in block'.
  13. Configure each block at Administration » Structure » Blocks as follows...
  14. 1. Configure the 'Logintoboggan login' block for LoginToboggan functionality:
  15. Change title if required; using can make for a very neat login system,
  16. when combined with the javascript functionality: clicking upon "Login/register"
  17. reveals the login form in sliding fashion. To select this functionality, select
  18. 'Collapsible form' under "Block type". Selecting 'Link' under "Block type"
  19. sends user to a login form, returning them to original page after successful
  20. login.
  21. 2. Configure 'LoginToboggan logged in block'
  22. Tip: by leaving the title blank, the 'LoginToboggan logged in block' is slim
  23. and neat.
  24. Done!
  25. CAVEATS:
  26. 1. Use the 'Delete unvalidated users after' feature with extreme caution!
  27. This feature can be handy, but if misconfigured can cause unexpected damage
  28. to your user data -- specifically deleting users! Three things to guard
  29. against:
  30. a. Be very careful when editing the 'trusted role' setting.
  31. If you set it to anything other than the 'authenticated user' role,
  32. LoginToboggan will happily start deleting any users that don't have that
  33. role and were created prior to the purge interval. If you want to
  34. avoid problems, it's best to never change that setting after you've
  35. initially set it up.
  36. b. LoginToboggan provides a trusted role that is assigned in addition to
  37. the authenticated user role. In Drupal 7, it worked the other way round
  38. in that it removed the authenticated role under a user validated via email.
  39. However, that's not possible in Drupal 8 because the authenticated role is
  40. automatically assumed for all logged-in users. Be aware that other contrib modules
  41. may want to assign permissions to authenticated users so it will be your
  42. ongoing responsibility as a site manager to remove unwanted permissions from
  43. the authenticated role, if you have adopted the trusted role approach.
  44. c. If you are using the trusted role approach, and subsequently decide to stop letting
  45. users set a password on registration, you should set the trusted role back to authenticated
  46. before removing the password setting. That will mean the trusted role logic is ignored.