Auto Add friends

I would like to add members to the friend list of the primary member, but FriendList does not seem to be the correct table.

Does anyone know where to insert the data so that this mod will work?


list( $iMemID, $sStatus ) = $oPC -> createProfile( $aProfile );
$dump = db_res("INSERT INTO FriendList SET 'ID' = '{$iMemID}', 'Profile' = 1, 'Check' = 1");

I get a page with a red ERROR box on it when I use this code, what is the problem ?

Thank you.

Jeff

Quote · 10 Nov 2008
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.