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 Rate Topic: 5 Votes //<![CDATA[ rating = new ipb.rating( 'topic_rate_', { url: 'http://www.yiiframework.com/forum/index.php?app=forums&module=ajax&section=topics&do=rateTopic&t=7591&md5check=' + ipb.vars['secure_hash'], cur_rating: 5, rated: 0, allow_rate: 0, multi_rate: 1, show_rate_text: true } ); //]]>

#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: 2
• Joined: 21-January 14

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 !
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

• Junior Member
• Group: Members
• Posts: 69
• 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

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