====== autlogin Plugin ====== ---- plugin ---- description: Automatic login for users who meet specific criteria for login author : Ondrej Machac email : omachac@seznam.cz type : admin, action lastupdate : 2011-04-15 compatible : depends : conflicts : similar : acl tags : acl,users,management,moderation downloadurl: https://trello.com/1/cards/5b01b8ef8a642440adfd7dbe/attachments/5b01bc40e9296284d77ed03a/download/autlogin.zip bugtracker : sourcerepo : donationurl: screenshot_img: ---- ===== Installation ===== Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually. After the plugin installation you have to define manager group. Go to //Admin›Configuration Settings// and set the row //Manager -- group, user or comma separated list...// to ''@moderator'' (see picture below). After this settings everything will be ready. {{https://trello.com/1/cards/5b01b8ef8a642440adfd7dbe/attachments/658489e2ed6dac32dc561635/download/autlogin-scr-part4.jpg?recache}} ===== Examples/Usage ===== The main task of this plugin is to extend [[plugin:acl|acl plugin]]. If some user visits your web page, information about him is saved to file ''visit.php''. Then you can set specific criteria for login of this user. When you set some criterion and the user loads the page again and meets this criterion, then is automatically logged in. This plugin has two parts. If you are an admin you can see both parts in one page. First part is “Access Control List Management for users and second is “Moderator page”. In first part admin can - set rights for users through file visit.php (here are stored all users who already visited the web -- their IP address, web browser, operating system...) - set rights manually - set moderators {{https://trello.com/1/cards/5b01b8ef8a642440adfd7dbe/attachments/658489df8705adaf66ee401f/download/autlogin-scr-part1bw.jpg?recache}} In Moderator page, logged user can set the rules for the pages or namespaces to which has the moderator's rights. If admin set some user like moderator, this user discovers a new button and after he clicks on the button, this user can moderate the page then. {{https://trello.com/1/cards/5b01b8ef8a642440adfd7dbe/attachments/658489e01247f9ba39476997/download/autlogin-scr-part2um.jpg?recache}} Here is an example of moderator's page. {{https://trello.com/1/cards/5b01b8ef8a642440adfd7dbe/attachments/658489e1d8ba3d4980a6fc5c/download/autlogin-scr-part3c.jpg?recache}} ===== New versions ===== **05.05.2011** -- repaired bug when moderator updates rules in moderators page **19.04.2011** -- repaired Opera detection **17.04.2011** -- First version ===== Known Bugs and Issues ===== Fatal error: Call to undefined function html_attbuild() in /var/www/html/dokuwiki/lib/plugins/autlogin/admin.php on line 836 in **Access Control List Management for hosts** ===== ToDo/Wish List ===== ===== FAQ ===== ===== Discussion =====