[Module] Yii User Management Module Discussion, Bug Reports and Feature Requests for the User Management
#461
Posted 05 June 2012 - 01:04 PM
#463
Posted 05 June 2012 - 01:07 PM
#464
Posted 11 June 2012 - 09:47 AM
Does anybody know how I can use yum with theming? I mean I have an application with front-end and backend and just installed yum. I have 3 themes(backend, frontend and frontend logged in user) and I want to make yum use a certain theme based on user being logged in or not/being admin(also use the theme layout and not yum one). I want to implement this outside of the yum module as I don't want to disrupt the code in case of module update.
Also I think it would be a good implement if we can make yumcontroller extend controller and not ccontroller as in this way a user could choose his own theme there and not have to modify the module(this way it only remains to change the layout- login layout).
Thanks.
#465
Posted 18 June 2012 - 10:48 AM
I'm trying to install and am going through the install_tutorial.txt following it word for word. I'm getting this exception:
Fatal error: Call to undefined method Yum::resolveTableName() in C:\xampp\htdocs\temp\yii\WebRoot\protected\modules\user\controllers\YumInstallController.php on line 439
I've done a search for that method in files and I'm not finding it. Something get misplaced? Or am I just missing it?
Thanks.
#466
Posted 18 June 2012 - 03:05 PM
I threw these lines back into YumInstallController.php after looking through the git repo:
public static function resolveTableName($tablename, CDbConnection $connection=null)
{
return $tablename;
}
I was able to complete the install after I updated user/models/Yum.php with that.
#467
Posted 27 June 2012 - 04:34 AM
aka_flow: this has been fixed, thank you
#468
Posted 27 June 2012 - 06:05 AM
So I'm starting a project for a Spanish company and I choosed Yii User Management to implement on their app.
Because the Spanish translation isn't complete on the last version on github, I coded some php real quick to create the SQL insert command to all the Deutch translations that doesn't have also a Spanish traslation. Then i've gone to Google Translator to translate all the lines from DE to ES (by hand
The attachment has the full Spanish translation that a Spanian should check out since i'm Portuguese and never had spanish classes.
es.txt (38.65K)
Number of downloads: 4
#469
Posted 27 June 2012 - 06:28 AM
it took some time to merge them. But here you are:
https://github.com/t...translation.sql
thanks for your work !
#470
Posted 27 June 2012 - 10:57 AM
#471
Posted 29 June 2012 - 08:48 AM
thyseus, on 27 June 2012 - 04:34 AM, said:
aka_flow: this has been fixed, thank you
How would I let yii know to use my default controller instead of YumController?
Also I have another question:how can I block all possible actions using accessRules? I want to create a demo user which cannot access any action but can't figure out how to implement this outside yum(don't want to modify the module).
Thanks
#473
Posted 03 July 2012 - 12:39 PM
Does anybody know how is the user_role table populated? I mean where in the code it populates the user role table as I see no model is created for this table and also tried to use the user's role property and populate it before user save but this seems not to work.
I want to use this in order to assign user role upon registration. The admin would set in the backend the default user role each new registered user would get and upon registering the user gets the new role.
Thanks,
Vlad
#474
Posted 03 July 2012 - 02:34 PM
dbk138, on 26 May 2011 - 09:09 PM, said:
For the life of me I still cannot figure out how to properly add the drop down list. I got it working using a related table in the database, but I am sure I do not need to do that. Has anyone been able to figure out how to use the dropDownList properly? Also eventually I would like to make a dependend dropDownList but I am still stuck on the former!
is there an answer to this? i've been combing the web looking for a solution - no idea how to render a dropdownlist profile field on my registration form.
#475
Posted 03 July 2012 - 04:03 PM
I don't like asking this question, but I have spent way to much time now trying to figure it out.
When I implement the 'registration' feature, it automatically requires users to enter their firstname & lastname.
I have removed them from the view file, but I have no idea how to remove them from the 'required' rules, and I can't seem to figure out where these variables belong in the first place.
So every time I try to register I get the message "First name cannot be blank. Last name cannot be blank."
Oh and by the way, where do I modify those error messages?
Thanks for a great module!
#476
Posted 05 July 2012 - 12:08 PM
Btw. my install for some reason also did not create table: 'yumtextsettings'. Thanks for posting the SQL statement on github!
github.com/thyseus/yii-user-management/issues/10
#477
Posted 08 July 2012 - 02:51 PM
#478
Posted 15 July 2012 - 10:43 AM
l error: Call to a member function get() on a non-object in C:\xampp\htdocs\BLOGERS\protected\modules\user\models\YumUser.php on line 365
Call Stack
# Time Memory Function Location
1 0.0008 336296 {main}( ) ..\index.php:0
2 0.0277 1902864 CApplication->run( ) ..\index.php:13
3 0.0277 1902864 CWebApplication->processRequest( ) ..\CApplication.php:162
4 0.0298 2128368 CWebApplication->runController( ) ..\CWebApplication.php:135
5 0.0352 2797048 CController->run( ) ..\CWebApplication.php:276
6 0.0358 2838656 UserModule->beforeControllerAction( ) ..\CController.php:264
7 0.0391 3219544 YumWebUser->isAdmin( ) ..\UserModule.php:239
8 0.0392 3219704 YumWebUser->data( ) ..\YumWebUser.php:153
9 0.0455 4313176 YumUser::model( ) ..\YumWebUser.php:12
10 0.0455 4313224 CActiveRecord::model( ) ..\YumUser.php:49
11 0.0455 4315792 CActiveRecordMetaData->__construct( ) ..\CActiveRecord.php:379
12 0.0890 5302256 YumUser->relations( ) ..\CActiveRecord.php:2289
#479
Posted 20 July 2012 - 02:16 AM
I am new to YII , I have installed user management extention.
I am using latest version of YII and yii-user-management.
Everything working very well exclude of usergroup in this page I am getting error like
Property "UsergroupModule.usergroupTable" is not defined. please guide me to solve this error.
Thax in advance.
www.Saruinfo.com PHP-Freelancer
#480
Posted 25 July 2012 - 08:11 PM
Saru, on 20 July 2012 - 02:16 AM, said:
I am new to YII , I have installed user management extention.
I am using latest version of YII and yii-user-management.
Everything working very well exclude of usergroup in this page I am getting error like
Property "UsergroupModule.usergroupTable" is not defined. please guide me to solve this error.
Thax in advance.
Just add public $usergroupTable = 'user_group' to usergroupModule.
I added an issue on github(check it out) it worked for me..

Help













