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

Jump to content

  • (30 Pages)
  • +
  • « First
  • 22
  • 23
  • 24
  • 25
  • 26
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

[Module] Yii User Management Module Discussion, Bug Reports and Feature Requests for the User Management Rate Topic: ***** 5 Votes

#461 User is offline   chirvo 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 72
  • Joined: 30-November 10
  • Location:Venezuela

Posted 05 June 2012 - 01:04 PM

Cool. Now, what about us the happy coders that use to commit code to YUM? :)
0

#462 User is offline   chirvo 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 72
  • Joined: 30-November 10
  • Location:Venezuela

Posted 05 June 2012 - 01:04 PM

Now there are 24 pages :D
0

#463 User is offline   thyseus 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 300
  • Joined: 18-April 09
  • Location:Leipzig, Germany

Posted 05 June 2012 - 01:07 PM

one of the most cool reasons github rocks, is, that its using git - which is decentral. Just clone the repo and do a pull request, then all your changes go back into the repository. At the beginning it feels a bit unfamiliar (when used to svn) but after that, it rocks !
0

#464 User is offline   makeron 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 42
  • Joined: 18-February 11

Posted 11 June 2012 - 09:47 AM

Hello,

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.
0

#465 User is offline   aka_Flow 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 3
  • Joined: 23-May 12

Posted 18 June 2012 - 10:48 AM

Hey guys,

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.
0

#466 User is offline   aka_Flow 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 3
  • Joined: 23-May 12

Posted 18 June 2012 - 03:05 PM

Update:

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.
0

#467 User is offline   thyseus 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 300
  • Joined: 18-April 09
  • Location:Leipzig, Germany

Posted 27 June 2012 - 04:34 AM

makeron: i have not used yum with themeing yet. if you have any ideas how we can achieve it, let me know. You can create your project-specific Controller that extends from YumController, so you could implement your theme-handling in it.

aka_flow: this has been fixed, thank you
0

#468 User is offline   Francisco Bagulho 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 7
  • Joined: 17-October 10

Posted 27 June 2012 - 06:05 AM

Hello.

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 :D ).

The attachment has the full Spanish translation that a Spanian should check out since i'm Portuguese and never had spanish classes.

Attached File  es.txt (38.65K)
Number of downloads: 5
0

#469 User is offline   thyseus 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 300
  • Joined: 18-April 09
  • Location:Leipzig, Germany

Posted 27 June 2012 - 06:28 AM

hey,

it took some time to merge them. But here you are:

https://github.com/t...translation.sql

thanks for your work !
0

#470 User is offline   makeron 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 42
  • Joined: 18-February 11

Posted 27 June 2012 - 10:57 AM

Found a issue within actionCompose. While composing a message to an user, upon saving the message in the database, I get an error saying that message_read doesn't have a default value. I think we need to have default value set in the database for message_read, or maybe it is something I miss.
0

#471 User is offline   makeron 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 42
  • Joined: 18-February 11

Posted 29 June 2012 - 08:48 AM

View Postthyseus, on 27 June 2012 - 04:34 AM, said:

makeron: i have not used yum with themeing yet. if you have any ideas how we can achieve it, let me know. You can create your project-specific Controller that extends from YumController, so you could implement your theme-handling in it.

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
0

#472 User is offline   Francisco Bagulho 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 7
  • Joined: 17-October 10

Posted 03 July 2012 - 06:30 AM

And now the Portuguese translation. :)

Attached File(s)


0

#473 User is offline   makeron 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 42
  • Joined: 18-February 11

Posted 03 July 2012 - 12:39 PM

Hello,

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
0

#474 User is offline   Todd Anstis 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 8
  • Joined: 01-July 12

Posted 03 July 2012 - 02:34 PM

View Postdbk138, on 26 May 2011 - 09:09 PM, said:

Hi,

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.
0

#475 User is offline   unknownFreq 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 4
  • Joined: 03-July 12

Posted 03 July 2012 - 04:03 PM

Hi there.

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

#476 User is offline   unknownFreq 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 4
  • Joined: 03-July 12

Posted 05 July 2012 - 12:08 PM

I figured it out. The required fields came from the $profile which was included in the view and the controller files. Just delete it and everything should be fine.

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
0

#477 User is offline   Faizan Ali 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 08-July 12

Posted 08 July 2012 - 02:51 PM

Hi thyseus. I think your modules are not compatible with php > 5.3.8
0

#478 User is offline   raiethan 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 66
  • Joined: 10-February 12

Posted 15 July 2012 - 10:43 AM

sir im new in yii, i read all your installation guide. but when i got to local/myapp/index.php/user i got this error:

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
0

#479 User is offline   Saru 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 4
  • Joined: 16-July 12

Posted 20 July 2012 - 02:16 AM

Hi,
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.
Saru
www.Saruinfo.com PHP-Freelancer
0

#480 User is offline   selorm 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 3
  • Joined: 16-July 12

Posted 25 July 2012 - 08:11 PM

View PostSaru, on 20 July 2012 - 02:16 AM, said:

Hi,
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..
0

Share this topic:


  • (30 Pages)
  • +
  • « First
  • 22
  • 23
  • 24
  • 25
  • 26
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users