Web user info
Votes: 12
Tags: Personalization, snippet
Submitted: Dec 7, 2006
Released: Dec 7, 2006
Downloads: 1020
License: GPL - GNU Public
Web user info 0.9.2.2.(rev 1923)
Works with the following Version(s): 0.9.2.2
This snippet show some more information about web user that us currently logged in (full name, email address, expires date ...)
Download
- repo-1224.txt (1020 downloads)
Description
I am not sure if I make this on right way as I did not read all instructions, but it is simple and works fine.
Very similar like 'personalize' snippet (which return only short user name that you can use for greeting). This snippet read and display user attributes information from database. I included this information's: Full name, email address, Number of logins, last login, Comments and Membership expire date. You can go add some more fields if you like or remove some of them.
This is very useful if you have subscription based site where membership expires after some time.
You can make great 'personal user' page like this:
First 'personalize' snippet (show welcome greeting)
then this snippet (show user information and expire date)
and finally WebChangePwd snippet (allow user to change password)
then setup this page as non-public so it will be visible only for logged users.
Instructions
Just add this snippet, and call it like any other.

Please login to comment.