I've got a few problems with the plugin.
When I send a friend request to a user, it returns the following error:
Fatal error: SQL error 42S02: Base table or view not found: 1146 Table 'goatclan_goat.cot_pm' doesn't exist
#0 cot_diefatal(SQL error 42S02: Base table or view not found: 1146 Table 'goatclan_goat.cot_pm' doesn't exist) called at [/public_html/system/database.php:356]
#1 CotDB->insert(cot_pm, Array ([pm_title] => You have received a friend request!,[pm_date] => 1326644468,[pm_text] => Twiebie has requested to be your friend. You may use the links below to accept or reject their request.Accept Request Decline Request,[pm_fromstate] => 0,[pm_fromuserid] => 1,[pm_fromuser] => System,[pm_touserid] => 82,[pm_tostate] => 0)) called at [/public_html/plugins/cotsocial/cotsocial.users.details.php:67]
#2 include(/public_html/plugins/cotsocial/cotsocial.users.details.php) called at [/public_html/modules/users/inc/users.details.php:75]
#3 include(/public_html/modules/users/inc/users.details.php) called at [/public_html/modules/users/users.php:34]
#4 require_once(/public_html/modules/users/users.php) called at [/public_html/index.php:96]
I've managed to get around this by changing line 67 in cotsocial.users.details.php to:
$pmsql = $db->insert($db_pm, $pm);
Now it does send a PM to the user with the request, but it doesn't show a message that the request has been send.
Also it sends a PM with HTML in it:
<a href="users/1?m=details&action=accept">Accept Request</a> <a href="users/1?m=details&action=decline">Decline Request</a>
This doesn't work on a website that works with BBcode.