This is a modular User Management Module for easy integration in your Yii Framework Web Application.
It has the following features:
* An automated Installer * User Administration * Role Administration * Permission System with a mixture of RBAC and ACL (see docs) * Profiles & Profile history & Profile Comments & Profile Fields Administration * Messaging System (send/receive Messages between Users) Submodule * User groups (user can add new groups, other users can join) * User Avatar upload * User Registration * Password Recovery * Friendship system * Mailing component (users can choose which messages he gets by email) * Base Language: English * Complete Translations to german, french * Almost complete Translation to spain thanks to bigchirv@gmail.com * Incomplete Translations to russian and polish
What it is not:
* A complex RBAC like srbac. However, it is possible to use srbac together with the User Management Module without problems. The contributed Permission System may be powerful enough for your Web Application, just give it a try.
Yii-user-management is hosted at github: github.com/thyseus/yii-user-management
Donations are possible by bitcoin: 1AzhCYHrX7c7exBB89qfhbEvUaW6RThB1E
protected/modulesRead docs/Install_tutorial.txt
Enjoy
Total 20 comments
Hi there, Successfully installed yii user module but when click on login, http://localhost/yii_user_management/index.php/user/auth/login
Give this error,
on line 374 and at line 374 this code:
How can I fix this error?
is there any pacth to integrate facebook login to yum
I think if you open issues for this at github: https://github.com/thyseus/yii-user-management
your changes and suggestions will be recognized in development.
Seems like nobody is interested into this extension and this is not good.
there is a bug in YumAvatarController.php and even if the avatar is saved it does not report that so
you can either comment out this if clause or change it to
there's another problem i found. if someone change it's avatar, old one(s) remain on the server and because you don't have the possibility to choose between them it's waste of space. so there are 2 ways to solve this. you can either change the name of any new picture so it always overwrites existing one
or when you upload a new one tell the action to remove the old one.
i only realized it checks the file then starts a new loop and because there is no data on the 2nd loop it stops at the 1st step
please help
i have found the error on line 29 in _form.php
it is misspelled echo as echp
first of all thanks for your work.
as "admin": 1. when i hit "create new role" i get empty screen with no errors. 2. from "Manage profiles" if i try to delete a profile a popup message says "Error 404: The system is unable to find the requested action "delete"." (why is delete active in profiles if i can only remove users from "User administration"?) 3. "Last visit" should be set to "never" instead of 01-01-1970 :) i have changed in admin.php value to
any user: 1. i activated "avatar", it works but if i change "public $avatarMaxWidth" from 0 to any other value when i try to upload any kind of accepted formats it says "The file "xx.jpg" is not an image." although it accepts the same image with 0 value. 2. also when i activate max value, on the form always appears "The image should have at least 50px and a maximum of 200px in width and height" no matter value i set so i change it in edit_avatar.php from 200 to
3. in user menu in "Misc" appears "Upload avatar for admin" and "Change admin Password" no matter who is logged in so i changed in YumAdminMenu.php to "Change Password" and "Upload avatar"
please help me with avatar and roles
realpath(Yii::getPathOfAlias('backend or www or frontend').DIRECTORY_SEPERATOR.'uploads')
Hello, thanks for menting the role submodule. I have activated it and it is now working.
Next step is the avatar module. After enabling it, I have problems with the right path to setup as a avatar path. I am running on boilerplate, but the structure is the same, so within the www is a images folder. But yum is not accessing it. If I change the avatar path to something stupid, like ".." then it puts the file into the project root (as expected). But that means that the script is working. So I have my doubts about the path settings and the boilerplate. Does anybody has experience with yum and boilerplate?
thanks, gb5256
Make sure to have the 'role' submodule enabled in your config/main.php.
also try to append :
if(Yum::hasModule('role') && [...]
to line 29. I think this will fix it. This will go into github master. Thanks for reporting!
Hi there, first of all: This is probably the best and most comlete extension out there for yii. Well done!
I have just installed the modules from the latest git into an othewise empty yii-app (I use the latest boilerplate). I can login and logout, so the basics are working. But when I try to access /user/user/admin/ wihtout beeing logged in I get this error:
Any Ideas?
thanks for any hints, gb5256
As intructed, I pointed to ?r=user/auth (and that IS the yum module - the error messages are from it). I tries to "hack" a bit and temporarily set in YumAuthController.php option to override password check
After that I was able to login but still cannot change password. It seems that there some errors in validatePassword or encrypt functions, but I cannot find it out. Sorry for my English.
Did you use the ?r=/user/auth url? you need to adjust the /site/login urls in the layouts/main.php of the testdrive demo application.
Just made a clean install to testdrive app, everything was fine, but when i tries to login as noticed in intructions admin/admin or demo/demo it returns with "Login is not possible with the given credentials" and "Login or Password is incorrect".
Tries on the last version 0.8. Looking for help! Thanks!
with long <?php tags for maximal compatibility and all the bugfixes and features of the stable github version.
Guys, be sure to use the last GitHub version !
yes,I have extracted the "user" folder to protected/modules/
waiting your help..
Have you extracted the files to protected/modules?
Note that it's not "models"!
Hi experts, when I install this extension,my web app throw exception "include(UserModule.php): failed to open stream: No such file or directory",this is my config in main.php:
Leave a comment
Please login to leave your comment.