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

NoFeaR / NFSMW

I added that to the theme but this is still not working man.
http://www.info-hype.com/index.php?action=facebook
The Connect now is not click-able.

SA™

try adding

global $boarddir;
require_once($boarddir.'/fbc/facebook_init_main.php');

in function template_body_above()
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 -___-

NoFeaR / NFSMW

Mine looks like this now. Dont know if right.
function template_body_above()
{
global $context, $settings, $options, $scripturl, $txt, $modSettings;
global $boarddir;
require_once($boarddir.'/fbc/facebook_init_main.php');

NoFeaR / NFSMW

My guests cant register or login using facebook.
Now its just to get the facebook fanpage to work on tinyportal. Thanks man

Neorics

Need some help about this mod. Here are the things I did.

-I installed this on a SMF 2.0
-I set up the Application in facebook
- Saved the settings for API and secret key on SMF

I Tested and it worked fine but I uninstalled the mod and reinstalled it again and then it's not working anymore.
After I reinstalled it, the settings were already there so I didn't change them.
Now when I try to login using FB it gives me an error saying

AN ERROR HAS OCCURRED!
Are You Connected to Facebook? Somthings Gone Wrong


Any clue?
[For Hire] I can help you with anything regarding Simple Machines Forum  ~ My Portfolio

~DS~

"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

Yngwiedis

Quote from: SA™ on April 04, 2011, 03:03:19 PM


@Yngwiedis
you need to include SSI.php to use them functions

global $boarddir;
require_once($boarddir . '/SSI.php');


So an example of the code inside the block will be like this ?

<?php
global $boarddir;
require_once(
$boarddir '/SSI.php');
 
ssi_FbcLiveStream(); ?>

Because i cant make it work.


Also can someone answer my first question ?

Quote from: Yngwiedis on April 04, 2011, 05:00:10 AM
Hello...

I am using SMF 2.0 RC5 and Simpleportal 2.3.2
Can someone tell me what is the difference if i check or uncheck the Simple Portal Mod option in the Supported Mods tab ?
Because i cant really see any difference...


Thank you again.
AmityHost.com - The Affordable Host

Neorics

Quote from: Dismal Shadow on April 05, 2011, 12:13:00 PM
Anything in the error log?

8: Use of undefined constant CURLOPT_USERAGENT - assumed 'CURLOPT_USERAGENT'
File: /home/vol10/byethost22.com/b22_7050389/htdocs/testo/fbc/fbmain.php
Use of undefined constant CURLOPT_SSL_VERIFYHOST - assumed 'CURLOPT_SSL_VERIFYHOST'

on same file and a lot more similar to those

P.S. Also when I try to integrate, every user integrates to the same userID although I am logged in in a different account in FB.
[For Hire] I can help you with anything regarding Simple Machines Forum  ~ My Portfolio

bfallgren

Will I be able to get FB connect fixed? It still doesnt not connect correctly.


Spoogs

Try disabling enotify and see if it works then (I vaguely remember some issue with this mod not working correctly with enotify) if that doesnt solve the problem there isn't much I can help with the 1.x version (never used it)

bfallgren

#1310
 :'( I would do that but for some reason a majority of my mods don't have uninstall links next to them anymore, and I am not sure where to post for something like this.

NoFeaR / NFSMW

Parse error: syntax error, unexpected '<' in /xxx/xxx/public_html/Sources/Load.php(2227) : eval()'d code(112) : eval()'d code on line 1
I tried your code and get the above error?

Quote from: Yngwiedis on April 05, 2011, 12:34:41 PM
Quote from: SA™ on April 04, 2011, 03:03:19 PM


@Yngwiedis
you need to include SSI.php to use them functions

global $boarddir;
require_once($boarddir . '/SSI.php');


So an example of the code inside the block will be like this ?

<?php
global $boarddir;
require_once(
$boarddir '/SSI.php');
 
ssi_FbcLiveStream(); ?>

Because i cant make it work.


Also can someone answer my first question ?

Quote from: Yngwiedis on April 04, 2011, 05:00:10 AM
Hello...

I am using SMF 2.0 RC5 and Simpleportal 2.3.2
Can someone tell me what is the difference if i check or uncheck the Simple Portal Mod option in the Supported Mods tab ?
Because i cant really see any difference...


Thank you again.

Neorics

Quote from: Spoogs on April 07, 2011, 05:45:48 PM
Try disabling enotify and see if it works then (I vaguely remember some issue with this mod not working correctly with enotify) if that doesnt solve the problem there isn't much I can help with the 1.x version (never used it)

where do you disable that?
[For Hire] I can help you with anything regarding Simple Machines Forum  ~ My Portfolio

Spoogs

I dont know (never used it) but i'm assuming it has an option to disable

sTavr0z

Hello all i have aBIG PROBLEM. When someone trying to connect  through the conect to facebook button and he is aleady connected to facebook via his webbrowser it does hxxp:nothing.it [nonactive] just trying to pop out the window and then closes.But  if he is not already logged in to facebook then  everything works great and alloed him to register into forums.
What is this cant figured out.
Try for yourself in both occassions.The website is hxxp:www.stokrevati.com [nonactive]


sTavr0z

weel just noticed that is a simple portal problem
when you trying to connect via forums page works fine
but when trying to connect via portal does nothing

Yngwiedis

Quote from: NoFeaR / NFSMW on April 08, 2011, 02:52:36 AM
Parse error: syntax error, unexpected '<' in /xxx/xxx/public_html/Sources/Load.php(2227) : eval()'d code(112) : eval()'d code on line 1
I tried your code and get the above error?

Yes this is the same error i get...
AmityHost.com - The Affordable Host

jack001

Hello,

i installed this in my forum but having problem connecting to facebook. When i or any user click on the button a blank page opens and nothing happens. Please resolve this problem.
Site: http://edutainmentforum.tk

please waiting for your response. Thank you.
https://www.edufor.xyz Edutainment forum - Education with Entertainment!

kingjazz

I am not posting this to be mean or anything ;) but with Dream Portal SA FB connect works just fine ;)

http://dream-portal.net [nofollow]

Live & working example:
http://ywamkyiv.org/smf/index.php [nofollow]

Dream Portal also have some mods for integration of Facebook Comments ;)

http://dream-portal.net/topic_274.msg1834.html#msg1834 [nofollow]

Cheers :)

Spoogs

The problem might be the enotify mod as I mentioned just a few posts up.

Advertisement: