Please Log in to join the conversation.
Please Log in to join the conversation.
OK, I figured this out.
I fixed this with a one line change in class moscomprofileruser:_mapUsers()
You'll find this at line 1386 (approx) in components/com_comprofiler/library/cb/cb.tables.php
I just added a set of $this->id at the top of the function, it now looks like this:
[code:1]function _mapUsers() {
global $_CB_framework;
$this->id = $_CB_framework->myId(); /* set my id in case this is creating a new entry */
if ( $this->_cmsUser === null ) {
$this->_cmsUser = $_CB_framework->_getCmsUserObject();
}
if ( $this->_comprofilerUser === null ) {
$this->_comprofilerUser = new moscomprofiler( $this->_db );
}
...
[/code:1]
Now I'm not sure if this has side effects in environments other than mine (1.5.9 with CB 1.2)
But it is automatically registering users with CB and with their confirmation and approval flags set.
I hope they roll this change into their next release.
Good Luck!
Post edited by: eeDragon, at: 2009/03/19 01:57
Post edited by: eeDragon, at: 2009/03/19 02:02
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.