Hey peoples,
As a by-product of procrastination I've begun work on an idea I had a while back, which was to develop a simple yet functional User System framework, to rapidly speed up development times when creating a dynamic site.
The system works by including a class within your page, providing an abstracted set of functions you can use to create a fully fledged user system.
Since this is still in the early development stages i wanted to know what features people think it would need.
NOTE: This is not a user system itself, but instead a framework to build user systems with.
So far:
Functions
authenticated()
- true / false as to whether user is logged in
getName()
- return username or guest if not logged in
getAvatar()
- get avatar url of user
login($username,$password)
- log user in
logout()
- log user out
getUserInfo($uid)
- Return array of users details
updateProfileField($field,$newvalue)
- updates profile feild
updateProfile($uid,$avatar,$description)
- Update profile info
createNewUser
- Create new user in the system
removeUser($id)
- remove user from system
changePassword($oldpassword,$newpassword)
Any other important, functions of features wanted. the system works both with flatfiles only or with a MySQL database![]()








Reply With Quote






