christian.cloug
04-30-2012, 08:43 PM
I'm trying to find a way to check the logged in user's contacts/('buddies') for the userid of certain other user - i.e. if the userid i feed it is in the logged in user's list then I'll have it output e.g. 'xxx is in your contact list'...
I found a page demonstrating how to do this, only problem is its from 2004 and clearly the same code won't work for v4!!
https://vborg.vbsupport.ru/showthread.php?t=65577
I'm hoping the essence of the code in the above post is still possible today:
if (in_array(userid_that_I_give_it, $bb_buddylist))
Can anyone help?
Thank you
I found a page demonstrating how to do this, only problem is its from 2004 and clearly the same code won't work for v4!!
https://vborg.vbsupport.ru/showthread.php?t=65577
I'm hoping the essence of the code in the above post is still possible today:
if (in_array(userid_that_I_give_it, $bb_buddylist))
Can anyone help?
Thank you