Yii Framework Forum: [Module] Yii User Management Module - Yii Framework Forum

• (30 Pages)
• « First
• 28
• 29
• 30

[Module] Yii User Management Module Discussion, Bug Reports and Feature Requests for the User Management

#581I-NOZex

• Junior Member
• Group: Members
• Posts: 48
• Joined: 17-November 12
• Location:Portugal

Posted 21 January 2014 - 07:57 AM

Yii::app()->user->data()->getAvatar(true);
(the param is true for thumbnail, and nothing or false for full size image

B2R » Beat2Revolution v3.0b | Join and Share us
http://beat2revolution.net/

0

#582jokamax

• Newbie
• Group: Members
• Posts: 15
• Joined: 21-January 14
• Location:France

Posted 21 January 2014 - 08:16 AM

I-NOZex, on 21 January 2014 - 07:57 AM, said:

Yii::app()->user->data()->getAvatar(true);
(the param is true for thumbnail, and nothing or false for full size image

THANKSSSSSS !
Ma "French" contribution à Yii (mais pas que) : JokaBox
0

#583I-NOZex

• Junior Member
• Group: Members
• Posts: 48
• Joined: 17-November 12
• Location:Portugal

Posted 21 January 2014 - 06:33 PM

you'r welcome

B2R » Beat2Revolution v3.0b | Join and Share us
http://beat2revolution.net/

0

#584AussieNeil

• Junior Member
• Group: Members
• Posts: 21
• Joined: 25-January 13

Posted 17 February 2014 - 03:02 PM

Hi,

I believe there is a bug in 0.9-git-wip version. I am new to php and yii so it may just be me but I was getting "Undefined variable: form" when I had installed yum, correctly after scrapping and starting again a couple of times, as I said new to php and yii.

So if I clicked on create user from main menu or from User Administration I would get the above error.

It seems the issue was that $form was not being passed to: C:\route\to\project\protected\modules\profile\views\profile\_form.php(11) I modified this module: C:\xampp\htdocs\lagosrhs\protected\modules\user\views\user\_form.php at line 76/77 as follows: Old: $this->renderPartial(Yum::module('profile')->profileFormView, array(
'profile' => $profile)); ?> New: $this->renderPartial(Yum::module('profile')->profileFormView, array(
'profile' => $profile, 'form'=>$form)); ?>

Now being a complete noobie I hope this is correct. Can anyone confirm?
0

#585georaldc

• Standard Member
• Group: Members
• Posts: 178
• Joined: 08-July 11

Posted 26 March 2014 - 11:32 AM

Hopefully someone replies but I have a few questions. I already have a table setup for users with passwords generated using CPasswordHelper. My site also implements Yii's RBAC setup and I already have a couple of roles, tasks and operations setup. Is it possible to start using YUM and have it reference my accounts table and the RBAC setup I have in place?

Also, how does one actually use themes with the extension? I tried extending some controllers here and there as suggested by the author but it looks like there's too many hard coded paths for both layout and controller/action URLs. Logging in will also take me back to the module's User controller because of an absolute return url. Do I actually have to go in and make changes to the source for this to work?
0

#586nywuctuk

• Newbie
• Group: Members
• Posts: 1
• Joined: 04-December 12

Posted 23 December 2014 - 09:42 AM

Problem with hybridauth.

More on github:
/thyseus/yii-user-management/issues/201
0

#587murinho

• Newbie
• Group: Members
• Posts: 14
• Joined: 08-March 15

Posted 22 April 2015 - 07:00 AM

Hi, when I login with a user, it redirects me to the main page, but logged. How can I change it to redirects to the user profile page? Thank you.
0