default friend like tom on myspace

default friend like tom on myspace

Prior to 7.01
join.php

list( $iMemID, $sStatus ) = $oPC -> createProfile( $aProfile );

Insert this line after it:

$dump = db_res("INSERT INTO FriendList SET `ID` = '{$iMemID}', `Profile` = 1, `Check` = 1");

----------------------------
After 7.01  list( $iMemID, $sStatus ) = $oPC -> createProfile( $aProfile );
does not exist in join.php or inc/classes/BxDolJoinProcessor.php

So where do I insert
$dump = db_res("INSERT INTO FriendList SET `ID` = '{$iMemID}', `Profile` = 1, `Check` = 1");

to have a default friend like tom on myspace

Regards

Jennifer

Jennifer Bogan .. Acc. Dip. Psychology - EMAIL: jennifer.bogan@gmail.com
Quote · 11 May 2010

forum search;)

http://www.boonex.com/unity/forums/#topic/Auto-Friend-for-D7.htm

ue30 Mods - http://www.boonex.com/market/posts/ue30
Quote · 11 May 2010

Thanks but the correct code as per ue2 pointed out http://www.boonex.com/unity/forums/#topic/Auto-Friend-for-D7.htm

/inc/classes/BxDolJoinProcessor.php

around line 248 find

$aProfile1 = $this->oPF->getProfileFromValues($this->aValues[0]);
list($iId1, $sStatus1) = $oPC->createProfile($aProfile1);

add this code after

$dump = db_res("INSERT INTO sys_friend_list SET `ID` = '{$iId1}', `Profile` = 2, `Check` = 1");



The profile number needs to be whatever number your "Tom profile" number is.

Regards Jennifer

Jennifer Bogan .. Acc. Dip. Psychology - EMAIL: jennifer.bogan@gmail.com
Quote · 11 May 2010
 
 
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.