thyseus / yii-user-management

a user management module collection for the yii framework
185 stars 122 forks source link

add public $usergroupTable = 'user_group' and others... #24

Open selorm opened 12 years ago

selorm commented 12 years ago

kept gettin userModule.usergroupTable not defined...and i added property public $usergroupTable = 'user_group' to usergroupModule.

Also had this error {{usergroup}} not found in database, changed line 17 of YumUserGroup to: {{user_group}}

Also had this error {{usergroup_messages}} not found in the database, changed line 11 of YumUserGroupMessage to: {{user_group_message}}

thyseus commented 12 years ago

i fixed the default table names in

https://github.com/thyseus/yii-user-management/commit/6d620a2e0e53ca3cd7bae65b6d240514c88c44a4

please confirm if this fixes your problems, thank you!

selorm commented 12 years ago

Yes I managed to get everything working..so about the errors, either u make the corresponding changes in your sql file before a user installs it or simply go ahead and make the changes in the individual files.I made a comprehensive lists of the errors i was getting after long debugging hours.. Thanks for the module tho..