8
I stole donxoops post and modified it do have pm's listed, as well as a link to yahoo messenger so you can send messages that way if they have an acct. As the previous poster stated, don't used this if you have a ton of users since it has no paging.
If anyone could show me how to modify it to add paging I'd be tickled, but at this time I'm not a good enough programmer to have a clue how to do that.
It shouldn't be too difficult to add an icq online/offline indicator as well as a yahoo one.
Hope this helps someone out
Oh BTW, I am using this with the TinyD module
global $xoopsDB;
$query = 'SELECT A.uid,uname AS U_Name, name AS Full_Name, user_from AS Location, A.user_yim AS Yahoo, A.uid AS User FROM xoops_users AS A LEFT JOIN xoops_groups_users_link AS B ON A.uid = B.uid
WHERE (
B.groupid =2
)
ORDER BY A.uname';
$result = mysql_query($query);
// Top message, and start of table including column heads
echo "
· Registered Members · Click on your name and edit your profile
Click a yahoo id to send a message
";
echo "";