The PHP framework that makes you happy.

BaseUser

Base User Plugin

Author(s): Robert Kunze
Current Release: 1.0.3
Tags: Users
Dependencies: none

Download

Description

This plugin provides a simple user management functionality. It can login or register users, let them edit their profiles and takes care of forgotten passwords and sending welcome emails. All of it's contents can be managed through the Static Content section. Also it can be extended to support other types of login/registration functionality - like Facebook connect or Browser ID. BaseUser can be configured to bring the user to your custom pages after successful registration or login and it nicely plays together with BaseDecoration by using the "meta-menu" hook to show some user welcome text and user-related menus as well as decorating itself completely with it.

Features

Installation & Configuration

This plugin consumes the hook "meta-menu" and defines the following hooks: 

baseuser.login.form-bottom a template hook that can be used to extend the login interface with additional login buttons
baseuser.login.success a handler hook that is being notified as soon as the user successfully logged in.
baseuser.register.success a handler hook that is being notified as soon as the user successfully registered an account.

The following configuration options are available for this plugin:

BASEUSER_LOGIN_SUCCESS defines the page the user should be redirected to, after successfully logging in
BASEUSER_SENDER_EMAIL the email address to be used as sender when sending out password reset and welcome emails
BASEUSER_DECORATOR the event handler that should be used as decorator (expected to be in colon notation).
BASEUSER_REGISTER_SUCCESS defines the page the user should be redirected to after successfully registering
BASEUSER_EDIT_COMPLETE defines the page the user should be redirected to after updating his profile information.