News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

SA Facebook Integration

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

Previous topic - Next topic

Yngwiedis

After installing the new version i get this error on my AjaxChat popup window:

Warning: Cannot modify header information - headers already sent by (output started at /home/vinilio/public_html/Sources/FB_Connect/FB_Connect_Subs.php:522) in /home/vinilio/public_html/chat/lib/class/AJAXChatHTTPHeader.php on line 36

Warning: Cannot modify header information - headers already sent by (output started at /home/vinilio/public_html/Sources/FB_Connect/FB_Connect_Subs.php:522) in /home/vinilio/public_html/chat/lib/class/AJAXChatHTTPHeader.php on line 37

Warning: Cannot modify header information - headers already sent by (output started at /home/vinilio/public_html/Sources/FB_Connect/FB_Connect_Subs.php:522) in /home/vinilio/public_html/chat/lib/class/AJAXChatHTTPHeader.php on line 41
AmityHost.com - The Affordable Host

SA™

i guess it cos theres a missing closing php tag in the facebook lib

in fbc/facebook.php

right at the end of the file add ?> or reinstall the fixed package i just added to the mod 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 -___-

Yngwiedis

AmityHost.com - The Affordable Host

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 -___-

Yngwiedis

AmityHost.com - The Affordable Host

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 -___-

Yngwiedis

No errors now on the popup window but the AjaxChat is not working.
I cant write anything and i cant see the users inside the chat.
AmityHost.com - The Affordable Host

SA™

in sources/fb_connect/facebookhooks.php

find

global $loginUrl,$sourcedir;
    require_once($sourcedir . '/FB_Connect/FB_Connect_Subs.php');
    FB_Globals();


and remove it

find
if (file_exists($boarddir.'/fbc/fbmain.php')) {
   include_once($boarddir.'/fbc/fbmain.php');
}


after add
global $loginUrl,$sourcedir;
    require_once($sourcedir . '/FB_Connect/FB_Connect_Subs.php');
    FB_Globals();
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 -___-

Yngwiedis

AmityHost.com - The Affordable Host

netalberto

@sa  hello...for smf 1.1.13  we  abandoned to our fate ... :(


A question... user registred by new facebook have email like this?!?!? :
1755   mizar81   mizar81   apps+161074970610947.1535006082.dc0cbbff808922b559e7e3ab9f3ad05e@proxymail.facebook.com   151.49.212.150

Yngwiedis

Is there anyway to make the new "Send" button to display the full window in the show_facebook_like_button function ;


Also i am getting a lot of errors in the error log like these:

2: Missing argument 4 for show_facebook_like_button(), called in /home/vinilio/public_html/Sources/Load.php(2235) : eval()'d code on line 174 and defined

2: Missing argument 5 for show_facebook_like_button(), called in /home/vinilio/public_html/Sources/Load.php(2235) : eval()'d code on line 174 and defined

8: Undefined variable: theme

8: Undefined variable: faces

All errors are related to facebookHooks.php file
AmityHost.com - The Affordable Host

SA™

the like button code changed

show_facebook_like_button('www.test.com','recommend','button_count','light','true');

and no you cant open send in a full window
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 -___-

Yngwiedis

Quote from: SA™ on May 27, 2011, 12:09:00 AM
the like button code changed

show_facebook_like_button('www.test.com','recommend','button_count','light','true');

Can you please explain all 5 variables ?

Quote from: SA™ on May 27, 2011, 12:09:00 AM
and no you cant open send in a full window


I dont mean full in a whole window.
Now is just open a very small window and i cant see what is write there.
Is there any way to make it a small bigger so it can be readable ;
AmityHost.com - The Affordable Host

poolhall

Installed this mod to try. The installation went without errors and the mod was working fine. However, upon connecting a fb account with the forum, I got the error: "the database value you're trying to insert does not exist: member_id". Immediately after that the forum pages loading times increased drastically (from 0.03 to 6 - 8 sec on average for index page), and even disabling the mod wouldn't help. Immediately after the uninstallation of the mod the forum started to work fast again.

Full error description:
The database value you're trying to insert does not exist: member_id
Function: faceBook_USettings
Файл: .../Sources/FB_Connect/facebookHooks.php
Line: 572

P.S. Shouldn't it be id_member, not member_id?

Thanks for this great mod. I am looking forward to using it in the future.

SA™

Quote from: Yngwiedis on May 27, 2011, 12:14:59 AM
Quote from: SA™ on May 27, 2011, 12:09:00 AM
the like button code changed

show_facebook_like_button('www.test.com','recommend','button_count','light','true');

Can you please explain all 5 variables ?

Quote from: SA™ on May 27, 2011, 12:09:00 AM
and no you cant open send in a full window


I dont mean full in a whole window.
Now is just open a very small window and i cant see what is write there.
Is there any way to make it a small bigger so it can be readable ;

show_facebook_like_button($url,$type,$layout,$theme,$face);

$url = url to like [the url you want people to share]
$type = like or recomend [what to display like or recommend]
$layout = standard or button_count [button layout]
$theme = light or dark [the theme to use]
$face = true or false [show faces]

no you cant chnage the size that done by facebook not the mod

Quote from: poolhall on May 27, 2011, 01:13:01 AM
Installed this mod to try. The installation went without errors and the mod was working fine. However, upon connecting a fb account with the forum, I got the error: "the database value you're trying to insert does not exist: member_id". Immediately after that the forum pages loading times increased drastically (from 0.03 to 6 - 8 sec on average for index page), and even disabling the mod wouldn't help. Immediately after the uninstallation of the mod the forum started to work fast again.

Full error description:
The database value you're trying to insert does not exist: member_id
Function: faceBook_USettings
Файл: .../Sources/FB_Connect/facebookHooks.php
Line: 572

P.S. Shouldn't it be id_member, not member_id?

Thanks for this great mod. I am looking forward to using it in the future.

im not albe to get this error at all
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 -___-

Yngwiedis

Quote from: SA™ on May 27, 2011, 01:30:24 AM



no you cant chnage the size that done by facebook not the mod


You dont understand me again....

Look that attached screenshot from the sa-mods site.

The window is not displayed correctly and i cant read the full content.
Can we change this somehow ?

Thank you...

AmityHost.com - The Affordable Host

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 -___-

Yngwiedis

AmityHost.com - The Affordable Host

SA™

ask the theme author how to make that area bigger?
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 -___-

Yngwiedis

ohhh... OK. Sorry for not understand that before.

Thank you very very much.
AmityHost.com - The Affordable Host

Advertisement: