Login / User info

Blocks ::: block_login_userinfo
Maintained by Eiz Eddin Al Katrib
Moodle block which provides all functionality of block_login and displays additional information (username, avatar, logout button) as soon as the user is logged in

Login / User info 2.3 (Build: 2012062502)

Moodle 2.3
Released: Tuesday, 27 November 2012, 4:27 PM
moodle-block_login_userinfo
===========================
Moodle block which provides all functionality of block_login and displays additional information (username, avatar, logout button) as soon as the user is logged in


Requirements
============
This plugin requires Moodle 2.3+


Changes
=======
2012-11-27 - German language has been integrated into AMOS and was removed from this plugin. Please update your language packs with http://YOURMOODLEURL/admin/tool/langimport/index.php after installing this plugin version
2012-11-27 - Small code cleanup
2012-09-26 - Replace deprecated get_context_instance function
2012-06-25 - Initial version


Installation
============
Install the plugin like any other plugin to folder
/blocks/login_userinfo

See http://docs.moodle.org/23/en/Installing_plugins for details on installing Moodle plugins


Placement
=========
block_login_userinfo is used ideally as sticky block and appears on all of your moodle pages at the same position

See http://docs.moodle.org/23/en/Sticky_blocks for details about sticky blocks


Usage
=====
The block_login_userinfo plugin has two views:
As long as the user is logged out, it displays a login form just as block_login does.
As soon as the user is logged in, block_login dispears. In contrast to this, block_login_userinfo displays pleasant information about the logged in user like his/her username, his/her avatar. Additionally, it displays a logout button where the user expects it to be: exactly at the position where the login button was previously.

Furthermore, for teachers and admins, block_login_userinfo shows exactly the same information as the login info section which is normally found in the top right corner of your moodle page - especially information about role changes and about failed user logins.


Themes
======
block_login_userinfo should work with all themes from moodle core.

As block_login_userinfo duplicates information and widgets from the login info section which is normally found in the top right corner of your moodle page, I recommend to experienced themers to remove $OUTPUT->login_info() from your theme layout files.


Settings
========
block_login_userinfo has neither a settings page nor settings in config.php.


Further information
===================
block_login_userinfo is found in the Moodle Plugins repository: http://moodle.org/plugins/view.php?plugin=block_login_userinfo

Report a bug or suggest an improvement: https://github.com/abias/moodle-block_login_userinfo/issues


Copyright
=========
Alexander Bias, University of Ulm

Version information

Version build number
2012062502
Version release name
2.3 (Build: 2012062502)
Can be updated from
2.3 (Build: 2012062501)
Can be updated to
2.4 (Build: 2013021800), 2.4 (Build: 2013042300) (2013021804)
Maturity
Stable version
MD5 Sum
ec409a6eecf34208a8400d3b9232be85
Supported software
Moodle 2.3
  • Latest release for Moodle 2.3

Version control information

Version control system (VCS)
GIT
VCS repository URL

Default installation instructions for plugins of the type Blocks

  1. Make sure you have all the required versions.
  2. Download and unpack the block folder.
  3. Place the folder (eg "myblock") in the "blocks" subdirectory.
  4. Visit http://yoursite.com/admin to complete the installation
  5. Turn editing on in any home or course page.
  6. Add the block to the page
  7. Visit the config link in the block for more options.