mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #09181
[Bug 1001064] A change has been merged
Reviewed: https://reviews.mahara.org/1221
Committed: http://gitorious.org/mahara/mahara/commit/5d737aa59691a4f7328a560f3c6438ba71acc8e5
Submitter: Richard Mansfield (richardm@xxxxxxxxxx)
Branch: master
commit 5d737aa59691a4f7328a560f3c6438ba71acc8e5
Author: Richard Mansfield <richard.mansfield@xxxxxxxxxxxxxxx>
Date: Mon Nov 7 14:02:24 2011 +1300
Add local hooks for registration and user initialisation (bug #1001064)
Three new hooks are added:
local_init_user() - called after $USER is initialised. This is useful
for changing the user's theme before $THEME is initialised.
local_register_submit() - called when the registration form is
successfully submitted, but before the submitted values are saved to
usr_registration. This is useful for remembering the properties or
preferences of the logged-out user when the form was submitted.
local_post_register() - called after a user has successfully been
created and logged in during registration. This is useful when
properties of the user (which may have been saved to usr_registration
by local_register_submit()) need to be transferred to the newly
registered user.
Change-Id: Ifcb19737bdcecb550185624f2fd78e541690a337
Signed-off-by: Richard Mansfield <richard.mansfield@xxxxxxxxxxxxxxx>
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/1001064
Title:
Basic support for theming logged-out users
Status in Mahara ePortfolio:
In Progress
Bug description:
Some custom sites wish to allow logged-out users to be able to change
their themes, and have those themes saved during registration. There
are a few things that can be done to make this easier:
- let user preferences be saved in the session only, rather than in the database
- add some local hooks for updating themes when a page is initialised
- add local hooks to allow any logged-out user preferences to be saved during registration, while waiting for email confirmation or institution approval.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1001064/+subscriptions
References