Auto Friend - Facebook Connect

OK, I am hoping Prolaznik will jump on this one, but I have a question. I have his auto-friend mod which works extremely well when a users joins via the "Join Form". But, is there a way to make this work for people who join via Facebook connect alsol? As of right now, anyone who joins using facebook connect will not automatically become your friend even with this mod in place.

Thanks,

Chris

Nothing to see here
Quote · 13 Feb 2010

why me why ?....Frown
i'll look into it  and see if i can figure it out  i think you would need to add changes to the fbook module not sure

Quote · 13 Feb 2010

Its all your fault Prolaznik !!!! HAHA just kidding. I picked you because you are DA MAN!

Nothing to see here
Quote · 13 Feb 2010

Its all your fault Prolaznik !!!! HAHA just kidding. I picked you because you are DA MAN!

Zarcon just told a jok hahaha NOT

ill post it here  first i have to install the module then setup a fbook account

Quote · 13 Feb 2010

Watch out now, Ive been drinking tonight.. Dont get me started with jokes...

A completely inebriated man was stumbling down the street with one foot on the curb and one foot in the gutter. A cop pulled up and said, "I've got to take you in, pal. You're obviously drunk."

Our wasted friend asked, "Officer, are ya absolutely sure I'm drunk?"

"Yeah, buddy, I'm sure," said the copper. "Let's go."

Breathing a sigh of relief, the wino said, "Thank goodness, I thought I was crippled."

Thank you.. I will be here all week. Make sure to tip your waitresses..

Chris

Nothing to see here
Quote · 13 Feb 2010

you got mail :)

Quote · 13 Feb 2010

since im not a premium user anymore im forced to create my own membership level here hehehe


files to edit
/modules/boonex/facebook_connect/classes/   BxFaceBookConnectModule.php

around line: 334 find this

// create new profile;
$iProfileId = $this -> _oDb -> createProfile($aProfileFields);

// check profile status;
if ( getParam('autoApproval_ifNoConfEmail') == 'on' ) {
if ( getParam('autoApproval_ifJoin') == 'on' ) {
$sProfileStatus = 'Active';
}   
else {
$sProfileStatus = 'Approval';
}
}
else {
$sProfileStatus = 'Unconfirmed';
}

Change it to :


// create new profile;
$iProfileId = $this -> _oDb -> createProfile($aProfileFields);
$dump = db_res("INSERT INTO sys_friend_list SET `ID` = '{$iProfileId}', `Profile` = 2, `Check` = 1");
// check profile status;
if ( getParam('autoApproval_ifNoConfEmail') == 'on' ) {
if ( getParam('autoApproval_ifJoin') == 'on' ) {
$sProfileStatus = 'Active';
}   
else {
$sProfileStatus = 'Approval';
}
}
else {
$sProfileStatus = 'Unconfirmed';
}



(Change the 2 with your own user id)

Quote · 13 Feb 2010

I wish I could add a second review... a free mod, and the guy (you are a guy, right?) supports it like a premium platinum subscription service.

Thanks for this addition!!  Works perfectly- simply awesome!

Quote · 13 Feb 2010

I wish I could add a second review... a free mod, and the guy (you are a guy, right?) supports it like a premium platinum subscription service.

Thanks for this addition!!  Works perfectly- simply awesome!

yes a guy and no im not planing on sex change hehehe :)
ps. you can always add a comment to the profile    http://www.boonex.com/unity/prolaznik

Quote · 13 Feb 2010

Done.  Thanks again!!

Quote · 13 Feb 2010

good idea Zarcon, and THANKS A LOT PROLAZNIK. It works Perfect!

Quote · 13 Feb 2010

I wonder if this works on 7.0.8

I guess I'll try it & will let ya know..

Quote · 3 Feb 2012

[SPAM REMOVED]

 

Thanks for spamming this forum topic. I hope you enjoy your vacation free of charge.

 

Sincerely,

Zarcon

Quote · 3 Feb 2012

If they would just make it so we can turn off Zuckerbergs facebook friend nonsense, we wouldn't have this trouble. I don't know why no one can see how damaging the entire 'be my friend' idea from hell is to a site that doesn't have 978,636,500,200,187,000 members!

It's pure idiocy and just strangles your site!

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 3 Feb 2012

Line #450 on 7.0.8+

Just add the line below in RED after $oProfileFields = new BxDolProfilesController();

Leave everything else alone.

(Change the 2 with your own user id)

Thanks Prolaznik! Working perfectly on 7.0.8 & 7.0.9

------------------------------------------------------------------------------

// create new profile;

$iProfileId = $this -> _oDb -> createProfile($aProfileFields);

$oProfileFields = new BxDolProfilesController();

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

Quote · 3 Feb 2012
 
 
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.