Skip to Content Skip to Menu

Class mosUser not found (quick message)

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
16 years 1 week ago #73743 by slabbi
Replied by slabbi on topic Re:Class mosUser not found (quick message)
Sorry, my fault, also replace $database with $_CB_database.

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer

Please Log in or Create an account to join the conversation.

  • 3168
  • 3168
  • OFFLINE
  • Posts: 7
  • Thanks: 1
  • Karma: 2
16 years 1 week ago #73857 by 3168
Now it works smoothly!!!!
Thx Slabbi

Please Log in or Create an account to join the conversation.

  • pmbx
  • pmbx
  • OFFLINE
  • Posts: 8
  • Thanks: 0
  • Karma: 0
16 years 3 days ago #74539 by pmbx
Except it just doesn't work. The site won't load at all with these changes.. Maybe I've added the code wrong or have a typo though? J1.5.7, CB 1.2RC2, uddeIM 1.3

[code:1] if ($fromid) {
$sql="SELECT username FROM #__users WHERE id=".(int)$fromid;
$_CB_database->setQuery($sql);
$from = $_CB_database->loadResult();

// $rowFrom = new mosUser( $_CB_database );
// $rowFrom->load( (int) $fromid );
// $from = $rowFrom->username;

} else {
$from = null;
}

$sql="SELECT username FROM #__users WHERE id=".(int)$toid;
$_CB_database->setQuery($sql);
$to = $_CB_database->loadResult();

// $rowTo = new mosUser( $_CB_database );
// $rowTo->load( (int) $toid );
// $to=$rowTo->username;

if($systemGenerated || !$fromid) {
$this->_sendPMSuddesysMSG($toid,$fromid,$to,$from,$subject,$message);
} else {
$this->_sendPMSuddeimMSG($toid,$fromid,$to,$from,$subject,$message);
}
return true;
}
[/code:1]

Post edited by: pmbx, at: 2008/09/17 03:39

Post edited by: pmbx, at: 2008/09/17 05:50

Please Log in or Create an account to join the conversation.

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
16 years 3 days ago #74559 by slabbi
Replied by slabbi on topic Re:Class mosUser not found (quick message)
Then the problem is somewhere else and it might not uddeIM related.

Sending quick messages should work with these changes.

Do you have javascript errors on your site?

Post edited by: slabbi, at: 2008/09/17 10:12

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer

Please Log in or Create an account to join the conversation.

  • pmbx
  • pmbx
  • OFFLINE
  • Posts: 8
  • Thanks: 0
  • Karma: 0
16 years 3 days ago #74580 by pmbx
No javascript errors. When I make the changes the page is blank. Even when I have the system debugging on... not even an error message like before.

When I uninstall uddeIM everything works fine in Community Builder.

Maybe I've not got things installed correctly? I had even applied the hotfix. Maybe that was wrong?

Maybe its a memory issue? Do I need to add the increased memory setting to any of the uddeIM php files?

Post edited by: pmbx, at: 2008/09/17 14:17

Post edited by: pmbx, at: 2008/09/17 14:20

Please Log in or Create an account to join the conversation.

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
16 years 3 days ago #74582 by slabbi
Replied by slabbi on topic Re:Class mosUser not found (quick message)
And the page is fine when you disable plug_pms_uddeim?

Please install the plugin from the trunk folder. It may contain some other changes (don't remember actually).

...and it would be helpful if you could send me a login to your page so I can verify your problem.

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer

Please Log in or Create an account to join the conversation.

Moderators: beatnantslabbikrileon
Powered by Kunena Forum