News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

SA Facebook Integration

Started by SMFHacks.com Team, February 12, 2010, 01:36:11 PM

Previous topic - Next topic

gailmm

when i uploaded this mod I got an error message that the mod was not compatible with 2.0RC and would not install.
[nofollow]

lolicute

Quote from: clevelife on April 15, 2010, 10:06:07 PM
Quote from: ricorico on April 15, 2010, 07:29:27 PM
i think the mod is disable now? or suppose to be

QuoteQuote from: DarkCo0oL on April 09, 2010, 08:15:40 AM
oh sry, i put domain... but same error:

Fatal error: Cannot use string offset as an array in /home/xxxxxxxx/domains/tabascog.com/public_html/foro/Sources/FB_Connect/FB_Connect_Subs.php  on line 283
We are aware of this issue. It look like FB had changed their API, once we found a solution we update the mod, in the meantime disable FB Connect for a while. Hang in there.

atleast thats the error i had when i had it so i disabled it. just been waiting.


Seems to be working fine for me

whats the version of ur forum?

~Dragon~

Something I have problem seems not work. I guess solve mark. I have problem. I need support to solve try help me. solve.. I wait for assistance no answer for me. I need to solve because It is important to solve. I need to help fix on my sites. because I have problem not work match with my facebook.
Please do not PM or email, Thank respond please post fast to SMF!

SA™

@ Andrew94 you only need to set you connect url and emaildomain wich should be http://www.thepitstopforum.net assuming that the site your using it with

@ gailmm  use the correct package there is two there on for smf1 and one for smf2

@ smithtr see you post at my site
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

Kratty256

I tried to set the connect URL to: http://thepitstopforum.net and this is the error I'm getting from facebook:

Validation failed.

Connect URL must point to a directory (i.e., end with a "/") or a dynamic page (i.e., have a "?" somewhere).

SA™

http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

Kratty256

Quote from: Sleepy Arcade on April 18, 2010, 06:02:24 PM
try http://www.thepitstopforum.net/

Got it! Thanks SA! Hopefully I won't have any more problems with this

Also I just wanna say I'm using almost all of your mods and they are flat out AMAZING! Bravo!

Kratty256

Gah was hoping I wouldn't have another problem.

Now when I click the "Integrate forum account with Facebook." link it takes me to a URL that looks like this:
http://www.thepitstopforum.net/?session={%22session_key%22%3A%222.zPAddWpPLUCgbl8PdoUHFw__.3600.1271635200-1804929572%22%2C%22uid%22%3A1804929572%2C%22expires%22%3A1271635200%2C%22secret%22%3A%22zPAddWpPLUCgbl8PdoUHFw__%22%2C%22sig%22%3A%22080f78fc26826ee05ce33fc6a357cb7a%22}&next=http%3A%2F%2Fthepitstopforum.net%2Ffbc%2Fxd_receiver.htm%3Ffb_login%26fname%3D_opener%26guid%3D0.41137675013086794

I am then logged out, so I try to click the "Connect with facebook" image and I get this:
Request for Special PermissionsThe Facebook Connect cross-domain receiver URL (http://thepitstopforum.net/fbc/xd_receiver.htm)   must have the application's Connect URL (http://www.thepitstopforum.net/)   as a prefix.  You can configure the Connect URL in the Application   Settings Editor.

SA™

try removeing / from the url so you have
http://www.thepitstopforum.net

just added a new veersion 0.2 here
fixed
Cannot use string offset as an array errors
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

Kratty256

Quote from: Sleepy Arcade on April 18, 2010, 06:43:16 PM
try removeing / from the url so you have
http://www.thepitstopforum.net


When I do that I get the Validation failed error again:
Validation failed.

Connect URL must point to a directory (i.e., end with a "/") or a dynamic page (i.e., have a "?" somewhere).

~Dragon~

I struggle on fix on something wrong problem index.temple.php how ? where is find theme? I am not clear understand setting up exactly where? Please fix on not work I need add logo facebook connection.

Please do not PM or email, Thank respond please post fast to SMF!

SA™

looking at

Facebook Connect cross-domain receiver URL (http://thepitstopforum.net/fbc/xd_receiver.htm)

tells me that the www. is missing so (http://www.thepitstopforum.net/ should workk
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

~Dragon~

my facebook is not work domain incorrect. I tried not work. no idea. how that is why not work. I fail on application set up option? no idea. I never experience how where is found exactly base domain said error. I think so problem my facebook something fail.. It is difficult..
Please do not PM or email, Thank respond please post fast to SMF!

SA™

that was @Andrew94  not you im finding it hard to help you cos i cant make out a word of what you are saying
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

IdanC

wow!!! great job!

one question though - when a new member connects and asked to provide a user-name, if he or she uses utf8 characters in the user-name, it passes on as EMPTY.

if you could just point me to the problematic part of the code, i'll be happy to find and share a utf8-friendly solution.

thanks!

gailmm

I did use the one for smf2 and I still get the error message not to install. I will try again but the first time I ignored the error warning it crashed the whole site and I had to remove it and I would really like to get this to work. There are 2 zip files and I don't know which one is the correct one for my forum. I am running 2.0RC3.
[nofollow]

gailmm

Ok tried it again and used zip file SA_FBConnect_0.2_smf11x.zip and tried to install and got this message

The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

I used other zip file and I think I got it working.
[nofollow]

gailmm

I just had to uninstall this mod it totally crashes everything and removes all stylesheet formatting. Onlyskin theme seems to work with is the smf default skin theme. I tried it on every skin other than that one and it crashed my whole forum and I couldnt even use the forum until I uninstalled the face book connect.

here is the error I got on every single skin theme when I tried to use them. by the way I don't want to remove my portal blocks to use this.

Fatal error: Call to undefined function show_facebook() in /home/justkind/public_html/Sources/PortalBlocks.php  on line 225
[nofollow]

SA™

it is cos you need todo some custom edits for your theme

if you add this

function show_facebook()
{
    global $settings, $user_info, $context, $txt, $modSettings;

    if ($context['user']['is_logged'] && !empty($modSettings['fb_enable']))
    {
        if (!empty($user_info['fbname']))
            echo '<img src="' . $settings['images_url'] . '/facebook.png" alt="'.$txt['fb_title'].'" /> <a href="#" onclick="javascript:fbLogincheck(); return false;">'.$txt['fb_title'].'</a>';
        else
            echo ' <img src="' . $settings['images_url'] . '/facebook.png" alt="'.$txt['fb_title'].'" /> <a href="#" onclick="javascript:fbLoginsync(); return false;">'.$txt['fb_integrate'].'</a>';
   
        echo'<br /><br />';
    }
    elseif (!empty($modSettings['fb_enable']))
        echo'<a href="#" onclick="javascript:fbLogin(); return false;"><img src="http://b.static.ak.fbcdn.net/rsrc.php/zB6N8/hash/4li2k73z.gif" alt="" /></a>';
}


before // The main sub template above the content.

the error will go away
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

SA™

Quote from: IdanC on April 19, 2010, 02:51:29 AM
wow!!! great job!

one question though - when a new member connects and asked to provide a user-name, if he or she uses utf8 characters in the user-name, it passes on as EMPTY.

if you could just point me to the problematic part of the code, i'll be happy to find and share a utf8-friendly solution.

thanks!


does it produce any error?
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

Advertisement: