The yii-user module was written by Mikhail Mangushev (who has the user name mishamx on various systems). The module is for user registration, login, re-sending passwords, reseting password etc.
The trouble is that there are several copies on the internet in various locations all claiming to be the latest version. Each one is followed by several years worth of comments asking for help as each version is unstable.
I tried contacting Mikhail but he never replied. I publish the email as an open letter incase he wants to comment.
Dear Mikhail,
Please can you tell me which source repository is the latest as there seems to be a lot of confusion.
Searching Google gets you too the yii-user page on the yii site:
http://www.yiiframework.com/extension/yii-user/
Clicking the click for the Home page takes you to:
http://yii-user.2mx.org/
This says the source is at:
http://code.google.com/p/yii-user/source/checkout
report bugs at:
http://code.google.com/p/yii-user/issues/list
However the "send bugfix" page on the yii site says point to the following location
https://github.com/mishamx/yii-user/pull/new/master
then disappears into a comparison page!
And everyone says that there is another set of sources on github.
People, including myself, are uncertain where the project is. Some bugs have been reported with google and others with github.
This confusion has lead to people downloading old versions and forums are full of wasted yii-user effort.
Please can you have a look at sorting out the documentation for where everything is.
But this doesn't help! So here is a list of the current versions and numbers from around the internet so that other people can save themselves literally hours of wasted effort.
I've gathered all the information and versions into his one place to try and sort out the mess.
From page: http://yii-user.2mx.org/
Points to: yii-user-0.3-r107 released on 16 Feb 2011.
Can be found at: https://code.google.com/p/yii-user/downloads/list
From page: http://www.yiiframework.com/extension/yii-user/
Points to yii-user-0.3-61-gfc69518 released on 12 Jun 2012
From page: https://code.google.com/p/yii-user/
Points to mishamx-yii-user-0.3-88-g7d748a0 released on
unknown
As of 8 Dec 2013 this is the same as HEAD at https://github.com/mishamx/yii-user
So inspite of the version numbers apparently going backwards from 0.3.61 to 0.3r107. I think that 0.3.88 is the latest.
If anyone can confirm this as the latest, I think we'd all be very pleased to hear from you!
Just some notes that I found useful
- Change config/console.php to use 127.0.0.1 instead of localhost. While they should be interchangeable there are certain situations like, running migration upgrades on the console, where it doesn't work. And it doesn't work in a not very easy to find way!
- Unpack file into
protected/modules/user
- I found that the migration complained about dates and timezones, so I had to add
date_default_timezone_set("Europe/London");
to all the files in modules/user/migrations
- Sit in document root and type:
protected/yiic migrate --migrationPath=user.migrations
to create the user tables.