please note that also when inserting a comment there’s a little bug: pressing “insert comment” button don’t refresh the page and don’t ajax add comment to the page
now i’m tryin to get facebook login working using html5 code and not the old xfbml provided in your wiki
for now i can authenticate but then nothing happens (no new user | new session), and I discovered that’s because loginbyfacebook() is never called because facebook->getsession does not work for some reasons
P.S.: i am developing over php 5.3 with no problems for now
With all respect for your great work, I was wondering: I notice version 0.8 has the users module working (with small glitchces, such as an error when clicking the "text translations" link), but other modules somehow are still under development, such as registration and usergroup.
Am I missing something?
For instance, when I visited the url /usergroup/usergroup/index, I got errors indicating that usergroupTable and usergroupMessagesTable variables had not been set on module level. Overcome that step (I create these members), I get 404 error.
The same for registration module: registration/registration (registration/registration/index, registration/registration/admin) show no page, just 404.
please give the latest SVN version a try. It has many bugs fixed. Please try this on a fresh installation since some table names have been changed (to singular, user instead of users, …)
i should really prepackage the svn version. how about a yii-user-management-XMAS2011 version?
I have installed version 0.7 with different tablenames: tb_user etc.
Changed tablenames in config/main.php and UserModule.php too.
although i got the follwing error:
"The table "users" for active record class "YumUser" cannot be found in the database."
I found out that tablename is always set $this->_tableName = ‘users’ in YumUser.php line 61
Missing Brace?
public function tableName()
{
if (isset(Yii::app()->controller->module->usersTable))
$this->_tableName = Yii::app()->controller->module->usersTable;
elseif (isset(Yii::app()->modules['user']['usersTable']))
$this->_tableName = Yii::app()->modules['user']['usersTable'];
else
$this->_tableName = '{{users}}'; // fallback if nothing is set
// missing brace ?
$this->_tableName = 'users'; // fallback if nothing is set
return YumHelper::resolveTableName($this->_tableName,$this->getDbConnection());
}
I actually ran into a couple issues 2wks ago with a fresh install from svn (r418) due to the table names as well…also, I remember having to declare some public properties in the module in order for it to recognize the tables called out in config.
Imehesz: thats a good question. I don´t like automatic login upon successful registration for security reasons;
but there should be a (default off) option in Yum! Good idea! Already any ideas why your code does not work?
Nevertheless i will implement this feature and release a new version. More and more people are interested in yum, thats great! Time for a (at least) bug-free “stable” release…