[Module] Yii User Management Module Discussion, Bug Reports and Feature Requests for the User Management
#381
Posted 30 January 2012 - 02:39 PM
CWebUser and its behaviors do not have a method or closure named "data".
I saw something about logging out and back in, but that didn't seem to work - what am I missing?
#382
Posted 30 January 2012 - 03:12 PM
CWebUser and its behaviors do not have a method or closure named "isAdmin".
#384
Posted 01 February 2012 - 01:43 AM
I configured filters and accessrules in a controller as below:
public function filters()
{
return array(
'accessControl',
);
}
public function accessRules()
{
return array(
array('allow',
'actions'=>array('contact', 'error'),
'users'=>array('*'),
),
array('allow',
'actions'=>array('index', 'inicio'),
'users'=>array('@'),
),
array('deny',
'users'=>array('*'),
),
);
}
When I try access to index or inicio action i get "you don't have permissions" error, but my user is logged on and Yii::app()->user->id works properly. I can access to /user/user/admin url correctly. Can anyone help me?
#385
Posted 01 February 2012 - 05:10 PM
The table "{{yumtextsettings}}" for active record class "YumTextSettings" cannot be found in the database.
Any ideas on how to fix this?
#386
Posted 01 February 2012 - 06:46 PM
Hoss, on 01 February 2012 - 05:10 PM, said:
The table "{{yumtextsettings}}" for active record class "YumTextSettings" cannot be found in the database.
Any ideas on how to fix this?
Add to you main.php YumTextSettings table alias:
modules'=>array(
'user'=>array(
...
'textSettingsTable'=>'yum_config_idioma', // for me
),
...
),
Check in database for a "yum_text_settings" table or something.
#387
Posted 01 February 2012 - 09:26 PM
a custom text source, for example from an array, a content management
system of anywhere else. The YumTextSettings are just a example how
it could work.
#388
Posted 05 February 2012 - 07:29 PM
Property "YumWebUser.textSettingsTable" is not defined.
/Library/WebServer/yii/framework/web/auth/CWebUser.php(155)
143
144 /**
145 * PHP magic method.
146 * This method is overriden so that persistent states can be set like properties.
147 * @param string $name property name
148 * @param mixed $value property value
149 */
150 public function __set($name,$value)
151 {
152 if($this->hasState($name))
153 $this->setState($name,$value);
154 else
155 parent::__set($name,$value);
156 }
157
158 /**
159 * PHP magic method.
160 * This method is overriden so that persistent states can also be checked for null value.
161 * @param string $name property name
162 * @return boolean
163 */
#389
Posted 06 February 2012 - 02:45 AM
It seems like you are calling Yii::app()->user->textSettingsTable somewhere. It needs to be
Yum::module()->textSettingsTable. You can also override the function and simply set 'yum_text_settings',
or however your table is called.
#390
Posted 09 February 2012 - 08:24 AM
I have installed the Yii User Management Module. I want to add customize fields in the registration form. I have read the topic posted here http://www.yiiframew...gement-module/.
I want to know how can I add new fields in the registration form comprising Yii auto complete widget and those new fields I want to save in new table other than profile table.
Thanks in advance.
#391
Posted 18 February 2012 - 12:22 AM
#392
Posted 21 February 2012 - 04:59 AM
many thanks for this module. it works ok. but when i tried to access "TextTranslations" i got this error "Declaration of YumTranslationController::loadModel() should be compatible with that of YumController::loadModel()"
sorry. this was second error i got. first was about ajax validation. a fixed it. but seeing this error i'm not shure if i should fix it or not.
i'm using 0.8 version from yii extensions repository.
now i'm translating messages to russian. where can i submit translation when i'm finished? i took french messages as there are most of them (544)
#393
Posted 21 February 2012 - 05:53 AM
Attached File(s)
-
ru_tr.tar (49K)
Number of downloads: 25
#394
Posted 21 February 2012 - 09:23 AM
I made my first steps with yii framework (1.1.8 ). Now I want do build up a new website using the
extension yii user management.
But there is a problem I'm not able to solve.
I've downloaded the latest version (yii-user-management_0.8rc5.tar.bz2).
Did the installation discribed in Install_tutorial.txt.
Get the message that installation was successsfull.
But when I try to administrate the users I get a CException:
Alias "registration.RegistrationModule" is invalid. Make sure it points to an existing PHP file.
Browsing through my application directory structure I can't find a Registration module.
Is it a separate module or submodule? It seems not be included in yii-user-management_0.8rc5.tar.bz2?
Can anybody help?
#395
Posted 22 February 2012 - 12:00 AM
the only thing is different by me - that i'm using yii 1.10... but i think that is not issue..
you should have the following folders in your /protected/modules
-membership
-avatar
-role
-profile
-usergroup
-user
-messages
-friendship
-registration
and just in last folder there is that registration module. check it out!
#396
Posted 22 February 2012 - 11:14 AM
Thyseus, now that we have a fairly stable 0.8rc SVN version, I think we should add the StasuSS contribution and make a 0.8 final release. What do you think?
BTW, I started another project and I'm going to use YUM in it, so you have again a active developer on the front line.
Great, isn't it?
#397
Posted 22 February 2012 - 11:49 AM
http://code.google.c...ionInstructions
#398
Posted 22 February 2012 - 02:07 PM
thanks for your reply. I did a new installation of yii 1.1.10.
After creating a new webapp (yiic webapp <app-path>) there is no
folder 'moduls' under folder 'protected'.
In folder 'protected' there are these folders:
commands
components
config
controllers
data
extensions
messages
migrations
models
runtime
tests
views
What's wrong?

Help














