Does anyone know how to default a friend request to accepted? I have a controlled user environment and need to automatically accept friend requests.
Thank you.
Does anyone know how to default a friend request to accepted? I have a controlled user environment and need to automatically accept friend requests.
Thank you. |
Down and dirty way: ** Disclaimer ** Any time you edit source code it makes upgrading a pain in the arse. In other words you will have to make this change after each upgrade for this to keep working ***
Open \list_pop.php and look for this around line 375 //create new friends request $sQuery = "INSERT INTO `sys_friend_list` SET `ID` = '{$iProfileId}', `Profile` = '{$iMemberId}', `Check` = '0'";
Change it to this:
//create new friends request $sQuery = "INSERT INTO `sys_friend_list` SET `ID` = '{$iProfileId}', `Profile` = '{$iMemberId}', `Check` = '1'";
Now any new friend request will be automatically accepted. BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
Thank you MScott. It worked great. I have noted the change on my modification list so I can remember to put it back after each upgrade.
I am also a Arvixe customer. |