[Module] Yii User Management Module Discussion, Bug Reports and Feature Requests for the User Management
#141
Posted 24 September 2010 - 03:58 AM
#142
Posted 24 September 2010 - 04:24 AM
I have managed to solve most of my problems with the integration of this module into my application, unfortunately I had to tweak some of the code to make it to work so an upgrade will be quite painful. Anyhow I'm still having a little problem with the recovery password controller.
Everything works up to the email sent to reset the password, I receive the email which has this url:
http://localhost/myapp/index.php/user/recovery/activkey/9a24eff8c15a6a141ece27eb6947da0f/email/test@localhost.com
the recovery password controller action is just one: actionRecovery and it is set as default action, it works fine for the email thing.
Whenever I open the url above I get this error message:
Quote
requested action "activkey".'
there is no activkey action, that's a paremeter. Anybody able to explain what's happening?
Thanks
Cheers.
#143
Posted 24 September 2010 - 06:38 AM
You probably have to request index.php/user/user/recovery/activkey/. user goes twice as the first one is to specify the module and the second one specifies controller.
#144
Posted 24 September 2010 - 06:56 AM
Drewniacki, on 24 September 2010 - 06:38 AM, said:
You probably have to request index.php/user/user/recovery/activkey/. user goes twice as the first one is to specify the module and the second one specifies controller.
I don't really think this is correct, the link is created by the extension in that way. This is the code
$activation_url = 'http://' . $_SERVER['HTTP_HOST'].
$this->createUrl(implode(Yii::app()->controller->module->recoveryUrl),
array("activkey" => $user->activkey, "email" => $user->email));
However I have tried with no success.
Thanks anyway.
Cheers
T.
#145
Posted 24 September 2010 - 07:05 AM
If it conforms you -- I also had some problems with URLs generated by the module and had to wrewrite some parts of code to make it work properly. Good luck!
#146
Posted 25 September 2010 - 03:29 PM
I've tried to install yum and i always get the following errors:
Alias "application.modules.user.components.YumWebUser" is invalid. Make sure it points to an existing PHP file.
and
CException Description Alias "user.UserModule" is invalid. Make sure it points to an existing PHP file. Source File /var/www/yii/framework/YiiBase.php(260)
After removing
array('label'=>'Login', 'url'=>array('/site/login'), 'visible'=>Yii::app()->user->isGuest),
array('label'=>'Logout ('.Yii::app()->user->name.')', 'url'=>array('/site/logout'), 'visible'=>!Yii::app()->user->isGuest) from the main.php file inside the testdrive I could get rid of the first alias problem.
I have tried all of these:
index.php?r=user/install
index.php/user/install
user/install/installation
user/install/installer
user/installation/start
but nothing was working.
Details: YiiUserManagement_0.6 and yii-1.1.4.r2429
Does anybody know what is going wrong?
... hope you could help me!
#147
Posted 27 September 2010 - 05:41 AM
i am really close to release yii-user-management 0.8 as a public, prepackaged version. I am only finishing the new permission
subsystem that i am introducing in this Version. I think all of the bugs and problems mentioned here in this thread should be solved in this new Version. Here is the changelog so far:
Added avatar upload possibility for users
- Added 'visitors' to profiles (who visited whom when, and display it)
- Added support for send emails out of SwiftMailer (docs/swiftMailer.txt)
- Added DROPDOWNLIST field type to profile fields. see docs/dropdownlist_in_registration_form.txt for information on how to use this (thyseus)
- Added possibility to make roles selectable on registration (thyseus)
- Added user Generator (available under 'other' when debug mode is enabled)
- New default URL route '<app>/user/login' instead of less beautiful '<app>/user/user/login' (thyseus)
- Refactored Registration Process into YumRegistrationController (makes YumUserController less fussy) (thyseus)
- Removed AllowInactiveAccountLogin (don't needed anymore because of the new registration Options) (thyseus)
- Possibility to show administration hierarchy by HierarchyController (thyseus)
- Prepared ROLE_has_ROLE to determine what users of which role can administrate user that have which Role (thyseus)
- Added User Statistics (thyseus)
- Removed adminpanel (thyseus)
- prepared mail_send_method (thyseus)
- added password expiration date (experimental) (thyseus)
- reworked messaging System (thyseus)
- added new Relation widget that fixed MANY_MANY DropDownList problems (thyseus)
- Wrapped Yum::t() around Yii::t() to allow easier translations (thyseus)
- Renamed YumHelper to Yum (thyseus)
- changed menu Navigation to one big, hierarchical menu displayed as a treeview (thyseus)
- added yumSettings and yumTextSettings (thyseus)
- added differences between profile versions in admin View (thyseus)
- repaired Messages Validation (thyseus)
- Yum now tries to use the application layout by default. This can be
configured in the application configuration (thyseus)
- Added CEmailValidator to email profile field (thyseus)
- Made users/admin CGridView filterable (thyseus)
- Added AllowRegistration & AllowRecovery in Module Configuration
- Added quick Login widget (thyseus)
- Fixed registration form and enabled YumPasswordValidator to registration Form
- added qwerty's CPasswordValidator and ability to configure the password requirements in the Application configuration (renamed to YumPasswordValidator)
for people who can´ t wait there is always the SVN access at
http://code.google.c...ser-management/
#148
Posted 29 September 2010 - 07:52 PM
http://www.prettyscripts.com
#149
Posted 01 October 2010 - 12:08 PM
#150
Posted 13 October 2010 - 10:58 PM
user/models/YumUser.php line 59 and 60 tablename always assign to "users". If you use custom tables name you will got error
Fist found one bugs
#151
Posted 14 October 2010 - 06:30 AM
Error 500
YumUserController does not have a method named "generateActivationKey".
In user/model/YumUser.php I change line 152 from
$find->activationKey = $this->generateActivationKey(true);
to
$find->activationKey = $find->generateActivationKey(true);
and everything works fine.
#152
Posted 03 November 2010 - 01:49 PM
I'm new kid in the yii and sorry but my english is poor.
I'm happy when i find the Yii-User-Management modul.
I check out the revision 164 from Google SVN.
I found some anomaly.
- When I install and run from "http://localhost/testdrive/index.php/user/install", I get an error in YumUserContoller line 59. When I change the "new Profile()" to "new YumProfile()", the install done completly.
- After I logging in by admin, I try click on "Send message notifier emails" I get an error: "YumMessagesController cannot find the requested view "send_digest"."
-I try switch language but don't worked, it's true?
-I think the "'loginUrl' => array('//user/user/login')" setting can't readable in the main Yii menu setting like "'url'=>Yii::app()->getModule('user')->loginUrl". The "'label'=>Yii::app()->getModule('user')->t('Login')" don't work to.
- After the updating to r165 I get an error in login process. I go back to r164 and I write down from memory: the activities table is missing.
Best regards
Peter
#153
Posted 04 November 2010 - 02:55 AM
i also fixed the forgot password function it had wrong quotes. sorry was for 164
#154
Posted 04 November 2010 - 03:15 AM
mithereal, on 04 November 2010 - 02:55 AM, said:
i also fixed the forgot password function it had wrong quotes. sorry was for 164
mithereal, pharsan:
thanks for reporting and even fixing this bugs. i will take care of this today. as you may have seen in the svn i added a new user activity logging yesterday. maybe that's useful for you, too. (r165)
#155
Posted 04 November 2010 - 03:53 AM
thyseus, on 04 November 2010 - 03:15 AM, said:
thanks for reporting and even fixing this bugs. i will take care of this today. as you may have seen in the svn i added a new user activity logging yesterday. maybe that's useful for you, too. (r165)
i updated the 1.66 with the bugfixes prevously mentioned, heres the patch
patch_1.66.zip (4.55K)
Number of downloads: 34 .
You might want to look at the activities table I made in the sql dump to be sure the types are correct.
#156
Posted 05 November 2010 - 10:30 PM
also which issues listed are valid ones vs duplicates, some of the functionality seems to be implemented.
Attached File(s)
-
1.67.patch.zip (1.79K)
Number of downloads: 17
#157
Posted 06 November 2010 - 11:14 AM
mithereal, on 05 November 2010 - 10:30 PM, said:
also which issues listed are valid ones vs duplicates, some of the functionality seems to be implemented.
thanks for that patch. i will integrate that one too over the weekend. how about svn access? you could commit that appreciated patches on your own into trunk/ directly? just need your email address and i add you to the commit list
#158
Posted 09 November 2010 - 03:53 PM
thyseus, on 06 November 2010 - 11:14 AM, said:
ya you added me to thecommit list before and i see that i am in it, im te only mithereal, but i get an error when i try to commit
#159
Posted 09 November 2010 - 10:29 PM
#160
Posted 11 November 2010 - 05:44 AM
YumRegistrationController line 82 should be YumActivityController::logActivity($user, 'registration');
YumActivityController line 15 should be 'registration'

Help












