Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: SMFHacks.com Team on February 12, 2010, 01:36:11 PM

Title: SA Facebook Integration
Post by: SMFHacks.com Team on February 12, 2010, 01:36:11 PM
Link to Mod (https://custom.simplemachines.org/mods/index.php?mod=2322)

Warning: You must create an application on facebook to use this modification



Features:






  • Register with facebook (new members)
  • Integrate forum account with facebook (existing members)
  • Disassociate forum account from facebook
  • Update your Status on facebook
  • Import your facebook avatar
  • Invite your facebook friends
  • Like/Recommend your site to friends on facebook
  • Share, Like, and Publish topics to your facebook wall
  • Facebook Comment Box
  • Facebook Fan Page
  • Friends... View all your facebook friends
            
Left blank intentionally:
Left blank intentionally:
  • ACP - this mod has its own admin control panel for easy use
  • Supports Standard and Advanced Profile Fields [SMF 2.0 only]
  • Facebook admin logs (see all register/Integrated fb users)
  • Membergroup (default membergroup for new facebook registered members)
  • Buddy list integration (users can sync their forum and fb friends)
Title: Re: SA Facebook Connect Intergration
Post by: ~DS~ on February 12, 2010, 01:42:19 PM
Finally.  :)
Title: Re: SA Facebook Connect Intergration
Post by: Mick. on February 12, 2010, 01:46:17 PM
Very cool ;)
Title: Re: SA Facebook Connect Intergration
Post by: Spoogs on February 12, 2010, 01:52:15 PM
SWEET, finally approved, congrats SA on an awesome mod, loving all the features so far  8)
Title: Re: SA Facebook Connect Intergration
Post by: SA™ on February 12, 2010, 02:58:18 PM
now where cooking :)
Title: Re: SA Facebook Connect Intergration
Post by: GQCritic on February 12, 2010, 03:07:51 PM
Great!

I've really been looking forward to this!
Title: Re: SA Facebook Connect Intergration
Post by: Darkstar1337 on February 12, 2010, 06:15:33 PM
Just tried testing it by trying to sign in via FB and get this

QuoteThe application you are trying to access does not exist or has been disabled.
Title: Re: SA Facebook Connect Intergration
Post by: Spoogs on February 12, 2010, 06:27:40 PM
Quote from: Darkstar1337 on February 12, 2010, 06:15:33 PM
Just tried testing it by trying to sign in via FB and get this

QuoteThe application you are trying to access does not exist or has been disabled.
1. Did you create an application on facebook
2. Did you setup that application correctly
(if you need help with this let me know)
Title: Re: SA Facebook Connect Intergration
Post by: Darkstar1337 on February 12, 2010, 06:34:35 PM
Yep its working now thanks
Title: Re: SA Facebook Connect Intergration
Post by: Spoogs on February 12, 2010, 06:35:35 PM
very cool , glad you got it working  8) enjoy
Title: Re: SA Facebook Connect Intergration
Post by: SA™ on February 12, 2010, 06:42:25 PM
thx spoogs
Title: Re: SA Facebook Connect Intergration
Post by: Spoogs on February 12, 2010, 06:45:51 PM
no prob man, its 1 of the few things i can kinda help out with around here :P
Title: Re: SA Facebook Connect Intergration
Post by: CKWT on February 13, 2010, 12:24:58 AM
Hello

Any Chance this would work on SMF 1.1.11

Thanks
Title: Re: SA Facebook Connect Intergration
Post by: ~DS~ on February 13, 2010, 12:31:59 AM
Quote from: CKWT on February 13, 2010, 12:24:58 AM
Hello

Any Chance this would work on SMF 1.1.11

Thanks
This is made for 2.0
Title: Re: SA Facebook Connect Intergration
Post by: CKWT on February 13, 2010, 12:43:44 AM
do you if anyone is working on a 1.x version...

It is a very cool mod and will have more reach on both versions..

Thanks for your reply
Title: Re: SA Facebook Connect Intergration
Post by: Divaksh on February 13, 2010, 02:20:54 AM
I Dont Know Why But My usres & Me Unable to Login in Site Using SA DB Connect...

I Think its Coz of Facebook Connect intergration For SMF2(1st Beta Relese)... :(

What Should I Do NOW? ? ?
Title: Re: SA Facebook Connect Intergration
Post by: SA™ on February 13, 2010, 12:22:00 PM
what smf version are you using rc2? and what happens when you click connect with facebook?
Title: Re: SA Facebook Connect Intergration
Post by: SA™ on February 13, 2010, 12:23:09 PM
Quote from: CKWT on February 13, 2010, 12:43:44 AM
do you if anyone is working on a 1.x version...

It is a very cool mod and will have more reach on both versions..

Thanks for your reply

there is a smf1 version but it is paid and not coded by me

see

http://smf-media.com/community/index.php
Title: Re: SA Facebook Connect Intergration
Post by: Nibogo on February 13, 2010, 12:53:02 PM
Finally another great mod :)
Title: Re: SA Facebook Connect Intergration
Post by: SA™ on February 13, 2010, 01:02:29 PM
thx nibogo and thx for your code contributions
Title: Re: SA Facebook Connect Intergration
Post by: Nibogo on February 13, 2010, 02:07:16 PM
Quote from: Sleepy Arcade on February 13, 2010, 01:02:29 PM
thx nibogo and thx for your code contributions

You are welcome :)
Title: Re: SA Facebook Connect Intergration
Post by: Kellerassel on February 14, 2010, 09:45:59 AM
how i create an application in facebook?
Title: Re: SA Facebook Connect Intergration
Post by: Afro on February 14, 2010, 11:39:26 AM
Go to facebook application page and follow the instructions.
Congrats sleepy. its an awesome mod..
Title: Re: SA Facebook Connect Intergration
Post by: eslao on February 14, 2010, 07:30:54 PM
Türkçe/Turkish translation

$txt['fb_admin_logs'] = 'Facebook Kayıtları';
$txt['fb_admin_logs_member'] = 'Üye';
$txt['fb_admin_logs_memberid'] = 'Üye ID';
$txt['fb_admin_logs_dr'] = 'Kayıt Tarihi';
$txt['fb_admin_logs_fuid'] = 'Facebook Kullanıcı ID';
$txt['fb_admin_logs_name'] = 'Facebook Adı';
$txt['fb_admin_logs_pro'] = 'Facebook Profili';
$txt['fb_admin_commets_box'] = '<div align="center">Yorum Kutusu Ayarları</div>';
$txt['fb_admin_commets_post'] = 'Yorum Kutusunda Gösterilecek Yorum Sayısı';
$txt['fb_app_comments_boxid'] = 'Yorum Kutusu XID<div class="smalltext>The unique identifier for this set of comments. Comments can contain alphanumeric characters (Aa-Zz, 0-9), hyphens (-), percent (%), period (.), and underscores (_) (in effect, the result of any urlencode can be a valid XID). </div>';
$txt['fb_admin_setsh1'] = 'Forumdan Facebooka Konu Paylaşımını Aktifleştir';
$txt['fb_admin_setsh2'] = 'bunu işaretlerseniz konularda facebookta paylaş iconu görünecek';
$txt['fb_admin_set1'] = '<div align="center">Temel Ayarlar</div>';
$txt['fb_admin_set2'] = '<div align="center">Hayran Sayfası Ayarları</div>';
$txt['fb_admin_set3'] = '<div align="center">Api Key ve Secret</div>';
$txt['fb_app_facebook_log_out'] = 'Facebooktan çıkış yapma özelliğini aktifleştir <div class="smalltext">kulanıcı siteden çıkış yaptığında facebooktan da çıkış yapmış olacak</div>';
$txt['fb_app_width'] = 'hayran Kutusu Genişliğ';               
$txt['fb_app_key'] = 'Facebook Uygulama Anahtarı API KEY';
$txt['fb_app_sharetopic'] = 'Konuyu Facebookta Paylaş Özelliği Aktif';   
$txt['fb_app_fans'] = 'Hayran Sayfası Aktif';
$txt['fb_enable_fb_com'] = 'Facebook Yorum Sistemi Aktif';
$txt['fb_app_connection'] = 'Gösterilecek Hayran Sayısı';
$txt['fb_app_pageid'] = 'Uygulama Sayfası IDniz <div class="smalltext">uygulamanın adresindeki son rakamlardır</div>';
$txt['fb_app_stream'] = 'Hayran Gösterimi <div class="smalltext">Sadece hayranları göstermek için 0 hayranları ve özet akışı için 1</div>';
$txt['fb_app_secret'] = 'Facebook Application Secret';
$txt['fb_integrate'] = 'Forum hesabını facebook hesabıyla birleştir.';
$txt['fb_update'] = 'Facebook Durumunu Güncelle.';
$txt['fb_admin'] = 'SA Facebook Connect';
$txt['fb_admin_main'] = 'Temel Ayarlar';
$txt['fb_enable'] = 'Facebook ile Bağlanı Aktif Et';
$txt['fb_enable_wt_mod'] = 'Enable Support For VBGamers Welcome Topic Mod';
$txt['fb_invite'] = 'Arkadaşlarını Davet Et';
$txt['fb_title'] = 'Facebookla Bağlan';
$txt['fb_title1'] = 'Facebook ile Bağlandınız!';
$txt['fb_title2'] = 'Facebook Connect ile Yapabilecekleriniz';
$txt['fb_title3'] = 'Facebook ile Bağlanamadınız!';
$txt['fb_title_inv'] = 'Facebook Daveti';
$txt['fb_inv'] = 'Davet Formu';
$txt['fb_inv_app'] = 'uygulama';
$txt['fb_inv1'] = 'A ya git';
$txt['fb_inv2'] = 'Sayfa!';
$txt['fb_inv3'] = 'Arakadaşlarını da Davet Et';
$txt['fb_inv4'] = 'Davetiniz İçin Teşekkürler';
$txt['fb_inv5'] = 'bağlı olan arkadaşlarınız';
$txt['fb_inv6'] = 'Dönmek için tıkla';
$txt['fb_inv7'] = 'kullanmaya başladı';
$txt['fb_inv8'] = 'and thought it\'s <u>so cool even you should try it out</u>!';
$txt['fb_inv9'] = 'Put';
$txt['fb_inv10'] = 'profilinde';
$txt['fb_avatar'] = 'Facebook resmini avatarın yap';
$txt['fb_avatar1'] = 'Facebook Avatar';
$txt['fb_avatar2'] = 'avatarınız değişti';
$txt['fb_avatar3'] = 'avatarınızı değiştirmek istediğinizden emin misiniz ?';
$txt['fb_yes'] = 'evet';
$txt['fb_no'] = 'hayır';
$txt['fb_or'] = 'ya da';
$txt['fb_sync'] = 'Facebook ile Senkronize Et';
$txt['fb_sync1'] = 'Facebook ve forum hesabını birleştirmek istediğinden emin misin?';
$txt['fb_share'] = 'Bu siteyi facebookta paylaş';
$txt['fb_fans'] = 'Hayran Sayfası';
$txt['fb_fans1'] = 'Facebook Hayran Sayfası';
$txt['fb_haslogged'] = 'giriş yaptı';
$txt['fb_haslogged2'] = 'facebook connecti kullanarak';
$txt['fb_reg1'] = 'Facebook Giriş';
$txt['fb_reg2'] = '(sadece bir defa yapmanız yeterli)';
$txt['fb_reg8'] = 'Görünen İsim';
$txt['fb_reg3'] = 'Git';
$txt['fb_reg4'] = 'Lütfen bir Kullanıcı Adı Giriniz';
$txt['fb_reg44'] = 'Gerekli Bilgi';
$txt['fb_reg45'] = 'Ek Bilgi';
$txt['permissiongroup_simple_facebookperm'] = 'Facebook Connect';
$txt['permissiongroup_facebookperm'] = 'Facebook Connect';
$txt['permissionhelp_share_topic'] = 'Eğer facebookta paylaşma yetkisi varsa';
$txt['permissionname_share_topic'] = 'Konuları Facebookta Paylaş';
$txt['fbshare_share'] = 'Kategorileri Paylaş';
$txt['fb_custom_profile'] = 'Özel Profil Alanlarını da Etkinleştir';
Title: Re: SA Facebook Connect Intergration
Post by: Max™ on February 15, 2010, 03:28:04 PM
Have a little problem, it installed perfectly, and everthing seems to be set up. but when someone logs in via facebook connect it just reloads the login page but dosent log the person in, (if there already registered with the forum and then login) the facebook message pops up "this user has logged in  using facebook connect" even tho the user had had to login twice (facebook connect and then the smf way) these errors might have something to do with it? cant seem to figure it out.

Type of error: Undefined
index.php?action=facebook;sa=connect;step
8: Undefined index: fb_enable_avs_mod
File: /Themes/default/FB_Connect.template.php (fb_reg sub template - eval?)
Line: 112

index.php?action=facebook;sa=connect;step
8: Undefined index: fb_enable_avs_mod
File: /Sources/FB_Connect/FB_Connect.php
Line: 142
Title: Re: SA Facebook Connect Intergration
Post by: SA™ on February 15, 2010, 03:32:33 PM
 i got an update comming in a bit

but for now enable and disbale avatar select on register option in admin
Title: Re: SA Facebook Connect Intergration
Post by: Robin1989 on February 15, 2010, 04:17:53 PM
is this mod optional for members to use or is it compulsory for members to connect there facebook as not all my members would want there facebook friends to see what they were doing on the forum
Title: Re: SA Facebook Connect Intergration
Post by: ~DS~ on February 15, 2010, 04:24:08 PM
Quote from: Robin1989 on February 15, 2010, 04:17:53 PM
is this mod optional for members to use or is it compulsory for members to connect there facebook as not all my members would want there facebook friends to see what they were doing on the forum
AFAIK, yes it's optional, they can skip the FB register and use the standard SMF login. And if they already are registered or or used FB connect it will not shown up on your FB as long they don't comment or use the FB connect feature.
Title: Re: SA Facebook Connect Intergration
Post by: SA™ on February 15, 2010, 04:25:23 PM
added new version

15 february 2010:
fixed Undefined index: fb_enable_avs_mod error
added turkish translation thanks eslao
some code changes to the install.xml thanks nibogo
Title: Re: SA Facebook Connect Integration
Post by: kingkingston on February 15, 2010, 04:36:13 PM
I helped somewhere,earlier on :D
Title: Re: SA Facebook Connect Integration
Post by: SA™ on February 15, 2010, 04:40:46 PM
i will add credits to every one who helped test when i finish the admin panel
Title: Re: SA Facebook Connect Integration
Post by: Afro on February 15, 2010, 05:17:18 PM
good job sleepy.
Title: Re: SA Facebook Connect Integration
Post by: Filipina on February 15, 2010, 07:44:55 PM
thanks for getting this MOD ready!  I looked at the MOD page about this and just have a couple questions.

If you have certain custom profile fields required during registration will this FB connect allow members to skip over my required fields?

What parts of your site does this MOD change to show facebook information? User profiles, topics, or other areas?

"Allow Facebook user integration" Does this mean current members can become integrated, or just new sign ups?  thanks
Title: Re: SA Facebook Connect Integration
Post by: Spoogs on February 15, 2010, 08:04:49 PM
QuoteIf you have certain custom profile fields required during registration will this FB connect allow members to skip over my required fields?
This mod supports custom profile fields (i dont use those so SA or someone else can better answer how that works)

QuoteWhat parts of your site does this MOD change to show facebook information? User profiles, topics, or other areas?
"Allow Facebook user integration" Does this mean current members can become integrated, or just new sign ups?  thanks
This mod allows for registering with facebook
Existing user can integrate with face book (meaning they can login using their facebook info)
User can update their facebook status from your site and post comments and such
You can choose which boards to allow users to share info directly on facebook

Title: Re: SA Facebook Connect Integration
Post by: luismanson on February 15, 2010, 09:46:44 PM
it would be great to add (an user option to enable or disable) a Fb icon/link to the users fb profile
Title: Re: SA Facebook Connect Integration
Post by: chucklebutte on February 16, 2010, 05:41:50 AM
I am getting this error any tips?

Invalid Argument
The Facebook Connect cross-domain receiver URL (http://chucklebutte.exofire.net/forums/fbc/xd_receiver.htm#fname=_opener&%7B%22t%22%3A3%2C%22h%22%3A%22fbCancelLogin%22%2C%22sid%22%3A%220.907%22%7D) must have the application's Connect URL (http://chucklebutte.exofire.net/forums/index.php) as a prefix. You can configure the Connect URL in the Application Settings Editor.
Title: Re: SA Facebook Connect Integration
Post by: SA™ on February 16, 2010, 12:16:12 PM
@Filipina yes custom profile feild will shw when registering with facebook :)

@luismanson they can just delete the link if they do not want it

@chucklebutte you havent set up the application on facebook properly
goto your facebook application click on the connect tab and what does your connect url say?
it should be http://chucklebutte.exofire.net/forums
never
http://chucklebutte.exofire.net/forums/index.php
Title: Re: SA Facebook Connect Integration
Post by: Filipina on February 16, 2010, 12:33:13 PM
Oh thanks this above post confused me. My site is http://www.melindaspenpals.com and my forum is found at http://www.melindaspenpals.com/penpal-community/index.php 

So are you saying the connect URL should be http://www.melindaspenpals.com or http://www.melindaspenpals.com/penpal-community   ???
Title: Re: SA Facebook Connect Integration
Post by: SA™ on February 16, 2010, 12:36:22 PM
 http://www.melindaspenpals.com/penpal-community

should do it
Title: Re: SA Facebook Connect Integration
Post by: chucklebutte on February 16, 2010, 02:59:25 PM
@SA you the man <3 thank you it works!
Title: Re: SA Facebook Connect Integration
Post by: SA™ on February 16, 2010, 03:41:02 PM
im sure you all got an email from facebook telling you about email chnages this is important and must be done in order to send mail thu fb connect here what you need to do


1. Configuring Your Email Domain
You need to specify the domain from where you will send email to your users. Edit your settings in the Developer application.

On the Advanced tab, specify the domain in the Email Domain field. If you have more than one application, you can specify different domains for each application.

Specifying an email domain allows Facebook to safeguard against users' email addresses being sold to third parties. Any developers found violating this policy will have their applications immediately and permanently disabled.

Note: If a user provided you with a proxied email address, Facebook will use facebookappmail.com as the sender's domain, not the domain specified above.


here is the documention
http://wiki.developers.facebook.com/index.php/Communicating_with_Users_via_Email#1._Configuring_Y


please note you need todo this for email to work
Title: Re: SA Facebook Connect Integration
Post by: Filipina on February 16, 2010, 04:21:02 PM
Looks like there are some complicated options to consider the more I look into this. Once it got into the "Extended Permissions" it went over my head. Requiring Email Addresses, Email Permission, Querying for the User's Email Address, Unsubscribing Users. Hmmm.. I hope others that have gone through this entire process can give feeback on the best way to set it up.   
Title: Re: SA Facebook Connect Integration
Post by: Filipina on February 17, 2010, 10:37:42 AM
Sorry just have a couple more question hope someone can help :)

When it says "allow XXXXXX to contact me at: my Facebook contact email ([email protected]) change" what if the person says "no"? 1) How are they registered on our site without email? 2) So does that mean they cannot receive email from our site and how do we control that?

When someone logs out of both facebook and our site with facebook connect are they really logging out of our site too because I did a test and it appears they only log out of facebook.

Thanks for any assistance :) 
Title: Re: SA Facebook Connect Integration
Post by: erus on February 17, 2010, 11:32:20 AM
sorry for this question but i am new smf as i used to use ipb

but on this mod where do i enter such details as th api ...etc

thanks in advance from an smf noob
Title: Re: SA Facebook Connect Integration
Post by: Filipina on February 17, 2010, 11:46:17 AM
erus I think this is the answer.... "Goto admin/sa facebook connect and enter the keys in the correct places"
Title: Re: SA Facebook Connect Integration
Post by: erus on February 17, 2010, 11:54:50 AM
thank you for the quick reply Filipina

found it now

as i say, i am new to this type of forum as i installed it about 30 minutes ago.

for anyone else suffering the same dumb moment as i did, it can be located here
under the configuration sub menu
#  Administration Center » SA Facebook Connect » Main Settings

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

now i seem to have another problem *sigh*

Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /****/*****/*/*/*/*****/****/******/fbc/facebook/php/facebook.php on line 38

sorry to be a pain in the rear end
Title: Re: SA Facebook Connect Integration
Post by: Filipina on February 17, 2010, 12:27:20 PM
Hmmm looks like the big guns are going to need to look into this one. SA or someone else will probably take a look at this when they are online... sorry :(
Title: Re: SA Facebook Connect Integration
Post by: ~DS~ on February 17, 2010, 12:30:39 PM
Quote from: erus on February 17, 2010, 11:54:50 AM
thank you for the quick reply Filipina

found it now

as i say, i am new to this type of forum as i installed it about 30 minutes ago.

for anyone else suffering the same dumb moment as i did, it can be located here
under the configuration sub menu
#  Administration Center » SA Facebook Connect » Main Settings

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

now i seem to have another problem *sigh*

Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /****/*****/*/*/*/*****/****/******/fbc/facebook/php/facebook.php on line 38

sorry to be a pain in the rear end
Attach your facebook.php and somebody might have a look into it.
Title: Re: SA Facebook Connect Integration
Post by: erus on February 17, 2010, 12:52:08 PM
attached the file this time
Title: Re: SA Facebook Connect Integration
Post by: SA™ on February 17, 2010, 01:46:02 PM
Quote from: erus on February 17, 2010, 12:52:08 PM
attached the file this time

you need php5 to use this mod you have php4 ask your host to upgrade there php version
Title: Re: SA Facebook Connect Integration
Post by: SA™ on February 17, 2010, 02:04:01 PM
Quote from: Filipina on February 17, 2010, 10:37:42 AM
Sorry just have a couple more question hope someone can help :)

When it says "allow XXXXXX to contact me at: my Facebook contact email ([email protected]) change" what if the person says "no"? 1) How are they registered on our site without email? 2) So does that mean they cannot receive email from our site and how do we control that?

When someone logs out of both facebook and our site with facebook connect are they really logging out of our site too because I did a test and it appears they only log out of facebook.

Thanks for any assistance :) 

if they dont allow email it uses a proxymail service that will send via facebook

and yes they logut feture logs out from both site and fb
Title: Re: SA Facebook Connect Integration
Post by: erus on February 17, 2010, 02:20:44 PM
Quote from: Sleepy Arcadeyou need php5 to use this mod you have php4 ask your host to upgrade there php version

according to my hosting company i should be able to run php5 on the server
http://help.godaddy.com/topic/412/article/1076  for the full article

even though it states that my current php version is 4

i have had problems with this before and been fobbed off by godaddy with instructions that i have to have every php file to be saved with a .php5 extension (would take me ages to do  ;D :o )
Title: Re: SA Facebook Connect Integration
Post by: SA™ on February 17, 2010, 02:36:51 PM
indeed that will take some time surly they can update it for you
there is a php4 facebook libery in the package to use but i dont have php4 to test with so i just left it in all honest tho i should think most servers use php5
Title: Re: SA Facebook Connect Integration
Post by: Filipina on February 17, 2010, 06:15:12 PM
default/images/admin/facebook.gif

I think this is missing.. i went to that file after install and it is not there plus when in ADMIN I have a x instead of image on default theme :)
Title: Re: SA Facebook Connect Integration
Post by: SA™ on February 17, 2010, 06:29:52 PM
here it si attached
Title: Re: SA Facebook Connect Integration
Post by: Filipina on February 17, 2010, 06:37:15 PM
sorry one more thing... I have couple curve themes besides default, all seem to work fine with mods... like Sudden Curve and Royal Curve.. with this MOD when user selects those themes i get this error in User Info Box and it locks everything up... any ideas.. thanks so much for button!

Fatal error: Call to undefined function show_facebook() in /xxxxxxxxxx/public_html/penpal-community/Sources/PortalBlocks.php on line 156

Edit - It think it has something to do with this

http://b.static.ak.fbcdn.net/rsrc.php/zB6N8/hash/4li2k73z.gif

Edit 2 - It is happening even when I have the MOD disabled...

Fatal error: Call to undefined function show_facebook() in /xxxxxxxxxx/public_html/penpal-community/Sources/PortalBlocks.php on line 225

Edit 3 - I cannot log out  now ... menu  buttons are not working...

Last Edit - Sorry I has a lot of problems and had to unistall.. I am not sure if it was all related to the Sources/PortalBlocks.php but things shut down with the menu, not being able to log out stuff even with it disabled.

I will stil try again later at some point... thanks for trying to help :)

Title: Re: SA Facebook Connect Integration
Post by: KensonPlays on February 17, 2010, 09:33:36 PM
I tried installing, but it slowed down my browser and never loaded the install finish page! I click on the "[ Install Mod ]" link, then it gives me a 500 Internal Server Error everytime I try installing!!
Title: Re: SA Facebook Connect Integration
Post by: kingkingston on February 18, 2010, 12:59:14 AM
Quote from: Kcmartz on February 17, 2010, 09:33:36 PM
I tried installing, but it slowed down my browser and never loaded the install finish page! I click on the "[ Install Mod ]" link, then it gives me a 500 Internal Server Error everytime I try installing!!
Did you try changing the permissions ?
Title: Re: SA Facebook Connect Integration
Post by: InfoStrides on February 18, 2010, 07:16:47 AM

I installed the mod successfully but got the following error:

Fatal error: Cannot use string offset as an array in /home/xxxxxxx/public_html/infostridesforum.com/Sources/FB_Connect/FB_Connect_Subs.php  on line 318

Please help me check!

My website is http://www.infostridesforum.com

Thank you.
Title: Re: SA Facebook Connect Integration
Post by: erus on February 18, 2010, 08:54:26 AM
@ sleepy after 2 hours on the phone and a few choice emails i have now got php5 on the server ( yay ) so going to try again and see if i can get it going correctly this time

-------------EDIT------------

just tried it out and it is working perfectly for me now,
thank you for the help SA
Title: Re: SA Facebook Connect Integration
Post by: SA™ on February 18, 2010, 10:16:57 AM
@Filipina you need to do edit to your custom theme if you are using one

@Kcmartz Did you try changing the permissions ?

@infostrides that happens somtimes i dont know why yet it somthing todo with facebook sessions

@erus glad you got it sorted now
Title: Re: SA Facebook Connect Integration
Post by: KensonPlays on February 18, 2010, 10:38:55 AM
@Sleepy Arcade:
You mean directory permissions? Or member permissions? If member, I can't even complete install of it, or SOME other mods, without a slow load time and a 500 Server Error!
Title: Re: SA Facebook Connect Integration
Post by: InfoStrides on February 18, 2010, 11:12:54 AM
Quote from: Sleepy Arcade on February 18, 2010, 10:16:57 AM

@infostrides that happens somtimes i dont know why yet it somthing todo with facebook sessions


I hope that would be resolved later because it may discourage users.

Thumb Up for the mod!!! It works just fine....
Title: Re: SA Facebook Connect Integration
Post by: SA™ on February 18, 2010, 11:18:25 AM
@Kcmartz if your having this problem with ither mods aswell maybe it time to look for a new host?

@infostrides i know it bugging me aswell ill try to sort it when i can :)
Title: Re: SA Facebook Connect Integration
Post by: KensonPlays on February 18, 2010, 11:27:21 AM
I will look for a new host as soon as I have a part time job to pay for it, because as long as my dad pays for it, I have to stay with godaddy. I will probably use Labradoodle's reseller hosting plan if it has everything I need...
Title: Re: SA Facebook Connect Integration
Post by: rd on February 18, 2010, 12:01:43 PM
This mod worked on all the websites I installed it in. Good job Sleepy! Worked with Servage and my VPS server.
Title: Re: SA Facebook Connect Integration
Post by: InfoStrides on February 18, 2010, 12:17:02 PM
This feature is not working on forum:

"Enable share topic feature"

Please, what could have been the problem?

http://www.infostridesforum.com

Title: Re: SA Facebook Connect Integration
Post by: SA™ on February 18, 2010, 12:23:28 PM
you have to enable it for the bards you want goto admin > sa facebook conenct > share boards and enable the bords you want you also need to set permissions as well for it it you dont see share boards option in admin

in sources/admin.php

find

'settingsa' => array($txt['fb_admin_main']),

replace with

'settingsa' => array($txt['fb_admin_main']),
          'fbshare' => array($txt['fbshare_share'], 'enabled' => !empty($modSettings['fb_app_sharetopic'])),
         'fblogs' => array($txt['fb_admin_logs']),
Title: Re: SA Facebook Connect Integration
Post by: InfoStrides on February 19, 2010, 05:43:18 AM
Quote from: Sleepy Arcade on February 18, 2010, 12:23:28 PM
you have to enable it for the bards you want goto admin > sa facebook conenct > share boards and enable the bords you want you also need to set permissions as well for it it you dont see share boards option in admin

in sources/admin.php

find

'settingsa' => array($txt['fb_admin_main']),

replace with

'settingsa' => array($txt['fb_admin_main']),
          'fbshare' => array($txt['fbshare_share'], 'enabled' => !empty($modSettings['fb_app_sharetopic'])),
         'fblogs' => array($txt['fb_admin_logs']),


These are in proper place. But not showing yet.

More so, the following error occur while trying to register with display name:

The database value you're trying to insert does not exist: personal_text

Please help!
Title: Re: SA Facebook Connect Integration
Post by: SA™ on February 19, 2010, 10:16:20 AM
i cant replicate this? whats does it say in your error logs
Title: Re: SA Facebook Connect Integration
Post by: Filipina on February 19, 2010, 09:59:03 PM
Hello I am making another attempt because this MOD will be huge for me I think.. :)

1) Can someone please help me with this css/index.css file... I tried to add the code below to the file but it breaks the style of Sudden Curve and Royal Curve... can someone point me in the right direction what else i need to edit with css? :)  Is there another file i need to edit too? Thanks


#forumposts h3 span#facebook
{
float: right;
margin: 6px 0.5em 0 0;
}


2) Wow lots of people using this already!  How do I stop my current members from getting confused and opening a second account instead of connecting them LOL
Title: Re: SA Facebook Connect Integration
Post by: diontoradan on February 19, 2010, 11:22:22 PM
how to login to forum from outside page? i have a php welcome page with forum login link with SSI...

also it would be great if we put a facebook button on registration page.

nice mod, i really enjoyed it...
Title: Re: SA Facebook Connect Integration
Post by: SA™ on February 20, 2010, 11:29:47 AM
@Filipina if you can attach that file ill make the edit for you
Title: Re: SA Facebook Connect Integration
Post by: Filipina on February 20, 2010, 02:10:03 PM
thanks sleepy... :)  Not sure which file you need so I attached both.  Would you mind telling me what edits you make so I can change my other two themes too.. they are all Crip Curve themes :)


Sleepy don't kill me but do you know what this error is now showing in the bottom status bar of my site which when you click it for further deals it is give me this information

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; GTB6.4; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Timestamp: Sat, 20 Feb 2010 19:20:21 UTC


Message: Access is denied.

Line: 50
Char: 23
Code: 0
URI: http://www.melindaspenpals.com/penpal-community/Themes/default/scripts/theme.js?rc2



**  Will it break anything If I change "facebook profile field:" TO "users cannot see the field, owners and admins can edit it"
Title: Re: SA Facebook Connect Integration
Post by: Mick. on February 20, 2010, 03:42:09 PM
Hey Sleepy!   Welcome to my club ;D
Title: Re: SA Facebook Connect Integration
Post by: InfoStrides on February 20, 2010, 05:32:55 PM
Quote from: Sleepy Arcade on February 19, 2010, 10:16:20 AM
i cant replicate this? whats does it say in your error logs

There is no error in the log.
Title: Re: SA Facebook Connect Integration
Post by: SA™ on February 21, 2010, 10:55:24 AM
try this attached Filipina i dont know hwat that ither error is no im sry

no it shouldent break anything if you chnage the profile feilds
Title: Re: SA Facebook Connect Integration
Post by: Filipina on February 21, 2010, 12:22:23 PM
Sleepy thanks for trying to fix my theme... I tried that and cleared by cache files on the site and my pc (even rebooted) but it looks about the ame image attached.. I think there is another setting I need to change but I cannot figure out what it is. It looks like it is trying use the deafualt styling... boards and bottom half are not right. any ideas anyone?
Title: Re: SA Facebook Connect Integration
Post by: SA™ on February 21, 2010, 12:26:52 PM
hmm let me go install that theme and test
Title: Re: SA Facebook Connect Integration
Post by: Filipina on February 21, 2010, 12:31:11 PM
ok thanks sleepy... the royal curve, burnt curve and subben curve all show about the same result... :)

The mod functions great it is just the styling on those curves :)

P.S. this MOD is really taking off on my site, thanks sleepy!
Title: Re: SA Facebook Connect Integration
Post by: SA™ on February 21, 2010, 12:35:28 PM
ok i instaled rolal curve theme then installed the mod making sure to check install on other themes and installed fine

http://sleepy-arcade.ath.cx/arcade/forum/index.php

did you do them maual edits your self to those themes?

the only thing i can think of right now is to uninstall and reinstall it making sure to check install to other themes
Title: Re: SA Facebook Connect Integration
Post by: kpjuni on February 21, 2010, 01:02:25 PM
installed and works flawlessly, thank you for a great mod that was much needed.
I have one issue. I would like to simply change one line to show up BOLD. That is the line that reads "You are successfully connected with facebook!" after you click Facebook connect. Where can I find the code to change that? Thank you.
Title: Re: SA Facebook Connect Integration
Post by: SA™ on February 21, 2010, 01:09:59 PM
that will be in themes/default/languages/Modifications.english.php

$txt['fb_title1'] = 'You are successfully connected with facebook!';
Title: Re: SA Facebook Connect Integration
Post by: Filipina on February 21, 2010, 01:21:26 PM
Quote from: Sleepy Arcade on February 21, 2010, 12:35:28 PM
ok i instaled rolal curve theme then installed the mod making sure to check install on other themes and installed fine

http://sleepy-arcade.ath.cx/arcade/forum/index.php

did you do them maual edits your self to those themes?

the only thing i can think of right now is to uninstall and reinstall it making sure to check install to other themes

I did the manual edits to index.template.php for those themes because they have their own index.template.php files. Should I not have done this, or you think I might have done it wrong?  I attached one of those index files on that other post.

Title: Re: SA Facebook Connect Integration
Post by: SA™ on February 21, 2010, 01:32:18 PM
no im not saying you did it wrong i used that index.template.php you attached and didnt get no problems
Title: Re: SA Facebook Connect Integration
Post by: kpjuni on February 21, 2010, 01:41:33 PM
Quote from: Sleepy Arcade on February 21, 2010, 01:09:59 PM
that will be in themes/default/languages/Modifications.english.php

$txt['fb_title1'] = 'You are successfully connected with facebook!';


thank you, and thank you for the super quick reply!
Title: Re: SA Facebook Connect Integration
Post by: Filipina on February 22, 2010, 12:53:26 AM
Not sure if anyone else is experiencing this problem but all IM's and email to FB users via proxy are being returned to sender. I have my domain email listed so not sure what else I can do. I have been looking at the settings but cannot find anything that jumps out at me. Anyone have ideas on this or experiencing it?  I see it being discussed here.

http://forum.developers.facebook.com/viewtopic.php?pid=205160
Title: Re: SA Facebook Connect Integration
Post by: calvinhobbes on February 22, 2010, 10:51:25 AM
HELP me...i installed the mod, connected to facebook....did the dont allow to publish stories to my wall etc ...went to step 3/3 and then this shows up

Fatal error: Class 'Facebook' not found in /home/digitalb/public_html/bindaas/Sources/FB_Connect/FB_Connect_Subs.php on line 314
Title: Re: SA Facebook Connect Integration
Post by: iMp7 on February 22, 2010, 12:30:13 PM
SMF could not connect to database :'(
Title: Re: SA Facebook Connect Integration
Post by: SA™ on February 22, 2010, 02:16:29 PM
@Filipina thanks ill look into this one

@calvinhobbes i cant replicate this do you know if facebook was down at the time of this error?

@iMp7 very usefull not if you can provide more info the better i can help
Title: Re: SA Facebook Connect Integration
Post by: Filipina on February 22, 2010, 06:36:17 PM
No problem sleepy not sure there is anything you can do about it. This appears to be a facebook problem which is causing a lot of head aches for many sites using facebook connect. So far about 90% of the email generated off my site through member IM's or email to those proxy emails is being returned.

I tried to install and reinstall the mod but my styles on the curve themes are all still broken. I have spent hours searching but cannot find the answer :(
Title: Re: SA Facebook Connect Integration
Post by: Filipina on February 22, 2010, 06:57:23 PM
Fatal error: Cannot use string offset as an array in /xxxxxxxxxxx/penpal-community/Sources/FB_Connect/FB_Connect_Subs.php on line 318

http://www.melindaspenpals.com/penpal-community/index.php?action=facebook;sa=connect;step8: Uninitialized string offset: 0File: /xxxxxx/penpal-community/Sources/FB_Connect/FB_Connect_Subs.php
Line: 318

Yep getting this now too.. reported by serveral users you can click the facebook png image to connect and it happens now

http://www.melindaspenpals.com/penpal-community/index.php

EDIT - This problem seems to come and go which makes me wonder if it is FB related? All is fine right now

EDIT - Sorry sleepy the problem I had with other curve themes was my own making. I accidently uploaded the wrong index.css files from the default curve into the other themes :(

Title: Re: SA Facebook Connect Integration
Post by: zzzronzzz on February 25, 2010, 08:25:39 AM
hello .. installed the mod without errors .. tested the mod ..everything seems to work .. except one ..

when trying to Post comment to my Facebook profile it says

Database Down
Sorry, a temporary error has occurred. Please try again.

how do we fix this?


EDIT:  is this the same ? http://developers.facebook.com/news.php?blog=1&story=198
Title: Re: SA Facebook Connect Integration
Post by: SA™ on February 25, 2010, 01:03:13 PM
wait for the database to come back up :) i have no contral over what facebook does or doesnt do i just coded the mod im not involved with facebook in any way
Title: Re: SA Facebook Connect Integration
Post by: SA™ on February 25, 2010, 01:04:33 PM
sry Filipina i missed your post :( yes that poblem is fb realted
Title: Re: SA Facebook Connect Integration
Post by: Filipina on February 25, 2010, 04:10:57 PM
I have had about 100 facebook connect sign ups so far. About 90% of the time the avatars fail and end up as red x's.  I can always find them though FB and upload them myself but it takes time. Also, the returned mail is still a problem. So most do not come back.

How hard would it be to make this permissions based, and only allow current members to use it? The reason is that current members connecting with facebook already have an actual email address with me so no problems with returned mail. Also, it solves the broken avatar pictures. I know some may think it defeats the purpose of the MOD, but for me the MOD is still useful if ONLY current members can connect.
Title: Re: SA Facebook Connect Integration
Post by: SA™ on February 26, 2010, 12:22:37 PM
the red x's is a bug with the mod if you have the avatar selevt on register mod installed it will not happen ill fix it in next version

the bouncing emails seems to be a facebook side problem there isnt much i can do cos im not assoiated with facebook in anyway i just coded this mod just out of curiosity what is your email domain set to?

i belive it will not work like that not with out making a searate mod if it permission based or not you will still need to allow guest to use to be able to login to the forum
Title: Re: SA Facebook Connect Integration
Post by: Filipina on February 26, 2010, 04:35:46 PM
Quotewhat is your email domain set to?

melindaspenpals.com EDIT - The last 48 hours it seems to be wroking now without the returned mail anymore.

I have a custom made "upload avatar" on registration modification http://www.melindaspenpals.com/penpal-community/index.php?action=register   What file would I add this code too so facebook users can upload a picture while registering?

As far as permissions if you remove this image below then new registrations cannot see it, right?

http://b.static.ak.fbcdn.net/rsrc.php/zB6N8/hash/4li2k73z.gif 

current members would still have this little image (/default/images/facebook.png) and the facebook link to connect, right?

sorry sleepy i am almost done asking questions this will probably be my last :)
Title: Re: SA Facebook Connect Integration
Post by: SA™ on February 27, 2010, 11:14:42 AM
no if you remove the image no one will be able to login with facebook

what mod is that that allowes you to upload an avatar?
Title: Re: SA Facebook Connect Integration
Post by: fbforums on March 01, 2010, 03:09:02 PM
Ok let me ask this.

When someone makes a new forum topic should there be a Facebook popup that allows the member to post to Facebook? I am not getting this even though in the admin panel it's ticked to allow posting topics to Facebook.

Any help on this?


Also the user name is not coming through properly.

Usename is coming through like this.   
QuoteMike_1830764431

instead of just
QuoteMikeHunt
Title: Re: SA Facebook Connect Integration
Post by: SA™ on March 01, 2010, 05:16:16 PM
it doesnt auto post you have to click the little facebook icon the the right to share a topic

the usernames are like that for a reason eg if bob smith come and try to register with another bob smith already registerd they wouldent be able to register cos bob smith will already be there
Title: Re: SA Facebook Connect Integration
Post by: fbforums on March 01, 2010, 05:44:20 PM
oh...

Good mod! The name looks kinda cheesy on Facebook when I see the post where it says  "new topic posted by mike_84633263746". Any way of fixing that so it shows the whole name instead of this code?

Plus how can we get the action to post on Facebook when someone creates a new topic?
Title: Re: SA Facebook Connect Integration
Post by: massdog.com on March 01, 2010, 07:17:13 PM
i hope it will support version 1.1
Title: Re: SA Facebook Connect Integration
Post by: SA™ on March 02, 2010, 11:17:23 AM
@fbforums like i said in previous post name are like that for a reason if it justused the users name youde have problem with duplicate names

@massdog.com you have to wait and see thats all im saying for now :P just whatch this space :)
Title: Re: SA Facebook Connect Integration
Post by: fbforums on March 02, 2010, 06:18:54 PM
Iok well how about this part.

How can we get the action to post on Facebook when someone creates a new topic?

The action popus op when you login, can we get the post box to popup when someone makes a new post and even a reply?
Title: Re: SA Facebook Connect Integration
Post by: SA™ on March 02, 2010, 09:12:23 PM
ill see about this for a feature request :)
Title: Re: SA Facebook Connect Integration
Post by: Filipina on March 02, 2010, 11:07:51 PM
Just an update the bouncing proxy email issue seems to be resolved. I have not received a returned email for many days :)
Title: Re: SA Facebook Connect Integration
Post by: TheListener on March 03, 2010, 02:13:11 AM
How do I finish installing this mod?

I have temporarily uninstalled the mod for now.

Had an error when I clicked the facebook button.

Also can the facebook link be moved?
Title: Re: SA Facebook Connect Integration
Post by: SA™ on March 03, 2010, 12:17:49 PM
fisrt you need a facebook account if you have one already go here

http://www.facebook.com/developers/

and set up a facebook application

on the connect tab fill in your Connect URL

on the advacene tab fille in your Email Domain

my connect url and email domain are http://www.sa-mods.info so your will be your site

once youve set up the app click on basic and copy the api key and secret then in facebook admin enter these keys in the correct places
Title: Re: SA Facebook Connect Integration
Post by: KensonPlays on March 03, 2010, 02:17:14 PM
And that is all to it!
Title: Re: SA Facebook Connect Integration
Post by: TheListener on March 03, 2010, 02:18:42 PM
Quote from: Kcmartz on March 03, 2010, 02:17:14 PM
And that is all to it!

Is it?
Title: Re: SA Facebook Connect Integration
Post by: SA™ on March 03, 2010, 02:20:21 PM
pretty much yeah all the other options in the app is optinal and some not even needed for facebook connect
Title: Re: SA Facebook Connect Integration
Post by: TheListener on March 03, 2010, 02:22:14 PM
Fatal error: Class 'Facebook' not found in /home/xxxx/public_html/Sources/FB_Connect/FB_Connect_Subs.php on line 314
Title: Re: SA Facebook Connect Integration
Post by: SA™ on March 03, 2010, 02:29:04 PM
did you enter you api and secrett key in the correct box? does it give error in errorlogs?
Title: Re: SA Facebook Connect Integration
Post by: TheListener on March 03, 2010, 02:32:22 PM
This is the error line I get in the error log.

include_once() [<a href='function.include'>function.include</a>]: Failed opening '/home/xxxx/public_html/fbc/facebook/php/facebook.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php')
Apply Filter: Only show the errors from this file
File: /home/xxxx/public_html/Sources/FB_Connect/FB_Connect_Subs.php
Line: 311
Title: Re: SA Facebook Connect Integration
Post by: SA™ on March 04, 2010, 11:58:24 AM
in the root of your forum there should be a folder called fbc is it there with all the files inside ? yo probaly need to reupload them
Title: Re: SA Facebook Connect Integration
Post by: Afro on March 05, 2010, 07:13:47 AM
Hey sleepy, i am getting this error on my log...

Apply Filter: Only show the error messages of this URL
http://www.afrowall.com/index.php?action=facebook;sa=connect
Apply Filter: Only show the errors with the same message
2: include_once(/home/afrowa5/public_html/Sources/LoginOut.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory
Apply Filter: Only show the errors from this file
File: /home/xxxxxxxx/public_html/Sources/FB_Connect/FB_Connect.php
Line: 513


this folder is chmoded to 0755.

what seems to cause that ?
Title: Re: SA Facebook Connect Integration
Post by: SA™ on March 05, 2010, 12:50:12 PM
update your version your using rc1-2 rc2-1 is the latest version
Title: Re: SA Facebook Connect Integration
Post by: Legend Zero on March 05, 2010, 01:01:09 PM
Table 'lzforum.smf_{db_prefix}members' doesn't exist
File: /hermes/bosweb/web137/b1378/sl.legendzero/public_html/forum/Packages/temp/installScript.php
Line: 32

Have a bit of a problem. DB's are all good, but for some reason the script is treating the {db_prefix} as string instead of a variable.
Title: Re: SA Facebook Connect Integration
Post by: SA™ on March 05, 2010, 01:19:51 PM
humm thats weird can you post up the installscript.php please?
Title: Re: SA Facebook Connect Integration
Post by: Afro on March 05, 2010, 06:16:57 PM
Quote from: Sleepy Arcade on March 05, 2010, 12:50:12 PM
update your version your using rc1-2 rc2-1 is the latest version

Ok cool
Title: Re: SA Facebook Connect Integration
Post by: lolicute on March 05, 2010, 10:18:19 PM
in the future, will there be some for 1.1.11?
Title: Re: SA Facebook Connect Integration
Post by: doughboy99 on March 06, 2010, 06:26:33 AM
Hi

Is there anyway to use this mod to show forum topics in a Facebook group rather than an individual Facebook account?
Title: BUG FaceBook Connect and SimplePortal 2.3.1 themes.... BUG here
Post by: fastblur on March 06, 2010, 08:27:40 AM
if you install facebook connect and new themes for smf 2.0 rc2 themes it will look like this and more error log over 100+ error log

need help fix this bug thanks.


(http://i47.tinypic.com/156pytc.png)

(http://i45.tinypic.com/rj4b9z.png)
Title: Re: SA Facebook Connect Integration
Post by: Afro on March 06, 2010, 08:36:02 AM
^^ did you edit the indextemplate.php and displaytemplate.php files of that theme ?
Title: Re: SA Facebook Connect Integration
Post by: fastblur on March 06, 2010, 08:56:13 AM
no sir i did not edit anything ill just install a mod package  :-\
Title: Re: SA Facebook Connect Integration
Post by: SA™ on March 06, 2010, 12:15:37 PM
in PortalBlocks.php

find and remove

show_facebook();
Title: Re: SA Facebook Connect Integration
Post by: fastblur on March 06, 2010, 12:58:41 PM
where i can i find it sir
Title: Re: SA Facebook Connect Integration
Post by: erorcun on March 06, 2010, 01:25:33 PM
Yes! I have converted.

Demo: www.oyunfrag.com

Sorry for my english
Title: Re: SA Facebook Connect Integration
Post by: SA™ on March 06, 2010, 01:37:01 PM
@fastblur inn sources directory

@erorcun wow you converted it to smf1? do you mind sharing
Title: Re: SA Facebook Connect Integration
Post by: lolicute on March 06, 2010, 02:22:49 PM
Quote from: erorcun on March 06, 2010, 01:25:33 PM
Yes! I have converted.

Demo: www.oyunfrag.com

Sorry for my english

Sharing dude! ;)
Title: Re: SA Facebook Connect Integration
Post by: Leemy on March 06, 2010, 07:01:41 PM
I am receiving this error when i try to connect my account
Quote
Fatal error: Class 'Facebook' not found in [forum root]/Sources/FB_Connect/FB_Connect_Subs.php on line 314

I do have the fbc folder under my forum root as well as the sources/fb_connect folder


i have entered my api key and secret.


i have also updated the email domain as it was erroring based on that lacking before.


Please advise thanks
Title: Re: SA Facebook Connect Integration
Post by: Norbert on March 07, 2010, 06:54:48 AM
I get this error message at the login.

QuoteParse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /var/www/web46/html/forum/fbc/facebook/php/facebook.php  on line 38
Title: Re: SA Facebook Connect Integration
Post by: TravisM661 on March 07, 2010, 08:15:26 AM
Sorry,I`m dumb. How do I create this? I have created an application,but now I`m stuck!
Title: Re: SA Facebook Connect Integration
Post by: erorcun on March 07, 2010, 11:35:42 AM
I sent the converted version to mod author.

If he agrees, SMF 1.1.X version will be published.


Sorry for my english
Title: Re: SA Facebook Connect Integration
Post by: Norbert on March 07, 2010, 11:37:04 AM
Quote from: Norbert on March 07, 2010, 06:54:48 AM
I get this error message at the login.

QuoteParse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /var/www/web46/html/forum/fbc/facebook/php/facebook.php  on line 38

I have seen it. It works only with PHP 5.
Title: Re: SA Facebook Connect Integration
Post by: SA™ on March 07, 2010, 11:50:11 AM
@Leemy  you need to set permission for the fbc directory

@erorcun thanks man :)

@Norbert yes php5 only ask your hoat if they can update php for you they should be able to
Title: Re: SA Facebook Connect Integration
Post by: fastblur on March 07, 2010, 02:51:56 PM
to Sleepy Arcade

I already remove show_facebook();

still to wide like my screenshot yesterday.

my version of my SMF 2.0 RC2 and simpleportal version is the latest.

thanks for your help and need more help to fix this :D
Title: Re: SA Facebook Connect Integration
Post by: zzzronzzz on March 07, 2010, 03:55:24 PM
hello .. how can i change the fbshare button on the right side of the topics with fbshare button with counter ?
Title: Re: SA Facebook Connect Integration
Post by: Leemy on March 08, 2010, 12:04:16 AM
@SleepyArcade -- Permissions are at 777 and still not working. Please advise thanks.
Title: Re: SA Facebook Connect Integration
Post by: Norbert on March 08, 2010, 02:44:33 AM
Quote from: Norbert on March 07, 2010, 11:37:04 AM
Quote from: Norbert on March 07, 2010, 06:54:48 AM
I get this error message at the login.

QuoteParse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /var/www/web46/html/forum/fbc/facebook/php/facebook.php  on line 38

I have seen it. It works only with PHP 5.

It works fine for me now. Thx, Sleepy.
Title: Re: SA Facebook Connect Integration
Post by: NukeGaming on March 08, 2010, 04:18:20 AM
Guys i want to ask a question.

How can i supose to install this and connect to facebook can anyone explain?

I did try add a new aplication and add url to there on facebook of my website but now what is i must do next can anyione explain or tell me.

i will install  mod today and if for some reason this not work i try give details to some one help me out to this be workable on my website if possible.
Title: Re: SA Facebook Connect Integration
Post by: SA™ on March 08, 2010, 10:41:43 AM
@fastblur can i see you portalblocks.php please

@zzzronzzz next versin i will chnage it :)

@leemy try 755 not 777

@nuke gaming the insturction to set up are on the mods page in the downloads
Title: Re: SA Facebook Connect Integration
Post by: Filipina on March 08, 2010, 11:14:37 AM
I wanted to touch base one more time since I have removed this MOD. The MOD is functioning fine and Sleepy has done a great job with it. That is why it was disappointing to have to remove it. However, some might end up with the same experience as me so I will pass along this information.

The problem is with facebook applications. I was getting dozens of sign ups a day using facebook connect. Most signing up through facebook connect elect not to share their email address. So you end up with their proxy email, and this is where the problems begin.

Most of the email sent through this proxy were being bounced back to my server as undeliverable. I double checked to make sure I had all the correct information in facebook applications settings and confirmed it is correct. For about a week I actually though the problem was resolving itself because the returned email seemed to stop.  However, over the past few days I received another 400 returned IM and email notifications which had been stuck in no where land before returning to my server. All of them were facebook connect sign ups using proxy email.

This explains why most of the members signing up through this service never come back. They never get any welcome emails or IM notifications and simply forget about my site.  Facebook is aware of the email delivery problem because webmasters using this application have been complaining about it for a long time. So what I ended up with was a lot of "disconnected" members using facebook connect.
Title: Re: SA Facebook Connect Integration
Post by: SA™ on March 08, 2010, 11:24:51 AM
this is not the mod itself it is facebook i have no control over that im sry it come to uninstaling this but i am sure that facebook will sort it one day [hopfully soon]  8) infact considering how popular facebook connect has come m suprised they havent fixed it already
Title: Re: SA Facebook Connect Integration
Post by: KensonPlays on March 08, 2010, 11:31:51 AM
I haven't gotten this problem yet (I had like one reg. tho)
Title: Re: SA Facebook Connect Integration
Post by: Leemy on March 08, 2010, 11:36:50 AM
@SleepyArcade

Thanks. I had to set the fbc and the FB_Connect files to 755 and it doesnt give me the error

BUT It just stalls with teh facebook popup "Request for Special Permissions"


PS - when i finally click the "X" to close, it gives me the same class error :(
Title: Re: SA Facebook Connect Integration
Post by: Filipina on March 08, 2010, 11:54:47 AM
Understood sleepy and that is why i noted it is not your problem or the MOD. Until facebook fixes the problem is just creates a real mess for me with all these members I cannot contact, and don't receive any notifications. The when all my members start sending them messages they all get returned as well. Hopefuly they will one day fix this problem because if your site is busy having all that returned mail is a serious problem. thanks :)
Title: Re: SA Facebook Connect Integration
Post by: SA™ on March 08, 2010, 12:07:33 PM
yes i hope they sort it soon i can see how annoying it is now lol

@leemy directorys should be 755 and files should be 644

eg
fbc directory = 755
facebook directory = 755
php directory = 755
fbconnect.js = 644
fbconnect_share.js = 644
xd_receiver.html = 644

and so on hope you get the idea
Title: Re: SA Facebook Connect Integration
Post by: Leemy on March 08, 2010, 05:09:52 PM
@SA

Folders (fbc, fb_connect) at 755, files at 644!

It doesnt hang, now its back to immediate error!
Quote
Fatal error: Class 'Facebook' not found in /home/bhangr5/public_html/discuss/Sources/FB_Connect/FB_Connect_Subs.php on line 314

So sorry to bug you with this, but I appreciate your help.


Which php directory are you referring to?
Title: Re: SA Facebook Connect Integration
Post by: SA™ on March 08, 2010, 09:47:22 PM
the php directory in fbc/facebook

sa fb connect 0.1 rc2-2 realsed

small update for rc3
minor bug fixes
Title: Re: SA Facebook Connect Integration
Post by: coolfx350 on March 09, 2010, 02:46:14 PM
any plans to make it for 1.1.11?  they tend to be more popular version of SMF?
Title: Re: SA Facebook Connect Integration
Post by: Leemy on March 09, 2010, 02:52:59 PM
I dont have any subfolders under fbc.
Title: Re: SA Facebook Connect Integration
Post by: SA™ on March 10, 2010, 12:22:16 PM
hmm it sound like it didnt install properly try uploading the contnse of fbc folder to fbc directory on your server
Title: Re: SA Facebook Connect Integration
Post by: Robin1989 on March 10, 2010, 01:53:50 PM
hi i just installed it and i have added the app id, app secret and api key. but whenever i try to link my account i get the following error


Fatal error: Call to undefined function iconv() in /home/acidmods/public_html/forum2/Sources/FB_Connect/FB_Connect_Subs.php on line 8


Title: Re: SA Facebook Connect Integration
Post by: SA™ on March 10, 2010, 01:56:57 PM
you need php5 to use this mod
Title: Re: SA Facebook Connect Integration
Post by: Robin1989 on March 10, 2010, 02:02:45 PM
im using PHP Version: 5.2.10
Title: Re: SA Facebook Connect Integration
Post by: SA™ on March 10, 2010, 02:53:02 PM
hmm i would ask my host about it then
Title: Re: SA Facebook Connect Integration
Post by: Robin1989 on March 10, 2010, 03:08:29 PM
why is it an error with the way php is compiled or could it be to do with how i have set up the facebook application
Title: Re: SA Facebook Connect Integration
Post by: SA™ on March 11, 2010, 02:17:26 PM
that funtion that causes the error is a php function not facebook so your app is ok ask your host if iconv() is installed
Title: Re: SA Facebook Connect Integration
Post by: kosaic on March 11, 2010, 02:46:42 PM
Is there a full demo of this running somewhere, in English ?

I get the concept, but having a hard time visualizing what the mod does in the end.

Thanks,
K
Title: Re: SA Facebook Connect Integration
Post by: SA™ on March 11, 2010, 03:40:09 PM
www.sa-mods.info
Title: Re: SA Facebook Connect Integration
Post by: Robin1989 on March 11, 2010, 04:21:22 PM
thanks sleepy i noticed that it wasnt installed when i whent to updated apache and php from whm. got it working now and its a great mod sleepy thanks for this
Title: Re: SA Facebook Connect Integration
Post by: IsraelSKA on March 11, 2010, 05:00:46 PM
hi!

I installed FBC in my SMF forum (RC3) but i can't connect...
I try to connect using "Connect with Facebook" button and nothing happened..
No errors, no blank pages..  :/
Title: Re: SA Facebook Connect Integration
Post by: Robin1989 on March 11, 2010, 05:52:12 PM
did you set up an application for your site on facebook and past the api keys it gave you into the SA Facebook Connect Integration settings in the admin panel
Title: Re: SA Facebook Connect Integration
Post by: IsraelSKA on March 11, 2010, 06:55:05 PM
sure, api key, secret key and application ID in my SMF forum...
in addition I set connect URL (http://myDomain.com/) and Base Domain (myDomain.com) on facebook
Title: Re: SA Facebook Connect Integration
Post by: Robin1989 on March 11, 2010, 07:00:24 PM
did you also configure your email domain in your app aswell
Title: Re: SA Facebook Connect Integration
Post by: IsraelSKA on March 11, 2010, 07:13:22 PM
yep, i did..


Advanced Settings/Email Domain = "MyDomain.com" <-- right?
Title: Re: SA Facebook Connect Integration
Post by: Leemy on March 11, 2010, 10:02:17 PM
@SA thanks for being so responsive will all the feedback, it makes it a lot easier.

You were right something was wrong with the installation; I had to recopy /fbc/facebook/ and its subfolders.

A few points for feedback

- The "Connect to facebook" is so out of place as the highest element on the forum. it gives it too much importance.  IMHO it should be amongst the menu bar (Home, Search, Members, Logout, etc). 

- Once you log in, the navigation is very rudimentary between those links.. You can't really escape w/o clicking "back" which I dont think should be the case.

- What does "Post comment to my Facebook profile" mean... if i uncheck it, doesnt it still post to my wall?

- I had a Page before, now I have an App. Do you know if theres a way to merge these two identities?

- It seems common to have a link "update avatar" then a separate page w/ a button "update avatar" then a confirm "update avatar". Too much.

- Sometimes it seems to get stuck on "request special permissions"

- The first time i tried to update my status it told me database down.. not sure whose database.

All in all, this is an awesome app! I'm very excited to see it mature and grow.  Well done with this and good luck with its continued development!
Title: Re: SA Facebook Connect Integration
Post by: Leemy on March 11, 2010, 10:18:14 PM
@SA

As another user commented-- it's a problem when users register via facebook
- Problems emailing them due to the fb proxy
- their username is a long string (probably their fb ID #?), and not equal to their display name. So if they forget their password, they can only log in via facebook i guess.

Can you disable the Register-via-Facebook option? I would like the Connect option to eitehr
- log you into SMF if you're logged into FB and already have an SMF account
- take you to the proper pages if youre already logged in.

No registering! Can you make it happen or point me to the code I should encapsulate with a nice IF :)?
Title: Re: SA Facebook Connect Integration
Post by: Wesis69 on March 11, 2010, 10:23:56 PM
I have this mod installed by a service and no its a great mod.I set up application on facebook but running into troubles but think it is a facebook problem with my application.I'm willing to pay sombody to review my facebook and forum and get it to work properly.Thank you in advance.(must be a reputable member here(no scammers).
Title: Re: SA Facebook Connect Integration
Post by: IsraelSKA on March 11, 2010, 11:15:21 PM
I resolved my problem editing manually the index.template.php  file..
in addition, I got this error

Fatal error: Call to undefined function iconv()

Then I edit Sources/FB_Connect/FB_Connect_Subs.php


Replace

$replace = iconv("UTF-8","ISO-8859-9",$replace);


With

$replace = $replace;


Regards!
Title: Re: SA Facebook Connect Integration
Post by: perplexed on March 12, 2010, 05:09:07 AM
this looks great sleepy, well done.

Title: Re: SA Facebook Connect Integration
Post by: Malke on March 12, 2010, 08:11:25 AM
Thanks for a great mod!

I have a few questions:

Is it ok to replace the facebook connect button or does Facebook require that that specific button is used?
Is it possible to remove the options to sync private messages and stuff like that? I only want people to be able to login using Facebook.

I found a small bug: admin images seems to be pointing to default/images/admin/ but they are located in default/images/

Also, when I tested a signup there was no avatar displaying. I plan on syncing it with the mod that allows you to choose avatar at signup so it's not a problem for me.

Thanks again for a great mod.
Title: Re: SA Facebook Connect Integration
Post by: KensonPlays on March 12, 2010, 09:18:23 AM
Quote from: kosaic on March 11, 2010, 02:46:42 PM
Is there a full demo of this running somewhere, in English ?

I get the concept, but having a hard time visualizing what the mod does in the end.

Thanks,
K

http://www.kcmartz.com, I use it as well!
Title: Re: SA Facebook Connect Integration
Post by: SA™ on March 12, 2010, 02:36:23 PM
@ IsraelSKA removing that will not convert forign charactors

@ leemy Post comment to my Facebook profile mean if chacked comment will also goto your profile
no you cant meg app with groups sry
permissions get stuck if facebook goes down i have no control over that
The first time i tried to update my status it told me database down.. not sure whose database.
that will be facebook againi  have no control over that
the other thing your pointed out i will sort in next relase

@ Malke you can chnage the image if you wanted
the avators thing is a bug again i will fix it soon
Title: Re: SA Facebook Connect Integration
Post by: IsraelSKA on March 12, 2010, 03:14:13 PM
@Sleepy I know, but my host (digitalproserver.com) really suck.. I can't use PHP5 functions cuz is not installed and my provider don't want to install..
This mod is only for PHP5 ?
Title: Re: SA Facebook Connect Integration
Post by: KensonPlays on March 12, 2010, 03:16:26 PM
Yes, I believe so...
Title: Re: SA Facebook Connect Integration
Post by: SA™ on March 12, 2010, 04:15:27 PM
yes php5 only
Title: Re: SA Facebook Connect Integration
Post by: IsraelSKA on March 12, 2010, 04:38:17 PM
oh, I see.. thanks! :)
Title: Re: SA Facebook Connect Integration
Post by: JBlaze on March 12, 2010, 04:42:11 PM
Just a suggestion, but instead of using header() redirects, use SMF's built in redirect functon redirectexit('?action=whatever').
Title: Re: SA Facebook Connect Integration
Post by: SA™ on March 12, 2010, 05:08:27 PM
thx jblaze i have made that change in the next version
Title: Re: SA Facebook Connect Integration
Post by: Leemy on March 12, 2010, 05:28:06 PM
ETA on next release to simplemachines.org Mod site? Thanks.
Title: Re: SA Facebook Connect Integration
Post by: SA™ on March 12, 2010, 05:41:02 PM
when it is ready
Title: Re: SA Facebook Connect Integration
Post by: Leemy on March 13, 2010, 09:55:04 AM
lol fair enough... thanks again for the mod, SA, it's very nice
Title: Re: SA Facebook Connect Integration
Post by: winteum on March 15, 2010, 03:27:02 PM
Can we select to have to aprove the user after the Facebook connect?
Title: Re: SA Facebook Connect Integration
Post by: pizad_sura on March 16, 2010, 11:24:56 AM
i manual mod it

but when i run installScript.php

it appear blank page

what should i do

(sorry for my enlish)


see it

http://siam.ms
Title: Re: SA Facebook Connect Integration
Post by: SA™ on March 16, 2010, 09:57:26 PM
it wont show nothing it only adfd updates the database
Title: Re: SA Facebook Connect Integration
Post by: lolicute on March 17, 2010, 08:45:08 PM
for when it will be for the version 1.1.x?
Title: Re: SA Facebook Connect Integration
Post by: SA™ on March 18, 2010, 02:35:07 PM
there is a version for smf1 here that someone ported i havent had time to tes it myself tho

http://www.sa-mods.info/index.php?topic=368.0
Title: Re: SA Facebook Connect Integration
Post by: Pяηѕѕ LF on March 19, 2010, 09:02:05 AM
l try to install the mod as it's explain l make all when l install l have any error..  but l have this message when l want to login:

"Request for Special Permissions

This application is not set up to request your email address."

and afther when l closed it l have this one:

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /homez.40/site/www/fbc/facebook/php/facebook.php  on line 38

in a new SMF RC3 forum.

where l make an error ?

///

sorry, just a read the same error in another topic  :-[
Title: Re: SA Facebook Connect Integration
Post by: SA™ on March 19, 2010, 01:11:40 PM
@Pяєηѕєѕ LF did you sort it?

sa fb connect 0.1 RC3 realsed
added password option upon registering
now display name chosen when registering is also login name
fixed avatar showing blank when avs mod not installed
now uses SMF's built in redirect functon instead of header redirects
moved facebook connect option from avatar area to the menu
now members can disable the post to wall promp when logging in
now you cant invite freinds who allrwady use the application
Title: Re: SA Facebook Connect Integration
Post by: Afro on March 19, 2010, 01:21:06 PM
^^ weldone SA.
Title: Re: SA Facebook Connect Integration
Post by: SA™ on March 19, 2010, 02:26:36 PM
for those who want an smf1 version pleae see here

http://www.sa-mods.info/index.php?topic=427.0#new
Title: Re: SA Facebook Connect Integration
Post by: Afro on March 19, 2010, 04:44:31 PM
yu made it for 1.1 version, cool.
Title: Re: SA Facebook Connect Integration
Post by: zzzronzzz on March 19, 2010, 10:38:25 PM
hi .. i asked how can i make the share button to button_count

change that to box_count instead .. they hardly notice that fshare button inside topics .and so i can see how many times that certain topic has been shared

according to Case 1: Using Share to Post a Link to a Profile (http://wiki.developers.facebook.com/index.php/Connect/Using_Facebook_Share) that the share button should be prominently placed .. using the default theme, users will easily bypass that share button specially if some webmasters use a blue colored theme .. would it be possible to put it inside the actual first post ( under the Quote , Modify , Split buttons)

Also the fshare button doesnt seem to show for guest .. it would be great if it does..

you said
Quote from: Sleepy Arcade on March 08, 2010, 10:41:43 AM

@zzzronzzz next versin i will chnage it :)


i cant see anything in the new settings .. or do i have to change something in one of the files?
Title: Re: SA Facebook Connect Integration
Post by: KensonPlays on March 21, 2010, 02:50:26 AM
installed again, error:

Fatal error: Cannot redeclare show_facebook() (previously declared in /home/content/******/html/Sources/Load.php(2174) : eval()'d code:363) in /home/content/******/html/Sources/Load.php(2174) : eval()'d code on line 393

how to fix?
Title: Re: SA Facebook Connect Integration
Post by: KensonPlays on March 21, 2010, 01:01:55 PM
My forum/site is still closed in maintenence "2" mode until I can fix this. Plz?
Title: Re: SA Facebook Connect Integration
Post by: ealexander on March 21, 2010, 02:46:53 PM
hi friends I have a problem with this mod, I just do not show the part where you must add a comment, as you can see in the image enclosed in red
(http://i41.tinypic.com/dn2ib9.jpg)
A box should appear so you can enter the comment as you can see in this picture
(http://i50.tinypic.com/2iu6f5f.jpg)
but nothing comes out, not that it should be thanks for help
PD:
SMF 2RC2
the mod installed SA_FBConnect_rc3_rev102
Greetings
Title: Re: SA Facebook Connect Integration
Post by: erorcun on March 21, 2010, 04:10:29 PM
Quote from: Kcmartz on March 21, 2010, 02:50:26 AM
installed again, error:

Fatal error: Cannot redeclare show_facebook() (previously declared in /home/content/******/html/Sources/Load.php(2174) : eval()'d code:363) in /home/content/******/html/Sources/Load.php(2174) : eval()'d code on line 393

how to fix?

You must add show_facebook function to your theme.

Quote from: Kcmartz on March 21, 2010, 01:01:55 PM
My forum/site is still closed in maintenence "2" mode until I can fix this. Plz?

Open settings.php file and find Maintenance line.
Title: Re: SA Facebook Connect Integration
Post by: SA™ on March 21, 2010, 04:32:51 PM
sry for the long reply guys went away for my bday for a few days

@zzzronzzz yes i was going to add this but the thing with the box count is i coudent figar out how to keep the count eg clikc share count goes up refresh or go away and come back and it will be on 0 again you need to set up permission for guest to be able to share adfmin/permissions

@Kcmartz pls post you index.template.php show_facebook() is declared twice

@ealexander that is a facebook bug not this mod i have no control over what facebook does or doesnt do
Title: Re: SA Facebook Connect Integration
Post by: zzzronzzz on March 21, 2010, 06:24:58 PM
thanks for the reply sleep arcade .. yeah i think youre right about the counts not "counting" .. because i put another fshare button and i had ten different members click on it but it didnt change counts ..
Title: Re: SA Facebook Connect Integration
Post by: KensonPlays on March 21, 2010, 10:59:13 PM
index.template.php as requested!
Title: Re: SA Facebook Connect Integration
Post by: ealexander on March 21, 2010, 11:04:54 PM
hi Sleepy Arcade I do not think facebook is error because the part where you add a comment appears for a few seconds and then disappears, the previous version of the mod also install it and showed me to add comments parrte thus can conclude that that is a mod error, appearing to add the comments for a few seconds and then disappear you may not have a good connection with the Facebook API, I hope I can help solve this problem thanks in advance
Greetings
Title: Re: SA Facebook Connect Integration
Post by: Legend Zero on March 21, 2010, 11:07:51 PM
To be blunt, this does not seem to work anymore. Facebook must have changed their integration methods because this will not work after installation
Title: Re: SA Facebook Connect Integration
Post by: KensonPlays on March 21, 2010, 11:11:34 PM
@legend, I'd hope not!!
Title: Re: SA Facebook Connect Integration
Post by: ~DS~ on March 21, 2010, 11:19:41 PM
Quote from: Legend Zero on March 21, 2010, 11:07:51 PM
To be blunt, this does not seem to work anymore. Facebook must have changed their integration methods because this will not work after installation
What doesn't work? It works on my end very well.
Title: Re: SA Facebook Connect Integration
Post by: KensonPlays on March 21, 2010, 11:26:00 PM
Here is area where facebook is declared:


echo'<script src="'.$boardurl.'/fbc/fbconnect.js" type="text/javascript"></script>
<script type="text/javascript">
var mod_settings_fb_app_pageid = "',$modSettings['fb_app_pageid'],'";
var mod_settings_fb_app_stream = "',$modSettings['fb_app_stream'],'";
var mod_settings_fb_app_connection = "',$modSettings['fb_app_connection'],'";
var mod_settings_fb_app_width = "',$modSettings['fb_app_width'],'";
var mod_settings_fb_com_xid = "',$modSettings['fb_app_comments_boxid'],'";
var mod_settings_fb_com_show = "',$modSettings['fb_admin_commets_post'],'";
</script>';
// Output any remaining HTML headers. (from mods, maybe?)
echo $context['html_headers'];

echo '

<script type="text/javascript">
var wot_rating_options = {
selector: ".inner a[href], .post a[href]"
};
</script>
<script type="text/javascript"
src="http://api.mywot.com/widgets/ratings.js"></script>
</head>
<body>';
echo'<script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php" type="text/javascript"></script>';
}


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>';
}
function template_body_above()
{
global $context, $settings, $options, $scripturl, $txt, $modSettings;

echo !empty($settings['forum_width']) ? '
<div id="wrapper" style="width: ' . $settings['forum_width'] . '">' : '', '
<div id="header"><div class="frame">
<div id="top_section">
<h1 class="forumtitle">
<a href="', $scripturl, '">', empty($context['header_logo_url_html_safe']) ? $context['forum_name'] : '<img src="' . $context['header_logo_url_html_safe'] . '" alt="' . $context['forum_name'] . '" />', '</a>
</h1>';

// the upshrink image, right-floated
echo '
<img id="upshrink" src="', $settings['images_url'], '/upshrink.png" alt="*" title="', $txt['upshrink_description'], '" style="display: none;" />';
echo '
', empty($settings['site_slogan']) ? '<img id="smflogo" src="' . $settings['images_url'] . '/smflogo.png" alt="Simple Machines Forum" title="Simple Machines Forum" />' : '<div id="siteslogan" class="align_right">' . $settings['site_slogan'] . '</div>', '
</div>
<div id="upper_section" class="middletext"', empty($options['collapse_header']) ? '' : ' style="display: none;"', '>
<div class="user">';

// If the user is logged in, display stuff like their name, new messages, etc.
if ($context['user']['is_logged'])
{

show_facebook();
Title: Re: SA Facebook Connect Integration
Post by: ealexander on March 21, 2010, 11:53:13 PM
in my forum but also worked in the previous version of the mod so I say that is the error mod
Greetings
Title: Re: SA Facebook Connect Integration
Post by: Legend Zero on March 21, 2010, 11:54:59 PM
I'm thinking something went wrong with the latest version. I went to FB developers, followed your tutorial WORD FOR WORD, and got no where. I dunno, maybe I'm just off my modding game lately...
Title: Re: SA Facebook Connect Integration
Post by: KensonPlays on March 21, 2010, 11:55:49 PM
I have to log off now, you can email it to me... [email protected], ill check tom mornin/
Title: Re: SA Facebook Connect Integration
Post by: ealexander on March 22, 2010, 12:03:13 AM
hi Dismal Shadow just testing the mod you have installed on your forum 2Rc3 and works great, maybe the mod is only for the version I have the version 2RC3 and 2RC2 why not I see the window to add comments, not so Once someone has the 2RC2 and have installed the mod without problems that comment to know, thanks in advance
Greetings
Title: Re: SA Facebook Connect Integration
Post by: Legend Zero on March 22, 2010, 12:04:35 AM
I'm RC 1.2, might be my issue.
Title: Re: SA Facebook Connect Integration
Post by: ~DS~ on March 22, 2010, 12:08:29 AM
Guys, the mod only works on RC3.


For 1.1.11 go to :
http://www.sa-mods.info/index.php?topic=427.0
Title: Re: SA Facebook Connect Integration
Post by: ealexander on March 22, 2010, 12:12:44 AM
hi Dismal Shadow with reason, but it should make changes to my version as I use the 2RC2 and there is only one version for this mod as you say for 2RC3 that modifco files to run on the 2RC2, thanks for your help
Greetings
Title: Re: SA Facebook Connect Integration
Post by: Legend Zero on March 22, 2010, 12:13:43 AM
Quote from: Dismal Shadow on March 22, 2010, 12:08:29 AM
Guys, the mod only works on RC3.

Now THERE'S your problem, right there. I must've misread the compatibility, and was thrown off by it attempting to install maybe the instillation should be modded so it wont even attempt on non-compatible versions.
Title: Re: SA Facebook Connect Integration
Post by: ~DS~ on March 22, 2010, 12:15:56 AM
Quote from: Legend Zero on March 22, 2010, 12:13:43 AM
Quote from: Dismal Shadow on March 22, 2010, 12:08:29 AM
Guys, the mod only works on RC3.

Now THERE'S your problem, right there. I must've misread the compatibility, and was thrown off by it attempting to install maybe the instillation should be modded so it wont even attempt on non-compatible versions.
Now how is that MY problem? It should be yours since you did not read the compatibility and attempt to install on another version?  ::)
Title: Re: SA Facebook Connect Integration
Post by: ealexander on March 22, 2010, 12:16:14 AM
I probe with the parser of the mod and told me that supports version 2RC2 if they try again
Greetings
Title: Re: SA Facebook Connect Integration
Post by: ealexander on March 22, 2010, 12:20:15 AM
I correctly install the parser besides guide me to install it if not compatible with my version must have a separate amendment that should be doing to support my version, I know that change, thanks
Greetings
Title: Re: SA Facebook Connect Integration
Post by: KensonPlays on March 22, 2010, 09:10:43 AM
?? Sleepy Arcade ??
Title: Re: SA Facebook Connect Integration
Post by: ealexander on March 22, 2010, 01:42:52 PM
helpme???
Title: Re: SA Facebook Connect Integration
Post by: ~DS~ on March 22, 2010, 02:12:20 PM
Please allow 24 hours for reply. We have life too so does the author. Remember we are all volunteers here.
Title: Re: SA Facebook Connect Integration
Post by: SA™ on March 22, 2010, 03:26:28 PM
as Dismal Shadow says geez what wrong with you people i have a life and i work 17 hours a day most days so forgive me for not replying sooner but im certaintly not gonna come home from work just to anser your questions sooner please be more pationt

@Kcmartz i dont see nothing wrong with that file?

@ealexander it must be facebook problem cos the comments is one line of code

<fb:comment></fb:comments> and i didnt chnage nothing there so it has tobe facebookl
Title: Re: SA Facebook Connect Integration
Post by: KensonPlays on March 22, 2010, 04:03:40 PM
Ok, then I don't know, but my site is closed until this is fixed :'(
Title: Re: SA Facebook Connect Integration
Post by: ealexander on March 22, 2010, 04:47:28 PM
hi Sleepy Arcade  thanks for good answer about what you say is only one line of code in the comments you are right, you know what makes me doubt is the part where I get the commentary for a few seconds and then it disappears that gives me the idea that the mod is connected with the Facebook API and then loses the connection, also may be the permissions, but not much about it, because you are the creeador the mod, well you derrepente something happens to you on that may be because as the previous comment before versio n of the mod if you add that part apararecia comments can also be 2RC2 my version is not anyone tell me if in the upright 2RC2 this mod, good hope an idea occurs to you
Greetings
Title: Re: SA Facebook Connect Integration
Post by: KensonPlays on March 23, 2010, 10:28:29 AM
First, do you have a facebook account? You need one. Then go to applications in facebook and make a new one with instructions provided by this mod. Then insert the keys made into your admin settings, when installed, and voila!!
Title: Re: SA Facebook Connect Integration
Post by: KensonPlays on March 23, 2010, 01:04:10 PM
Sleepy Arcade: I decided to use the large upgrade for fresh files... (core only, not files like avatars and packages dir's)

Edit, uploaded a large package update and ran repair_settings.php, still same error! (did clear cache, and cookies)
Title: Re: SA Facebook Connect Integration
Post by: SA™ on March 23, 2010, 02:28:37 PM
ok and you reinstalled the mod after you reuploaded the files? if so double check the edits if it isnt installed then make sure there is no code left over from it usaly redeclare means that a function is declared twice in your case it was or shoulda been show facebookwich is in index.template.php but i could only see it once in there yesterday


ealexander
in admin did you chnage tyhe comments box xid at all the default name will not always work with out   xid comments will disserper all the time
Title: Re: SA Facebook Connect Integration
Post by: KensonPlays on March 23, 2010, 02:45:34 PM
No just overwrote and browsed to www.kcmartz.com, error is still there...
Title: Re: SA Facebook Connect Integration
Post by: SA™ on March 23, 2010, 02:46:26 PM
ok well id check the edits for the md then
Title: Re: SA Facebook Connect Integration
Post by: KensonPlays on March 23, 2010, 02:48:07 PM
List of files it edits? I don't have stuff to find them, I will check wen I get home.
Title: Re: SA Facebook Connect Integration
Post by: SA™ on March 23, 2010, 03:10:22 PM
you can gert the edits from the mod page on here
Title: Re: SA Facebook Connect Integration
Post by: KensonPlays on March 23, 2010, 05:02:51 PM
I went through some of them a few days ago (before this happened), and since I overwrit it, shouldn't it be gone?
Title: Re: SA Facebook Connect Integration
Post by: KensonPlays on March 24, 2010, 11:33:30 AM
Ok, went through, only one file I needed to edit out something like "fb_connect();", now it should be as it never existed!

EDIT:
I also went through database and searched for: "facebook" and erased everything but the "messages" (posts, don't want to delete those!)
Title: Re: SA Facebook Connect Integration
Post by: SA™ on March 24, 2010, 04:37:58 PM
so is it all good now?
Title: Re: SA Facebook Connect Integration
Post by: KensonPlays on March 24, 2010, 07:25:58 PM
Nope :(
I wish it was...
Title: Re: SA Facebook Connect Integration
Post by: ealexander on March 24, 2010, 07:40:59 PM
hi Sleepy Arcade thank you for answering , between the administration of the Comments Box Options and in Your Comments Box XID attribute what I have with this change will box_comments value to another value or disables the Enable System Comments facebook, if I do not think that that can make a comment which could explain us in detail since they do not much the domain and use English translator jeje
thanks
Greetings
Title: Re: SA Facebook Connect Integration
Post by: SA™ on March 25, 2010, 02:08:49 PM
ealexander
sry but i dont understand what you are saying ?

Kcmartz
so what is the problem? you site seems ok to me i dont get it youve n unstalled it made sure all the edits are gone yet you say there is still a problem does it occure after you reinstall the mod or what
Title: Re: SA Facebook Connect Integration
Post by: KensonPlays on March 25, 2010, 02:37:12 PM
When I am logged in is when the error gets kicked at me...
Title: Re: SA Facebook Connect Integration
Post by: SA™ on March 25, 2010, 02:38:16 PM
you got a test account there i can use quikly?
Title: Re: SA Facebook Connect Integration
Post by: KensonPlays on March 25, 2010, 02:41:32 PM
yes, pming you info...
Title: Re: SA Facebook Connect Integration
Post by: SA™ on March 25, 2010, 02:52:55 PM
thx
funtion show facebook  is still in one of you files wich should be index.template.php
show_facebook

that is the only file that goes in

did you do manual edits when you installed this mod and is the mod still installed
Title: Re: SA Facebook Connect Integration
Post by: KensonPlays on March 25, 2010, 03:02:43 PM
I believe mod is still considered "installed", but I didn't need to do any manual edits when installed...
Title: Re: SA Facebook Connect Integration
Post by: ealexander on March 25, 2010, 03:07:54 PM
hi Sleepy Arcade, told me to do this:
Quotein admin did you chnage tyhe comments box xid at all the default name will not always work with out   xid comments will disserper all the time
I do not understand what he says, but I'll explain what I have in me to show me ADMINISTRATION
start:
I get my ADMINISTRATION This: Comments Box Options with the following attributes:
Comments facebook Enable System ¿disables it?
Number Comments To Show In comments box, default = 10, ¿what value would go?
Your Comments Box XID, default = box_comments, ¿what value would go?
as you said in a previous post that between the administration and make changes to that, ¿are you meant?, tell me to make changes, thanks
Greetings
Title: Re: SA Facebook Connect Integration
Post by: KensonPlays on March 26, 2010, 01:24:16 AM
I tried loading a fresh load.php and renamed current one to .php~~, and same with index.template.php, didn't work, so I did remove the fresh install files to current ones. That didn't help!
Title: Re: SA Facebook Connect Integration
Post by: KensonPlays on March 26, 2010, 01:24:23 PM
Tryed a fresh install using same database, same error!!! AARRRRGGGHHHHH! I am beginning to hate this mod!

EDIT:
What database fields does this effect? to drop the fields...

EDIT2:
I fixed it finally! (removed all but default themes, and reset it, and ran install.php from a RC3 fresh install)
Title: Re: SA Facebook Connect Integration
Post by: fadmafia on March 29, 2010, 05:13:09 AM
can anyone help me to set up the application in facebook what do i need to enter????????
thanks
Title: Re: SA Facebook Connect Integration
Post by: erorcun on March 29, 2010, 05:17:06 AM
New version for 1.1.x released. You can download in www.sa-mods.info
Title: Re: SA Facebook Connect Integration
Post by: rd on March 29, 2010, 06:28:21 AM
Kcmartz, are you on a windows server?
Title: Re: SA Facebook Connect Integration
Post by: KensonPlays on March 29, 2010, 10:49:26 AM
RD: Nope, switched to linux hosting a year ago... :)
Title: Re: SA Facebook Connect Integration
Post by: SA™ on March 29, 2010, 02:44:30 PM
@fadmafia
- Create an application at facebook, http://www.facebook.com/developers/
- Edit the settings, specially at Connect option, fill Connect URL with your website ie: http://example.com
- Goto admin/sa facebook connect and enter the keys in the correct places
Title: Re: SA Facebook Connect Integration
Post by: SA™ on March 31, 2010, 01:26:56 AM
0.1 final realsed

fixed utf8 chartors not shong correct
fixed conflict with multiquote mod
fixed some email issues
added smf 1 support
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: teofiluscandra on March 31, 2010, 03:53:43 AM
Sir, SA Help me...
I have Problem Installing SA FACEBOOK Connect.
I use 2 RC 3
My Mods:
- SimplePortal
- Facebook Twitter Integration(2by2host)
-and another

I Have Problem in index.template.php ,  sir
Like That
QuoteFind[Select]
<div id="forumposts">
<div class="cat_bar">
<h3 class="catbg">
Add After[Select]
';
if ($context['show_fb_share_button']){
   echo'<script type="text/javascript">
           var mod_settings_fb_share = "',$context['current_topic'],'";
            </script>
        <span id="share"></span>
        <script type="text/javascript">
            Get_share();
            </script>
                <script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>';
}
   echo'

Like That the Report:
14.   Execute Modification   ./Themes/default/Display.template.php   Test failed
   1.   Add After   ./Themes/default/Display.template.php   Test failed

Can You Help me sir ?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ~DS~ on March 31, 2010, 03:56:25 AM
You need to manually edit it in the file.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: teofiluscandra on March 31, 2010, 04:18:45 AM
Quote from: Dismal Shadow on March 31, 2010, 03:56:25 AM
You need to manually edit it in the file.
can you help me ?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ~DS~ on March 31, 2010, 04:21:09 AM
Just search for the code line it's asking and put it in there before/after/replace
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Afro on March 31, 2010, 06:36:57 AM
i see the changes on the final is not much. what are the edits so i can add them manually instead of uninstalling the one i am using.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on March 31, 2010, 02:00:20 PM
if you are using rc3 a simple file overwrite will do the trick
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Afro on March 31, 2010, 05:01:51 PM
How is that ?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on March 31, 2010, 05:06:11 PM
cos from fb connect rc3 to final is just chnages to the soucre and tenplate files
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Afro on March 31, 2010, 05:09:36 PM
So you mean i should download the final zip and overwrite the previous.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on March 31, 2010, 05:44:51 PM
well unzip it and just upload the souces files and template file that is only if you are using fb connect 0.1 rc3 if not then you have to uninstall then reinstall to use the new version
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: lolicute on March 31, 2010, 08:10:34 PM
For 1.1.11:

Error in foro test:

Fatal error: Cannot use string offset as an array in /home/xxxxxxxxxxxx/domains/tabascog.com/public_html/foro/Sources/FB_Connect/FB_Connect_Subs.php  on line 282

:S
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: littenburg on April 01, 2010, 01:02:05 PM
I am constantly getting this error:
You Are not Connected With Facebook!

--------------------------------------------------------------------------------
Integrate forum account with Facebook.

anything i can do about that?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on April 01, 2010, 01:47:35 PM
@DarkCo0oL i am looking into this error i dont know what causes it yet :(

@littenburg your get that somtimes again i am looking into this
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: littenburg on April 01, 2010, 02:48:45 PM
thanx :)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: lolicute on April 01, 2010, 07:26:10 PM
Then the mod final for 1.1.x not doing very well...
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: teofiluscandra on April 01, 2010, 11:27:35 PM
Quote from: Dismal Shadow on March 31, 2010, 04:21:09 AM
Just search for the code line it's asking and put it in there before/after/replace
So i need to What sir ?
I must Change [find] code
to [after] code ?
QuoteFind[Select]
<div id="forumposts">
<div class="cat_bar">
<h3 class="catbg">
Add After[Select]
';
if ($context['show_fb_share_button']){
   echo'<script type="text/javascript">
           var mod_settings_fb_share = "',$context['current_topic'],'";
            </script>
        <span id="share"></span>
        <script type="text/javascript">
            Get_share();
            </script>
                <script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>';
}
   echo'
so i change [find] code and replace it [after] code ? and then what should i do sir,
i'm sorry because i newbie
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ~DS~ on April 01, 2010, 11:33:00 PM
Noooo, don't put the "Find[Select]""Add After[Select]"
Just the codes that was shown.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: erorcun on April 02, 2010, 12:20:44 PM
Quote from: DarkCo0oL on March 31, 2010, 08:10:34 PM
For 1.1.11:

Error in foro test:

Fatal error: Cannot use string offset as an array in /home/xxxxxxxxxxxx/domains/tabascog.com/public_html/foro/Sources/FB_Connect/FB_Connect_Subs.php  on line 282

:S

I updated 1.1.x version.

Can you try now?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: lolicute on April 03, 2010, 12:11:26 PM
Quote from: erorcun on April 02, 2010, 12:20:44 PM
Quote from: DarkCo0oL on March 31, 2010, 08:10:34 PM
For 1.1.11:

Error in foro test:

Fatal error: Cannot use string offset as an array in /home/xxxxxxxxxxxx/domains/tabascog.com/public_html/foro/Sources/FB_Connect/FB_Connect_Subs.php  on line 282

:S

I updated 1.1.x version.

Can you try now?

i update...

and...

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

lol
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: LuisMX on April 03, 2010, 01:42:50 PM
Quote from: Pяєηѕєѕ LF on March 19, 2010, 09:02:05 AM

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /homez.40/site/www/fbc/facebook/php/facebook.php  on line 38

in a new SMF RC3 forum.

where l make an error ?

///

sorry, just a read the same error in another topic  :-[
same error, so, where is the fix ??? plz :) ohhhhh I need php 5 :)

so, If I want it to work like youtube, when you upload a video it automatically publish it in your wall, can I do this in my page without need of a "Share Button" ???
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: kinsella on April 04, 2010, 09:56:19 PM
I have looked through this thread as well as searched online for the solution to this issue i am having. 

I cannot figure out where to make edits on the Blackbox theme I am using.  FB Connect works with the default theme, just not on the custom one.  the only two tests failed on the intall are the 2 i am having problems inserting. 

I have included the index.template and the two steps that failed.

If anyone could help i would be grateful for it.

FIND:
if (!empty($modSettings['enableOpenID']))
            echo '
               <br /><input type="text" name="openid_identifier" id="openid_url" size="25" class="input_text openid_login" />';

         echo '
               <input type="hidden" name="hash_passwrd" value="" />
            </form>';

ADD After:

show_facebook();




FIND:

if (!empty($context['user']['avatar']))
            echo '
            <p class="avatar">', $context['user']['avatar']['image'], '</p>';


ADD BEFORE:

if (empty($modSettings['fb_enable_fbc_menu']))
    {
       show_facebook();
    }



Thanks in advance.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: elforoof on April 05, 2010, 12:32:45 AM
will this work for  SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
Dilber MC Theme by HarzeM ?
thank you
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: lolicute on April 05, 2010, 12:45:59 AM
Quote from: elforoof on April 05, 2010, 12:32:45 AM
will this work for  SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
Dilber MC Theme by HarzeM ?
thank you

[tu puedes probarlo en localhost para ver si funciona en tu theme]


btw, im still with problem:

FB_Connect_Subs.php  on line 283
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on April 05, 2010, 12:21:32 PM
i got an update comming for this later should fix this issu
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: kinsella on April 05, 2010, 12:32:39 PM
Quote from: Sleepy Arcade on April 05, 2010, 12:21:32 PM
i got an update comming for this later should fix this issu

Whom were you addressing?  Mine or DarkCool?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on April 05, 2010, 01:51:11 PM
oppps sry i had rush out before i could finish typing :/

cos you theme doesnt have the parts it searches for i dont know how this will look but i have put it before the facebook group link

backup first
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: kinsella on April 05, 2010, 02:14:00 PM
Thanks for your quick reply.

The issue isnt that the FB button doesnt show up, its that the button doesnt function.

On the default theme, when the FB button is clicked, it functions as it is suppose to.  On the custom theme, the FB button shows up where it is suppose to, it just doesnt work.  When it is click, nothing happens. 

The edits will make it function properply, if placed in the right spot. 
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on April 05, 2010, 02:20:06 PM
so you got it working now? if not can i have a link to you site with that installed? pm me with it if you want
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: elforoof on April 05, 2010, 02:43:48 PM
will this work for  SMF 1.1.11
Dilber MC Theme by HarzeM ?
thank you
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on April 05, 2010, 02:44:48 PM
yes but you have todo the edits to that dilber mc theme
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: kinsella on April 05, 2010, 02:58:56 PM
PM sent.  Do you need to see the site with the default theme?  The FB connect works on the default theme.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: elforoof on April 05, 2010, 03:01:16 PM
Quote from: Sleepy Arcade on April 05, 2010, 02:44:48 PM
yes but you have todo the edits to that dilber mc theme

what are the edits i need to do? thank you
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: kinsella on April 05, 2010, 04:03:55 PM
Quote from: elforoof on April 05, 2010, 03:01:16 PM
Quote from: Sleepy Arcade on April 05, 2010, 02:44:48 PM
yes but you have todo the edits to that dilber mc theme

what are the edits i need to do? thank you

You can find the instructions on the manual edits on the page you downloaded the mod from.  PARSE is the manual install instructions.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: lolicute on April 05, 2010, 04:42:56 PM
Quote from: elforoof on April 05, 2010, 03:01:16 PM
Quote from: Sleepy Arcade on April 05, 2010, 02:44:48 PM
yes but you have todo the edits to that dilber mc theme

what are the edits i need to do? thank you

Revisa el parse del mod.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: azhriel on April 06, 2010, 06:15:41 AM
I just want to ask...

Is this mod also publish the post to facebook apllication page

sorry for my english
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: delhirockers on April 06, 2010, 10:49:27 AM
Help me with following problems: My forum url is forum.example.com

1. Setting up application on facebook:

Errors: post Authorization url, Connect Url and base url.- What am i supposed to enter in these.

2. I am using SMF version 1.1.11

While Installing the package: Execute Modification   ./Themes/default/index.template.php   Test failed


Please help me regarding all this.


Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: LuisMX on April 06, 2010, 11:38:11 AM
Quote from: azhriel on April 06, 2010, 06:15:41 AM
I just want to ask...

Is this mod also publish the post to facebook apllication page

sorry for my english
Quote from: LuisMX on April 03, 2010, 01:42:50 PM
so, If I want it to work like youtube, when you upload a video it automatically publish it in your wall, can I do this in my page without need of a "Share Button" ???
I think we are asking the same ....
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on April 06, 2010, 01:30:17 PM
@azhriel no this doesnt do that

@delhirockers you dont have to fill in everty thing on the app you just put http://www.forum.example.com for your connect url for the test faild your ned to do that edit manualy

@LuisMX no this doesnt do that
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ~DS~ on April 06, 2010, 01:41:48 PM
Quote from: LuisMX on April 06, 2010, 11:38:11 AM
Quote from: azhriel on April 06, 2010, 06:15:41 AM
I just want to ask...

Is this mod also publish the post to facebook apllication page

sorry for my english
Quote from: LuisMX on April 03, 2010, 01:42:50 PM
so, If I want it to work like youtube, when you upload a video it automatically publish it in your wall, can I do this in my page without need of a "Share Button" ???
I think we are asking the same ....
C'mon guys this is not a publishing mod, if you want one, search for "Twitter mod".  This can only share topics to FB.
It's a user account integration.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: azhriel on April 06, 2010, 09:33:01 PM
Quote from: Sleepy Arcade on April 06, 2010, 01:30:17 PM
@azhriel no this doesnt do that

@delhirockers you dont have to fill in everty thing on the app you just put http://www.forum.example.com for your connect url for the test faild your ned to do that edit manualy

@LuisMX no this doesnt do that
Thanks sleepy.... Now I know
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: delhirockers on April 06, 2010, 10:03:49 PM
Quote from: Sleepy Arcade on April 06, 2010, 01:30:17 PM
@azhriel no this doesnt do that

@delhirockers you dont have to fill in everty thing on the app you just put http://www.forum.example.com for your connect url for the test faild your ned to do that edit manualy

@LuisMX no this doesnt do that

When I`m not entering anything in post_auth.... It still asks for a url in that section.
Hope my Forum will not become buggy after doing a manual Edit. Sleepy please reply.....
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: azhriel on April 07, 2010, 01:24:33 AM
Good day sleppy

Just want help on this...

and im getting a blank page when i click integrate to facebook with this url

mysite.com/index.php?action=facebook;sa=sync

and also for my other site that is a smf 1.1.11

i cant manually parse it on my custom theme index.template.php

can you show me how to parse it.

file attached
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on April 07, 2010, 11:35:42 AM
@delhirockers  if you have trouble with manual edits you can attach the file here and i can do them for you
try putting http://www.forum.example.com in post_auth

@azhriel i have made the edits for you attched back up fisrt before uploading this :) for the blank page is there any error in error logs? can i ave a link to site with this installed?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ricorico on April 09, 2010, 02:57:15 AM
im getting that line 363 error as soon as i log in now, if i refresh the forum loads up, but its annoying. (same error as the guy with the thumbs up avatar had)

i read you have to allow facebook something in ur theme, but im not sure what that means. i looked in my facebook connect options and didnt see it.

Im using the Mystic Jade theme.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: erorcun on April 09, 2010, 06:56:43 AM
@DarkCo0oL

Can you try attached file?
I'll go crazy.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: lolicute on April 09, 2010, 07:13:00 AM
I try, but same error:

Fatal error: Cannot use string offset as an array in /home/xxxxxxx/domains/tabascog.com/public_html/foro/Sources/FB_Connect/FB_Connect_Subs.php  on line 283

Forum test -> http://www.tabascog.com/foro
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ProfDrDenis on April 09, 2010, 07:18:19 AM
I install on 2.0RC3 but after the klick on the share Button Facebook looks very crazy. See attach file

Any idea what is todo?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: erorcun on April 09, 2010, 07:42:25 AM
Quote from: DarkCo0oL on April 09, 2010, 07:13:00 AM
I try, but same error:

Fatal error: Cannot use string offset as an array in /home/xxxxxxx/domains/tabascog.com/public_html/foro/Sources/FB_Connect/FB_Connect_Subs.php  on line 283

Forum test -> http://www.tabascog.com/foro

Did you do this?

Quote1. Go into your Facebook Developer (http://www.facebook.com/
developers/)
   2. Click on your application in the "My Applications" list
   3. Click on "Edit Settings"
   4. Click on the Advanced tab
   5. Enter a domain under the "Email Domain" box
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: lolicute 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
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ProfDrDenis on April 09, 2010, 08:45:50 AM
Quote1. Go into your Facebook Developer (http://www.facebook.com/
developers/)
   2. Click on your application in the "My Applications" list
   3. Click on "Edit Settings"
   4. Click on the Advanced tab
   5. Enter a domain under the "Email Domain" box

[/quote]

yes,

I want to know and I delete the mod. When I use the direct way with http://www.facebook.com/share.php? then facebook ask me for the URL. I do: http://blog.afrikafrika.de/index.php?topic=3476 Is this a problem with the sub domain?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ~DS~ on April 09, 2010, 12:46:19 PM
Quote 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.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: lolicute on April 09, 2010, 06:12:31 PM
Quote from: Dismal Shadow on April 09, 2010, 12:46:19 PM
Quote 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.

Yeah, i understand, no problem.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: kinsella on April 10, 2010, 09:02:36 PM
Has anyone gotten the Wall of a user to show up?  If you have, could you please share on how to, or put up the code please?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: luismanson on April 11, 2010, 02:40:19 PM
i had lots of 404's related to /crossdomain.xml is this fom this extension?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ~DS~ on April 12, 2010, 04:12:51 PM
Anyone who experiencing the "Fatal error: Cannot use string offset as an array" error should be resolved now.
It was Facebook's end that causing this issues on their API. Let us know if it's resolved.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ~Dragon~ on April 12, 2010, 05:29:12 PM
Quote from: ProfDrDenis on April 09, 2010, 08:45:50 AM
Quote1. Go into your Facebook Developer (http://www.facebook.com/
developers/)
   2. Click on your application in the "My Applications" list
   3. Click on "Edit Settings"
   4. Click on the Advanced tab
   5. Enter a domain under the "Email Domain" box




how do yo know experience? I am not sure i have problem? Can I help me solve my facebook with fix on facebook... I try fix on my sites. i am not idea.  No idea.   I should be help you solve teach me how learn more solve me. Thank
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Luke Wyrsta on April 13, 2010, 10:39:00 PM
Great mod...thank you very much.

When I share my site on FB through the mod it doesn't pick-up the forum name, just "login".

When I share a topic, the topic title is not published, just "login"...

Any thoughts?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: !RFAN on April 14, 2010, 07:55:16 AM
nice mod

but i was unable to connect my forum to facebook..
o created an application and then put the API key and secret key but when i click on facebook connect tab on menu bar, nuthing happens just page reloaded... i need this mod.. please help me... you can check it here.
http://amigozone.tk/forum

and sorry for bad english

edit: i was unable to logout when i ticked the logout function of this mod
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on April 14, 2010, 02:16:59 PM
@dismal shadow it will come back it been comming and going since i started this mod tho i now know a fix thanks to the link you posted on my dev site :)

@Luke Wyrsta it will just show login if you dont allow guest to brouse forum same as the whole mod will not allow user to login with facebook i dont know a work around for it just yet

@amigozone i cant acess your site internal server error
after instaling or enableing that clear your forum cache
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: clevelife on April 15, 2010, 04:28:31 PM
How do you get this to work for existing users?  I get the mod to connect to my application in facebook but then it brings up a register screen each time.  How do I tell it to know that my profile = my facebook account?  I'm thinking I have overlooked a switch somewhere.



edit:I found it, its a button doh!
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ~Dragon~ on April 15, 2010, 05:23:45 PM
it is not work intergrate with facebook. I wonder problem fail my facebook./. how difficult to problem my websites. I have something wrong problem. I try fix on something wrong. I am tired. I struggle on my facebook is not work. I know aware to fix on fail no work. I think so not work.. It is complex..
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: clevelife on April 15, 2010, 06:54:53 PM
Anyone know how to do this?

How can an Admin or a User remove the integration to facebook if they linked to the wrong facebook account?  My wife's forums account is linked to my facebook account, but so is my forum account.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ~Dragon~ on April 15, 2010, 07:14:36 PM
Quote from: clevelife on April 15, 2010, 06:54:53 PM
Anyone know how to do this?

How can an Admin or a User remove the integration to facebook if they linked to the wrong facebook account?  My wife's forums account is linked to my facebook account, but so is my forum account.
I have problem something my linked not work. I know aware hard to rough fix on match link.  How It is complex... Really
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: 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.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ~Dragon~ on April 15, 2010, 08:08:35 PM
Fatal error: Call to undefined function show_facebook() in /home/xxxxx/public_html/Sources/Load.php(2104) : eval()'d code on line 65

that is problem fatar error
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: 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
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Kratty256 on April 17, 2010, 12:47:08 PM
I'm a little confused...

Connecting seems to be fine but it says there is an error.

The Pit Stop is under construction. Please try again later.

Configuration errors:
To fix this error, please set your Connect URL in the application settings editor. Once it has been set, users will be redirected to that URL instead of this page after logging in.

What should the Connect URL, Account Preview URL, Base Domain, and Account Reclamation be?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ~Dragon~ on April 17, 2010, 06:53:56 PM
Quote from: Andrew94 on April 17, 2010, 12:47:08 PM
I'm a little confused...

Connecting seems to be fine but it says there is an error.

The Pit Stop is under construction. Please try again later.

Configuration errors:
To fix this error, please set your Connect URL in the application settings editor. Once it has been set, users will be redirected to that URL instead of this page after logging in.

What should the Connect URL, Account Preview URL, Base Domain, and Account Reclamation be?

I have problem connect url in the application setting. I am confused. I have assistant. I need to solve. I need to fix on facebook?
How do you experience. I don't understand. base domain and account reclamation?

That is diffiicult. I am awkward to how screw up on facebook wrong problem. I am very tried who is assistance.?

ASAP
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: gailmm on April 17, 2010, 10:26:52 PM
when i uploaded this mod I got an error message that the mod was not compatible with 2.0RC and would not install.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: lolicute on April 18, 2010, 05:13:58 AM
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?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ~Dragon~ on April 18, 2010, 01:11:39 PM
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.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on April 18, 2010, 04:28:09 PM
@ 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
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Kratty256 on April 18, 2010, 05:54:49 PM
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).
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on April 18, 2010, 06:02:24 PM
try http://www.thepitstopforum.net/
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Kratty256 on April 18, 2010, 06:17:52 PM
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!
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Kratty256 on April 18, 2010, 06:37:43 PM
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 (http://www.thepitstopforum.net/?session=%7B%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%7D&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 (http://thepitstopforum.net/fbc/xd_receiver.htm))   must have the application's Connect URL (http://www.thepitstopforum.net/ (http://www.thepitstopforum.net/))   as a prefix.  You can configure the Connect URL in the Application   Settings Editor (http://www.facebook.com/developers/editapp.php?app_id=111582295542803).
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on April 18, 2010, 06:43:16 PM
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
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Kratty256 on April 18, 2010, 07:09:58 PM
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).
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ~Dragon~ on April 18, 2010, 07:17:49 PM
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.

Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on April 18, 2010, 08:08:08 PM
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
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ~Dragon~ on April 18, 2010, 08:15:10 PM
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..
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on April 18, 2010, 08:18:48 PM
that was @Andrew94  not you im finding it hard to help you cos i cant make out a word of what you are saying
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: 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!
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: gailmm on April 19, 2010, 10:12:17 AM
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.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: gailmm on April 19, 2010, 10:28:33 AM
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.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: gailmm on April 19, 2010, 11:36:46 AM
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
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on April 19, 2010, 11:51:50 AM
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
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on April 19, 2010, 11:56:24 AM
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?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ~DS~ on April 19, 2010, 12:32:06 PM
Quote from: gailmm on April 19, 2010, 11:36:46 AM
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
This had been fixed in the lastest update. Did you download the lastest version of the mod?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: lolicute on April 19, 2010, 12:39:13 PM
this already works for 1.1.11?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: gailmm on April 19, 2010, 12:39:42 PM
I downloaded this file today       SA_FBConnect_0.2.zip and used this one, so if this is suppose to correct that error it is not because I just ran it again and same thing happened.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on April 19, 2010, 12:51:41 PM
Quote from: Sleepy Arcade on April 19, 2010, 11:51:50 AM
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
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: gailmm on April 19, 2010, 12:54:46 PM
So to use this mod I have to edit every single theme. Also I do not know anything about editing templates in SMF so I guess I have to say thank you for your assistance, but won't be able to use this because I use about 7 skin themes and I don't want the members having problems.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on April 19, 2010, 12:56:46 PM
well when you install the mod you can install it to othere themes auto just look at the bottom when instaling the mod for install on other themes
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: gailmm on April 19, 2010, 01:03:56 PM
Ok that I understand, but where is this template you are talking about. I have no idea.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on April 19, 2010, 01:04:57 PM
in

themes/your_theme

on your server
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: gailmm on April 19, 2010, 01:10:03 PM
sorry, but I absolutely do not understand this at all. Will remove the facebook and perhaps use a software I understand. I don't get this software at all.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Oldiesmann on April 19, 2010, 01:14:26 PM
You have to edit index.template.php for each theme. Just copy the code and paste it into that file for each theme.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: !RFAN on April 19, 2010, 04:38:57 PM
i tried twice.. but every time when i click on menu button only the page reloads and nothing happens else...

maybe i was not able to make application properly.. will you plz provide some information about thiz in alittle bit detail..
thanks
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: clevelife on April 19, 2010, 04:43:52 PM
Only problem I had is that I use email activation for registration and I couldn't find a way to allow them to input their email when registering.  If this is possible than this mod is one of my favorites.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ~DS~ on April 19, 2010, 05:19:32 PM
This mod does pull email from Facebook.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: clevelife on April 19, 2010, 07:09:18 PM
Oh I know, but if the user denies access to their email it won't pull it over.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ~DS~ on April 19, 2010, 07:16:38 PM
Quote from: clevelife on April 19, 2010, 07:09:18 PM
Oh I know, but if the user denies access to their email it won't pull it over.
Right, I let Sleepy know about this.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: clevelife on April 19, 2010, 07:21:23 PM
Now that's awesome! Thanks!
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: frenki on April 20, 2010, 12:51:23 PM
Great mod, its working as intended. Only problems is with these names, Name_numbers, i dont know would it give some error if we had duplicated names, but anyway thx for mod. I am using it on my forum here

http://www.ssefbl.org/forum

and for now, it works as intended.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: mike s on April 21, 2010, 12:21:24 AM
Hi, thanks for this mod, I love the idea of what its about.

Question though: Under Share Boards, I have all but one admin level forum selected as "shared".
In my forums I see at the top right of the thread, the "F-Share" logo and if I click on it, it creates a post under my Facebook account on my wall.. what I expected to see, is the thread copied to the wall, but it merely puts the Website Name (or Facebook App name?) and the URL to my website in the wall posting. If thats all it's going to post, whats the point of the f-share button on each thread and the permissions under the Share Boards. Am I misunderstanding the purpose of these settings and Share button, or do I have something possibly not set right?

thanks, Mike.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: InfoStrides on April 21, 2010, 08:26:10 AM
Quote from: smithtr on April 15, 2010, 07:14:36 PM
Quote from: clevelife on April 15, 2010, 06:54:53 PM
Anyone know how to do this?

How can an Admin or a User remove the integration to facebook if they linked to the wrong facebook account?  My wife's forums account is linked to my facebook account, but so is my forum account.
I have problem something my linked not work. I know aware hard to rough fix on match link.  How It is complex... Really

Any clue on this please?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: clevelife on April 21, 2010, 08:29:26 AM
Quote from: infostrides on April 21, 2010, 08:26:10 AM
Any clue on this please?


I was answered on the developers forum.  Here is the answer I was given and it worked.

Quote from: wdm2005 on April 16, 2010, 02:55:03 PM
you can do that in the database members table look for the user you want to chnage click the wee pencil to edit that user and set

fbname = [nothing just delte whats there]
fb_user = 0

back up befor you do this
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on April 22, 2010, 03:00:05 AM
Quote from: mike s on April 21, 2010, 12:21:24 AM
Hi, thanks for this mod, I love the idea of what its about.

Question though: Under Share Boards, I have all but one admin level forum selected as "shared".
In my forums I see at the top right of the thread, the "F-Share" logo and if I click on it, it creates a post under my Facebook account on my wall.. what I expected to see, is the thread copied to the wall, but it merely puts the Website Name (or Facebook App name?) and the URL to my website in the wall posting. If thats all it's going to post, whats the point of the f-share button on each thread and the permissions under the Share Boards. Am I misunderstanding the purpose of these settings and Share button, or do I have something possibly not set right?

thanks, Mike.

that is the way it is suppoed to work fb share only shares the url from the page where the share button was clicked
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: cleftangels on April 22, 2010, 11:41:52 AM
Greetings,

Sorry for sounding like a complete and utter twit!

I installed the plugin no problem, I went and created the application no problem. I put the info needed into the plugin settings. and from here onwards I am screwed!!!!!!

Firstly where do the users find the login for the plugin? Secondly I am totally lost now :o

Please can someone give me step by step from installing app to making app to signing in.


Greatly appreciated
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: teofiluscandra on April 23, 2010, 02:12:39 AM
Sir, I Have Problem When I installing this mod, Facebook Connect :

I Run at SMF 2 RC3
MODs:
- Pretty URL
- Twitter n Facebook Publisher
- SimplePortal
- etc

ERROR at index.template.php :
Quote<div id="forumposts">
            <div class="cat_bar">
               <h3 class="catbg">
Add After[Select]
';
      if ($context['show_fb_share_button']){
         echo'<script type="text/javascript">
                 var mod_settings_fb_share = "',$context['current_topic'],'";
               </script>
              <span id="share"></span>
              <script type="text/javascript">
                  Get_share();
               </script>
                <script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>';
      }
      echo'


I Hope You can Fixed it, thx
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: erorcun on April 23, 2010, 03:02:05 PM
I'm back!

I have found some bugs in 0.2 version of smf 1.1.x.  I will correct in future :)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: MegaByte on April 23, 2010, 04:23:15 PM
I'm assuming it's been mentioned before, but there are several misspellings throughout the mod:

intergrate/intergration should be integrate/integration
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: choloman05 on April 25, 2010, 11:35:14 PM
Quick question: 

What happens when someone registers on the forum using FB connect and then deletes his account on FB?  Will he still be able to login to the forum? 
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ~DS~ on April 25, 2010, 11:49:00 PM
Quote from: choloman05 on April 25, 2010, 11:35:14 PM
Quick question: 

What happens when someone registers on the forum using FB connect and then deletes his account on FB?  Will he still be able to login to the forum?
Yes, by using the same account and password when you register with FB connect.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: HeNdRo on April 26, 2010, 12:47:10 AM
I got this message after I clicked INSTALL NOW button:

Duplicate column name 'fbname'
File: /home/hellow00/public_html/board/Packages/temp/installScript.php
Line: 352

How do I fix it?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: lolicute on April 26, 2010, 11:13:18 AM
Quote from: HeNdRo on April 26, 2010, 12:47:10 AM
I got this message after I clicked INSTALL NOW button:

Duplicate column name 'fbname'
File: /home/hellow00/public_html/board/Packages/temp/installScript.php
Line: 352

How do I fix it?

Delete fbname of DB.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: erorcun on April 27, 2010, 01:50:43 AM
Quote from: HeNdRo on April 26, 2010, 12:47:10 AM
I got this message after I clicked INSTALL NOW button:

Duplicate column name 'fbname'
File: /home/hellow00/public_html/board/Packages/temp/installScript.php
Line: 352

How do I fix it?

It will be corrected in next version.

For now:

Quote from: DarkCo0oL on April 26, 2010, 11:13:18 AM
Delete fbname of DB.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: HeNdRo on April 27, 2010, 04:21:35 AM
Quote from: DarkCo0oL on April 26, 2010, 11:13:18 AM
Quote from: HeNdRo on April 26, 2010, 12:47:10 AM
I got this message after I clicked INSTALL NOW button:

Duplicate column name 'fbname'
File: /home/hellow00/public_html/board/Packages/temp/installScript.php
Line: 352

How do I fix it?

Delete fbname of DB.

Can you tell me how to do it?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: lolicute on April 27, 2010, 11:01:23 AM
Join to MySQL Data Base of ur Forum, search this "fbname"
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Oldiesmann on April 27, 2010, 11:36:47 AM
Run this query to drop the column:
ALTER TABLE smf_members DROP COLUMN fbname;

Alternately, if you wish to keep the data in that column, run this query:
ALTER TABLE smf_members ALTER COLUMN fbname fbname_original varchar(255) NOT NULL;

And then run this query after the mod has been reinstalled:
ALTER TABLE smf_members DROP COLUMN fbname;
ALTER TABLE smf_members ALTER COLUMN fbname_original fbname varchar(255) NOT NULL;
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on April 27, 2010, 12:33:09 PM
@cleftangels what is it you dont get?

@teofiluscandra you have to make that edit manualy or attach that file here and ill try todo it

@MegaByte thank you i will correct them in the futer

@there is only one way to set up the basic fb app all you need to fill in is your email domain and connect url wich will be http://www.yoursite.com

thanks Oldiesmann

Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: JBlaze on April 27, 2010, 10:46:31 PM
You have 2 hardcoded text strings.

Code (Subs.php) Select

              'facebook' => array(
'title' => 'Facebook Connect',
'href' => '#" onclick="fbLogincheck();"',
'show' => !$user_info['is_guest'] && !empty($modSettings['fb_enable']) && !empty($user_info['fbname']) && !empty($modSettings['fb_enable_fbc_menu']),
'sub_buttons' => array(
// uncomment to enable drop menu
/*'facebook_main' => array(
'title' => 'Facebook Connect',
        'href' => '#" onclick="fbLogincheck();"',
'show' => true,
),
'facebook_status' => array(
'title' => $txt['fb_update'],
'href' => 'javascript:callPublish(\'\',{\'name\':\''.$context['forum_name'].'\',\'href\':\''.$scripturl.'\',\'description\':\'' . !empty($settings['site_slogan']) . '\'},null);',
'show' => true,
),
'facebook_invite' => array(
'title' => $txt['fb_invite'].' '.$context['forum_name'],
'href' => $scripturl . '?action=facebook;sa=invite',
'show' => true,
),
'facebook_avatar' => array(
'title' => $txt['fb_avatar'],
'href' => $scripturl . '?action=facebook;sa=avatar',
'show' => true,
),
'facebook_share' => array(
'title' => $txt['fb_share'],
'href' => 'http://www.facebook.com/sharer.php?u='.$scripturl.'&amp;t='.$context['forum_name'].'" target="_blank',
'show' => true,
'is_last' => true,
),*/
// end uncomment to enable drop menu
),
),
'sync' => array(
'title' => 'Intergrate With Facebook',
'href' => '#" onclick="fbLoginsync();"',
'show' => !$user_info['is_guest'] && !empty($modSettings['fb_enable']) && empty($user_info['fbname']) && !empty($modSettings['fb_enable_fbc_menu']),
'sub_buttons' => array(

),
),


'Facebook Connect' and 'Integrate With Facebook'
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on April 28, 2010, 01:39:04 PM
thx jblazer :)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: clevelife on April 30, 2010, 08:38:06 AM
The share to facebook doesn't work on all my boards.  It works here http://www.clevelife.com/forum/general-discussion/are-we-to-lazy-to-make-our-own-drinks/


but not here http://www.clevelife.com/forum/funny-videos/psycho-girl-forgets-her-boyfriend-is-in-europe!/


I removed it and then reinstalled it. Any other suggestions?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: erorcun on April 30, 2010, 11:37:38 AM
30 April 2010 [Update on 1.1.x version]:
fixed Duplicate column name 'fbname' error
fixed hardcoded text
fixed utf8 support

@clevelife:

My english is not good, i use translater :D

I could not register because I can not understand the question of verification.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: clevelife on April 30, 2010, 11:44:35 AM
Quote from: erorcun on April 30, 2010, 11:37:38 AM
30 April 2010 [Update on 1.1.x version]:
@clevelife:

My english is not good, i use translater :D

I could not register because I can not understand the question of verification.

:D  that is ok

The post topic to facebook  does not show up on all my boards.

I found the answer on your board  http://www.sa-mods.info/index.php?topic=494.msg3700#msg3700
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: erorcun on April 30, 2010, 11:48:25 AM
QuoteI could not register because I can not understand the question of verification.

What is verification answer? :D


When I enter to site as guest, facebook share button dont appear anywhere.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Astro1 on April 30, 2010, 02:19:08 PM
I'd love to install this mod, but can't.

I'm on SMF 2.0 RC1.2 and can't upgrade to RC2 or 3 as my template will not function on RC3

Currently my only option is to stick to 2.0 RC1.2

Am I out of luck, or is there a way to install the mod manually?

Thanks.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: lolicute on April 30, 2010, 05:25:14 PM
Quote from: erorcun on April 30, 2010, 11:37:38 AM
30 April 2010 [Update on 1.1.x version]:
fixed Duplicate column name 'fbname' error
fixed hardcoded text
fixed utf8 support

@clevelife:

My english is not good, i use translater :D

I could not register because I can not understand the question of verification.

Ok, i install new version, but fb users cant be registered:

Test forum: http://tabascog.com/forillo

BTW, no uppload avatar fb.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: erorcun on April 30, 2010, 06:53:14 PM
Redownload please.

I've tried it on my own site, now I have no problem.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: IdanC on May 01, 2010, 06:10:41 PM
Quote from: IdanC on April 19, 2010, 02:51:29 AM
when a new member connects and is asked to provide a user-name for the forum, if he or she uses utf8 characters in the user-name, it passes on as EMPTY.

i still haven't found the side affects of this solution, but so far it works for me:

open FB_Connect_Subs.php

and comment out // this line
$_POST['real_name'] = character_clean($_POST['real_name']);
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: IdanC on May 01, 2010, 08:18:28 PM
(i'm not double posting, this is a whole other issue)

i recommend replacing in CustomForm.template.php

$txt['save']

with
$txt['CustomForm_submit']

as i guess it should have been...
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: azhriel on May 02, 2010, 12:05:35 AM
Hi I dont know if this questions fits here but can i ask how can i redirect a facebook user who search my application to my site instead of going into to the default canvass page of my application
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: InfoStrides on May 02, 2010, 05:43:50 PM
Quote from: clevelife on April 21, 2010, 08:29:26 AM
Quote from: infostrides on April 21, 2010, 08:26:10 AM
Any clue on this please?


I was answered on the developers forum.  Here is the answer I was given and it worked.

Quote from: wdm2005 on April 16, 2010, 02:55:03 PM
you can do that in the database members table look for the user you want to chnage click the wee pencil to edit that user and set

fbname = [nothing just delte whats there]
fb_user = 0

back up befor you do this

Thanks. It worked!
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Skoen on May 02, 2010, 11:23:26 PM
MySQL version: 5.0.27
PHP Version 4.4.4
I go from one error to another:

Now I recieve this error while trying to link my account:

QuoteParse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/25/w64729/www/smf/fbc/facebook/php/facebook.php  on line 38

I notice there is a php4-folder there. Is the solution there?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: nicke157 on May 03, 2010, 04:54:21 PM
Hmm. Getting an error then I try connect to facebook:

API Error Code: 100
API Error Description: Invalid parameter
Error Message: next is not owned by the application.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Sledgie on May 04, 2010, 11:23:49 AM
For some reason the integration link doesn't work. I've created a FB app and filled in all the prerequisite fields in FC Connect, but the integration link above the avatar doesn't link to anything. It simply has my forum url with index.php# at the end.

Look like this:
http://www.greatamericanforum.com/index.php#

Any ideas?

*edit*

I've narrowed it down to my front page. I'm using TinyPortal and for some reason the link will not work while on the front page. It does work if I'm in any other part of the forum (like the forum).
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ~Dragon~ on May 05, 2010, 05:53:08 PM
I have screw up because I have problem
Fatal error: Call to undefined function show_facebook() in /home/smithtr/public_html/Sources/Load.php(2085) : eval()'d code on line 65
not work click index.php# that is happened. I have problem frustrated. I am struggle on system I have probelm screw up it. No idea what is happened. :(

oh I incidendly screw up.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: erorcun on May 06, 2010, 09:34:33 AM
Quote from: smithtr on May 05, 2010, 05:53:08 PM
I have screw up because I have problem
Fatal error: Call to undefined function show_facebook() in /home/smithtr/public_html/Sources/Load.php(2085) : eval()'d code on line 65
not work click index.php# that is happened. I have problem frustrated. I am struggle on system I have probelm screw up it. No idea what is happened. :(

oh I incidendly screw up.

You must edit your index.template.php.

Open default index.template and copy "show_facebook" function, than open your theme's index.template and put in here.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ~Dragon~ on May 06, 2010, 04:15:43 PM
Quote from: erorcun on May 06, 2010, 09:34:33 AM
Quote from: smithtr on May 05, 2010, 05:53:08 PM
I have screw up because I have problem
Fatal error: Call to undefined function show_facebook() in /home/smithtr/public_html/Sources/Load.php(2085) : eval()'d code on line 65
not work click index.php# that is happened. I have problem frustrated. I am struggle on system I have probelm screw up it. No idea what is happened. :(

oh I incidendly screw up.

You must edit your index.template.php.

Open default index.template and copy "show_facebook" function, than open your theme's index.template and put in here.


That is work final it everything work :) I am happy final work that all everhitng pretty sound great. you are correct...
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: daked on May 08, 2010, 01:25:03 PM
i installed facebook connect but when i log out and click connect with facebook or what ever it says,nothing happens,but sharing works
although it gave me an error with index.template.php before installation,i overlooked that

try logging in here http://www.ngnmedia.com
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Succubus Evaligan on May 08, 2010, 03:34:14 PM
I need help creating the aplication... :'(

Quote
Error al cargar la página de Yurilandia
Yurilandia está en construcción. Por favor, inténtalo más tarde.

Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: vipmoney on May 08, 2010, 10:37:53 PM
Hi Guys,

Great MOD! I have installed and is running 100%

Just one question:

- I have SMF integrated with a website, how can I put the Facebook Connect working outside the forum pages? let's say, for examplo on my welcome page?

I use SSI for ssi_login(); is there any simple way to do the same for this mod? tried show_facebook(); but it doesnt work outside the forum... any ideas?

thanks a lot!
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: nicke157 on May 09, 2010, 05:16:57 AM
Quote from: nicke157 on May 03, 2010, 04:54:21 PM
Hmm. Getting an error then I try connect to facebook:

API Error Code: 100
API Error Description: Invalid parameter
Error Message: next is not owned by the application.


Bump
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ~Dragon~ on May 09, 2010, 07:02:24 PM
I incidenlty delete mistake oh no FB_Connect_admin, I am mistake delete incidently I need add fb_connect_admin thank
code?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ricorico on May 10, 2010, 09:37:46 AM
Sorry if this has been answered already.
I have an issue for facebook connect.
When Registered/Unregistered users try to use it it goes through the steps fine, but it doesnt log in, or prompt them to only log in once / register with a name once. It just takes to the login screen.

Also if someone is already logged in and they connect it cocnnects and brings up the screen, but the link doesnt change to the little user image or whatever it just says 'connect to facebook' always.

Any help on these?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Succubus Evaligan on May 10, 2010, 03:30:08 PM
Quote
Agregar página a favoritos      The URL to load when a user clicks your application's bookmark. If left blank, this field defaults to your Canvas or Connect URL.
URL de ayuda      The absolute URL to your application's user help page.
URL de privacidad      The absolute URL to your application's privacy settings page.
URL de condiciones de servicio      The absolute URL to your application's terms of service.

Post-Authorize Callback URL

Post-Remove Callback URL

Information Update Callback URL

Editar una URL de devolución de llamada      Facebook pulls the content for your users' friends' Publisher interface from here.

Auto-publicar el texto      The label for your application's Editor link for creating content on a user's own profile. Examples: Update Status, Share Link, Add Photos. You can use your application's name.
Autopublicar una URL de devolución de llamada
   Facebook pulls the content for your users' Publisher interface from here.
Editar URL      Los administradores de una Página deberían poder editar la configuración de aplicaciones en esta URL.

Dirección web (URL) de la página de lienzo   hxxp://apps.facebook.com/   La dirección URL base para tus páginas de lienzo en Facebook.
Canvas Callback URL      Facebook pulls the content for your application's canvas pages from this URL or directory. For more information, see la documentaciòn
Redirección de URL post-autorizada      Where to redirect users when they first Autorize su formulario. If left blank, this field defaults to the Canvas Page URL.
Método de renderización   IframeFBML   Choose whether you will render your canvas page in an iframe or with FBML. Note that you can use XFBML in an iframe.
Tamaño de IFrame   Tamaño listoResizable   For iframe applications, choose whether you want to smartsize the iframe so it fits in the remaining space on the canvas page, or to make it editar tamaño.
Ancho de Lienzo   Anchura completa (760px)Vieja anchura (646px)   If you haven't updated your canvas pages to the wider width of the new profile, this centers your narrower content on the wider canvas.

Conecte la pagina web      Your Connect site's main URL.
Logo de Facebook Connect     Cambia tu logotipo   The image that appears in the Facebook Connect dialog.
Límite: 99px de ancho y 22px de alto.
Revision de cuenta web (URL)      Facebook pulls the content from here and displays it to the user in a Facebook Connect request.
Base Domain      Use this to enable your Facebook Connect implementation to span multiple subdomains (e.g., using example.com would enable foo.example.com and bar.example.com).
Account Reclamation URL      A URL that will be provided to a user that deactivates their Facebook account, to allow an independent account to be set up. Ver más documentación.

Tipo de Aplicación   WebEscritorio   
Modo de Caja de arena   Haz posibleInhabilitar   Deja ver lo exclucivamente a los desarrolladores de la aplication
Integrar con SMS   Haz posibleInhabilitar   Te permite integrar tu aplicación con Mensajes de Texto.
Id. de la aplicación "iPhone"      If you have an iPhone app using Connect, fill this in with your Apple-provided application ID.
I am unsure if properly fill out all fields.
Can you give an example of how to fill out everything correctly to make it as they did in this place hxxp://www.sa-mods.info/index.php please?

Also I get error when I go to the applicaction...
hxxp://apps.facebook.com/yurilandia/
Quote
Han ocurrido errores mientras cargábamos la página de la aplicación
Errores de tiempo de ejecución:
URLExceptionEmpty URLs not allowed here
fb:iframe: Empty URLs not allowed here
Por favor inténtalo más tarde. Agradecemos tu paciencia mientras los desarrolladores de Yurilandia y Facebook resuelven este problema. ¡Gracias!


Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Legend Zero on May 11, 2010, 12:55:55 AM
I've tried a few different things here but I've been stuck, so time to ask around.

How would I go about integrating this with an ssi_login command?

Can't show the site yet, it's still under construction.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: nza2k on May 11, 2010, 06:41:02 PM
Hi all,

Please, I had no answers to my questions here : http://www.simplemachines.org/community/index.php?topic=379105.0

I would really appreciate your feedbacks and advice

Thank you
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: lolicute on May 11, 2010, 07:56:08 PM
Nice, its works fine!!!

@erorcun thx!

@Succubus Evaligan amiga, es fácil solo haces la aplicación, mira te envio mi correo en PM, para detallar eso y te paso la configuración.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: vipmoney on May 11, 2010, 08:55:56 PM
Quote from: Legend Zero on May 11, 2010, 12:55:55 AM
I've tried a few different things here but I've been stuck, so time to ask around.

How would I go about integrating this with an ssi_login command?

Can't show the site yet, it's still under construction.

Hi Legend Zero,

I have the exact same doubt... integrate the mod with the ssi_login or any other simple SSI script, in order to use the feature not just on the forum, but on the entire website... unfortunately nobody replied.

But since this is a kind of "blockbuster" mod, very well scripted, advanced and everything, I'm sure that it can be done and it's probably easy... the thing is, most people here, only have foruns (not regular websites) and so, our issue is not an issue for most of users in this thread.

Anyway, I'll re-post my last post, and hopefully some kind soul will help us out on this simple question ;)

Just one question:

- I have SMF integrated with a website, how can I put the Facebook Connect working outside the forum pages? let's say, for examplo on my welcome page?
I use SSI for ssi_login(); is there any simple way to do the same for this mod? tried show_facebook(); but it doesnt work outside the forum... any ideas?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: vipmoney on May 11, 2010, 09:15:29 PM
- $10 if somebody help me with this little doubt:
- [PAID $10] Help with SA Facebook Connect Integration (http://www.simplemachines.org/community/index.php?topic=381026.0) (posted on the PAID help board)

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

This is probably a simple thing:

- I have SMF integrated with a website, by that I mean that the forum is just a little part of the entire site, so I use SSI everywhere outside the board to generate permission access to some areas, userinfo, login, logout, etc.
- I have installed with success the SA Facebook Connect MOD (http://custom.simplemachines.org/mods/index.php?mod=2322), that means that inside the forum areas, everything works ok with the mod like it is supposed to be... but outside the forum, it doesn't work, or at least I was unable to put it working.

The question:
- How can I put the Facebook Connect working outside the forum pages? let's say, for example on my welcome page where I have a login area using ssi_login() ? or on a custom register page I have using ssi_register()?
- Is there any simple way to do the same for this mod, possible using some SSI code? tried show_facebook(); but it doesnt work outside the forum, tried to put show_facebook() inside SSI.php but I'm a noob... any ideas?

thanks in advance,

ps: payment will be made through paypal to the first working solution posted HERE (http://www.simplemachines.org/community/index.php?topic=381026.0).
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ricorico on May 12, 2010, 02:35:58 AM
Quote from: ricorico on May 10, 2010, 09:37:46 AM
Sorry if this has been answered already.
I have an issue for facebook connect.
When Registered/Unregistered users try to use it it goes through the steps fine, but it doesnt log in, or prompt them to only log in once / register with a name once. It just takes to the login screen.

Also if someone is already logged in and they connect it cocnnects and brings up the screen, but the link doesnt change to the little user image or whatever it just says 'connect to facebook' always.

Any help on these?

friendly 2day bump. Any ideas?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: IdanC on May 12, 2010, 04:56:30 AM
your description is just too vague

was the installation ok?
did you try installing on a fresh copy to make sure your basic settings are ok?
are there any error msg in your log?

help us help u
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Walgermo on May 13, 2010, 05:55:39 AM
The mod is not working.

- When i click connect with facebook the page only reload, on a another compter it prombt with password and username, and when i proceed nothing happens.

- And when i am logged in, and try to integrate with facebook the same thin happens, the page reloads.

the install worked fine.

SMF 2.0 RC3 + SA Facebook Connect 0.2

________________

Some fix for this?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: kizer on May 14, 2010, 02:28:42 PM
Ok, I'm a bit confused. Does this allow FaceBook users to join your forum or is this a method of allowing your forum to connect to face book so when you post in your forum it can push items to Facebook?

The reason I ask is I'd really like to be able to have users from Facebook to join my forum so they don't have multiple accounts. ie Facebook and my forum.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Afro on May 14, 2010, 02:38:26 PM
When people try to register with the connect, the REGISTER button doesnt show up.
Whats the fix ?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: cooleyes83 on May 15, 2010, 07:49:04 AM
Respect Team and User ... Hi Em New here  and running Smf 1.1.1 Version. Right now i have installed SA_FBConnect_0.2_smf11x ... Every thing is fine but now i m creating the application but little bit confused what should i enter into the following blanks so please tell me what i have to do..

in a basic Infor...
Bookmark URL.......... what should be here..
Help URL.........."what should be here"
Privacy URL........"what should be here"

And IN Convas

Canvas Page URL..........."what should be here"
Canvas Callback URL......."what should be here"
Post-Authorize Redirect URL......."what should be here"

Well My Domain Name is "www,fun-masti.com"  running in a main directory when i opened it shows the following link
www.fun-mast.com/index.php

Now please anybody can help to run this mode
Thanx


Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ~Dragon~ on May 15, 2010, 05:09:26 PM
it is not work my sites because It is not work Unable to load the 'FB_Connect' template. and FB_Connect admin. I am tried. no who is experience find problem error log. I notice it my sites It is fail no idea. figure out tired.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Kratty256 on May 16, 2010, 02:35:47 AM
I'm giving this mod a try again... Sorry if these questions have already been answered.

I had to edit the index.template.php for the theme named Nisan on my forum, and well, obvioussly I missed something, or put something in the wrong spot, not sure. When I try to switch to that theme, I get:

Fatal error: Cannot redeclare show_facebook() (previously declared in /home/andrew/thepitstop/Themes/nisan/index.template.php:344) in /home/andrew/thepitstop/Themes/nisan/index.template.php on line 373

Now, if I am logged in and click the "Integrate forum account with Facebook" link, it just takes me back to some page on the forum, oddly the URL is:
http://www.thepitstopforum.net/?session={%22session_key%22%3A%222.JaftZQry2ko1rRvo2IqAOg__.3600.1273996800-1804929572%22%2C%22uid%22%3A1804929572%2C%22expires%22%3A1273996800%2C%22secret%22%3A%22DyCE6hWjufhEYK_oKsZTDA__%22%2C%22sig%22%3A%222ca5afa8956b73fc91c4c680b47524c7%22}&next=http%3A%2F%2Fthepitstopforum.net%2Ffbc%2Fxd_receiver.htm%3Ffb_login%26fname%3D_opener%26guid%3D0.7580391686655448

Any help on this would be appreciated, thanks!
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: JYoskovitz on May 16, 2010, 05:22:13 PM
I dont know if anyone has asked this question and im sorry if im asking and it was answered already.

I installed this app and its working fine with the original theme and it works fine. I have a custom theme with my custom lgo and header and when i select this theme, the facebook connect application no longer works.

What do I have to do to enable this application on my theme that i am using now?

Thank you for all your help in advance.

Justin
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: erorcun on May 17, 2010, 03:35:11 PM
Quote from: cooleyes83 on May 15, 2010, 07:49:04 AM
Respect Team and User ... Hi Em New here  and running Smf 1.1.1 Version. Right now i have installed SA_FBConnect_0.2_smf11x ... Every thing is fine but now i m creating the application but little bit confused what should i enter into the following blanks so please tell me what i have to do..

in a basic Infor...
Bookmark URL.......... what should be here..
Help URL.........."what should be here"
Privacy URL........"what should be here"

And IN Convas

Canvas Page URL..........."what should be here"
Canvas Callback URL......."what should be here"
Post-Authorize Redirect URL......."what should be here"

Well My Domain Name is "www,fun-masti.com"  running in a main directory when i opened it shows the following link
www.fun-mast.com/index.php

Now please anybody can help to run this mode
Thanx




You must fill Connect URL only.

in a basic Infor...
Bookmark URL.......... blank
Help URL..........blank
Privacy URL........blank

And IN Convas

Canvas Page URL...........blank
Canvas Callback URL.......blank
Post-Authorize Redirect URL.......blank

Quote from: JYoskovitz on May 16, 2010, 05:22:13 PM
I dont know if anyone has asked this question and im sorry if im asking and it was answered already.

I installed this app and its working fine with the original theme and it works fine. I have a custom theme with my custom lgo and header and when i select this theme, the facebook connect application no longer works.

What do I have to do to enable this application on my theme that i am using now?

Thank you for all your help in advance.

Justin


I can not do anything, you must review the mod files. You should try to convert codes to the theme.

Quote from: Andrew94 on May 16, 2010, 02:35:47 AM
I'm giving this mod a try again... Sorry if these questions have already been answered.

I had to edit the index.template.php for the theme named Nisan on my forum, and well, obvioussly I missed something, or put something in the wrong spot, not sure. When I try to switch to that theme, I get:

Fatal error: Cannot redeclare show_facebook() (previously declared in /home/andrew/thepitstop/Themes/nisan/index.template.php:344) in /home/andrew/thepitstop/Themes/nisan/index.template.php on line 373

Now, if I am logged in and click the "Integrate forum account with Facebook" link, it just takes me back to some page on the forum, oddly the URL is:
http://www.thepitstopforum.net/?session={%22session_key%22%3A%222.JaftZQry2ko1rRvo2IqAOg__.3600.1273996800-1804929572%22%2C%22uid%22%3A1804929572%2C%22expires%22%3A1273996800%2C%22secret%22%3A%22DyCE6hWjufhEYK_oKsZTDA__%22%2C%22sig%22%3A%222ca5afa8956b73fc91c4c680b47524c7%22}&next=http%3A%2F%2Fthepitstopforum.net%2Ffbc%2Fxd_receiver.htm%3Ffb_login%26fname%3D_opener%26guid%3D0.7580391686655448

Any help on this would be appreciated, thanks!

You did wrong something, it must not give this warning.
And, did you do this?

Quote
use subdomain independent cookies:
This mod reqires that use subdomain independent cookies is turned off can be found in
admin/sever settings/cookies and sessions/Use subdomain independent cookies
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ricorico on May 18, 2010, 03:06:27 AM
Still looking for an answer to my problem. I tried on SA's official site and 61 views and no help...

I use the newest .02 on the newest RC3 version of SMF and the Mystic Jade theme.

When someone new comes they click the facebook connect thing, it prompts to allow access etc.. Everything goes through fine. Where it is SUPPOSE to say 'register' do this only once or if you are already a member log in here.

Instead it sends me to this page where its saying

"Only registered members are allowed to access this section.
Please login below or register an account with"


Any help on this would be excellent. Id like it to: Log the user in (if they are a member) by clicking it or if they arent a member to simply choose a name and password and auto links their facebook - as it does on the sa- site.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: dsanchez on May 18, 2010, 04:20:53 AM
Hello guys,

trying to use this mod but get this error when trying to install

thanks in advance for any help!

Execute Modification   ./Themes/default/index.template.php   Test failed
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: IdanC on May 18, 2010, 06:33:55 AM
it means one of the code changes needed to install this mod could not be carried out (useally because other mod changed the file already), and by expanding the error msg you can see exactly which lines of code could not be modified.

just continue the installation inspite the error, and after it finishes make the remaining changes to index.template.php manually.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: cooleyes83 on May 18, 2010, 10:11:37 AM
After Filling the
Connect URL... my Site address closing by /.......... (www.example.com/)

Account Preview URL...Blank

Base Domain........blank

Account Reclamation URL..........blank

its show the the error.

API Error Code: 100
API Error Description: Invalid parameter
Error Message: next is not owned by the application.

Tell me now what should i do.......

thanx for you previous reply....
Title: SA FB Connect button doesn't show
Post by: ovistomih on May 18, 2010, 04:14:24 PM
I have SMF v1.1.11 with Classic YaBB SE Theme and I just installed SA_FBConnect_0.2_smf11x.zip . I don't have any other mods installed.
I created my facebook app and setup the connect parameters.
I added the Facebook app key and App Secret.

The installation did not give me any errors.

Still, the facebook connect buton doesn't show anywhere on my forum. What can be wrong?
Title: Re: SA FB Connect button doesn't show
Post by: Allusion on May 18, 2010, 07:19:50 PM
Quote from: ovistomih on May 18, 2010, 04:14:24 PM
I have SMF v1.1.11 with Classic YaBB SE Theme

This mod does not install on Classic, only on the default (Core) theme.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: luckyMM on May 18, 2010, 08:47:44 PM
Hi ,
I found some problem with this mod. If forum can't enter Guest, this mod is no working.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: venex on May 19, 2010, 12:00:44 AM
Quote from: cooleyes83 on May 18, 2010, 10:11:37 AM
After Filling the
Connect URL... my Site address closing by /.......... (www.example.com/)

Account Preview URL...Blank

Base Domain........blank

Account Reclamation URL..........blank

its show the the error.

API Error Code: 100
API Error Description: Invalid parameter
Error Message: next is not owned by the application.

Tell me now what should i do.......

thanx for you previous reply....
Same thing is happening to me.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: RCC_SaMiaM on May 19, 2010, 11:19:39 PM
I am using it with 1.11 and clicking the fb connect button or integrate link takes me to a login box (if not logged into facebook) then just back to my forum.  My forum is installed in root, is that an issue?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Robin1989 on May 20, 2010, 06:33:54 AM
hey does this mod incorporate the new like button im seeing on all the sites now that lets someone like any page that the button is placed on?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: RCC_SaMiaM on May 20, 2010, 05:06:47 PM
I should of been more clear on my issue, with the mod enabled, when clicking on the link or button to login or integrate with facebook I get the pop up (to allow access or to login to facebook if logged out), once I click ok then my site loads in that little popup.

After doing that any time I click on the integrate with facebook link or connect with facebook button it just loads my site in the little pop up.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: vomega on May 20, 2010, 06:18:16 PM
cant get this mod to work

API Error Code: 100
API Error Description: Invalid parameter
Error Message: Invalid parameter

i followed every single step carefully, ive created the facebook app still get same error

see forum  vandeatta.com/elchoneo/
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: vomega on May 20, 2010, 10:40:42 PM
got another error:

Invalid Argument
The Facebook Connect cross-domain receiver URL (http://vandeatta.com/elchoneo/fbc/xd_receiver.htm#fname=_opener&%7B%22t%22%3A3%2C%22h%22%3A%22fbCancelLogin%22%2C%22sid%22%3A%220.247%22%7D) must be in the same domain or be in a subdomain of an application's base domain (www.vandeatta.com). You can configure the base domain in the application's settings.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: vomega on May 20, 2010, 11:22:54 PM
the connect cross it is in the same domain..
plaase help
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: dsanchez on May 22, 2010, 08:10:45 AM
Hello!

I installed this mod and I can't see anywhere where the user can log using Facebook. I'm using the Curve theme.

Thanks!
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: samueliyinbo on May 22, 2010, 11:23:05 PM
Hello sleepy arcade, i want to thank you for  a great mode, it works fine but I seem to have a few problems.

I believe that the essence of the mod is for one to login in directly to an smf using the individual's fb login but I installed the mod on smf 1.1.11 using manual install and everything seems to be working fine except that, one cannot login via the fbconnect, if one tries to do that it would loginto facebook but not on my smf

In your reply to #24 in #25 which is similar to mine (except I don't have any of his coded problems )  I noticed you mentioned somethings about "register option" in admin but i didn't see that feature when I went to my admin.

Is there something i am missing?


ALso when I did the parse for SA Facebook Connect Integration - Installation Instructions for 1.1.11, i got to the end and  saw this:

"Code
installScript.php
This file should be able to execute standalone."


how do i run the installscript.php?

Thank you for your time, ALso please do you have another option for donations. Paypal doesn't accept my country
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: vomega on May 23, 2010, 12:14:11 AM
how can I have this mod work with the extrene 10 theme?

script please..
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Divaksh on May 23, 2010, 08:02:47 AM
I get this error when login using facebook connect(Integrate forum account with Facebook. also)

Fatal error: Class 'Facebook' not found in /home/hackmycr/public_html/forum/Sources/FB_Connect/FB_Connect_Subs.php  on line 359
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: RCC_SaMiaM on May 23, 2010, 11:19:47 AM
OK I had some progress, sort of.  I typically don't use www. in my urls, in the facebook app url I did use www., so after pulling it when using facebook connect everything seems to work correctly, except for when it shows the login in screen/create account screen, when clicking the link and logging in I don't see any difference.  When I click on the integrate with facebook link it just popped up a blank fb accept box.  After that it just flashes a popup quickly and it goes away.

What exactly are we suppose to see if this works correctly?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: HeNdRo on May 23, 2010, 11:35:05 PM
Now, my new stupid question is:
How to view FB Connect button on the frontpage of the forum?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: venex on May 25, 2010, 08:00:56 PM
Quote from: RCC_SaMiaM on May 23, 2010, 11:19:47 AM
OK I had some progress, sort of.  I typically don't use www. in my urls, in the facebook app url I did use www., so after pulling it when using facebook connect everything seems to work correctly, except for when it shows the login in screen/create account screen, when clicking the link and logging in I don't see any difference.  When I click on the integrate with facebook link it just popped up a blank fb accept box.  After that it just flashes a popup quickly and it goes away.

What exactly are we suppose to see if this works correctly?
U JUST FIXED ONE OF MY ERRORS lmao! I put "www" on Facebook too and that messed eveything up lmao. But Now I have a blank screen when is in "sync"... idk what to do...

Quote from: vomega on May 20, 2010, 06:18:16 PM
cant get this mod to work

API Error Code: 100
API Error Description: Invalid parameter
Error Message: Invalid parameter

i followed every single step carefully, ive created the facebook app still get same error

see forum  vandeatta.com/elchoneo/

Check URL is the same in your forum and in facebook's app (EVEN "WWW" MATTERS!)...
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: 4X4UK on May 27, 2010, 10:03:51 AM
wonder if you can help

installed in smf v1.11 and using a custom template, which I have modified everything seems to work ie share works integrate with FB seems to apart from one small bit

when you click on integrate with FB, the pop up apears asks for permission to share info when you click ok the resultant page which has the following url

http://www.4x4uk.org/forums/index.php?action=facebook;sa=sync

is completely blank, can't seem to figure out why
also noticed that if I log out of the forum and stay logged in to facebook if I click on the login with Facebook link that would appear to guests the also gives a blank page (http://www.4x4uk.org/forums/index.php?action=facebook;sa=connect;step) and wont log me in

Facebook connect settings as follows:
connect url: http://www.4x4uk.org/forums/
account preview: http://www.4x4uk.org/
all other fields left blank

any pointers as to what could be the problem would be greatly appreciated many thanks
Ian
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: RCC_SaMiaM on May 27, 2010, 10:27:49 AM
Seems to be the same problem 3 times in a row :)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: 4X4UK on May 27, 2010, 10:30:31 AM
yes does seem to be very similar
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: nicke157 on May 30, 2010, 05:47:55 PM
How I do if I want the "Connect with Facebook" button on frontpage with theme "ModernDark64"?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: L.G.S on May 31, 2010, 01:30:37 PM
I installed this, and it worked great.

Then I changed my domain name, so I created a new app.

Now the new app links and logs in, then asks me to make a post on my wall, but thats it. If I click the menu link it doesn't do anything.

Help pls :(
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: anakmacan on May 31, 2010, 04:36:09 PM
Hi, great mod btw, but i think it wont work with Facebook Like mod.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: NoFeaR / NFSMW on June 03, 2010, 05:56:44 AM
When i want to submit my aplication to facebook it says "Your application must have at least 5 total users or 10 monthly active users before you can submit it to the Application directory."
What do i do now???
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on June 03, 2010, 06:04:22 AM
1st.. know that submitting your app to facebook is completely optional.
2nd if you intend to submit to facebook, you simply need to meet their requirements by having people access your application on facebook
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: NoFeaR / NFSMW on June 03, 2010, 06:18:53 AM
Ok thank you. Now i get this error when clicking on Integrate forum account with Facebook.

API Error Code: 100
API Error Description: Invalid parameter
Error Message: next is not owned by the application.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: NoFeaR / NFSMW on June 03, 2010, 06:46:06 AM
Ok i fixed that error. I enabled shared boards but where does it share 2???
I don't find anything on my profile and neither on my application.
Oh and the status update doesn't work.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: 4X4UK on June 03, 2010, 11:50:21 AM
Quote from: 4X4UK on May 27, 2010, 10:03:51 AM
wonder if you can help

installed in smf v1.11 and using a custom template, which I have modified everything seems to work ie share works integrate with FB seems to apart from one small bit

when you click on integrate with FB, the pop up apears asks for permission to share info when you click ok the resultant page which has the following url

http://www.4x4uk.org/forums/index.php?action=facebook;sa=sync

is completely blank, can't seem to figure out why
also noticed that if I log out of the forum and stay logged in to facebook if I click on the login with Facebook link that would appear to guests the also gives a blank page (http://www.4x4uk.org/forums/index.php?action=facebook;sa=connect;step) and wont log me in

Facebook connect settings as follows:
connect url: http://www.4x4uk.org/forums/
account preview: http://www.4x4uk.org/
all other fields left blank

any pointers as to what could be the problem would be greatly appreciated many thanks
Ian

well I am going to Upgrade my form to SMF 2, install fb connect for that and see if that works any better
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: RCC_SaMiaM on June 04, 2010, 02:05:44 PM
A fix or at least some help about the blank popup would be great.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Nirose on June 05, 2010, 12:44:07 AM
Got it to work perfectly. Awesome thanks

But the invitations don't seem to be sent even when it says its completed.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: DJ Rg on June 05, 2010, 09:28:10 AM
RESOLVED: It had noting to do with this mod (previous coding error)

Hi

Installed this mod but couldnt get it to work ..i went to the SA Mod forums and couldnt get any help there either ..so i unstalled the mod (i am sure its a great mod but i could not get it to work)

Anyways my problem now is, when I go to my admin panel and go to logs >> Error Logs ..I keep getting this error message >> /tinroofalleypoets.org/poetry_boards/Themes/default/xxxx.template.php (body_above sub template - eval?)

each time i click/refresh the error log page ..the above error multiples and names a different xxxx.template.php...

it also says its on ..line 176 of each and every template.php ..but i see nothing unusual or common in regards to this error on that line.

in the error log it also gives a date of " December 31, 1969" ..lol..

I would really appreciate it if someone would help me clean this error up?

Thank you.

Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Divaksh on June 06, 2010, 07:22:29 AM
Quote from: Divaksh on May 23, 2010, 08:02:47 AM
I get this error when login using facebook connect(Integrate forum account with Facebook. also)

Fatal error: Class 'Facebook' not found in /home/hackmycr/public_html/forum/Sources/FB_Connect/FB_Connect_Subs.php  on line 359


Still waiting for help... :(
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ~DS~ on June 06, 2010, 03:40:10 PM
For those who are wondering...

Quotejust a little note to appoligize to everyone for my absense and not ansering post here or at smf the truth is that i am so busy with rl right about now that i dont have much time todo dev work around september augast things will be back to normal and ill be able to ketchup with things

untill then guys im sry for any delay that may have been caused :)




http://www.sa-mods.info/index.php?topic=523.msg3775#msg3775
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Divaksh on June 06, 2010, 03:43:22 PM
thanks a lot....

another gud news is I've fixed it... there was error in my facebook.php file... :D :)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Kadai Crosshansen on June 08, 2010, 11:30:33 PM
This mod is just awesome.
Installed it, and it does appear to work.

Now, just a thing:
If you are using a custom template, the changes applied by this mod will not show at all, so, you'll require to actually make manual changes to "index.template.php" in order to get this one working.

Basically, go to the MOD simplemachine's page and follow the manual installation steps for this MOD and file, just be sure that you end with a "valid" php file, because since you are using a custom template, is very likely you'll require a bit of PHP knowledge  to implement certain things correctly.

Also, it is possible to implement this MOD to your website once it has been installed and it is working.
You'll require, basically, copy all javascripts used for facebook from your forum to our page and it will succeed.

You can see it working on a website here: hxxp://anime-age.com/noticias.php
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Abel6669 on June 09, 2010, 04:21:27 PM
Fatal error: Class 'Facebook' not found in /home/a2197288/public_html/forum/Sources/FB_Connect/FB_Connect_Subs.php on line 359



Ive just installed the above package, no problems (a few "test fails" on custom themes, but i just shook it off) now i get that error EVERY time i click Intergrate With Facebook.


what have i done wrong...Ive uploaded all THREE(yes, three) .zips of this mod i have, plus the one from the page itself, still same error.

it must be something ive done/not done, as the mod worked before...

Please help.


VERSION 2.0 RC3
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: bahgheera on June 10, 2010, 08:36:41 AM
Ok, I'm trying not to freak out here, but I am shocked at what happened overnight.

I installed SA Facebook connect last night, and when I wake up this morning, I find a message from a user that goes like this:

Quotehello man , you forum have one bug.when i log in whit my face book account,the forum log me as a ADMINISTRATOR :)
may i stay like a admin ?
but fix this because if this know from bad peoples the forum can get down..

I looked around and in fact he was logged in AS ADMIN. I don't understand how this could happen. There isn't anything saying that it would happen in the initial documentation. Luckily the guy didn't do too much damage, other than apparently delete the main admin account.

How did this happen and why???
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Kadai Crosshansen on June 10, 2010, 07:44:15 PM
Quote from: bahgheera on June 10, 2010, 08:36:41 AM
Ok, I'm trying not to freak out here, but I am shocked at what happened overnight.

I installed SA Facebook connect last night, and when I wake up this morning, I find a message from a user that goes like this:

Quotehello man , you forum have one bug.when i log in whit my face book account,the forum log me as a ADMINISTRATOR :)
may i stay like a admin ?
but fix this because if this know from bad peoples the forum can get down..

I looked around and in fact he was logged in AS ADMIN. I don't understand how this could happen. There isn't anything saying that it would happen in the initial documentation. Luckily the guy didn't do too much damage, other than apparently delete the main admin account.

How did this happen and why???

What version of SMF was you using? What version of the mod (The most current?)
If you can, try to see what did that user specially; to detect how this might have happened.
And also, there is anyone else that have seen this behavior in their own forums?

As far I have seen, this MOD is used in a wide range of forums, so if this issue is easily reproducible, it can be a huge problem for anyone using this.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: bahgheera on June 10, 2010, 11:26:03 PM
I used SA_FBConnect_0.2.zip on SMF 2.0 RC3. I agree, there are many people here who have no problem with SA Facebook Connect, so it's odd that this happened. I tested it with a couple of accounts and it seemed to work fine. I really want to use this plugin, but I'm scared to death of what might happen. It's a five year old forum with over 4000 members - so you can imagine I don't want to screw that up.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Hj Ahmad Rasyid Hj Ismail on June 11, 2010, 11:18:13 PM
How do I change the image Connect to Facebook to a smaller / shorter one? Any help is appreciated.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on June 11, 2010, 11:31:06 PM
in index.template.php find

http://b.static.ak.fbcdn.net/rsrc.php/zB6N8/hash/4li2k73z.gif

and chnage it to you image that you wat to use
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Hj Ahmad Rasyid Hj Ismail on June 12, 2010, 10:22:31 AM
Quote from: Sleepy Arcade on June 11, 2010, 11:31:06 PM
in index.template.php find

http://b.static.ak.fbcdn.net/rsrc.php/zB6N8/hash/4li2k73z.gif

and chnage it to you image that you wat to use
Thanks a million. Very kind of you to show me the right path to it. Will be changing it soon. Thanks again.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on June 12, 2010, 11:13:43 AM
yw im just getting back into things myself with modding
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: William L on June 12, 2010, 11:36:01 AM
hmmm.....
I`m Trying to use this mod at localhost, but i have erro...

QuoteInvalid API key specified


The application you are trying to access does not exist or has been disabled.

How to solve this problem ?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on June 12, 2010, 03:47:45 PM
did you setup an app on facebook? you need todo so to get an api key
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: daked on June 13, 2010, 12:59:34 AM
There's an error that shows up if you try logging in with f.bconnect
   
   
QuoteAn error occurred with Ngn Media Connect. Please try again later.

API Error Code: 100
API Error Description: Invalid parameter
Error Message: next is not owned by the application.

what do i do
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on June 13, 2010, 04:02:18 PM
whats your facebook app settings?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Abel6669 on June 14, 2010, 09:34:52 AM
I'm still having this problem...


Fatal error: Class 'Facebook' not found in /home/a8298844/public_html/Sources/FB_Connect/FB_Connect_Subs.php on line 359


when i click "intergrate with facebook".

now, the code that its refering to is:

include_once $boarddir.'/fbc/facebook/php/facebook.php';
$api_key = ''.$modSettings['fb_app_key'].'';
$secret  = ''.$modSettings['fb_app_secret'].'';
$fb = new Facebook ($api_key,$secret);
$fb_user = $fb->get_loggedin_user();
$user_id = $fb->require_login();

its not my fault, as its your code..buty i don't know what I have to do to fix it...so i leave it with you :).

Forum v.2.0 RC3
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: shinnok on June 14, 2010, 12:13:27 PM
Hi all,
i installed this mod, i created the application on Facebook and used the key etc, but when i press on the button to connect with fb account, instead of doing it, the page doesn't load anything, like if i'm not pressing anything and after the address a "#" appears.
Like this:

1) w.ww.yoursite.com (random name)
2) i click "Fb connect", nothing happens
3) i stay with the cursor on the button and i see that it sends me to w.ww.yoursite.com/# (or yoursite.com#, don't remember now)

What's missing? I have to modify the code of my template?
Before this i had another error:

Fatal error: Call to undefined function show_facebook() in /xxxxxxxxxx/public_html/penpal-community/Sources/PortalBlocks.php on line 225

So i checked online and i found a guy that made a code to modify the template and i used that. After that, all seemed ok but instead nothing works.

This is the code i added, in index.template.php   (before the line -->    function template_body_above()   )

function show_facebook()
{
global $boardurl, $settings, $context, $txt, $modSettings, $scripturl;
if($modSettings['fb_enable'])
{
if ($context['user']['is_logged'])
{    
if(isset($context['user']['fb'])) {
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 />';
}
else
{
echo'
<a href="#" onclick="javascript:fbLogin(); return false;"><img src="http://b.static.ak.fbcdn.net/rsrc.php/zB6N8/hash/4li2k73z.gif" alt="" /></a>';
}
}
}


Probably is wrong, but since i'm a noob.... anyone can help me? Thanks
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on June 14, 2010, 05:51:38 PM
@Abel6669  if you login to your server and see if the fbc dir is there pleasde if it is what are the permissions set to files should be 644 folders should be 755

@shinnok  same as above whats permission on fbc/fbconnect.js should be 644
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: shinnok on June 15, 2010, 03:28:12 AM
Yes, the folder is there with permission 755 and the file has 644. I tried to re-install all again, but nothing works ;(

Maybe it's about the FB application i created? What i have to do exactly there? I just need the key/secret key or i have to configure all?

P.S.  i forgot to say, i don't use the default theme (Curve something) i'm using another one, called Impulse2.
I saw that with the default theme it works, but with the one i chose it doesn't. What i have to modify?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: coolfx350 on June 15, 2010, 06:11:00 AM
Thanks for the wonderful mod, there's one small issue for me..
my forum background is gray, the facebook comment text is black, so it's very hard to read.

see attached screenshot.

is there a way to change the background to white? where to make the change? thx.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on June 15, 2010, 12:53:47 PM
@shinnok then your have todo the edits to your custom theme

@petecheng you can try in fbc/fbconnect.js

find

document.getElementById("comments").innerHTML = "<fb:comments xid=" + mod_settings_fb_com_xid + " numposts=" + mod_settings_fb_com_show + "></fb:comments>";

and chnage to    

document.getElementById("comments").innerHTML = "<fb:comments xid=" + mod_settings_fb_com_xid + " numposts=" + mod_settings_fb_com_show + " css='http://www.yourwebsite.com/css/comments.css?1234'></fb:comments>";


then chnage http://www.yourwebsite.com/css/comments.css?1234 to your themes.css


http://wiki.developers.facebook.com/index.php/Fb:comments_(XFBML)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: shinnok on June 16, 2010, 03:12:20 AM
Quote from: Sleepy Arcade on June 15, 2010, 12:53:47 PM
@shinnok then your have todo the edits to your custom theme


Now it seems to work, but something happened. I uninstalled and installed the mod again, choosing my theme too. But when SMF checks if the installation will be ok, it tells me:

template.index.php   Test Failed

In about 3-4 lines it tells me it fails. I tried anyway but then i see that if a new user tries to use Connect at some point it says "You must be logged in Facebook etc etc" even if he/she's logged.
Mah  :o
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Hj Ahmad Rasyid Hj Ismail on June 16, 2010, 05:53:42 AM
Quote from: shinnok on June 16, 2010, 03:12:20 AM
Quote from: Sleepy Arcade on June 15, 2010, 12:53:47 PM
@shinnok then your have todo the edits to your custom theme


Now it seems to work, but something happened. I uninstalled and installed the mod again, choosing my theme too. But when SMF checks if the installation will be ok, it tells me:

template.index.php   Test Failed

In about 3-4 lines it tells me it fails. I tried anyway but then i see that if a new user tries to use Connect at some point it says "You must be logged in Facebook etc etc" even if he/she's logged.
Mah  :o
My guess is you dont have a clean uninstall. Manually restore the file by removing the modified line and replacing it with the previous one and try again. If it still fail to have a clean install, manually modify the respected file it fails to modify.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on June 16, 2010, 01:53:58 PM
dont forget that some custom themes will fail nothing we can do about that it is just cos ther not default
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Hj Ahmad Rasyid Hj Ismail on June 16, 2010, 03:11:53 PM
Quote from: Sleepy Arcade on June 16, 2010, 01:53:58 PM
dont forget that some custom themes will fail nothing we can do about that it is just cos ther not default
agreed...
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: luckyMM on June 16, 2010, 11:47:06 PM
Hi SA
First of all, i would like to say Thank You for your amazing this mod.

And i have a question. To use this mod , do i need to enable Guest permission? If i disabled Guest permission of forum, this mod will not work. Right?
How can i use this mod without giving guest permission?

I'm using SMF 2.0 RC3

Rgds,
luckyMM
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on June 17, 2010, 05:45:20 PM
yes you do i dont know a way around it yet if there is one that is
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Tearstar on June 17, 2010, 07:25:06 PM
Is this currently based off the OpenGraph Facebook system? If not are there plans to adap it to the OpenGraph system? Not that it will make a difference in functionality, but for consistancy on my site, was curious.

Also I am using SSI.php to use the login/logout outside of the forums and I can't seem to figure out how to include the facebook connect stuff to the login bloack I have.

http://oge.sytes.net

Under members tab, under the login block . . . I want (Connect with Facebook) so a user can use facebook to login.
any ideas?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on June 18, 2010, 09:01:07 PM
this still uses the old rest api for now

this should work for you


show_facebook();
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>';
}


you may also need this
echo'<script src="path to fbc dir/fbc/fbconnect.js" type="text/javascript"></script>';

just change the part in red

Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: mursalat on June 20, 2010, 09:50:25 PM
firstly gotta say: REAL Awesome Stuff..  ;D - u saved me hours of work brav..
so i setup this thing, put in my API secret, API Key, and the ID, and all worked fine, i got asked for permission stuff when trying to integrate my facebook account... i authorized it, but after that when i click on "Integrate with Facebook" I get something like what you see on the screenshot, (basically nothing happens, just the page refreshes after showin the FB dialog as shown on the screenshot)..

So looking at the source, i saw the link is something like:
<a href="" onclick="fbLogincheck();">Integrate with facebook</a>

So whats it supposed to do after checkin login
I got no idea where its going wrong...
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on June 20, 2010, 09:58:39 PM
it should redirect to action=facebook after you autherise it keep trying somtimes facebook gos like this unfortuantly it is out of my control
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: mursalat on June 20, 2010, 10:03:57 PM
I have been trying since yesterday, thats why i decided to post for help now.. i finally gave up..
Actually is there anything other then the Connect URL/base domain then i need to setup at Facebook? a url facebook will ping?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on June 20, 2010, 10:11:47 PM
did you set and email domain? can have a link to your site please?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: mursalat on June 20, 2010, 10:24:27 PM
yeah sure, its studentforums.biz

and what do you mean by if i setup a email domain??

I just wanted to tell you that i just manually put up the link such that its not a href="#" but a href="?action=facebook"
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on June 20, 2010, 10:29:45 PM
yes that will work like that but if your not logged in fb and goto action=facebook it wll throw erros

it is working for me i just registerd at your site with facebook connect
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: mursalat on June 20, 2010, 10:33:30 PM
uh oh, ok,
sorry - i guess i should have created another fb account to test it...

Thnx for the help... and also GREAT MOD!
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on June 20, 2010, 10:36:22 PM
np 8)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: mursalat on June 20, 2010, 10:40:31 PM
Just another thing - did you have any problems after logging in?
what happens when you click facebook connect? thnx brav
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on June 20, 2010, 10:43:56 PM
nope none at all when you click facebook conenct you get the facebook popup after that it redirect to action=facebook
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: mursalat on June 20, 2010, 10:56:59 PM
thats awesome brav..
U r awesomeInfinite
:D
Thanks - btw, sorry for a lil late reply, went downstairs to eat  ;D
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on June 20, 2010, 10:58:22 PM
late reply? that was quike to me lol
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: mursalat on June 20, 2010, 11:24:54 PM
awesome - since you saved me, i will be ur slave for the next .5 hour, then i gotta go outside,

Anyway, here is my lil contribution:

some of you guys dont like the way the share button comes just above the Topic, you can fix it by going to Themes/default/Display.template.php
then instead of
adding:

';
if ($context['show_fb_share_button']){
   echo'<script type="text/javascript">
           var mod_settings_fb_share = "',$context['current_topic'],'";
            </script>
        <span id="share"></span>
        <script type="text/javascript">
            Get_share();
            </script>
                <script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>';
}
   echo'


after
<tr class="catbg3">

Do this:
replace

', $txt[118], ': ', $context['subject'], ' &nbsp;(', $txt[641], ' ', $context['num_views'], ' ', $txt[642], ')
</td>

with:

';
if ($context['show_fb_share_button']){
   echo'<script type="text/javascript">
           var mod_settings_fb_share = "',$context['current_topic'],'";
            </script>
        <span id="share"></span>
        <script type="text/javascript">
            Get_share();
            </script>
                <script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>';
}
echo
$txt[118], ': ', $context['subject'], ' &nbsp;(', $txt[641], ' ', $context['num_views'], ' ', $txt[642], ')
</td>
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on June 20, 2010, 11:26:37 PM
thanks for sharing :)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: bahgheera on June 21, 2010, 01:45:10 AM
@SleepyArcade - do you have a response for my post back on page 23? About people logging in as admin due to this plugin?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on June 21, 2010, 01:49:42 AM
no cos i cannot replicate this the only i think that can happen is if they have the same name as the admin on facebook but i doubt it considering each facebook id is unick to that user

i logs the user in using the  id so if you was john smith clikc the facebook connect button it will look for the the user id from facebook the search the members table for that id then it will do the login stuff
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: MATTEK on June 21, 2010, 03:27:01 AM
Does this mod conflict with any other facebooks mods? I'm trying to install and it says it's corrupt or incompatible with my version of SMF.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Hj Ahmad Rasyid Hj Ismail on June 21, 2010, 06:03:23 AM
Quote from: MATTEK on June 21, 2010, 03:27:01 AM
Does this mod conflict with any other facebooks mods? I'm trying to install and it says it's corrupt or incompatible with my version of SMF.
I've been using this mod for quite some times now and it's awesome. And yes, from my past experience it does conflict with other facebook mods (which you do not need with this mod installed). And normally, I use mod page to download the mod, upload it back to my forum and install it there; as sometimes directly download and install from Package Server [Simple Machines Third-party Mod Site] cause me problems like yours (" it's corrupt or incompatible").
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: JonoJames on June 21, 2010, 11:01:42 AM
I'm trying to get FB Connect mod to work with external pages from the forum, i tried the code you gave at the top but got an error from load.php when saying that show_facebook(); was already defined.

Any ideas how to get this working?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on June 21, 2010, 12:19:07 PM
try this one

show_facebook_ext();
function show_facebook_ext()
{
    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>';
}
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: JonoJames on June 21, 2010, 01:17:48 PM
The function loads, the same way it did if calling show_facebook(); its just the links don't work.

For example, when itry to connect, the page just reloads, there is no popup box.

When i am logged in i get a message to integrate with account, i click it and the page just reloads.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: bahgheera on June 21, 2010, 04:02:16 PM
Quote from: SleepyArcadeno cos i cannot replicate this the only i think that can happen is if they have the same name as the admin on facebook but i doubt it considering each facebook id is unick to that user

i logs the user in using the  id so if you was john smith clikc the facebook connect button it will look for the the user id from facebook the search the members table for that id then it will do the login stuff

Ok, well thanks then.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Casa Grande on June 21, 2010, 04:03:29 PM
Quote from: Sleepy Arcade on June 18, 2010, 09:01:07 PM

you may also need this
echo'<script src="path to fbc dir/fbc/fbconnect.js" type="text/javascript"></script>';

just change the part in red



I have installed the mod and I'm having troubles.  It seems the above code you mentioned there is a problem.  I keep getting a parse error.  Granted, I did have to manually update the index.template.php file, but I have checked and triple checked and I am still getting the error on this line:

   echo'<script src="http://www.bigbendchat.com/portal/forum/fbc/fbconnect.js" type="text/javascript"></script>';

Here is the error message that comes up:


Template Parse Error!
There was a problem loading the /Themes/default/index.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.

You may want to try to refresh this page or use the default theme.

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in .../Themes/default/index.template.php on line 162

153: if ($context['user']['is_guest'])
154: {
155: $options['collapse_header'] = !empty($_COOKIE['upshrink']);
156: $options['collapse_header_ic'] = !empty($_COOKIE['upshrinkIC']);
157: }
158:
159: // Output any remaining HTML headers. (from mods, maybe?)
160: echo $context['html_headers'], '
161:

162: echo'<script src="http://www.bigbendchat.com/portal/forum/fbc/fbconnect.js" type="text/javascript"></script>';

163: echo'<script type="text/javascript">
164: var mod_settings_fb_app_pageid = "',$modSettings['fb_app_pageid'],'";
165: var mod_settings_fb_app_stream = "',$modSettings['fb_app_stream'],'";
166: var mod_settings_fb_app_connection = "',$modSettings['fb_app_connection'],'";

any help? thanks
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: JonoJames on June 21, 2010, 04:41:59 PM
// Output any remaining HTML headers. (from mods, maybe?)
160: echo $context['html_headers'], '


should be

// Output any remaining HTML headers. (from mods, maybe?)
160: echo $context['html_headers'];


Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on June 21, 2010, 05:45:01 PM
can you post up the file?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: JonoJames on June 21, 2010, 05:57:27 PM
If you mean me, i've got SSI as an include in includes/application_top.php and then i call the facebook function in the header.php


<?
if ($include == 1) {
include ('includes/application_top.php');
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<link href="<? echo DOMAIN; ?>forums/Themes/Estalia20Rc3/css/index.css" rel="stylesheet" type="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="harry, max, myles, matt, fitzgerald, mondryk, ryan, connor, connected, boyband, britains, got, talent, events, news, forums, videos, pictures, biography" />
<meta name="description" content="<? echo $pgdesc; ?>" />
<title><? echo $title; ?></title>
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript" src="functions.js"></script>
<script src="/forums/fbc/fbconnect.js" type="text/javascript"></script>
</head>
<?
function show_facebook_ext()
{
    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>';
}
?>
<body>

<!-- Begin header -->
<div id="body-top">
<!-- Start logo display -->
<div id="top-banner">
        <span style="position:relative; left:15px; top:15px;float:left;">
        <table align="left">
        <tr><td colspan="2" style="font-size: 1.25em; color:white; font-weight:bold;">Follow us on these sites:</td></tr>
        <tr><td><a href="http://www.youtube.com/officiallyconnected"><img src="images/youtube.png"  height=45 width=45 style="padding:3px; "/></a></td><td align="left" style="font-size:1.15em;  font-weight:bold;"><a href="http://www.youtube.com/officiallyconnected" style="color:white;">YouTube</a></a></tr>
        <tr><td><a href="http://www.facebook.com/pages/OfficiallyConnected/121869631187830"><img src="images/facebook1.png"  height=45 width=45 style="padding:3px; "/></a></td><td align="left" style="font-size:1.15em;  font-weight:bold;"><a href="http://www.facebook.com/pages/OfficiallyConnected/121869631187830" style="color:white;">Facebook</a></a></tr>
        <tr><td><a href="http://www.twitter.com/connectedforum"><img src="images/twitter.png"  height=45 width=45 style="padding:3px; "/></a></td><td align="left" style="font-size:1.15em;  font-weight:bold;"><a href="http://www.twitter.com/connectedforum" style="color:white;">Twitter</a></a></tr>
        </table>
       
        </span>
<!-- Start Login/User display box -->
        <span style="position:relative; left:0px; top:0px;float:right; width:27%;">
<?

// If user is logged in display the info box.
if ($context['user']['is_logged'])
{
echo'<table align="right" width="190"><tr>';
echo '
<td><ul class="reset">
<li class="greeting" style="color: #fff;"><b>Hello <span>', $context['user']['name'], '</b>' . loginout("logout",$pgid) . '</span></li>
<li><a href="', $scripturl, '?action=unread" style="color: #a9ddff">View unread posts since last visit</a></li>
<li><a href="', $scripturl, '?action=unreadreplies" style="color:#a9ddff">View new replies to your posts<br></a></li>
';

echo'
</ul></td>';

echo'</tr></table>';
}

// Else show a log in box
else
{
loginout("login",$pgid);
}
if ($context['user']['is_logged']){

if (empty($modSettings['fb_enable_fbc_menu']))
    {
    echo '<div align="right" style="clear:both;">';
       show_facebook_ext();
    }
    echo '</div>';
  }
  else {
  echo '<div align="center" style="font-size:13px; color:white; font-weight:bold;">---- OR ----- <br>';
if (empty($modSettings['fb_enable_fbc_menu']))
    {
       show_facebook_ext();
    }}
echo '</div>';
echo '
</td></tr></table>'; ?>
               
                </span>
<!-- End user info box -->
</div>
<!-- End logo -->
</div>
<!-- End Header -->

<!-- Start Menu -->
    <div id="menu">
    <ul>
    <li><a href="index.php" title="Home">Home</a></li>
    <li><a href="news.php" title="News">News</a></li>
    <li><a href="bio.php" title="Biography">Biography</a></li>
    <li><a href="events.php" title="Events">Events</a></li>
    <li><a href="/forums/index.php?action=media" title="Gallery">Gallery</a></li>
    <li><a href="/forums/index.php?action=media;sa=album;in=18" title="Videos">Videos</a></li>
            <li><a href="<? echo DOMAIN;?>forums" title="Join the forums, interact with other fans">Forums</a></li>
<?         
// If user is logged in display profile button on menu
if ($context['user']['is_logged'])
echo ' <li><a href="/forums/index.php?action=profile" title="View your forum profile">Profile</a></li>';
// if ((in_array(1, $user_info['groups'])) || (in_array(9, $user_info['groups'])))
// echo ' <li><a href="admin.php" title="Manage">Manage</a></li>';
?>
</ul>
    </div>
<!-- End Menu -->

<!-- Start main body -->
   <div id="mainbody">
<div class="clr"/></div>
<!-- Everything inside the wrapper which is aligned to center of page -->
<div class="wrapper">
           


Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on June 21, 2010, 06:05:43 PM
sry i ment Casa Grande

can i have a link to you site pls
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: littleone on June 21, 2010, 06:12:19 PM
How can I uninstall this mod?  It shows that it has not been installed yet but it is installed. I want to uninstall it, but can't do so since its showing with an "Apply Mod" link only and I dont want to double install it.  Is there a way to uninstall without removing all that code manually?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on June 21, 2010, 06:24:27 PM
nope the only way is maualy
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Casa Grande on June 21, 2010, 06:33:53 PM
Thanks for your help, Sleepy

Yes, the site is here: http://www.bigbendchat.com

and here is the file code.  Keep in mind, I had to manually add the code for this file.  All other files where installed using the admin control panel.

you can download the zip file containing the offending php page here: http://www.bigbendchat.com/index.template.zip
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: MATTEK on June 21, 2010, 06:37:50 PM
Quote from: Abu Fahim Ismail on June 21, 2010, 06:03:23 AM
Quote from: MATTEK on June 21, 2010, 03:27:01 AM
Does this mod conflict with any other facebooks mods? I'm trying to install and it says it's corrupt or incompatible with my version of SMF.
I've been using this mod for quite some times now and it's awesome. And yes, from my past experience it does conflict with other facebook mods (which you do not need with this mod installed). And normally, I use mod page to download the mod, upload it back to my forum and install it there; as sometimes directly download and install from Package Server [Simple Machines Third-party Mod Site] cause me problems like yours (" it's corrupt or incompatible").

I'm not entirely sure what you mean. I manually download from the mod page and it still said incompatible or corrupt.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: JonoJames on June 21, 2010, 06:38:17 PM
Ok i've fixed my problem :D

I added the following to my header.php

Above the header tag



echo'<script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php" type="text/javascript"></script>';

echo'<script src="'.$boardurl.'/fbc/fbconnect.js" type="text/javascript"></script>
<script type="text/javascript">
var mod_settings_fb_app_pageid = "',$modSettings['fb_app_pageid'],'";
var mod_settings_fb_app_stream = "',$modSettings['fb_app_stream'],'";
var mod_settings_fb_app_connection = "',$modSettings['fb_app_connection'],'";
var mod_settings_fb_app_width = "',$modSettings['fb_app_width'],'";
var mod_settings_fb_com_xid = "',$modSettings['fb_app_comments_boxid'],'";
var mod_settings_fb_com_show = "',$modSettings['fb_admin_commets_post'],'";
</script>';

echo'<script type="text/javascript">
FB.init("'.$modSettings['fb_app_key'].'",
"'.$boardurl.'/fbc/xd_receiver.htm",
{"doNotUseCachedConnectState":true });
function doLoggedOutFacebookUser(){
FB.Connect.logout(function(){location.href = "'.$scripturl.'?action=logout;sesc='.$sc.'";});
}
</script>';

if(isset($_GET['fb_feed']))
{
include_once $boarddir.'/fbc/facebook/php/facebook.php';
$api_key = ''.$modSettings['fb_app_key'].'';
$secret  = ''.$modSettings['fb_app_secret'].'';
$fb = new Facebook($api_key,$secret);
$fb_user = $fb->get_loggedin_user();
$user_id = $fb->require_login();
$user_details = $fb->api_client->users_getInfo($fb_user, array('first_name','last_name')); 
$firstName = $user_details[0]['first_name'];
$lastName = $user_details[0]['last_name'];
$name = ''.$firstName.' '.$lastName.'';
echo'<script type="text/javascript">
window.onload = function()
{
callPublish(\'\',{\'name\':\''.$name.' '.$txt['fb_haslogged'].' '.$context['forum_name'].' '.$txt['fb_haslogged2'].'\',\'href\':\''.$scripturl.'\',\'description\':\''.$name.' '.$txt['fb_haslogged'].' '.$context['forum_name'].' '.$txt['fb_haslogged2'].'\'},null);
facebook_onload(true);
};
</script>';
}



Wherever you want on the page



       show_facebook_ext();

function show_facebook_ext()
{
    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>';
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on June 21, 2010, 10:34:22 PM
Quote from: Casa Grande on June 21, 2010, 06:33:53 PM
Thanks for your help, Sleepy

Yes, the site is here: http://www.bigbendchat.com

and here is the file code.  Keep in mind, I had to manually add the code for this file.  All other files where installed using the admin control panel.

you can download the zip file containing the offending php page here: http://www.bigbendchat.com/index.template.zip

try this
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Casa Grande on June 22, 2010, 03:46:22 PM
thank you, Sleepy!  Works great now...thanks for the personal attention!
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: JonoJames on June 22, 2010, 08:18:02 PM
I'm having another problem. When clicking the forum logout button, it pops up to tell me that its logging out of facebook and the forum, however it doesn't, the page just reloads and i'm still logged in.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: MATTEK on June 22, 2010, 08:33:21 PM
I'd still like to know why it says the mod is corrupt or incompatible, please.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on June 22, 2010, 08:50:52 PM
@JonoJames you can disable that in facebook admin or try clearing you forum cache


@MATTEK because you are using the wrong package if you notice there is two packages there one for smf1 and one for smf2
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: MATTEK on June 22, 2010, 09:02:00 PM
Quote from: Sleepy Arcade on June 22, 2010, 08:50:52 PM
@JonoJames you can disable that in facebook admin or try clearing you forum cache


@MATTEK because you are using the wrong package if you notice there is two packages there one for smf1 and one for smf2

I tried both. Same error for each.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on June 22, 2010, 09:11:07 PM
well eaither you are downloading the same file twice or ive gone mad cos i just tested it and it installs just fine

http://custom.simplemachines.org/mods/index.php?action=download;mod=2322;id=142369
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: kaansef on June 23, 2010, 05:37:57 AM
Fatal error: Class 'Facebook' not found in /home/vhosts/xxxxxxxxx.xxx.biz/forum/Sources/FB_Connect/FB_Connect_Subs.php on line 717

Help me please.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on June 23, 2010, 04:33:30 PM
search is your freind :) try this


  if you login to your server and see if the fbc dir is there pleasde if it is what are the permissions set to files should be 644 folders should be 755
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: choloman05 on June 24, 2010, 12:04:54 AM
Quote from: Dismal Shadow on April 25, 2010, 11:49:00 PM
Quote from: choloman05 on April 25, 2010, 11:35:14 PM
Quick question: 

What happens when someone registers on the forum using FB connect and then deletes his account on FB?  Will he still be able to login to the forum?
Yes, by using the same account and password when you register with FB connect.

Thank you.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Alyssasdaddy on June 25, 2010, 03:07:38 PM
I have a really great question i have not seen asked here yet.. I need to change the facebook user id in the forum profile because i connected to the wrong profile. When i go and edit the id it does not save it, I takes it and show success but still has the wrong id when i look at it again.

My board is still in maint mode so i will not be leaving a link to it. But if its needed i would be happy to give.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on June 25, 2010, 03:27:32 PM
in the members table look for your user name click the wee pencil to edit then look for fbname and the user id is there
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Alyssasdaddy on June 25, 2010, 03:41:38 PM
Perfect thanks, I just deleted the info and clicked the facebook connection button all over again. Great mod thanks i like it.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: laoman on June 29, 2010, 06:57:02 PM
Great mod. Can anyone tell me where to find the language file?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on June 30, 2010, 01:06:31 AM
in themes/languages/modifactions.english.php
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: laoman on June 30, 2010, 07:35:10 PM
Great! Norwegian translation:


$txt['fb_enable_fbc_menu'] = 'Vis Facebook i menyen <div class="smalltext">Hvis denne ikke er valgt vil den vises over avataren</div>';
$txt['sa_fbc_live'] = 'SA Mods Live';
$txt['sa_fbc_version'] = 'Versjon info';
$txt['sa_fbc_cversion'] = 'Gjeldende Versjon';
$txt['sa_fbc_lversion'] = 'Siste Versjon';
$txt['sa_fbc_smfversion'] = 'SMF Versjon';
$txt['sa_fbc_downloadl'] = 'Last ned n&aring;';
$txt['sa_fbc_credits'] = 'Takk til';
$txt['fb_admin_main2'] = 'Hoved';
$txt['fbc_crdits'] = '<p><b>Utvikler:</b> <a href="http://sleepy-arcade.ath.cx/battle2">SA Mod Development Site</a></p>
<p><b>Spesiell takk til:</b><br />
<a href="http://www.sa-mods.info/index.php?action=profile;u=53"><º}}}>( </a> Beta testing<br />
<a href="http://thetwoworldsforum.com/">Dismal Shadow</a> Beta testing<br />
<a href="http://www.sa-mods.info/index.php?action=profile;u=115">NIBOGO</a> Beta testing<br />
<a href="http://www.sa-mods.info/index.php?action=profile;u=91">Spoogs</a> Beta testing<br />
<a href="http://www.sa-mods.info/index.php?action=profile;u=179">Nend</a> Beta testing<br />
<a href="http://ogrencilerkulubu.com/smf/">??t? </a> Tyrkisk oversetter<br /><br />
Om noen er glemt, takk til dere ogs&aring;!';
$txt['fb_dispwp'] ='Aktiver sp&oslash;rsm&aring; om &aring; poste til Facebook ved innlogging';
$txt['fb_regusername'] ='Brukernavn';
$txt['fb_regpass1'] ='Passord';
$txt['fb_regpass2'] ='Gjenta passord';
$txt['fb_regallready1'] ='Allerede registrert? Klikk';
$txt['fb_regallready2'] ='her';
$txt['fb_regallready3'] ='for &aring; logge inn';
$txt['fb_make_sure_avs'] ='Oppdater avataren med facebookbildet!';
$txt['fb_make_sure_sync'] ='Synkroniser Forumet og Facebook kontoen!';
$txt['fb_admin_nofb_user'] ='Det finnes ingen registrerte Facebookbrukere';
$txt['fb_custom_fbr'] ='Facebook referanse link';
$txt['fb_custom_regdischo'] = 'Velg et navn';
$txt['fb_custom_enable_ref'] = 'Aktiver mulighet for jblazes Referals Mod<div class="smalltext">Krever <a href="http://custom.simplemachines.org/mods/index.php?mod=1114">Referrals Mod </a>installert</div>';
$txt['fb_reg_real_name_error'] = 'beklager men valgt navn er i bruk. Velg et annet!';
$txt['fb_admin_logs'] = 'Facebook logg';
$txt['fb_admin_logs_member'] = 'Medlem';
$txt['fb_admin_logs_memberid'] = 'Membes ID';
$txt['fb_admin_logs_dr'] = 'Dato registrert';
$txt['fb_admin_logs_fuid'] = 'Facebook brukerid';
$txt['fb_admin_logs_name'] = 'Facebook navn';
$txt['fb_admin_logs_pro'] = 'Facebook profile';
$txt['fb_admin_commets_box'] = '<div align="center">Kommentarboks</div>';
$txt['fb_admin_commets_post'] = 'Antall kommentarer som skal vises i boksen';
$txt['fb_app_comments_boxid'] = 'Kommentarboks XID<div class="smalltext>Unik identifikasjon for dette settet med kommentarer. Kommentarer kan inneholde alfanumeriske tegn (Aa-Zz, 0-9), bindestrek (-), prosent (%), punktum (.), og understrek (_) . </div>';
$txt['fb_admin_setsh1'] = 'Aktiver deling av tr&aring;der til Facebook';
$txt['fb_admin_setsh2'] = 'det vil vises en del p&aring; Facebook knapp ved tr&aring;den';
$txt['fb_admin_set1'] = '<div align="center">Innstillinger</div>';
$txt['fb_admin_set2'] = '<div align="center">Fanside valg</div>';
$txt['fb_admin_set3'] = '<div align="center">Api n&oslash;kkel og hemmelighet</div>';
$txt['fb_app_facebook_log_out'] = 'Aktiver facebook logg ut funksjon <div class="smalltext">logger ut brukeren b&aring;de fra Facebook og fra Forumet</div>';
$txt['fb_app_width'] = 'Bredde p&aring; fanboksen';
$txt['fb_app_key'] = 'Facebook Application n&oslash;kkel';
$txt['fb_app_sharetopic'] = 'Aktiver deling av tr&aring;der til Facebook';
$txt['fb_app_fans'] = 'Aktiver fanside';
$txt['fb_enable_fb_com'] = 'Aktiver Facebook kommentarer';
$txt['fb_app_connection'] = 'Antall fans som vises';
$txt['fb_app_pageid'] = 'Applications side id <div class="smalltext">finnes i URL\'en til siden</div>';
$txt['fb_app_stream'] = 'Vis fans <div class="smalltext">settes til 0 for &aring; vise bare fans og til 1 for &aring; vise b&aring;de fans og stream.</div>';
$txt['fb_app_secret'] = 'Facebook Application hemmelighet';
$txt['fb_integrate'] = 'Integrer forump&aring;logging med Facebook.';
$txt['fb_integrate2'] = 'Integrer med Facebook';
$txt['fb_update'] = 'Oppdatere din Facebook status.';
$txt['fb_admin'] = 'SA Facebook Connect';
$txt['fb_admin_main'] = 'Hovedinnstillinger';
$txt['fb_enable'] = 'Aktiver Facebook Connect Mod';
$txt['fb_enable_wt_mod'] = 'aktiver VBGamers Welcome Topic Mod <div class="smalltext">Krever <a href="http://custom.simplemachines.org/mods/index.php?mod=789">Welcome Topic Mod </a>installert</div>';
$txt['fb_invite'] = 'Invitere venner til';
$txt['fb_title'] = 'Facebook';
$txt['fb_title1'] = 'Du er n&aring; koblet til Facebook!';
$txt['fb_title2'] = 'Dette kan du gj&oslash;re n&aring;r du er koblet til Facebook';
$txt['fb_title3'] = 'Du er ikke koblet til Facebook!';
$txt['fb_title_inv'] = 'Facebook invitasjon';
$txt['fb_inv'] = 'Dette er en invitasjon fra';
$txt['fb_inv_app'] = 'application';
$txt['fb_inv1'] = 'G&aring; til A';
$txt['fb_inv2'] = 'side!';
$txt['fb_inv3'] = 'Inviter dine venner til &aring; bruke';
$txt['fb_inv4'] = 'Takk for at du inviterer';
$txt['fb_inv5'] = 'dine venner til';
$txt['fb_inv6'] = 'Klikk her for &aring; g&aring; tilbake til';
$txt['fb_inv7'] = 'har startet &aring; bruke';
$txt['fb_inv8'] = 'og synes det er <u>s&aring; bra at du ogs&aring; m&aring; pr&oslash;ve det</u>!';
$txt['fb_inv9'] = 'Legg';
$txt['fb_inv10'] = 'p&aring; din profil';
$txt['fb_avatar'] = 'Oppdater avataren din til Facebookbildet';
$txt['fb_avatar1'] = 'Facebook avatar';
$txt['fb_avatar2'] = 'din avatar er endret';
$txt['fb_avatar3'] = 'er du sikker p&aring; at du &oslash;nsker &aring; endre din avatar?';
$txt['fb_yes'] = 'ja';
$txt['fb_no'] = 'nei';
$txt['fb_or'] = 'eller';
$txt['fb_sync'] = 'Facebook Synkronisering';
$txt['fb_sync1'] = 'Er du sikker p&aring; at du vil synkronisere Facebook og Forum kontoen?';
$txt['fb_share'] = 'Dele denne siden p&aring; Facebook';
$txt['fb_fans'] = 'Fanside';
$txt['fb_fans1'] = 'Facebook fanside';
$txt['fb_haslogged'] = 'har logget inn p&aring;';
$txt['fb_haslogged2'] = 'bruker facebook connect';
$txt['fb_reg1'] = 'Facebook innlogging';
$txt['fb_reg2'] = '(du trenger kun &aring; g&oslash;re dette en gang)';
$txt['fb_reg8'] = 'Vis navn';
$txt['fb_reg3'] = 'Lagre';
$txt['fb_reg4'] = 'Legg inn brukernavn';
$txt['fb_reg44'] = 'P&aring;krevd informasjon';
$txt['fb_reg45'] = 'Tillegsinfo';
$txt['permissiongroup_simple_facebookperm'] = 'Koble til med Facebook';
$txt['permissiongroup_facebookperm'] = 'Facebook Connect';
$txt['permissionhelp_share_topic'] = 'Hvis det er tillat for brukeren &aring; dele tr&aring;der p&aring; Facebook';
$txt['permissionname_share_topic'] = 'Del tr&aring;der p&aring; Facebook';
$txt['fbshare_share'] = 'Del forum p&aring; Facebook';
$txt['fb_custom_profile'] = 'Aktiver tilpassede profilfelt';
$txt['fb_enable_avs_mod'] = 'Aktiver mulighet for VBGamers Avatar Select p&aring; Register Mod <div class="smalltext">Krever <a href="http://custom.simplemachines.org/mods/index.php?mod=368">Avatar Select On Register Mod </a>installert</div>';

Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Modelistis on July 02, 2010, 02:40:47 PM
With this package installed and with the facebook connect buttom below the Login area it shows that scrolling bar on the left side (see picture).

Is there any way whe can solve this, because i really dont like that scrolling bar there... :-\ , is it possible to move de button from bellow to the left side of the login area?

Thanks in advance.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on July 02, 2010, 03:23:35 PM
you can find this show_facebook(); in index.template.php and try moving it around
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Modelistis on July 02, 2010, 04:34:34 PM
Thanks, i´ve tried to move it, but i´m a complete noob.. did not work...
Can you give me a clue where i should move it?

Thanks

P.S. can whe define that header to be bigher in height? That way i think the scrool bar will not show up...
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: KensonPlays on July 02, 2010, 04:39:16 PM
Trying to install, but menu item takes me to "#"
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on July 02, 2010, 05:06:37 PM
Modelistis


div#upper_section div.user
{
width: 50%;
float: left;
overflow: auto;
}


try finding that in index.css and adding a height attibute eg height: 50%; or tyr removing overflow: auto;
Themes/default/css

Kcmartz clear your forum cache?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: KensonPlays on July 02, 2010, 05:17:34 PM
Cleared, browser and site, still nothing (also installed bluedevils "like" mod, Love it!)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Modelistis on July 02, 2010, 05:35:02 PM
Quote from: Sleepy Arcade on July 02, 2010, 05:06:37 PM
Modelistis


div#upper_section div.user
{
width: 50%;
float: left;
overflow: auto;
}


try finding that in index.css and adding a height attibute eg height: 50%; or tyr removing overflow: auto;
Themes/default/css

Kcmartz clear your forum cache?



Thanks, this worked perfectly!

I´ve changed the overflow to hidden....

Thanks again!!
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on July 02, 2010, 10:51:40 PM
Quote from: Kcmartz on July 02, 2010, 05:17:34 PM
Cleared, browser and site, still nothing (also installed bluedevils "like" mod, Love it!)

whats permissions on fbc/fbconnect.js
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: KensonPlays on July 03, 2010, 04:25:35 PM
folder: 755
.js: 0666
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on July 03, 2010, 05:38:07 PM
put the .js one to 644
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: KensonPlays on July 03, 2010, 06:55:06 PM
644, still doesn't work
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on July 03, 2010, 07:27:09 PM
and everything else in fbc dir files 644 folders 755
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: KensonPlays on July 03, 2010, 08:25:01 PM
yep ALL FILES in fbc dir are 644 and all folders 755, still not working
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on July 03, 2010, 09:04:08 PM
so fbc/facebook/php are 755 sounds like you got it the wrong way round not being funny but if you did what i said correct then it will work it has been asked a few times in this topic now

directorys should be 755 and files 644
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: KensonPlays on July 03, 2010, 10:42:10 PM
Yes, individual files 644, all folders 755
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on July 03, 2010, 11:04:22 PM
well  it will only goto "#" eaither if permissions are wrong or your cache needs clearing or if the fbconnect.js file isnt there
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: KensonPlays on July 06, 2010, 01:04:19 AM
fbconnect.js is there, cleared both caches, ill check site perms, but I'm admin I should be able to see it!
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: KensonPlays on July 06, 2010, 01:07:56 AM
Perms are correct
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on July 06, 2010, 02:50:16 PM
i meant file perms on your server
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: KensonPlays on July 06, 2010, 10:03:05 PM
yes like you said all 755 or 644, no others are anything else...
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: arty5 on July 08, 2010, 10:11:25 AM
Hello i am getting an few error at both ends first of all i made the fb app and set it up on my forum all buttons and everything is their and tryed first from my facebook page and it successfully worked and then i tryed it on a different fb profile on another pc and on the fan page i clicked the goto app and it keeps boots me too the facebook login, so i tryed it on my normal profile logged out of my forum and went back to the facebook fan page and now i am getting this error.

QuoteFatal error: Uncaught exception 'FacebookRestClientException' with message 'Session key invalid or no longer valid' in /home/deltaiv1/public_html/fbc/facebook/php/facebookapi_php5_restlib.php:3112 Stack trace: #0 /home/deltaiv1/public_html/fbc/facebook/php/facebookapi_php5_restlib.php(1764): FacebookRestClient->call_method('facebook.users....', Array) #1 /home/deltaiv1/public_html/Sources/FB_Connect/FB_Connect_Subs.php(363): FacebookRestClient->users_getInfo('1245925771', Array) #2 /home/deltaiv1/public_html/Sources/FB_Connect/FB_Connect.php(12): FB_Globals() #3 /home/deltaiv1/public_html/index.php(170): FB_Connect() #4 {main} thrown in /home/deltaiv1/public_html/fbc/facebook/php/facebookapi_php5_restlib.php on line 3112

I am currently working on a fix for that i think its more facebook end.

And the second thing is on my portal i have the connect with facebook button when click their are no pop ups and it just reloads the page has any one got any idea's what exactly is happening with this issue. here is my site http://delta5ive.com/index.php (http://delta5ive.com/index.php) and here is my app fan page http://www.facebook.com/apps/application.php?id=125640097465569 (http://www.facebook.com/apps/application.php?id=125640097465569) any help will be much appreciated.

Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Angel Muñoz on July 09, 2010, 08:46:49 AM
Un gran Mod!, disculpe ¿existe la traducción para el idioma español?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: KensonPlays on July 09, 2010, 03:31:59 PM
Hola, creo que hay una traducción al español, hay que detectarlo en su foro y agregar las cadenas de auto si lo tiene. (Google Translation)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: RCC_SaMiaM on July 09, 2010, 03:42:19 PM
I love this mod.  I haven't checked yet, but are all the classes there to utilize stream.publish to post to a fan page wall?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on July 10, 2010, 05:23:05 PM
im not sure what you mean?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: RCC_SaMiaM on July 10, 2010, 06:14:41 PM
What I ment was did you use the full facebook api (or rather which one you used), if the full one was used then everything is there to be able to post to a wall (fan page is what I was wanting to do).
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on July 10, 2010, 06:49:57 PM
aha thats a no then  8)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Jack86 on July 12, 2010, 04:31:35 PM
Im using custom theme and when i manually install this mod in my index.template and display.template it works but all i can see are letters and links on white backround.

I attached my files for anyone willing to help.

edit:nvm, i found what was the problem.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: azhriel on July 13, 2010, 03:04:29 AM
hi there  :)

Im uninstalling this mod on my site.  I have a error on index.template.php

Can i request if you could lend me a hand manually uninstall it

Thanks a lot
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on July 13, 2010, 12:02:46 PM
try this backup first
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: azhriel on July 14, 2010, 01:27:11 AM
Thanks a lot Sleepy Arcade  :D
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on July 16, 2010, 05:56:42 PM
new version for smf 2 realsed

api updated to the new sdk graph api
added more facebook widgets
now has like and share options
template chnages now has a menu for nav thru facebook connect
added facebook session checks to see if there logged in to facebook
added support for drop down menu
added support for unsyncing accounts
added session checks to all forms
now has freinds list
added yor pages feture
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Hj Ahmad Rasyid Hj Ismail on July 17, 2010, 08:00:06 PM
Great. I will update soon.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: OJM on July 19, 2010, 10:43:23 AM
I've just installed a fresh copy of SMF 2.0 RC3 along with the latest version of SA Facebook Connect, and having a problem with Admin \ Features and Options.

When I save anything, even if I don't make any changes, on this Admin page, I get a 400 error.  Now I was able to find out what the error was, but I'm on a different computer now and it's not showing for some reason.  It was something to do with a Facebook Connect .js file on a Facebook URL.

No other Admin pages have this problem.  Any ideas?  I'll try and get the full error and post.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: MATTEK on July 19, 2010, 12:54:04 PM
Keeps saying my API Key is invalid?

Also - I can't see the "share" option anywhere.

RC3 s my forum version. List of other mods will be given upon request.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: MATTEK on July 19, 2010, 09:36:25 PM
fixed that.

After you click connect and enter your info, it loads up in the box, closes and then gives a parse error.

Parse error: syntax error, unexpected '{' in /homepages/46/d274007555/htdocs/fbc/fbmain.php on line 7

I'm also having an issue where the Like button doesn't appear at all.

I can attach the file if you need.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Fonzarello on July 20, 2010, 11:33:41 AM
Hello I am using the FB Connect for smf1. However I cannot get it to function properly. I am getting this error when clicking the 'integrate with facebook' link on my forum, http://bottommagazineonline.com/network.

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /hsphere/local/home/f2martin/bottommagazineonline.com/network/fbc/facebook/php/facebook.php on line 38

What should I do to fix this?
Please Help!?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Jojie on July 20, 2010, 10:46:23 PM
sorry guys for 2 simple question.  how do i edit my custome theme file? which file?? and I suppose the code that was pasted here already??


also, what if I just want to use a code as a link back? 
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: erorcun on July 21, 2010, 04:09:41 AM
I will update SMF 1 version today or tomorrow :D
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: MATTEK on July 21, 2010, 09:43:36 AM
Still having same issue.

When I click on the integrate button, it gives me a window to sign in my Facebook account. I sign is successfully, but when I click connect the window closes and I get :

Parse error: syntax error, unexpected '{' in /homepages/46/d274007555/htdocs/fbc/fbmain.php on line 7

I can attach the file if you need.

I'm also having an issue where the "Like" button doesn't appear at all on some boards. I've made sure to check ALL boards, and still nothing.

Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on July 21, 2010, 01:50:51 PM
you need php5 to use this

Quote from: Fonzarello on July 20, 2010, 11:33:41 AM
Hello I am using the FB Connect for smf1. However I cannot get it to function properly. I am getting this error when clicking the 'integrate with facebook' link on my forum, http://bottommagazineonline.com/network.

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /hsphere/local/home/f2martin/bottommagazineonline.com/network/fbc/facebook/php/facebook.php on line 38

What should I do to fix this?
Please Help!?


sure can you attach that file? as for the lik boards it seems to me a little buggy at the moment :( i will try to get another version out by next week
Quote from: MATTEK on July 21, 2010, 09:43:36 AM
Still having same issue.

When I click on the integrate button, it gives me a window to sign in my Facebook account. I sign is successfully, but when I click connect the window closes and I get :

Parse error: syntax error, unexpected '{' in /homepages/46/d274007555/htdocs/fbc/fbmain.php on line 7

I can attach the file if you need.

I'm also having an issue where the "Like" button doesn't appear at all on some boards. I've made sure to check ALL boards, and still nothing.


Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: MATTEK on July 21, 2010, 02:04:56 PM
Quote from: Sleepy Arcade on July 21, 2010, 01:50:51 PM
you need php5 to use this

Quote from: Fonzarello on July 20, 2010, 11:33:41 AM
Hello I am using the FB Connect for smf1. However I cannot get it to function properly. I am getting this error when clicking the 'integrate with facebook' link on my forum, http://bottommagazineonline.com/network.

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /hsphere/local/home/f2martin/bottommagazineonline.com/network/fbc/facebook/php/facebook.php on line 38

What should I do to fix this?
Please Help!?


sure can you attach that file? as for the lik boards it seems to me a little buggy at the moment :( i will try to get another version out by next week
Quote from: MATTEK on July 21, 2010, 09:43:36 AM
Still having same issue.

When I click on the integrate button, it gives me a window to sign in my Facebook account. I sign is successfully, but when I click connect the window closes and I get :

Parse error: syntax error, unexpected '{' in /homepages/46/d274007555/htdocs/fbc/fbmain.php on line 7

I can attach the file if you need.

I'm also having an issue where the "Like" button doesn't appear at all on some boards. I've made sure to check ALL boards, and still nothing.



No problem. However, I don't have access to my FTP at the moment, but I will later tonight or tomorrow. Thank you for the reply. I'll get this to you ASAP.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Jojie on July 22, 2010, 03:34:23 AM
me again. how do we edit the files for custom themes please? The buttons show in the "default" theme but nothing appears on the custom theme - I know we have to edit something but where do i put them in?

Also if i were to put just a link on my tinyportal front page how would i do that?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: MATTEK on July 22, 2010, 08:34:09 AM
Quote from: Sleepy Arcade on July 21, 2010, 01:50:51 PM
you need php5 to use this

Quote from: Fonzarello on July 20, 2010, 11:33:41 AM
Hello I am using the FB Connect for smf1. However I cannot get it to function properly. I am getting this error when clicking the 'integrate with facebook' link on my forum, http://bottommagazineonline.com/network.

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /hsphere/local/home/f2martin/bottommagazineonline.com/network/fbc/facebook/php/facebook.php on line 38

What should I do to fix this?
Please Help!?


sure can you attach that file? as for the lik boards it seems to me a little buggy at the moment :( i will try to get another version out by next week
Quote from: MATTEK on July 21, 2010, 09:43:36 AM
Still having same issue.

When I click on the integrate button, it gives me a window to sign in my Facebook account. I sign is successfully, but when I click connect the window closes and I get :

Parse error: syntax error, unexpected '{' in /homepages/46/d274007555/htdocs/fbc/fbmain.php on line 7

I can attach the file if you need.

I'm also having an issue where the "Like" button doesn't appear at all on some boards. I've made sure to check ALL boards, and still nothing.



Here you go. Thanks.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on July 22, 2010, 01:56:15 PM
try this
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: MATTEK on July 22, 2010, 02:21:59 PM
Quote from: Sleepy Arcade on July 22, 2010, 01:56:15 PM
try this

Soon as I get home. Thank Sleepy.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: HuwB on July 22, 2010, 03:36:51 PM
hello sleepy, I was getting exact same error as MATTEK,

I uploaded the attached file that you posted and it made no difference at all

I am using RC3 with smf portal installed as well
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: MATTEK on July 22, 2010, 07:56:26 PM
no success sleepy. same error.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: NaYa on July 23, 2010, 03:33:42 AM
Hello there ,

I installed this mod on with out any errors

smf version smf 2.0 RC3

i using Argentinum theme ,but i got somany errors at the home page,login page etc

forum :http://www.filmyplanet.com/index.php

errors : Welcome, Guest. Please login or register.
Fatal error: Call to undefined function show_facebook() in /home/filmypla/public_html/Sources/PortalBlocks.php on line 156

Fatal error: Call to undefined function show_facebook() in /home/filmypla/public_html/Sources/Load.php(2198) : eval()'d code on line 63

mods
-------

Language Drop      1.5.1       [ Uninstall ]  [ List Files ]  [ Delete ]
2.    Reg Bar    1.0.2    [ Uninstall ] [ List Files ] [ Delete ]
3.    AjaxChat Integration    3.2.1 (modified for SMF 2 RC3)    [ Uninstall ] [ List Files ] [ Delete ]
4.    SA FBConnect    1.0 Beta4-1    [ Uninstall ] [ List Files ] [ Delete ]
5.    Look But No Read    1.3    [ Install Mod ] [ List Files ] [ Delete ]
6.    PM to New Members    1.2    [ Uninstall ] [ List Files ] [ Delete ]
7.    Images On Board    2.1    [ Install Mod ] [ List Files ] [ Delete ]
8.    Twitter and Facebook Publisher mod    2.4    [ Uninstall ] [ List Files ] [ Delete ]
9.    Pretty URLs    1.0    [ Uninstall ] [ List Files ] [ Delete ]
10.    SimplePortal    2.3.2    [ Uninstall ] [ List Files ] [ Delete ]
11.    Guest Registration Notification    1.1    [ Uninstall ] [ List Files ] [ Delete ]
12.    Registered Links    2.0.2    [ Uninstall ] [ List Files ] [ Delete ]
13.    AddThis    1.0    [ Uninstall ] [ List Files ] [ Delete ]
14.    SMF4iPhone-Mod    1.0    [ Install Mod ] [ List Files ] [ Delete ]
15.    Tidy Child Boards    1.3    [ Uninstall ] [ List Files ] [ Delete ]
16.    Aeva Media    1.3a    [ Uninstall ] [ List Files ] [ Delete ]
17.    Highslide 4 SMF    0.3    [ Uninstall ] [ List Files ] [ Delete ]
18.    Thank-O-Matic    2.0 RC2    [ Uninstall ] [ List Files ] [ Delete ]
19.    Register At Post View v.1.1

application settings in facebook,cookie settigns are ok...

But still getting error in default theme also....what to do ?

Please help me to solve this error .

Thank you .
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Hj Ahmad Rasyid Hj Ismail on July 23, 2010, 11:11:02 AM
Since there are too many complaints on the new update, I will wait until it is a bit stable before updating to the new one. I am still using the old version of this mod though I like the new features very much. Sad.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: NaYa on July 24, 2010, 02:00:59 AM
Quote from: NaYa on July 23, 2010, 03:33:42 AM
Hello there ,

I installed this mod on with out any errors

smf version smf 2.0 RC3

i using Argentinum theme ,but i got somany errors at the home page,login page etc

forum :http://www.filmyplanet.com/index.php

errors : Welcome, Guest. Please login or register.
Fatal error: Call to undefined function show_facebook() in /home/filmypla/public_html/Sources/PortalBlocks.php on line 156

Fatal error: Call to undefined function show_facebook() in /home/filmypla/public_html/Sources/Load.php(2198) : eval()'d code on line 63

mods
-------

Language Drop      1.5.1       [ Uninstall ]  [ List Files ]  [ Delete ]
2.    Reg Bar    1.0.2    [ Uninstall ] [ List Files ] [ Delete ]
3.    AjaxChat Integration    3.2.1 (modified for SMF 2 RC3)    [ Uninstall ] [ List Files ] [ Delete ]
4.    SA FBConnect    1.0 Beta4-1    [ Uninstall ] [ List Files ] [ Delete ]
5.    Look But No Read    1.3    [ Install Mod ] [ List Files ] [ Delete ]
6.    PM to New Members    1.2    [ Uninstall ] [ List Files ] [ Delete ]
7.    Images On Board    2.1    [ Install Mod ] [ List Files ] [ Delete ]
8.    Twitter and Facebook Publisher mod    2.4    [ Uninstall ] [ List Files ] [ Delete ]
9.    Pretty URLs    1.0    [ Uninstall ] [ List Files ] [ Delete ]
10.    SimplePortal    2.3.2    [ Uninstall ] [ List Files ] [ Delete ]
11.    Guest Registration Notification    1.1    [ Uninstall ] [ List Files ] [ Delete ]
12.    Registered Links    2.0.2    [ Uninstall ] [ List Files ] [ Delete ]
13.    AddThis    1.0    [ Uninstall ] [ List Files ] [ Delete ]
14.    SMF4iPhone-Mod    1.0    [ Install Mod ] [ List Files ] [ Delete ]
15.    Tidy Child Boards    1.3    [ Uninstall ] [ List Files ] [ Delete ]
16.    Aeva Media    1.3a    [ Uninstall ] [ List Files ] [ Delete ]
17.    Highslide 4 SMF    0.3    [ Uninstall ] [ List Files ] [ Delete ]
18.    Thank-O-Matic    2.0 RC2    [ Uninstall ] [ List Files ] [ Delete ]
19.    Register At Post View v.1.1

application settings in facebook,cookie settigns are ok...

But still getting error in default theme also....what to do ?

Please help me to solve this error .

Thank you .

A reply to the above may help me alot .
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: erorcun on July 24, 2010, 10:18:37 AM
@NaYa You must put show_facebook() function to index.template for every theme.

I made 1.0 beta 4 for smf 1.1.x but not tested.

I'm looking for smf 1.1.x version tester.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: wizzard1 on July 24, 2010, 02:14:39 PM
ok everything works out well for me the whole intergration worked just fine but i got a problem

if i share and like boards the topic and the post text become very big
i ended up removing it from the display.template.php
if i manually alter it again (put the code back in there ) it starts to get big again

what can i do about that ?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Greenman on July 25, 2010, 01:08:34 AM
Fatal error: Uncaught CurlException: 28: Connection time-out thrown in /forum/fbc/facebook.php on line 512

It went to the facebook screen where I allow the access, but then nothing happens. When I go to the facebook page to login, it jsut times out with that.. ^

Help? (SMF2 RC3)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: MATTEK on July 25, 2010, 05:03:13 AM
Quote from: MATTEK on July 21, 2010, 09:43:36 AM
Still having same issue.

When I click on the integrate button, it gives me a window to sign in my Facebook account. I sign is successfully, but when I click connect the window closes and I get :

Parse error: syntax error, unexpected '{' in /homepages/46/d274007555/htdocs/fbc/fbmain.php on line 7

I can attach the file if you need.


Still same error
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: NaYa on July 25, 2010, 05:10:02 AM
Quote
@NaYa You must put show_facebook() function to index.template for every theme.
[/quote ]
I dont want ,i installed this MOD on my default theme and also in other themes ,with out any erros.

I dont like code edit every time ,

And also there is no such a great support from this MOD supporter (yaah sure this is my complaint )
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: erorcun on July 25, 2010, 05:31:16 AM
Quote from: MATTEK on July 25, 2010, 05:03:13 AM
Still same error

Try this file.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: HuwB on July 25, 2010, 09:26:54 AM
erorcun, I tried your file and the error message has now changed

Parse error: syntax error, unexpected T_VARIABLE in /homepages/45/d119261276/htdocs/portal/fbc/fbmain.php on line 10


Just to let you know I am now using the default core theme, and have removed all other packages from the forum, so theoretically this is a fresh install of  SMF 2.0 RC3

thank you for your efforts though
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on July 25, 2010, 10:41:27 AM
@wizzard1 what theme you using

@Greenman that heppens sometimes it is facebook not the mod

@NaYa
im sorry but i do have a life you know
if you dont like the support then dont use the mod simple
i do work and do try to provide as much support as possible just most nights i am so tired that i dont feel or wont to code/support
QuoteI dont like code edit every time ,
And also there is no such a great support from this MOD supporter (yaah sure this is my complaint )

@ erorcun
thanks man you can email me the package if you wanted tho i might not get to test it for a couple of days
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: HuwB on July 25, 2010, 10:53:10 AM
Hello Sleepy Arcade,

Do you think it possible I have done something wrong on the facebook application, I am inexperienced in using facebook apps, and if other people have this tool working then it may be me who is doing something wrong.

I really do want to use this mod, I just viewed it on the site you have in your signature, and it sure is great. I also removed the 1.04 beta and tried 0.2 but was getting error messages with that too, so I think it is something I am doing wrong rather than a scripting error

I have now gone back to the beta verion
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on July 25, 2010, 10:57:20 AM
at the moment im not too shore what is you connect url and what else did you do to the app?

out of curiosity what is your php version?

im just intaling on a test site now to see if i can replicate this error
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: HuwB on July 25, 2010, 11:02:16 AM
I have two different versions of smf, the first is the main one, the second being just a test site that I work on to see how packages look and feel before I try to upload them on my main site, to ensure that there is no major issue with them that will kill my forum LOL


in facebook I have placed the connect url to show as http://www.gayswansea.com/portal which is the url where my test forum is located
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on July 25, 2010, 11:08:09 AM
ok so the connect url is ok
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: HuwB on July 25, 2010, 11:11:02 AM
PHP Version 4.4.9  i have not done anything else to the app, i could make you a developer if you want to have a quick look
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on July 25, 2010, 11:15:23 AM
ok i think it may be your php version cos i use php5 and connot replicate this can you ask your host to update your php version? they should do it for you
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: HuwB on July 25, 2010, 11:22:58 AM
Just sent them a mail now, will let you know how it pans out, and if the upgrade works

thank you
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on July 25, 2010, 11:25:38 AM
yw im curiours to see if it is so im installing an older version of php to see my self  but let me know how it goes
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: HuwB on July 25, 2010, 01:52:02 PM
ok so now I am using php 5.2.13

now when I press the integrate with facebook link I get to the next page and I get the sync forum with face book, i click that button and then it waits a few moments and then I get this error


Fatal error: Uncaught Exception: 100: Param uids must be a number thrown in /homepages/45/d119261276/htdocs/portal/fbc/facebook.php on line 425

Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: HuwB on July 25, 2010, 01:54:39 PM
have not change anything but tried running it again and now I get this error

Fatal error: Uncaught CurlException: 28: SSL connection timeout thrown in /homepages/45/d119261276/htdocs/portal/fbc/facebook.php on line 512
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: HuwB on July 25, 2010, 02:00:05 PM
even more curious,

I just tried again and it went through

now all I need to do is try and work out how to get it to work in the theme I use LOL
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on July 25, 2010, 02:07:41 PM
 Param uids must be a number thrown in /homepages/45/d119261276/htdocs/portal/fbc/facebook.php
was you logged into facebook whe you got this ity happens to me somtimes aswell

28: SSL connection timeout thrown in /homepages/45/d119261276/htdocs/portal/fbc/facebook.php
also i think this is facebook
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: HuwB on July 25, 2010, 02:38:41 PM
got it working fine now in the theme that comes with smf 2.0 rc3

but it errors in two parts on the theme I use. which is "5th Theme RC2"

here are the errors I get



Find[Select]
#forumposts h3 span#author, #forumposts h3 span#top_subject
{
float: left;
}
Add Before[Select]

#forumposts h3 span#facebook
{
float: right;
margin: 6px 0.5em 0 0;
}




and



Find[Select]
if (!empty($modSettings['enableOpenID']))
echo '
<br /><input type="text" name="openid_identifier" id="openid_url" size="25" class="input_text openid_login" />';

echo '
<input type="hidden" name="hash_passwrd" value="" />
</form>';
Add After[Select]

show_facebook();



i have tried searching for these but there does not seem to be anything that matches it
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: wizzard1 on July 25, 2010, 02:39:37 PM
Quote from: Sleepy Arcade on July 25, 2010, 10:41:27 AM
@wizzard1 what theme you using

im using the http://custom.simplemachines.org/themes/index.php?lemma=2193
glassy curve
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Plus on July 25, 2010, 05:02:50 PM
its gimme when i allow facebook app. on smf page The database value you're trying to insert does not exist: name whats the solution ?
my url = www.sdu.gen.tr
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Greenman on July 25, 2010, 05:30:50 PM
Quote from: Sleepy Arcade on July 25, 2010, 10:41:27 AM
Quote from: Greenman on July 25, 2010, 01:08:34 AM
Fatal error: Uncaught CurlException: 28: Connection time-out thrown in /forum/fbc/facebook.php on line 512

It went to the facebook screen where I allow the access, but then nothing happens. When I go to the facebook page to login, it jsut times out with that.. ^

Help? (SMF2 RC3)
that heppens sometimes it is facebook not the mod

Weird.. I have yet to get it working. Not even once. It just times-out everytime. Hmm.. ???
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: erorcun on July 26, 2010, 03:24:47 PM
@ Sleepy Arcade

I sent pm on sa-mods.info
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: MATTEK on July 26, 2010, 11:03:45 PM
Quote from: erorcun on July 25, 2010, 05:31:16 AM
Quote from: MATTEK on July 25, 2010, 05:03:13 AM
Still same error

Try this file.

Parse error: syntax error, unexpected T_VARIABLE in /homepages/46/d274007555/htdocs/fbc/fbmain.php on line 10

Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: psybadek on July 26, 2010, 11:33:07 PM
Hello, I've followed all the instructions, and I can't seem to get it to work.

An error occurred with gatesoflife.net. Please try again later.

API Error Code: 100
API Error Description: Invalid parameter
Error Message: next is not owned by the application.

That is what I get when I click on the facebook connect button
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on July 27, 2010, 09:41:45 AM
@ MATTEK  you need to update your php version to php5

@psybadek and you have setup you facebook application?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: MATTEK on July 27, 2010, 02:19:51 PM
How do I do that.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on July 27, 2010, 02:22:52 PM
Quote from: Sleepy Arcade on July 25, 2010, 11:15:23 AM
ok i think it may be your php version cos i use php5 and connot replicate this can you ask your host to update your php version? they should do it for you
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: MATTEK on July 27, 2010, 02:34:35 PM
Okay. Thank you.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: maximus23 on July 27, 2010, 04:31:32 PM
Hi Sleepy,

Very good mod. Thank's :)

The French translation for this mod.

// FB Connect Beta 1.0 Beta4-1
$txt['fb_app_uinfo'] = 'Informations Utilisateurs';
$txt['fb_app_uid'] = 'Id Utilisateur';
$txt['fb_app_uname'] = 'Nom';
$txt['fb_app_ulink'] = 'Lien';
$txt['fb_app_ulink1'] = 'Votre Profil';
$txt['fb_app_bday'] = 'Anniversaire';
$txt['fb_app_location'] = 'Localisation';
$txt['fb_app_uemail'] = 'Courrier';
$txt['fb_app_ugenl'] = 'Genre';
$txt['fb_app_e_uinfo'] = 'Autoriser les Informations Utilisateurs';
$txt['fb_app_ypages'] = 'Vos Pages';
$txt['fb_app_yf'] = 'Vos Amis';
$txt['fb_app_unsync_accounts'] = 'Désynchroniser les Comptes';
$txt['fb_app_e_comment_ssss'] = 'Commentaires';
$txt['fb_unsync'] = 'Désynchroniser Facebook';
$txt['fb_make_sure_unsync'] ='Désynchroniser le Compte du Forum et de Facebook Maintenant!';
$txt['fb_unsync_sure'] = 'Etes-vous certain de vouloir Désynchroniser le Compte du Forum et de Facebook Maintenant ?';
$txt['fb_app_e_drop'] = 'Autoriser le menu déroulant';
$txt['fb_app_e_stream1'] = 'Direct Stream';
$txt['fb_app_menu'] = 'Menu';
$txt['fb_app_fbbook_fp'] = 'Amis';
$txt['fb_app_stream_boxid'] = 'Votre Boîte de dialogue Direct Stream XID<div class="smalltext>L\'identificateur est unique pour cet ensemble de commentaires. Les commentaires peuvent contenir des caractères alphanumériques (Aa-Zz, 0-9), traits d\'union (-), pourcentages (%), ponctuations (.), et soulignements (_) (en effet, le résultat de tout url encodée peut être un XID valide). </div>';
$txt['fb_admin_stream_box'] = '<div align="center">Options de votre boîte de dialogue Direct Stream</div>';
$txt['fb_app_e_stream'] = 'Autoriser le Direct Stream';
$txt['fb_app_e_rec'] = 'Autoriser les Recommendations';
$txt['fb_app_e_fp'] = 'Autoriser Facepile';
$txt['fb_app_Rec'] = 'Recommendations';
$txt['fb_app_liketopic'] = 'Autoriser comme sujet de fond';
$txt['fb_app_id'] = 'L\'id de votre Application Facebook';
$txt['fb_title123'] = 'Intégrer avec Facebook';
$txt['fb_enable_fbc_menu'] = 'Afficher Facebook dans le Menu <div class="smalltext">Si il n\'est pas défini il s\'affichera au dessus de l\'avatar</div>';
$txt['sa_fbc_live'] = 'SA Mods Live';
$txt['sa_fbc_version'] = 'Version Info';
$txt['sa_fbc_cversion'] = 'Version Courante';
$txt['sa_fbc_lversion'] = 'Dernière Version';
$txt['sa_fbc_smfversion'] = 'Version de SMF';
$txt['sa_fbc_downloadl'] = 'Télécharger Maintenant';
$txt['sa_fbc_credits'] = 'Crédits';
$txt['fb_admin_main2'] = 'Main';
$txt['fbc_crdits'] = '<p><b>Développeur & Créateur:</b> <a href="http://sleepy-arcade.ath.cx/battle2">SA Mod Development Site</a></p>
  <p><b>Remerciements Spéciaux à :</b><br />
  <a href="http://www.sa-mods.info/index.php?action=profile;u=53"><º}}}>( </a> Beta Testeur<br />
  <a href="http://thetwoworldsforum.com/">Dismal Shadow</a> Beta Testeur<br />
  <a href="http://www.sa-mods.info/index.php?action=profile;u=115">NIBOGO</a> Beta Testeur<br />
  <a href="http://www.sa-mods.info/index.php?action=profile;u=91">Spoogs</a> Beta Testeur<br />
  <a href="http://www.sa-mods.info/index.php?action=profile;u=179">Nend</a> Beta Testeur<br />
  <a href="http://ogrencilerkulubu.com/smf/">??t? </a> Traduction Turque<br /><br />
  Pour tout les autres, Merci!';
$txt['fb_dispwp'] ='Autoriser les Messages du Mur quand on se connecte avec Facebook';
$txt['fb_regusername'] ='Nom';
$txt['fb_regpass1'] ='Choisir un Mot de Passe';
$txt['fb_regpass2'] ='Vérifier le Mot de Passe';
$txt['fb_regallready1'] ='Déjà Enregistré ? Cliquer';
$txt['fb_regallready2'] ='Ici';
$txt['fb_regallready3'] ='pour vous Connecter';
$txt['fb_make_sure_avs'] ='Mise à jour de votre Avatar avec votre image Facebook!';
$txt['fb_make_sure_sync'] ='Synchroniser le compte du Forum et Facebook Maintenant!';
$txt['fb_admin_nofb_user'] ='Il n\'y a aucuns utilisateurs de facebook enregistrés à présent';
$txt['fb_custom_fbr'] ='Facebook Renvois de liens';
$txt['fb_custom_regdischo'] = 'Choisir un Nom à Afficher';
$txt['fb_custom_enable_ref'] = 'Autoriser le Support Pour jblazes Referals Mod<div class="smalltext">Vous devez avoir <a href="http://custom.simplemachines.org/mods/index.php?mod=1114">Referrals Mod </a>Installé</div>';
$txt['fb_reg_real_name_error'] = 'Désolé le nom que vous avez choisi existe déjà veuillez en choisir un autre';
$txt['fb_admin_logs'] = 'Logs Facebook';
$txt['fb_admin_logs_member'] = 'Membre';
$txt['fb_admin_logs_memberid'] = 'Membre ID';
$txt['fb_admin_logs_dr'] = 'Date d\'enregistrement';
$txt['fb_admin_logs_fuid'] = 'Votre Id Facebook';
$txt['fb_admin_logs_name'] = 'Votre Nom Facebook';
$txt['fb_admin_logs_pro'] = 'Votre Profil Facebook';
$txt['fb_admin_commets_box'] = '<div align="center">Options pour la Boîte de Commentaires</div>';
$txt['fb_admin_commets_post'] = 'Nombre de Commentaires à Afficher dans la Boîte de Commentaires';
$txt['fb_app_comments_boxid'] = 'Votre Boîte de Commentaires XID<div class="smalltext>L\'identificateur est unique pour cet ensemble de commentaires. Les commentaires peuvent contenir des caractères alphanumériques (Aa-Zz, 0-9), traits d\'union (-), pourcentages (%), ponctuations (.), et soulignements (_) (en effet, le résultat de tout url encodée peut être un XID valide). </div>';
$txt['fb_admin_setsh1'] = 'Autoriser le partage de Sujets sur Facebook de ce Forum';
$txt['fb_admin_setsh2'] = 'Autoriser ceci affichera une icône du sujet pour facebook';
$txt['fb_admin_set1'] = '<div align="center">Options Principales</div>';
$txt['fb_admin_set2'] = '<div align="center">Options pour la page de Fans</div>';
$txt['fb_admin_set3'] = '<div align="center">Api Key et Secret</div><div class="smalltext">Cliquer ceci <a href="http://www.facebook.com/developers/apps.php">ici</a> si vous ne possédez pas encore votre code</div>';
$txt['fb_app_facebook_log_out'] = 'Autoriser la déconnexion Facebook <div class="smalltext">vous déconnecter de facebook et vous reconnecter vers le site</div>';
$txt['fb_app_width'] = 'Fan box avec';   
$txt['fb_app_key'] = 'Facebook Application Key';
$txt['fb_app_sharetopic'] = 'Autoriser le partage de sujets';
$txt['fb_app_fans'] = 'Autoriser la Page des Fans';
$txt['fb_enable_fb_com'] = 'Autoriser le système de commentaires Facebook';
$txt['fb_app_connection'] = 'Fans à Afficher';
$txt['fb_app_pageid'] = 'Votre id application pour les pages <div class="smalltext">doit-être définie dans l\'url de votre application</div>';
$txt['fb_app_stream'] = 'Afficher les Fans <div class="smalltext">Mettre 0 pour afficher juste les Fans ou 1 pour afficher les stream et fans</div>';
$txt['fb_app_secret'] = 'Facebook Application Secret';
$txt['fb_integrate'] = 'Intégrer votre compte du forum avec Facebook';
$txt['fb_update'] = 'Mise à jour de votre Status Facebook.';
$txt['fb_admin'] = 'SA Facebook Connect';
$txt['fb_admin_main'] = 'Configuration Générale';
$txt['fb_enable'] = 'Activer le module Facebook Connect';
$txt['fb_enable_wt_mod'] = 'Autoriser le Support pour VBGamers Welcome Topic Mod <div class="smalltext">Vous devez avoir <a href="http://custom.simplemachines.org/mods/index.php?mod=789">Welcome Topic Mod </a>Installé</div>';
$txt['fb_invite'] = 'Inviter les Amis à se Joindre';
$txt['fb_title'] = 'Facebook Connect';
$txt['fb_title1'] = 'Vous êtes connecté avec succès avec Facebook!';
$txt['fb_title2'] = 'Voici quelques choses que vous pouvez faire avec Facebook Connect';
$txt['fb_title3'] = 'Vous n\'êtes pas Connecté avec Facebook!';
$txt['fb_title_inv'] = 'Facebook Invite';
$txt['fb_inv'] = 'Ceci est une invitation de';
$txt['fb_inv_app'] = 'application';
$txt['fb_inv1'] = 'Aller vers';
$txt['fb_inv2'] = 'Page!';
$txt['fb_inv3'] = 'Invitez vos amis à l\'utiliser';
$txt['fb_inv4'] = 'Merci pour votre Invitation';
$txt['fb_inv5'] = 'de vos Amis sur';
$txt['fb_inv6'] = 'Cliquez ici pour revenir à';
$txt['fb_inv7'] = 'a commencé à utiliser';
$txt['fb_inv8'] = 'et c\'est une pensée <u>tellement cool que vous devriez essayer</u>!';
$txt['fb_inv9'] = 'Mettez';
$txt['fb_inv10'] = 'sur votre profil';
$txt['fb_avatar'] = 'Mettez à jour votre avatar à Votre image Facebook';
$txt['fb_avatar1'] = 'Facebook Avatar';
$txt['fb_avatar2'] = 'Votre Avatar est bien changé';
$txt['fb_avatar3'] = 'Etes-vous sur de vouloir mettre à jour votre Avatar ?';
$txt['fb_yes'] = 'oui';
$txt['fb_no'] = 'non';
$txt['fb_or'] = 'ou';
$txt['fb_sync'] = 'Facebook Synchronisation';
$txt['fb_sync1'] = 'Etes-vous sur de vouloir synchroniser votre Facebook avec votre compte du Forum ?';
$txt['fb_share'] = 'Partager ce Site sur facebook';
$txt['fb_fans'] = 'Page de Fans';
$txt['fb_fans1'] = 'Facebook Fan Page';
$txt['fb_haslogged'] = 'est connecté à';
$txt['fb_haslogged2'] = 'utilise facebook connect';
$txt['fb_reg1'] = 'Connexion Facebook';
$txt['fb_reg2'] = '(vous ne devrez le faire qu\'une fois)';
$txt['fb_reg8'] = 'Afficher le Nom';
$txt['fb_reg3'] = 'Va';
$txt['fb_reg4'] = 'Veuiller entrer votre Nom Utilisateur';
$txt['fb_reg44'] = 'Informations Requises';
$txt['fb_reg45'] = 'Informations Additionnelles';
$txt['permissiongroup_simple_facebookperm'] = 'Facebook Connect';
$txt['permissiongroup_facebookperm'] = 'Facebook Connect';
$txt['permissionhelp_share_topic'] = 'Si l\'utilisateur est autorisé à Partager des Sujets sur Facebook';
$txt['permissionname_share_topic'] = 'Partager les Sujets sur Facebook';
$txt['fbshare_share'] = 'Partager le Forum';
$txt['fb_custom_profile'] = 'Autoriser le Support Pour Personnaliser les Champs du Profil';
$txt['fb_enable_avs_mod'] = 'Autoriser le Support Pour VBGamers Avatar Select On Register Mod <div class="smalltext">Vous devez avoir <a href="http://custom.simplemachines.org/mods/index.php?mod=368">Avatar Select On Register Mod </a>Installé</div>';
// FB Connect Beta 1.0 Beta4-1


:)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: psybadek on July 27, 2010, 04:35:54 PM
Quote from: Sleepy Arcade on July 27, 2010, 09:41:45 AM
@psybadek and you have setup you facebook application?

nevermind, it seems it will not work if the www is not included in the connect url
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: MATTEK on July 27, 2010, 05:11:43 PM
I've upgraded to php5, cleared cache, and performed all other maintenance and I'l still getting :


Parse error: syntax error, unexpected T_VARIABLE in /homepages/46/d274007555/htdocs/fbc/fbmain.php on line

Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on July 27, 2010, 08:52:43 PM
you have to undo the changes you made to fbmain.php
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: MATTEK on July 27, 2010, 10:40:23 PM
Quote from: Sleepy Arcade on July 27, 2010, 08:52:43 PM
you have to undo the changes you made to fbmain.php

lol. Now I'm getting

Fatal error: Uncaught CurlException: 6: name lookup timed out thrown in /homepages/46/d274007555/htdocs/fbc/facebook.php on line 51

Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on July 27, 2010, 11:54:39 PM
in fbc/facebook.php find


public static $DOMAIN_MAP = array(
    'api'      => 'https://api.facebook.com/',
    'api_read' => 'https://api-read.facebook.com/',
    'graph'    => 'https://graph.facebook.com/',
    'www'      => 'https://www.facebook.com/',
  );


and replace with

public static $DOMAIN_MAP = array(
    'api'      => 'https://api.facebook.com/',
    'api_read' => 'https://api.facebook.com/',
    'graph'    => 'https://graph.facebook.com/',
    'www'      => 'https://www.facebook.com/',
  );
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: MATTEK on July 28, 2010, 08:09:21 PM
Seems to be working. Thank you.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: MATTEK on July 29, 2010, 12:44:22 AM
Actually, scratch that. I didn't follow through with the integration myself, because I hate Facebook, so I stopped. Now I can't see any of the buttons the mod includes such as share, login in, integrate, etc.,
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: UltraEffect on July 29, 2010, 06:59:31 AM
Hi Sleepy Arcade,

First of all, Many thanks for a such a nice MOD!!!!!

I went through the installation, everything went fine and no errors so far.

But I need a very minor modification. first of all i am a noob, using SMF only for 2 days.
tried for an hour to find a way, but wanted to ask before crush the whole site :D


I want to delete or hide (get rid off) the facebook login at the top of the page next to the textbox, and still be able to keep the facebook connection at "login page" and "User Info"

pls refer to the attached file, if i am not making sense or ple take a look at the forum at http://www.californiaturkleri.com/


Thanks much beforehand!!

Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: erorcun on July 29, 2010, 07:17:26 AM
Ben modun 2. yazarıyım.

Şunu türkçe anlatırsan dediğin şeyi yapabilirim, ingilizceyi çok iyi bilmiyorum da. :D
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: grafitus on July 29, 2010, 07:28:35 AM
Quote from: erorcun on July 29, 2010, 07:17:26 AM
Ben modun 2. yazarıyım.

Şunu türkçe anlatırsan dediğin şeyi yapabilirim, ingilizceyi çok iyi bilmiyorum da. :D
You should speak English on here. Especially when second mod author. ;)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: UltraEffect on July 29, 2010, 07:35:05 AM
Quote from: erorcun on July 29, 2010, 07:17:26 AM
Ben modun 2. yazarıyım.

Şunu türkçe anlatırsan dediğin şeyi yapabilirim, ingilizceyi çok iyi bilmiyorum da. :D

Mukemmel, tesekkurler erorcun!

forumum sag ust kisminda sabit olan login (Giris Yap) kismi war.

Modification kurduktan sonra otamatik olarak ustteki "giris yap" kisminin yaninada facebookla baglan tusu koydu.
http://www.californiaturkleri.com/ gidersen goruceksindir..

bese "facebook girisi yap" sadece ana giris yap (yani menunun icinde olan "giris yap"in icinde) ve ana sayfadaki "user info" nun icinde cikmasini istiyorum..


uzun sozun kisasi, sadece her sayfanin ust kisminda olan "giris yap" tan "facebook giris yapi" cikarmak istiyorum

simdiden tskler!!


Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: UltraEffect on July 29, 2010, 07:37:05 AM
Quote from: grafitus on July 29, 2010, 07:28:35 AM
Quote from: erorcun on July 29, 2010, 07:17:26 AM
Ben modun 2. yazarıyım.

Şunu türkçe anlatırsan dediğin şeyi yapabilirim, ingilizceyi çok iyi bilmiyorum da. :D
You should speak English on here. Especially when second mod author. ;)

grafitus, u understand Turkish. he mentioned that he didnt understand my issue clearly, i'll write everything in English ones we solve it.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: erorcun on July 29, 2010, 07:48:49 AM
@grafitus Normally i don't speak turkish on here.

But he is turkish and i don't know english very good.

I do not think will be anything, I've only done once. ;)

@UltraEffect You must remove "show_facebook();" in your theme's index.template.php :)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: UltraEffect on July 29, 2010, 07:56:36 AM
Quote from: erorcun on July 29, 2010, 07:48:49 AM
@grafitus Normally i don't speak turkish on here.

But he is turkish and i don't know english very good.

I do not think will be anything, I've only done once. ;)

@UltraEffect You must remove "show_facebook();" in your theme's index.template.php :)

Thank you for the reply!!

there are 3 show_facebook() in the theme's index.template.php

1.
function show_facebook()
{
         global $settings, $user.....


2.

if(empty($modeSettings['fb_enable_fbc_menu']))
{
      show_facebook();
}


3.

<input type="hidden" name+"hash_passwrd" value"" />
</form>';

show_facebook();
}





P.S i attached the index.template.php of my theme
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: UltraEffect on July 29, 2010, 08:51:30 AM
well, figured it out :D

u gotta keep the function.

deleting the if clause with show_facebook(); and the other show_facebook(); will do the trick!!

Perfect!! Thank you Erorcun!!
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: MATTEK on July 29, 2010, 03:10:37 PM
I'm still wondering why my buttons have disappeared.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: UltraEffect on July 29, 2010, 05:35:59 PM
Quote from: MATTEK on July 29, 2010, 03:10:37 PM
I'm still wondering why my buttons have disappeared.

If you are using v2.0 RC3 follow this

http://custom.simplemachines.org/mods/index.php?action=parse

to update your
./Themes/default/index.template.php

, it works like a charm.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: MATTEK on July 29, 2010, 06:08:40 PM
Quote from: UltraEffect on July 29, 2010, 05:35:59 PM
Quote from: MATTEK on July 29, 2010, 03:10:37 PM
I'm still wondering why my buttons have disappeared.

If you are using v2.0 RC3 follow this

http://custom.simplemachines.org/mods/index.php?action=parse

to update your
./Themes/default/index.template.php

, it works like a charm.

When I click your link I get
Quote
An Error Has Occurred!
Sorry, but the modification could not be parsed.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: UltraEffect on July 30, 2010, 07:36:45 PM
Quote from: MATTEK on July 29, 2010, 06:08:40 PM

When I click your link I get
Quote
An Error Has Occurred!
Sorry, but the modification could not be parsed.

Ahh i see, go to http://custom.simplemachines.org/mods/index.php?mod=2322

on the right section under "Download this mod"
from drop down choose 2.0 RC3 (if that is what u have) click "parse" button

find ./Themes/default/index.template.php in the page, and start modifing your theme's index.template.php

make sure to backup your own  index.template.php before starting.

I hope this help, good luck!
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: dsanchez on July 31, 2010, 07:49:25 AM
Quote from: vomega on May 20, 2010, 06:18:16 PM
API Error Code: 100
API Error Description: Invalid parameter
Error Message: Invalid parameter

I had the same problem and I noticed the error was that in my facebook application the URL was http://www.curefans.com and the error appeared when I was accesing throught http://curefans.com

Is there any that it can work for bot with "www." or without?

Thanks again for this awesome mod!
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: MATTEK on August 01, 2010, 12:25:13 PM
Quote from: MATTEK on July 29, 2010, 12:44:22 AM
Actually, scratch that. I didn't follow through with the integration myself, because I hate Facebook, so I stopped. Now I can't see any of the buttons the mod includes such as share, login in, integrate, etc.,
Looking for assistance please.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Hj Ahmad Rasyid Hj Ismail on August 01, 2010, 12:32:43 PM
Mattek, have you uninstalled the mod in full and reinstall (upgrade) it or can you explain your problem further?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: MATTEK on August 01, 2010, 01:13:44 PM
Well, I made the edits that Sleepy told me to make. IT seemed like it worked. I went to integrate my FB account with the forum and then poof. All of the FB buttons that the mod installs are gone. It also took away my Custom Top Menu Tabs.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Hj Ahmad Rasyid Hj Ismail on August 01, 2010, 01:23:19 PM
Quote from: Sleepy Arcade on July 27, 2010, 11:54:39 PM
public static $DOMAIN_MAP = array(
    'api'      => 'https://api.facebook.com/',
    'api_read' => 'https://api-read.facebook.com/',
    'graph'    => 'https://graph.facebook.com/',
    'www'      => 'https://www.facebook.com/',
  );


and replace with

public static $DOMAIN_MAP = array(
    'api'      => 'https://api.facebook.com/',
    'api_read' => 'https://api.facebook.com/',
    'graph'    => 'https://graph.facebook.com/',
    'www'      => 'https://www.facebook.com/',
  );

Is this the edit that you are doing? And to which file have you did this?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: MATTEK on August 01, 2010, 01:29:04 PM
Yes and that was made to facebook.php
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Hj Ahmad Rasyid Hj Ismail on August 01, 2010, 01:32:15 PM
Hmmm... That shouldn't touch anything on your site at all.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Hj Ahmad Rasyid Hj Ismail on August 01, 2010, 01:40:46 PM
@ Mattek, you shouldn't be using this mod together with Twitter & Facebook Mod. I guess this is the cause of your problem and my advise is stated here: http://www.simplemachines.org/community/index.php?topic=227599.msg2726844#msg2726844
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ~DS~ on August 01, 2010, 01:53:20 PM
It might be a conflit there, preharps use this one for your traffic need? http://www.simplemachines.org/community/index.php?topic=360150.0
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: HuwB on August 03, 2010, 03:56:48 PM
still having trouble integrating this into my theme, I followed all the manual set up and copied in the code

the mod works, but when you go to the live stream it is blank,
it works fine if I use the default theme

can anyone help
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on August 03, 2010, 08:43:33 PM
got a link to your site and a test account? pme if you want
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on August 04, 2010, 10:52:54 AM
new version realsed 1.0beta5

added more option for like feture
fixed missing global in index.template.php
fixed undefined index gender
fixed undefined index birthday
fixed undefined index location
fixed undefined index email
fixed Connection time-out thrown error
fixed  Param uids must be a number error
fixed not being able to use faceboook connect when guest aint allwed to brouse the forum
fixed users being able to register while registration is disabled
fixed statying logged in issuses from loggin in via facebook connect
added ssi support see yoursite.com/ssi_facebook_examples.php for usage and examples
now checks for php version and error msg is not using php5
added check to see is varibles are empty in fb_connect_subs.php
fixed hard coded text strings
support for different languages
added support for license agreement when registering
added support for hide email when registering with facebook
moved all socile plugins to there own admin page
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Hj Ahmad Rasyid Hj Ismail on August 04, 2010, 11:53:13 AM
Quote from: Sleepy Arcade on August 04, 2010, 10:52:54 AM
new version realsed 1.0beta5

added more option for like feture
fixed missing global in index.template.php
fixed undefined index gender
fixed undefined index birthday
fixed undefined index location
fixed undefined index email
fixed Connection time-out thrown error
fixed  Param uids must be a number error
fixed not being able to use faceboook connect when guest aint allwed to brouse the forum
fixed users being able to register while registration is disabled
fixed statying logged in issuses from loggin in via facebook connect
added ssi support see yoursite.com/ssi_facebook_examples.php for usage and examples
now checks for php version and error msg is not using php5
added check to see is varibles are empty in fb_connect_subs.php
fixed hard coded text strings
support for different languages
added support for license agreement when registering
added support for hide email when registering with facebook
moved all socile plugins to there own admin page
I haven't got a chance to upgrade with last updated version. Now that's already obsolete and this is the new 'trend'. Can't wait to try it. Great job Sleepy!
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ~DS~ on August 04, 2010, 01:34:30 PM
Quote from: Sleepy Arcade on August 04, 2010, 10:52:54 AM
new version realsed 1.0beta5

added more option for like feture
fixed missing global in index.template.php
fixed undefined index gender
fixed undefined index birthday
fixed undefined index location
fixed undefined index email
fixed Connection time-out thrown error
fixed  Param uids must be a number error
fixed not being able to use faceboook connect when guest aint allwed to brouse the forum
fixed users being able to register while registration is disabled
fixed statying logged in issuses from loggin in via facebook connect
added ssi support see yoursite.com/ssi_facebook_examples.php for usage and examples
now checks for php version and error msg is not using php5
added check to see is varibles are empty in fb_connect_subs.php
fixed hard coded text strings
support for different languages
added support for license agreement when registering
added support for hide email when registering with facebook
moved all socile plugins to there own admin page
What would you do without me to test it? ;)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Afro on August 05, 2010, 09:43:13 AM
Works great. good job
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Hj Ahmad Rasyid Hj Ismail on August 05, 2010, 11:50:54 AM
I have a successful install but failed to get a working connection with FB. I am reverting back to the old version.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Hj Ahmad Rasyid Hj Ismail on August 05, 2010, 12:06:26 PM
And have to do it manually since the mod doesn't remove all the codes though no error is shown.  :'(
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ~DS~ on August 05, 2010, 12:19:50 PM
Can you please tell what doesn't work? Because it does work for me.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on August 05, 2010, 12:29:26 PM
Quote from: ahrasis on August 05, 2010, 11:50:54 AM
I have a successful install but failed to get a working connection with FB. I am reverting back to the old version.

what do you mean by failed to get a working connection ?
veiwinf facebook connect
logging in
registering
syncing
other please say
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Hj Ahmad Rasyid Hj Ismail on August 05, 2010, 12:30:40 PM
Quote from: ahrasis on August 05, 2010, 11:50:54 AM
I have a successful install but failed to get a working connection with FB. I am reverting back to the old version.
My guess is duplicate code of the old version. It seems there when I am cleaning one of the file though uninstall is perfectly successful. I'll try again later. Try to note unclean install as one of the bug?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Hj Ahmad Rasyid Hj Ismail on August 05, 2010, 12:31:59 PM
Quote from: Sleepy Arcade on August 05, 2010, 12:29:26 PM
Quote from: ahrasis on August 05, 2010, 11:50:54 AM
I have a successful install but failed to get a working connection with FB. I am reverting back to the old version.

what do you mean by failed to get a working connection ?
veiwinf facebook connect
logging in
registering
syncing
other please say
It fails to connect at all. All button cannot press (no button just words). Some of the menu fails completely. The reason may be as I stated above.

I have been using it fine before so, it may be just an old code.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on August 05, 2010, 12:36:04 PM
that could be right yes the old code will cause buttins not to work /click i had this problem on sleepy arcade ages ago
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Hj Ahmad Rasyid Hj Ismail on August 05, 2010, 12:38:59 PM
Quote from: Sleepy Arcade on August 05, 2010, 12:36:04 PM
that could be right yes the old code will cause buttins not to work /click i had this problem on sleepy arcade ages ago
Don't worry Sleepy your mod is awesome. May be it's just me. I will tested again later when I finished checking and cleaning up.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on August 05, 2010, 12:41:48 PM
lol np
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Hj Ahmad Rasyid Hj Ismail on August 05, 2010, 12:58:44 PM
It seems not all code were removed from index.template.php only. Otherwise, I should have successfully manage to run your mod without problem. It is now installed and running perfectly. Thanks for a great mod.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on August 05, 2010, 01:07:07 PM
glad you got it working
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Hj Ahmad Rasyid Hj Ismail on August 05, 2010, 01:13:56 PM
Just one more thing, can you make all link to facebook open in new tab on the next version. I dont want people to leave the site e.g. if they click one of the friend picture.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on August 05, 2010, 01:20:48 PM
will do ive made a note so i dont forget
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Hj Ahmad Rasyid Hj Ismail on August 05, 2010, 01:24:59 PM
That will be more awesome. Thanks for noting it. :D
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ~DS~ on August 05, 2010, 01:42:21 PM
I have helped him in some areas to transfer links into a new tab using target="_blank
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Hj Ahmad Rasyid Hj Ismail on August 05, 2010, 04:48:25 PM
Quote from: Dismal Shadow on August 05, 2010, 01:42:21 PM
I have helped him in some areas to transfer links into a new tab using target="_blank
Your name is mentioned in that mod as one of the tester. So I do know who are involved for this great mod. Thanks to you too.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: eng_HK on August 06, 2010, 03:16:26 PM
What I have to do to let it work with another template?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: nend on August 06, 2010, 06:47:27 PM
WDM I wouldn't say that unclean uninstall is a bug in the mod, however it should be considered. I actually think somehow it is tied with SMF 2.0 RC3, because I have been having this problem from time to time with installations and uninstalls even though the package manager reports everything is going to be just fine. Will I have examine packages and there is no problem with the code, they just sometimes work and sometimes do not. I never experience this problem with 1.1.11 which is on another site of mine. It might not even be SMF though, could be server limitations having a effect on packages. Allot of variables.  :-\
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on August 07, 2010, 04:49:57 PM
@nend thx i wasnt sure

@eng_HK you have to edit the index.template.php if you have trouble  atacch it here and i can do it for you
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: eng_HK on August 08, 2010, 03:06:56 AM
This is the index.
What I have to chage? and where?

Thx
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on August 08, 2010, 02:15:41 PM
here you go try this but please back up first
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: eng_HK on August 09, 2010, 02:30:34 AM
It works.
Thx.

Now I'm going to translate in italian it and also I'm trying to change the "Connect with Facebook" logo image to something in italian... You have a PM with the translation.

I have 2 question.
1) Can you provide the code that I have to insert into index.template.php ?? Because in my forum I have different themes and I'd like to use this mod with that themes, or if you can explain me how I can be sure that the mod will be run for every themes.

2) I can see only, I think part of the FBConnect because I cannot see the "unlink" button, and also the part I selected into the image attached.


Thx 4 your support and the mod that is greate.
Hope you can include the italian language too.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on August 09, 2010, 12:00:16 PM
if you go to thwe mod page ojn this site you can get edits from there or you can look in instal.xml for the chnages to index.template.php

i anserd number 2 in the pm :)

i probaly wont update the package with the new language strings but i will add them to 1.0 version with the new api tho there is sevaral new txt strings in 1.0
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: program5 on August 10, 2010, 09:16:05 AM
Thank You for this mod.
I have a small problem on IE 8 , not in FF.
Not on the main page, not in topic list, but only on Topic's own page,
I get this small pop up window with the following error. No other areas-pages as well.
"stuck overflow at line :15"
Example :
http://www.petim.net/forum/lutfen-okuyun-t378.0.html

How can I solve this ?

Thank You :)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Hj Ahmad Rasyid Hj Ismail on August 10, 2010, 11:58:12 AM
Just a suggestion, can you make this mod to modify SimplePortal as well?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on August 10, 2010, 02:36:34 PM


ill look into it

Quote from: program5 on August 10, 2010, 09:16:05 AM
Thank You for this mod.
I have a small problem on IE 8 , not in FF.
Not on the main page, not in topic list, but only on Topic's own page,
I get this small pop up window with the following error. No other areas-pages as well.
"stuck overflow at line :15"
Example :
http://www.petim.net/forum/lutfen-okuyun-t378.0.html

How can I solve this ?

Thank You :)

more info ?
Quote from: ahrasis on August 10, 2010, 11:58:12 AM
Just a suggestion, can you make this mod to modify SimplePortal as well?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: eng_HK on August 11, 2010, 05:12:08 PM
I moved to RC3 and everything works greate, with the default theme.

I'm now using the Design Blue Skin, here http://custom.simplemachines.org/themes/index.php?lemma=2229

and receive this error could you help me?

Fatal error: Call to undefined function show_facebook() in /web/htdocs/www.larico.it/home/SForum/Sources/Load.php(2102) : eval()'d code on line 63

also I cannot see the Facebook button for login.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: MATTEK on August 11, 2010, 05:51:01 PM
I'm having a nightmare trying to get this uninstalled manually. Everytime I upload the edited files I get parse errors galore. Wondering if I could supply the files needs for the uninstall so someone could make the edits for me.

I am planning on reinstalling.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on August 12, 2010, 05:10:51 PM
@MATTEK sure attach the files



@eng_HK

you need to add this function to your theme index.tmoplate.php

function show_facebook()
{
    global $settings, $user_info, $context, $txt, $modSettings, $scripturl, $boarddir;
include_once $boarddir.'/fbc/facebook_init_main.php';
    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="', $scripturl, '?action=facebook">'.$txt['fb_title'].'</a>';
        }else{
echo '<img src="' . $settings['images_url'] . '/facebook.png" alt="'.$txt['fb_title'].'" /> <a href="', $scripturl, '?action=facebook;area=sync">'.$txt['fb_integrate'].'</a>';
    }
        echo'<br /><br />';
    }
    elseif (!empty($modSettings['fb_enable'])){
if(!empty($modSettings['requireAgreement'])){
echo' <fb:login-button v="2" size="large" autologoutlink="false" perms="email,user_birthday,status_update,publish_stream" onlogin="window.location=\'', $scripturl, '?action=facebook;area=connect;agree\'">'.$txt['login'].'</fb:login-button>';
    }else{
       echo' <fb:login-button v="2" size="large" autologoutlink="false" perms="email,user_birthday,status_update,publish_stream" onlogin="window.location=\'', $scripturl, '?action=facebook;area=connect;step\'">'.$txt['login'].'</fb:login-button>';
    }
    }
}
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: eng_HK on August 13, 2010, 02:35:50 AM
@sleepy
I already have the Facebook function on the index template, see attached file.

I'm now using the Design Blue Skin, here http://custom.simplemachines.org/themes/index.php?lemma=2229

The forum add correctly automatically the Show facebook function as you can see on the attached file, but I receive the error.

Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: MyOutdoorsIowa on August 14, 2010, 01:05:11 PM
First of all my hats off to the creators of this mod! Very nice. 8)

I have installed this mod and the like button shows up sometimes and sometimes not? The share button shows every time.

Has anyone else experienced this?

You can view the site http://hawgz.com/wp/forum/index.php?topic=2.0

Thanks,
Darrin
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ~DS~ on August 14, 2010, 01:06:05 PM
Quote from: MyOutdoorsIowa on August 14, 2010, 01:05:11 PM
First of all my hats off to the creators of this mod! Very nice. 8)

I have installed this mod and the like button shows up sometimes and sometimes not? The share button shows every time.

Has anyone else experienced this?

You can view the site http://hawgz.com/wp/forum/index.php?topic=2.0

Thanks,
Darrin
Yeah, I think he's working on it. :)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: MyOutdoorsIowa on August 14, 2010, 01:07:30 PM
Quote from: Dismal Shadow on August 14, 2010, 01:06:05 PM
Quote from: MyOutdoorsIowa on August 14, 2010, 01:05:11 PM
First of all my hats off to the creators of this mod! Very nice. 8)

I have installed this mod and the like button shows up sometimes and sometimes not? The share button shows every time.

Has anyone else experienced this?

You can view the site http://hawgz.com/wp/forum/index.php?topic=2.0

Thanks,
Darrin
Yeah, I think he's working on it. :)
Thanks for the instant reply!  8)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on August 14, 2010, 06:58:37 PM
can you try removing that function from both that theme and default themes index.template.php and putting it in to subs.php before the closing php tag ?>

Quote from: eng_HK on August 13, 2010, 02:35:50 AM
@sleepy
I already have the Facebook function on the index template, see attached file.

I'm now using the Design Blue Skin, here http://custom.simplemachines.org/themes/index.php?lemma=2229

The forum add correctly automatically the Show facebook function as you can see on the attached file, but I receive the error.


Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: eng_HK on August 15, 2010, 05:14:41 AM
@sleepy
I received and error like

Call to undefined function trackStats() in /web/htdocs/www.MYFORUM.IT/index.php on line 225
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on August 15, 2010, 11:00:54 AM
hmm weird cos that function is defined in that file
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: eng_HK on August 15, 2010, 01:08:39 PM
Did you tryied to use that theme? what I can do?
pls don't say to unistall the mod...
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on August 16, 2010, 09:38:36 AM
lol no need to uninstall less you want to :P

how are you editing your files? can suggest to use notepad++ for editing php files
also how are you uploading the corected files via ftp if so what program you use and what mode is it uploading in
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: eyeseven on August 16, 2010, 01:03:36 PM
Hi there!

can you help me how to add manually the FB login button to my cargo theme..


Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on August 17, 2010, 10:41:02 AM
sure i would say post the index.template here but it a paid theme right? pm  me the index.template.php from that theme
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: eyeseven on August 17, 2010, 11:04:51 AM
Quote from: Sleepy Arcade on August 17, 2010, 10:41:02 AM
sure i would say post the index.template here but it a paid theme right? pm  me the index.template.php from that theme

done sleep! hope you can help me.. thanks.. check your inbox.

Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: eng_HK on August 17, 2010, 03:17:51 PM
@sleepy
did you take a look to my subs??
what do you think about that prblm?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: eyeseven on August 18, 2010, 07:52:46 AM
sleepy i solved the problem.. thanks for giving me an idea.. anyway, here is another question..

i'm using smf articles and i want to add fshare button like inside the forum but i don't know how.. can you help me with this one..

this is the articles.template.php file.. thanks! :)


Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on August 18, 2010, 12:41:20 PM
@eyeseven
where do you want the button th apear

@eng_HK
Quote from: Sleepy Arcade on August 16, 2010, 09:38:36 AM
lol no need to uninstall less you want to :P

how are you editing your files? can suggest to use notepad++ for editing php files
also how are you uploading the corected files via ftp if so what program you use and what mode is it uploading in
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: eng_HK on August 18, 2010, 01:35:55 PM
I'm using ultraedit e filezilla...
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: et10yl on August 18, 2010, 03:58:29 PM
It's working beautifully for me! Thank you for the mod.

Question:  Is it possible to disable the features to invite fb friends to join and share the site on fb ? Essentially, I'd like for my forum to stay private, but allow users to login/register via fb. I guess if needed, I could always comment out those lines that link to those functions in the code?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: eng_HK on August 19, 2010, 01:00:09 AM
@Sleepy
I made it works.. but it's really strange.. I have only cut it from the default index.template.php not insert into subs.php

And now i can see correctly the button on my template to login.
Be patient, because i have other 2 questions.. sorry..
Se the attached image, why i cannot see the Like it button and be the first to share, and my users too ???

And see the second image, If I use as a template the Default  i can see everything correctly, the friendpile the comment and so on, with this i cannot see anything...

An Update... Only my admin account can see the Like and be the first and i can see also after click to facebook connect the Friendpile and comment and so on, correctly but only if i use the Defautl CORE theme, nor with any other team, but only me.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: savek on August 19, 2010, 06:09:22 AM
I try to read all 35 pages of this topic, but I'm not sure now this mod worked on SMF 1.1 RC 2???
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on August 19, 2010, 05:09:00 PM
Quote from: eng_HK on August 19, 2010, 01:00:09 AM
@Sleepy
I made it works.. but it's really strange.. I have only cut it from the default index.template.php not insert into subs.php

And now i can see correctly the button on my template to login.
Be patient, because i have other 2 questions.. sorry..
Se the attached image, why i cannot see the Like it button and be the first to share, and my users too ???

And see the second image, If I use as a template the Default  i can see everything correctly, the friendpile the comment and so on, with this i cannot see anything...

An Update... Only my admin account can see the Like and be the first and i can see also after click to facebook connect the Friendpile and comment and so on, correctly but only if i use the Defautl CORE theme, nor with any other team, but only me.

1: you need to set permissions to share and like in admin/permissions

2: it wont work if this isnt in your index.template.php
global $boardurl;
echo'<script src="'.$boardurl.'/fbc/fbconnect.js" type="text/javascript"></script>
<script type="text/javascript">
var mod_settings_fb_app_pageid = "',$modSettings['fb_app_pageid'],'";
var mod_settings_fb_app_stream = "',$modSettings['fb_app_stream'],'";
var mod_settings_fb_app_connection = "',$modSettings['fb_app_connection'],'";
var mod_settings_fb_app_width = "',$modSettings['fb_app_width'],'";
var mod_settings_fb_com_xid = "',$modSettings['fb_app_comments_boxid'],'";
var mod_settings_fb_li_xid = "',$modSettings['fb_app_stream_boxid'],'";
var mod_settings_fb_com_show = "',$modSettings['fb_admin_commets_post'],'";
var forum_name = "'.$context['forum_name'].'";
var site_slogan = "'.$settings['site_slogan'].'";
var like_layout = "', empty($modSettings['liketopiclayout']) ? 'standard' : 'button_count', '";
var like_verb = "', empty($modSettings['liketopicverb']) ? 'like' : 'recommend', '";
var like_colour = "', empty($modSettings['liketopiccolour']) ? 'light' : 'dark', '";
var live_hight = "'.$modSettings['fb_app_stream_hight'].'";
var live_width = "'.$modSettings['fb_app_stream_width'].'";
var fp_width = "'.$modSettings['fb_app_fp_width'].'";
var fp_row = "'.$modSettings['fb_app_e_fp_row'].'";
var rec_width = "'.$modSettings['fb_app_rec_width'].'";
var rec_hight = "'.$modSettings['fb_app_rec_hight'].'";
</script>';


Quote from: savek on August 19, 2010, 06:09:22 AM
I try to read all 35 pages of this topic, but I'm not sure now this mod worked on SMF 1.1 RC 2???

1.1 RC 2 you sure?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: PortalGamers on August 19, 2010, 07:15:06 PM
How can I install this mod? I'm going crazy!!

First step is create a facebook aplication and now?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on August 19, 2010, 07:31:52 PM
Quote from: PortalGamers on August 19, 2010, 07:15:06 PM
How can I install this mod? I'm going crazy!!

First step is create a facebook aplication and now?

Once you create the application you will have the 3 things you need to make it work on your forum

Your Application ID
Your API Key
Your Secret Key

Install the mod pack via package manager
Input the pertinent information in the setting area
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: PortalGamers on August 19, 2010, 07:34:53 PM
Edited

Ok configured but...
QuoteConfiguration errors:
To fix this error, please set your Connect URL in the application settings editor. Once it has been set, users will be redirected to that URL instead of this page after logging in.

What can I do?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on August 19, 2010, 08:39:31 PM
Go back to your application on facebook and make sure you set the connect url
whats your web address
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: savek on August 19, 2010, 09:32:09 PM
Quote from: savek on August 19, 2010, 06:09:22 AM
I try to read all 35 pages of this topic, but I'm not sure now this mod worked on SMF 1.1 RC 2???

Anyone please answer. Thx.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on August 19, 2010, 09:43:11 PM
As far as i know it only works on 1.1.11
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on August 19, 2010, 10:02:01 PM
read the reply i allready anserd

Quote from: Sleepy Arcade on August 19, 2010, 05:09:00 PM
Quote from: savek on August 19, 2010, 06:09:22 AM
I try to read all 35 pages of this topic, but I'm not sure now this mod worked on SMF 1.1 RC 2???

1.1 RC 2 you sure?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: savek on August 19, 2010, 10:54:01 PM
Thx Spoogs,
and I'm sorry, Sleepy, I just notice your answer :-[

I checked smf version from Administration center, it shows 1.1.2.

I try followed steps link below to add facebook connnect on my website.
http://custom.simplemachines.org/mods/index.php?action=parse
(I select SA_FBConnect_0.2_smf11x.zip, and choose version 1.1.2 in Manual Install Instructions for SMF)

but it not work, it's not show facebook icon, when I click on topic in forum, it show error like 'contact admin', and it have not file portalblocks.php in my smf directory.

PS.Sorry for my bad english.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: eng_HK on August 20, 2010, 02:45:36 AM
@sleepy

I tried to put inside the index.template.php the global bla bla bla but always the same result.

(http://www.simplemachines.org/community/index.php?action=dlattach;topic=365503.0;attach=154670;image)
(http://www.simplemachines.org/community/index.php?action=dlattach;topic=365503.0;attach=154672;image)
(http://www.simplemachines.org/community/index.php?action=dlattach;topic=365503.0;attach=154674;image)

I made the modification you suggest, but I don't have the showfacebook function inside the sub.php but cut the showfacebook from the core template.
And again I can see thelike only with admin and moderator, I can assure you that the permission for members is set to allow.


Also a new test I made is to unistall the MOD and after re-install in all template again.. Now I take care about error on my template and the error are:

Error:

1)
Find[Select]
echo !empty($settings['forum_width']) ? ' <div id="wrapper" style="width: ' . $settings['forum_width'] . '">' : '', '

Add Before[Select]
if ($context['user']['is_logged'] && !empty($modSettings['fb_enable_fbc_menu'])) { global $boarddir; include_once $boarddir.'/fbc/facebook_init_main.php'; }


2)
Find[Select]
if (!empty($modSettings['enableOpenID'])) echo ' <br /><input type="text" name="openid_identifier" id="openid_url" size="25" class="input_text openid_login" />'; echo ' <input type="hidden" name="hash_passwrd" value="" /> </form>';

Add After[Select]
show_facebook();


global $boardurl;
   echo'<script src="'.$boardurl.'/fbc/fbconnect.js" type="text/javascript"></script>
      <script type="text/javascript">
      var mod_settings_fb_app_pageid = "',$modSettings['fb_app_pageid'],'";   
      var mod_settings_fb_app_stream = "',$modSettings['fb_app_stream'],'";
      var mod_settings_fb_app_connection = "',$modSettings['fb_app_connection'],'";
      var mod_settings_fb_app_width = "',$modSettings['fb_app_width'],'";
      var mod_settings_fb_com_xid = "',$modSettings['fb_app_comments_boxid'],'";
      var mod_settings_fb_li_xid = "',$modSettings['fb_app_stream_boxid'],'";
      var mod_settings_fb_com_show = "',$modSettings['fb_admin_commets_post'],'";
      var forum_name = "'.$context['forum_name'].'";
      var site_slogan = "'.$settings['site_slogan'].'";
      var like_layout = "', empty($modSettings['liketopiclayout']) ? 'standard' : 'button_count', '";
      var like_verb = "', empty($modSettings['liketopicverb']) ? 'like' : 'recommend', '";
      var like_colour = "', empty($modSettings['liketopiccolour']) ? 'light' : 'dark', '";
      var live_hight = "'.$modSettings['fb_app_stream_hight'].'";
      var live_width = "'.$modSettings['fb_app_stream_width'].'";
      var fp_width = "'.$modSettings['fb_app_fp_width'].'";
      var fp_row = "'.$modSettings['fb_app_e_fp_row'].'";
      var rec_width = "'.$modSettings['fb_app_rec_width'].'";
      var rec_hight = "'.$modSettings['fb_app_rec_hight'].'";
   </script>';

Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: NoobDeveloper on August 20, 2010, 06:50:58 AM
Comments Box Options

what to put in Your Comments Box XID   ??
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on August 20, 2010, 11:43:13 AM
@ eng_HK and you also added it to your custiom themes index.template.php

@talktoanil read the descriptin it tells you there basicly anything will do eg in mine i have sa_comments but dont use that cos i think you will end up with my comments lol maybe talktoanil_site_comments will do?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: eng_HK on August 20, 2010, 01:39:56 PM
sllepy, sorry, but I don't understand.
Add what?? the point 1 ? the point 2 ?? where I can add it in the index.template.php ? manually? in wich point?at the end of file? or from the global board untill /script? and this must be added to indextemplate.php ???

sorry
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on August 20, 2010, 02:45:47 PM
this

global $boardurl;
echo'<script src="'.$boardurl.'/fbc/fbconnect.js" type="text/javascript"></script>
<script type="text/javascript">
var mod_settings_fb_app_pageid = "',$modSettings['fb_app_pageid'],'";
var mod_settings_fb_app_stream = "',$modSettings['fb_app_stream'],'";
var mod_settings_fb_app_connection = "',$modSettings['fb_app_connection'],'";
var mod_settings_fb_app_width = "',$modSettings['fb_app_width'],'";
var mod_settings_fb_com_xid = "',$modSettings['fb_app_comments_boxid'],'";
var mod_settings_fb_li_xid = "',$modSettings['fb_app_stream_boxid'],'";
var mod_settings_fb_com_show = "',$modSettings['fb_admin_commets_post'],'";
var forum_name = "'.$context['forum_name'].'";
var site_slogan = "'.$settings['site_slogan'].'";
var like_layout = "', empty($modSettings['liketopiclayout']) ? 'standard' : 'button_count', '";
var like_verb = "', empty($modSettings['liketopicverb']) ? 'like' : 'recommend', '";
var like_colour = "', empty($modSettings['liketopiccolour']) ? 'light' : 'dark', '";
var live_hight = "'.$modSettings['fb_app_stream_hight'].'";
var live_width = "'.$modSettings['fb_app_stream_width'].'";
var fp_width = "'.$modSettings['fb_app_fp_width'].'";
var fp_row = "'.$modSettings['fb_app_e_fp_row'].'";
var rec_width = "'.$modSettings['fb_app_rec_width'].'";
var rec_hight = "'.$modSettings['fb_app_rec_hight'].'";
</script>';


goes after

echo $context['html_headers'];

in index.template.php
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: crustybum on August 20, 2010, 05:23:34 PM
I dont understand the link at te top of the forum "Facebook Connect Integrate forum account with Facebook."  ???
I get this anyway when anyone clicks it...
Parse error: syntax error, unexpected '{' in /home/content/c/r/u/me1/html/theforum/fbc/fbmain.php on line 7

Also when you click on the like button, the small comments section underneath dosnt show up properly..

I am using the curve default on 2.0 RC3
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: PortalGamers on August 20, 2010, 06:23:59 PM
Quote from: Spoogs on August 19, 2010, 08:39:31 PM
Go back to your application on facebook and make sure you set the connect url
whats your web address

Where is this option? I don't watch this option!
Edit:

My web is hosted in a free hosting like http://MYWEB.THEHOST.COM and if I put the domain in "Web Site" in "Site URL" and "Site Domain" facebook shows this message : "Site Domain: http://www.xxxxx.xxxhost.com is not a valid domain."

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

I don't understand nothing! :S :( Help!

Can anybody tell me the reason why? Thanks!!!
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on August 20, 2010, 09:00:06 PM
Quote from: PortalGamers on August 20, 2010, 06:23:59 PM
Quote from: Spoogs on August 19, 2010, 08:39:31 PM
Go back to your application on facebook and make sure you set the connect url
whats your web address

Where is this option? I don't watch this option!
Edit:

My web is hosted in a free hosting like http://MYWEB.THEHOST.COM and if I put the domain in "Web Site" in "Site URL" and "Site Domain" facebook shows this message : "Site Domain: http://www.xxxxx.xxxhost.com is not a valid domain."

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

I don't understand nothing! :S :( Help!

Can anybody tell me the reason why? Thanks!!!
Sent you a Pm about this yesterday
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: savek on August 20, 2010, 09:33:47 PM
Sleepy, Please

Quote from: savek on August 19, 2010, 10:54:01 PM
Thx Spoogs,
and I'm sorry, Sleepy, I just notice your answer :-[

I checked smf version from Administration center, it shows 1.1.2.

I try followed steps link below to add facebook connnect on my website.
http://custom.simplemachines.org/mods/index.php?action=parse
(I select SA_FBConnect_0.2_smf11x.zip, and choose version 1.1.2 in Manual Install Instructions for SMF)

but it not work, it's not show facebook icon, when I click on topic in forum, it show error like 'contact admin', and it have not file portalblocks.php in my smf directory.

PS.Sorry for my bad english.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: erorcun on August 21, 2010, 04:12:20 AM
Why are you using smf 1.1.2? You must get latest version!
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: PortalGamers on August 21, 2010, 05:36:51 AM
Quote from: Spoogs on August 20, 2010, 09:00:06 PM
Quote from: PortalGamers on August 20, 2010, 06:23:59 PM
Quote from: Spoogs on August 19, 2010, 08:39:31 PM
Go back to your application on facebook and make sure you set the connect url
whats your web address

Where is this option? I don't watch this option!
Edit:

My web is hosted in a free hosting like http://MYWEB.THEHOST.COM and if I put the domain in "Web Site" in "Site URL" and "Site Domain" facebook shows this message : "Site Domain: http://www.xxxxx.xxxhost.com is not a valid domain."

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

I don't understand nothing! :S :( Help!

Can anybody tell me the reason why? Thanks!!!
Sent you a Pm about this yesterday

Men, I follow your steps.

Ok, I'm Spanish and first of all, I was have to Change different things in the package to view the Option panel in my language. Now I can view the option panel ;) and configure it.

Now It's configured with the ID, API ID and Secret Key (bla bla bla) and now you tell me that I must set the connect url in FaceBook. OK Where can I configure This? If is in "Web" How I write it? What must write in "Site URL" and "Site Domain"?

Thanks :S
EDIT: I only see this! (http://i35.tinypic.com/23jjix.png)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on August 21, 2010, 03:30:59 PM
Quote from: crustybum on August 20, 2010, 05:23:34 PM
I dont understand the link at te top of the forum "Facebook Connect Integrate forum account with Facebook."  ???
I get this anyway when anyone clicks it...
Parse error: syntax error, unexpected '{' in /home/content/c/r/u/me1/html/theforum/fbc/fbmain.php on line 7

Also when you click on the like button, the small comments section underneath dosnt show up properly..

I am using the curve default on 2.0 RC3
you need php 5 to use this mod ask your host to update it they should do it for free

Quote from: PortalGamers on August 21, 2010, 05:36:51 AM
Quote from: Spoogs on August 20, 2010, 09:00:06 PM
Quote from: PortalGamers on August 20, 2010, 06:23:59 PM
Quote from: Spoogs on August 19, 2010, 08:39:31 PM
Go back to your application on facebook and make sure you set the connect url
whats your web address

Where is this option? I don't watch this option!
Edit:

My web is hosted in a free hosting like http://MYWEB.THEHOST.COM and if I put the domain in "Web Site" in "Site URL" and "Site Domain" facebook shows this message : "Site Domain: http://www.xxxxx.xxxhost.com is not a valid domain."

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

I don't understand nothing! :S :( Help!

Can anybody tell me the reason why? Thanks!!!
Sent you a Pm about this yesterday

Men, I follow your steps.

Ok, I'm Spanish and first of all, I was have to Change different things in the package to view the Option panel in my language. Now I can view the option panel ;) and configure it.

Now It's configured with the ID, API ID and Secret Key (bla bla bla) and now you tell me that I must set the connect url in FaceBook. OK Where can I configure This? If is in "Web" How I write it? What must write in "Site URL" and "Site Domain"?

Thanks :S
EDIT: I only see this! (http://i35.tinypic.com/23jjix.png)


it all chnaged lol under website Site URL put your site url in there eg mine is set to http://www.sleepy-arcade.info
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on August 21, 2010, 03:45:14 PM
Worked with him and got him up to speed already ;)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on August 21, 2010, 03:47:11 PM
ahh thanks :)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: crustybum on August 21, 2010, 05:30:49 PM
Hi Sleepy, it is php 5 that i have.....
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: dsanchez on August 21, 2010, 07:04:39 PM
Hello guys, just found this critical errors in my SMF2.0 RC3 log:

Guest
89.133.189.96   
August 19, 2010, 09:51:10 PM
b2b743926938f030070390d505488a33
type of error: Critical
http://curefans.com/index.php?action=facebook;area=connect;step
The database value you're trying to insert does not exist: name
Function: db_select_fb_nameFile: /home6/curefans/public_html/Sources/FB_Connect/FB_Connect_Subs.php
Line: 65


Any help is appreciated!
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: eng_HK on August 22, 2010, 08:44:17 AM
Sorry I promise this is the last question...
After Unistalling the mod I continuing to see in my theme the Facebook connect Button, but if I click it doesn't do anything because I have unistalled the mod.

To be more clear is the part on the menu dedicated to the SYNC procedure, but actually I don't have the mod installed and also the directory FBC is removed, how i can remove this ?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: dsanchez on August 22, 2010, 09:01:10 AM
Quote from: dsanchez on August 21, 2010, 07:04:39 PM
Hello guys, just found this critical errors in my SMF2.0 RC3 log:

Guest
89.133.189.96   
August 19, 2010, 09:51:10 PM
b2b743926938f030070390d505488a33
type of error: Critical
http://curefans.com/index.php?action=facebook;area=connect;step
The database value you're trying to insert does not exist: name
Function: db_select_fb_nameFile: /home6/curefans/public_html/Sources/FB_Connect/FB_Connect_Subs.php
Line: 65


Any help is appreciated!

Besides this, I found another error in my logs

http://curefans.com/index.php?action=facebook8: iconv() [<a href='function.iconv'>function.iconv</a>]: Detected an illegal character in input stringFile: /home6/curefans/public_html/Sources/FB_Connect/FB_Connect_Subs.php
Line: 16


Thanks in advance!
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: erorcun on August 22, 2010, 09:31:28 AM
Quote from: eng_HK on August 22, 2010, 08:44:17 AM
Sorry I promise this is the last question...
After Unistalling the mod I continuing to see in my theme the Facebook connect Button, but if I click it doesn't do anything because I have unistalled the mod.

To be more clear is the part on the menu dedicated to the SYNC procedure, but actually I don't have the mod installed and also the directory FBC is removed, how i can remove this ?


Can you give index.template.php as attachment?

Or search and delete "show_facebook();" in index.template.php.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: eng_HK on August 22, 2010, 09:50:14 AM
Solved thx, I enabled the error log and found a lot of error after unistall in the Subs.php
used an editor and removed thanks for your support.

I think this mode is greate, but unfortunately my user want to use a different theme than the defautl core so I have too much to personalize..

In other case I think is the best one!.

Thx
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on August 22, 2010, 10:45:57 AM
what version of the mod are you using?


Quote from: dsanchez on August 22, 2010, 09:01:10 AM
Quote from: dsanchez on August 21, 2010, 07:04:39 PM
Hello guys, just found this critical errors in my SMF2.0 RC3 log:

Guest
89.133.189.96   
August 19, 2010, 09:51:10 PM
b2b743926938f030070390d505488a33
type of error: Critical
http://curefans.com/index.php?action=facebook;area=connect;step
The database value you're trying to insert does not exist: name
Function: db_select_fb_nameFile: /home6/curefans/public_html/Sources/FB_Connect/FB_Connect_Subs.php
Line: 65


Any help is appreciated!

Besides this, I found another error in my logs

http://curefans.com/index.php?action=facebook8: iconv() [<a href='function.iconv'>function.iconv</a>]: Detected an illegal character in input stringFile: /home6/curefans/public_html/Sources/FB_Connect/FB_Connect_Subs.php
Line: 16


Thanks in advance!
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: dsanchez on August 22, 2010, 01:22:09 PM
Quote from: Sleepy Arcade on August 22, 2010, 10:45:57 AM
what version of the mod are you using?

thanks for your help. I'm using SA FBConnect   0.2
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: eyeseven on August 22, 2010, 01:41:36 PM
hello again.. i have one simple question, why recommend button is visible only for guest?

thanks.. :)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on August 22, 2010, 04:05:01 PM
Quote from: dsanchez on August 22, 2010, 01:22:09 PM
Quote from: Sleepy Arcade on August 22, 2010, 10:45:57 AM
what version of the mod are you using?

thanks for your help. I'm using SA FBConnect   0.2

update to the latest version cos these issus are solved in it

Quote from: eyeseven on August 22, 2010, 01:41:36 PM
hello again.. i have one simple question, why recommend button is visible only for guest?

thanks.. :)

set permissions up in admin/permissions
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: dsanchez on August 23, 2010, 05:16:11 AM
Installed Current Version: 1.0 Beta5 Rev264, will let you know if errors persist. Thank you!
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: NoFeaR / NFSMW on August 23, 2010, 10:16:53 AM
Ho can i change the following text to white and bold.
QuoteBe the first of your friends to like this.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Midnitelove on August 24, 2010, 03:56:37 AM
Ok I read through all 37 pages just for the record and couldn't find my answer. I'm using the default dark red theme. Version 1.1.11

I'm getting this error when ever I try to install
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

I have a facebook plugin on my portal that I removed first.

What am I missing? Oh I forgot to add I downloaded the mod to my pc then uploaded via package manager.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: erorcun on August 24, 2010, 08:04:55 AM
You must download "0.2_smf11x"
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Midnitelove on August 24, 2010, 12:49:38 PM
Quote from: erorcun on August 24, 2010, 08:04:55 AM
You must download "0.2_smf11x"


Thank you!! Going to try it now...
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Midnitelove on August 24, 2010, 01:12:15 PM
These are the errors I'm getting.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: erorcun on August 24, 2010, 02:04:48 PM
Quote from: Midnitelove on August 24, 2010, 01:12:15 PM
These are the errors I'm getting.

You can try installing manually. Or you can download "beta-5_forsmf1" file. Now I've uploaded. :D
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Midnitelove on August 24, 2010, 04:40:45 PM
Quote from: erorcun on August 24, 2010, 02:04:48 PM
Quote from: Midnitelove on August 24, 2010, 01:12:15 PM
These are the errors I'm getting.

You can try installing manually. Or you can download "beta-5_forsmf1" file. Now I've uploaded. :D

Downloaded and got the same errors so I did a manual install. Now I can't get in the forum. I'm getting this message.  :(


Parse error: syntax error, unexpected T_IF in /home/quaine/public_html/Sources/PortalBlocks.php on line 1

Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: erorcun on August 24, 2010, 05:00:52 PM
Can you send index.template as attachment?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Midnitelove on August 24, 2010, 05:07:23 PM
Here you go.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: erorcun on August 27, 2010, 07:33:42 AM
This file is working. Can you give PortalBlocks.php file?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Abavagada on August 28, 2010, 10:11:07 AM
I have installed SA_FBConnect_1.0+Beta5_rev264_forsmf1.zip  on SMF 1.1.11.
Apart from having some $txt lines missing (like 'male','genders','login'), I got the thing running with no error messages in the error log.

However, only the admin account can connect. All others get "You Are not Connected With Facebook!" when they try to integrate. I can find no other permissions than "Share Topics on Facebook".

Anyone having the same problem, or know of a solution?
Thanks,
Abavagada
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Midnitelove on August 28, 2010, 12:10:05 PM
Quote from: erorcun on August 27, 2010, 07:33:42 AM
This file is working. Can you give PortalBlocks.php file?


Sorry, just seeing this. I have someone working on it. Thanks!!
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Stirling7 on August 29, 2010, 08:37:49 AM
Let me say this is an awesome mod.  Should bring a lot more users into our forums.

I've installed version 0.2_smf11x on a brand new install of 1.1.11 at www.audia1world.com and it is working fairly well except that when I am logged in as Admin (so not logged in with my Facebook account) it won't let me log out.

Has anyone seen this problem before?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Midnitelove on August 29, 2010, 01:42:54 PM
I have this mod fully up and running and I love it! Thanks Spoogs!
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Abavagada on August 29, 2010, 01:46:57 PM
Is anyone using the Beta-5 version on SMF 1.1.11 able to connect as a normal member?
Or should I switch to version 0.2?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Midnitelove on August 29, 2010, 02:06:00 PM
I'm not sure. There was a problem with the install on my 1.1.11, so I upgraded. However I don't know if that's the case for everyone...
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Abavagada on September 02, 2010, 03:50:43 PM
Can anyone help me at all? I don't know why it won't connect for anyone except the admin.

I would really like to use this mod on my site, but if no one can help, then I have to remove it.

Thanks
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on September 02, 2010, 04:31:34 PM
link to your site please
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Abavagada on September 02, 2010, 05:05:15 PM
Quote from: Spoogs on September 02, 2010, 04:31:34 PM
link to your site please

The forum part of it is here:
http://www.parleremo.org/forum/index.php

If no one could connect, I would figure it was a coding problem or a problem in setting up the Facebook app. However, the admin can use it, just no one else. When anyone else tries, it just says they are not connected.

Thanks
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on September 02, 2010, 08:10:44 PM
I was able to register and login just fine... FB had some API issues earlier today
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Abavagada on September 02, 2010, 09:53:15 PM
I installed this last week, so it wasn't just the Facebook issue.
On one of my non-admin accounts, I was able to log in. However, if I try to unsync, it tells me there is a database error. Error log gives me:

"Database Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE ID_MEMBER = 33
LIMIT 1' at line 4" in Sources/Subs.php

it doesn't like $condition = 'ID_MEMBER = 33 LIMIT 1' in function updateMemberData.

Also, I still can't get my other non-admin account to log in. It still says "You are not connected to facebook" after opening a small window and immediately closing it.

Thanks for the help. I will try to look into these more in the morning.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on September 02, 2010, 10:39:55 PM
Wish I knew what to tell ya, hopefully SA will see this and help you more than I can... I've been logging in and out of ur site with no issues
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Abavagada on September 03, 2010, 10:54:39 AM
Quote from: Spoogs on September 02, 2010, 10:39:55 PM
Wish I knew what to tell ya, hopefully SA will see this and help you more than I can... I've been logging in and out of ur site with no issues

After a few hours, I got rid of the database error, but still can't get one of my non-admin accounts to connect. The only other thing I can think of is some kind of privacy setting on Facebook that won't let it log in. Does anyone know of such a setting?

Thanks
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on September 03, 2010, 11:20:27 AM
Fb has no such setting... at registration users are asked to allow permissions. I wish I could help you further but it refuses to break for me on your site :P
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Abavagada on September 03, 2010, 11:34:28 AM
Quote from: Spoogs on September 03, 2010, 11:20:27 AM
Fb has no such setting... at registration users are asked to allow permissions. I wish I could help you further but it refuses to break for me on your site :P

Yes, I know. Only this one account now has an issue, and I have to figure out why. Thanks for your help.

:)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Abavagada on September 03, 2010, 12:43:52 PM
At last, I think I have found some hint of the problem.
It only doesn't work when I try to log in using Firefox (3.6.8) on WinXP. I've tried clearing out all the cache and cookies, but it still doesn't like it. I don't know if this helps anyone or not. I'm hoping it's just something up with my browser. I can log in using Chrome just fine.

Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: The Desert Fox on September 04, 2010, 06:47:39 PM
Can someone help me, I'm really inexperienced with all of this.  I created a facebook app on Facebook and it successfully transferred my site to the application page, which is good, but I'm trying to integrate facebook into my site with things like a facebook login button and like button.  On the application page I found out how to generate the code for the social plug-ins, I just have no idea where to put the code or what to do with it...  If it's easier to install this mod, could someone explain EXACTLY how I do that?  haha it sounds dumb, but you have to pretend I know nothing because I'm pretty new to all of this

Thanks a lot!
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on September 04, 2010, 08:10:33 PM
you do not need the codes, the mod handles that for you
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: !RFAN on September 05, 2010, 02:46:41 PM
hey,
can anyone help me in installing this mod to sunshine2 theme by Fussilet (smfdesign.net)???????
please :(
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on September 05, 2010, 02:47:39 PM
attach the index.template.php from that theme or pm me it
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: !RFAN on September 05, 2010, 02:58:10 PM
here it is...

thanks :)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: The Desert Fox on September 06, 2010, 01:05:04 AM
Ok, I uploaded the Mod by Sleepy Arcade, but what do I do now, I'm not seeing any change on my site.  I turned subdomain independent cookies off as well...
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on September 06, 2010, 01:40:31 AM
Have you created an App on facebook?
Have you been to the mods ACP to see what is needed?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ~DS~ on September 06, 2010, 01:43:10 AM
Quote from: The Desert Fox on September 06, 2010, 01:05:04 AM
Ok, I uploaded the Mod by Sleepy Arcade, but what do I do now, I'm not seeing any change on my site.  I turned subdomain independent cookies off as well...
Please do tell, what smf version, what theme are you using?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: The Desert Fox on September 06, 2010, 05:47:32 AM
Quote from: Sleepy Arcade on February 12, 2010, 01:36:11 PM

- Edit the settings, specially at Connect option, fill Connect URL with your website ie: http://example.com
- Goto admin/sa facebook connect and enter the keys in the correct places

I didn't find a "connect option" on the app page, but i entered my site's URL into the space for canvas URL, and that seemed to link my site to the app.  I also don't know what admin/sa facebook connect means and whether that's on the app or my website..

I've put links to both my website and my facebook application below. 

Quote from: Dismal Shadow on September 06, 2010, 01:43:10 AM
Please do tell, what smf version, what theme are you using?


I'm using SMF version 1.1.11 and the theme is Anecdota by Crip. Sorry about all this, I'm really new to all of this technical stuff.  If you could be as clear as possible that'd be a huge help!  :D

Thanks a lot guys

Website: http://www.communityandservice.com/ (http://www.communityandservice.com/)

Application: http://apps.facebook.com/pali_service/ (http://apps.facebook.com/pali_service/)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: !RFAN on September 06, 2010, 08:38:40 PM
Quote from: !RFAN on September 05, 2010, 02:58:10 PM
here it is...

thanks :)


i uploaded index.template.php file .. please help me in applying this mod to this theme :(

Thanks
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on September 08, 2010, 01:06:59 PM
sry for the delay what version of the mod are you using?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: tiger4020 on September 08, 2010, 05:04:58 PM
m not a programmer.. i need step by step guide. an someone help me plz.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: The Desert Fox on September 08, 2010, 08:08:58 PM
I uploaded and installed the latest version of the SA Facebook Connect Mod, but I still haven't seen any changes on my site...

I also made a facebook application that is linked to my site, but there's no social plug-ins appearing on my site at all.

Hopefully you can help me out
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on September 08, 2010, 08:53:58 PM
Quote from: The Desert Fox on September 08, 2010, 08:08:58 PM
I uploaded and installed the latest version of the SA Facebook Connect Mod, but I still haven't seen any changes on my site...

I also made a facebook application that is linked to my site, but there's no social plug-ins appearing on my site at all.

Hopefully you can help me out
Link to your site please
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on September 08, 2010, 08:54:56 PM
Quote from: tiger4020 on September 08, 2010, 05:04:58 PM
m not a programmer.. i need step by step guide. an someone help me plz.
Please provide some additional info
SMF version, link to site
What have you done so far?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: The Desert Fox on September 08, 2010, 08:57:38 PM
Quote from: Spoogs on September 08, 2010, 08:53:58 PM
Quote from: The Desert Fox on September 08, 2010, 08:08:58 PM
I uploaded and installed the latest version of the SA Facebook Connect Mod, but I still haven't seen any changes on my site...

I also made a facebook application that is linked to my site, but there's no social plug-ins appearing on my site at all.

Hopefully you can help me out
Link to your site please

My Website: http://www.communityandservice.com/index.php
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on September 08, 2010, 09:24:03 PM
Quote from: The Desert Fox on September 08, 2010, 08:57:38 PM
Quote from: Spoogs on September 08, 2010, 08:53:58 PM
Quote from: The Desert Fox on September 08, 2010, 08:08:58 PM
I uploaded and installed the latest version of the SA Facebook Connect Mod, but I still haven't seen any changes on my site...

I also made a facebook application that is linked to my site, but there's no social plug-ins appearing on my site at all.

Hopefully you can help me out
Link to your site please

My Website: http://www.communityandservice.com/index.php
Check your PM
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: arty5 on September 08, 2010, 09:28:51 PM
I was having problems with this mod when Facebook was doing their change over but got it working great now in 1.1.11 Thanx 4 the great mod
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: The Desert Fox on September 09, 2010, 07:54:10 PM
Therre you go Spoogs.  My bad
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on September 09, 2010, 08:47:27 PM
Here you go
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: The Desert Fox on September 09, 2010, 09:01:01 PM
There's now a facebook integration bar at the top, but it pretty much rearranged my site...
When I downloaded ur file it came up as index.template.php(2), so i just uploaded it to my site and deleted the original, do you think that makes a difference?  Should I have kept the original? Or is my theme incompatible with Facebook Integration?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on September 09, 2010, 09:03:59 PM
It should have asked if you wanted to overwrite the exisitng file.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Bazar6 on September 09, 2010, 09:29:06 PM
Hey everyone. I'm having some problems with this. I got the mod installed, "Connect with Facebook" appears near the log in (and an "Integrate with fbook" button in the top nav as well for my admin account). I created a fbook app, put the correct keys where they should go (app page ID, app key and app secret). I have enabled the fbook connect mod, share topic feature, show fbook in menu, fan page, and comment box.

So I log out of the forum (Still logged in to fbook.com), and try to "Connect with Facebook." I click the connect button and it takes me here:

imbazar.me/test/forum/?session={%22session_key%22:%222.hFnWUqBCqXo58dFpSCq6JA__.3600.1284087600-27002636%22,%22uid%22:27002636,%22expires%22:1284087600,%22secret%22:%22aWiZjRj6x0pp4EILUnntzA__%22,%22base_domain%22:%22www.imbazar.me%22,%22sig%22:%2221a2dfc10efeeb0ed6fc0058710439bd%22}&next=http://imbazar.me/test/forum/fbc/xd_receiver.htm%3Ffb_login%26fname%3D_opener%26guid%3D0.7241598272230476

So I know something is wrong, because it takes me back to the forum index page, and connected me to nothing, opening in a window 25% the size of my screen with no bookmarks or anything. So I think it's where I have my fbook app settings pointing to. The way I have it set up on the app page (which is not submitted to the directory because I am testing, I haven't launched this site yet, and in order to submit to directory they said I need 5 users which I don't have). I have the settings as this: site URL set to imbazar.me/test/forum, which is where my forum directory is located. Site domain set to www.imbazar.me. I'm not sure what to set the canvas page settings to (canvas page, canvas url, type and size, or bookmark URL).

Is this what is causing it to not work? There was nothing in the instructions (that I saw skimming) about this, and I am not a programmer, I haven't done a fbook app before. Any help would be greatly appreciated!! Thanks.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: BRiNGiTT on September 10, 2010, 05:11:57 PM
Ok....I need help over here...

I tried to download the SA Facebook Connect Mod...

After I uploaded it and was about it install it....

I received the message that...the Package is corrupt or damaged.....

Due to this I tried the other mods, but were all working well...

Please what might be the cause of this since I really need it.....
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: dark_shu on September 10, 2010, 06:49:26 PM
Hi There,

I have a Problem in Administration Menu. This Error is Just SA Facebook Admin Menu.

Fatal error: Call to undefined function conAdmin() in C:\Inetpub\vhosts\korkutatauniversitesi.net\subdomains\portal\httpdocs\Sources\Admin.php on line 529

How Can I Do it?

Thanks

Version : 2.0 RC3
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: BRiNGiTT on September 10, 2010, 07:24:47 PM
Please.....I've Installed the SA - Facebook Connect...

I've Checked entered all the keys....Now...

I get this error...

Fatal error: Call to undefined function iconv() in /home/xghcom/public_html/forum/Sources/FB_Connect/FB_Connect_Subs.php on line 27

Please help me
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: BRiNGiTT on September 11, 2010, 12:47:57 PM
Please these are my files.....

Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on September 11, 2010, 01:56:30 PM
this script requires the iconv module to work. You might want to conect your host about it
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Buraaq on September 11, 2010, 03:50:17 PM
There are four downloadable zip files for this mod. Which one should I install? =/ Running 2.0 RC3//
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on September 11, 2010, 04:05:02 PM
SA_FBConnect_0.2.zip
or
SA_FBConnect_1.0 Beta5_rev264_forsmf2.zip
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: mghq on September 12, 2010, 12:18:41 AM
You must make this edit for the registration through facebook to work....
Edit /Themes/default/languages/Login.english.php

add $txt['agreement_agree'] = 'I agree';
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on September 12, 2010, 01:33:15 PM
is that on the smf1 version?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: mghq on September 13, 2010, 05:59:24 PM
Quote from: Sleepy Arcade on September 12, 2010, 01:33:15 PM
is that on the smf1 version?
Yup, and also I have noticed now I can not login to my forum with facebook from my computer but my ipod can fine along with my other computer. I wonder if it has to do with something being sent wrong to my browser
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: !RFAN on September 14, 2010, 10:45:59 AM
Quote from: Sleepy Arcade on September 08, 2010, 01:06:59 PM
sry for the delay what version of the mod are you using?

sorry for late from my side now...

i'm using 1.0 Beta5 Rev264

thanks
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ukhalik2 on September 15, 2010, 12:44:21 PM
well, everything went fine..
i even wrote the api key, secret key and app id correctly but when i click on connect with facebook i get this error..!
see picture//
plz help
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on September 15, 2010, 02:06:10 PM
you have your keys the wrong way round by the looks of it
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ukhalik2 on September 15, 2010, 03:56:00 PM
Quote from: Sleepy Arcade on September 15, 2010, 02:06:10 PM
you have your keys the wrong way round by the looks of it
i checked it again.. but it seems to be correct..

i put Application ID in "Application Id", API Key in the "Facebook Application Key", and Application Secret in the "Facebook Application Secret".

i dont think any problem on this side......
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on September 15, 2010, 04:00:11 PM
on the website tab on the facebook application page whats in the site url feild?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ukhalik2 on September 15, 2010, 04:11:49 PM
Quote from: Sleepy Arcade on September 15, 2010, 04:00:11 PM
on the website tab on the facebook application page whats in the site url feild?
okay, there was a problem in app creating n url.. though figured it out.. thanks very much
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: mghq on September 15, 2010, 06:38:16 PM
Quote from: Sleepy Arcade on September 15, 2010, 04:00:11 PM
on the website tab on the facebook application page whats in the site url feild?
What about my issues
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on September 15, 2010, 06:40:47 PM
if you can login in fine from other computers as well as your phone... it will be pretty difficult to determine your issue without some serious specifics.

Try clearing your pc's cache and see if that helps any.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: mghq on September 15, 2010, 07:12:21 PM
Well i cleared it, and it didn't work. Can you see if you can register http://f4gamers.com
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on September 15, 2010, 07:31:45 PM
Yes (http://f4gamers.com/index.php?action=profile;u=15)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: mghq on September 15, 2010, 07:50:24 PM
Quote from: Spoogs on September 15, 2010, 07:31:45 PM
Yes (http://f4gamers.com/index.php?action=profile;u=15)
Well can you log in and out of the place, it is annoying that my computer is having issues
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on September 15, 2010, 07:53:25 PM
I can log in and out as well as access the fb options just fine
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: mghq on September 15, 2010, 08:05:43 PM
Quote from: Spoogs on September 15, 2010, 07:53:25 PM
I can log in and out as well as access the fb options just fine
Well i will look into it
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on September 15, 2010, 08:10:34 PM
What happens when you try to login via FB?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: !RFAN on September 16, 2010, 12:53:16 AM
Quotehey,
can anyone help me in installing this mod to sunshine2 theme by Fussilet (smfdesign.net)?
please

Quote
Quote from: !RFAN on September 14, 2010, 10:45:59 AM
Quote from: Sleepy Arcade on September 08, 2010, 01:06:59 PM
sry for the delay what version of the mod are you using?

sorry for late from my side now...

i'm using 1.0 Beta5 Rev264

thanks

Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: totolia on September 16, 2010, 01:00:25 PM
I do not get to edit this template I just get errors. Can someone help? The problem is that the heavily edited by me. Could someone help me?

This is the index.template, I just do not get editing errors appear.

http://www.megavideo.com/?v=Q2XZQDAA


Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: 6748222 on September 16, 2010, 10:45:34 PM
where can i donwload it?  :o
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on September 16, 2010, 10:47:16 PM
Quote from: 6748222 on September 16, 2010, 10:45:34 PM
where can i donwload it?  :o
http://custom.simplemachines.org/mods/index.php?mod=2322
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: havene on September 17, 2010, 12:12:59 AM
Hi, I just installed this mod for my 1.1.11, finished config in admin of this mod with fb aps..
But I didn't see anything about fb on my forum..
Am I missing something?
Thanks
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on September 17, 2010, 12:14:37 AM
what version of SMF
What version of the mod?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: havene on September 17, 2010, 12:25:59 AM
SMF 1.1.11
1.0 Beta5 Rev264
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on September 17, 2010, 12:35:12 AM
Are you using a custom theme... if so have you made the necessary edits?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: havene on September 17, 2010, 12:39:53 AM
Oh ya. I'm using custom theme. Sorry.
Please tell me how to edit it. Thanks
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on September 17, 2010, 12:45:21 AM
Go back to the mods page, select your version of the mod, select your version of smf, then click parse

the edits you need should be on index.template.php
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Hj Ahmad Rasyid Hj Ismail on September 17, 2010, 01:06:28 PM
Thank you for a very useful mod. It has been nice using your mod all these while. I need some help regarding the width of some function of this mod.

1. Invite Page.
2. Comment Page.

For the first one, I've tried to change the cols="4" to "3" but that doesn't really control the width of that page but the column. I've even tried put style="width:450px" for <div>, <fb:serverfbml> as well as <fb:fbml> but it's not working. I don't have any idea how to for the second one.

But I have managed to set width of the Like Page by changing the width in this line:
<fb:like href="http://www.facebook.com/pages/',$like['name'],'/',$like['id'],'?v=wall&ref=ts#" layout="standard" show_faces="true" width="350" action="like" colorscheme="light" /></fb:like> <br />';

Thanks a million in advance.

P/S: I really hope that the template in this mod will use a css file in the future so that it will be easier to modify the styling to suit our needs.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on September 20, 2010, 01:42:37 PM
20 september 2010 SMF 2.0x:

like feture has now new fetures
addded target blank to all external facebook links links
added permissions to admin facebook
added facebook admin to drop menu if permission
fixed gender showing female if none selected
chnaged enable disable to maintenance mode admin can stil enter so can users if they have permission to admin faceboo
fixed undefined index member var
fixed share topic button showing when disabled
fixed like topic button showing when disabled
fixed incorrect php version check
fixed recomend not showing in correct places
fixed some typo's
fixed names all being lower case
added dream portal supports
added option to set default groupe for new registerd fb users
moved some stuff from index.template.php to subs.php
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Hj Ahmad Rasyid Hj Ismail on September 21, 2010, 06:29:03 AM
Sleepy, any idea on how to manage the invite and comment page templates (width) as posted here: http://www.simplemachines.org/community/index.php?topic=365503.msg2788019#msg2788019 ?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Hj Ahmad Rasyid Hj Ismail on September 21, 2010, 06:40:52 AM
I've also noted that the language lines have been reduced. I'll provide the latest Malay translation here later. It will be better if the language file is made separate from the installation files and use its own language files in the future.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: RAULVK on September 21, 2010, 10:54:54 AM
Hello Sleepy Arcade. Thanks for this mod is fantastic.

I have a problem with this latest update (RC1 rev271)
1. I can not "preview" the topip, it is always "Fetching preview."
2. Quotes do not work

The previous version that did not happen.

I've been researching a bit around the "parse" and this script is the one that seems to give this error, and that removing this part of the problem disappears:
In SOURCE / SUBS.PHP:


             global $boardurl;
    echo'<script src="'.$boardurl.'/fbc/fbconnect.js" type="text/javascript"></script>
        <script type="text/javascript">
        var mod_settings_fb_app_pageid = "',$modSettings['fb_app_pageid'],'";   
        var mod_settings_fb_app_stream = "',$modSettings['fb_app_stream'],'";
        var mod_settings_fb_app_connection = "',$modSettings['fb_app_connection'],'";
        var mod_settings_fb_app_width = "',$modSettings['fb_app_width'],'";
        var mod_settings_fb_com_xid = "',$modSettings['fb_app_comments_boxid'],'";
        var mod_settings_fb_li_xid = "',$modSettings['fb_app_stream_boxid'],'";
        var mod_settings_fb_com_show = "',$modSettings['fb_admin_commets_post'],'";
        var forum_name = "'.$context['forum_name'].'";
        var site_slogan = "'.$settings['site_slogan'].'";
        var like_layout = "', empty($modSettings['liketopiclayout']) ? 'standard' : 'button_count', '";
        var like_verb = "', empty($modSettings['liketopicverb']) ? 'like' : 'recommend', '";
        var like_colour = "', empty($modSettings['liketopiccolour']) ? 'light' : 'dark', '";
        var live_hight = "'.$modSettings['fb_app_stream_hight'].'";
        var live_width = "'.$modSettings['fb_app_stream_width'].'";
        var fp_width = "'.$modSettings['fb_app_fp_width'].'";
        var fp_row = "'.$modSettings['fb_app_e_fp_row'].'";
        var rec_width = "'.$modSettings['fb_app_rec_width'].'";
        var rec_hight = "'.$modSettings['fb_app_rec_hight'].'";
    </script>';


Sorry for my English is very bad. Thanks
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on September 21, 2010, 12:16:48 PM
@ im looking into this

@ RAULVK confirmed as a bug

if you move it from where it is and put ifbefore this

}

if (isset($settings['use_default_images']) && $settings['use_default_images'] == 'defaults' && isset($settings['default_template']))
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Buraaq on September 21, 2010, 12:41:36 PM
Heya!!

Good to know a newer version has been released! However, I am getting a warning error while trying to install that one. Some of the tests are failing too:
Quote1.   Replace   ./Sources/Profile.php
Replace   ./Themes/default/index.template.php   Test failed
Replace   ./Themes/default/index.template.php   Test failed
Add After   ./Themes/default/index.template.php   Test failed
Replace   ./Themes/default/index.template.php   Test failed

What should I do? =/

Also, with the current version on, when i someone "like" something, their facebook profile shows it as "xyz person like login". and thats it. Is there a way to replace this "login" with the actual title of the post they like?

Thanks a bunch!
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on September 21, 2010, 01:20:52 PM
xyz likes login... This is because the topic they like is on a board that guests do not have access to

What version of SMF are you using... the updated version is for 2.0RC3
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Buraaq on September 21, 2010, 02:24:37 PM
Quotexyz likes login... This is because the topic they like is on a board that guests do not have access to

Actually, there is one board which is available to everyone, but even topics on that board gets shared that way.
Besides, why is that even a problem if people who are "liking" these topics are members of my forum?

I am using SMF V2.0 RC3, but I still get those errors  :-\
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on September 21, 2010, 02:32:07 PM
For the files that failed, do a manually edit them to add the code

SA can answer this better than I can but my guess is that
Its a matter of maintaining the integrity of boards that are off limits

For example I you and I were admins on your site and we posted a few things on an admin only board and I choose to like or share this on FB (would you really want others to see this topic)

I would be happier if it defaulted to the forum name as opposed to Login tho.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Buraaq on September 21, 2010, 02:36:28 PM
Oh, so all I have to do is change the restrictions so that every member can access the boards right? But then, what would be the use of requiring registration if everyone is allowed to access all the boards. Thanks anyways though, I guess I will leave it as it is..

And manual edits, I thought about that too but I wasn't sure. sounds risky, given that my current version is working fine (after much efforts) and since the board is new and active, I wouldn't want to cause trouble for my new users. Might try it later, or will post on SA forums they might have a safer way about it..

Thanks a lot Spoogs. You have been great help  :)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on September 21, 2010, 02:44:30 PM
The guest dont have to be allowed to post .. .just allow to view should do the trick.

You're quite welcome... and if its working for ya then no need to mess with it. Easiest way to deal with it tho.. is download the necessary file (make a back up of your forum) copy the file you downloaded (just to be safe) make the edits upload to your server... if everything is working you're done... if not you still have the copy you made of the original just re-upload and you'll be back to where you were (in most cases)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Hj Ahmad Rasyid Hj Ismail on September 21, 2010, 02:48:15 PM
So far the new release is working just fine here.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Buraaq on September 21, 2010, 03:00:38 PM
Quoteand if its working for ya then no need to mess with it. Easiest way to deal with it tho.. is download the necessary file (make a back up of your forum) copy the file you downloaded (just to be safe) make the edits upload to your server... if everything is working you're done... if not you still have the copy you made of the original just re-upload and you'll be back to where you were (in most cases)

Yup I usually do that, unless I am pretty much sure what I am doing. I guess I will give it a try in a day or two; you never know SA might introduce a new revision by then =p

And the guest thing is indeed the case, thanks a lot! Worked well. I just allowed guests in the boards settings, but I will set the permissions for Guests so they can only view it. Perfect. Thanks a bunch mate!  ;)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on September 21, 2010, 03:13:16 PM
(http://www.skype-emoticons.com/images/emoticon-00148-yes.gif)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: neliojesus on September 21, 2010, 04:46:07 PM
already installed the mod, I can login as an account associate from forum to facebook but I can not make records, can you help me?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Buraaq on September 21, 2010, 05:10:31 PM
QuoteI can login as an account associate from forum to facebook but I can not make records, can you help me?

Can you please elaborate a little on the above? I might be able to assist you if I can have a better picture of the problem you are facing.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: neliojesus on September 21, 2010, 05:25:59 PM
the only problem is when trying to make a new account Across the facebook. When it appears that the text of the Privacy Policy or what it is, I click the button to proceguiu and it does refresh the page.

Besides all the features are working properly
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Oldiesmann on September 21, 2010, 07:35:54 PM
Quote from: Sleepy Arcade on September 21, 2010, 12:16:48 PM
@ im looking into this

@ RAULVK confirmed as a bug

if you move it from where it is and put ifbefore this

}

if (isset($settings['use_default_images']) && $settings['use_default_images'] == 'defaults' && isset($settings['default_template']))


Sticking it there will put it inside a foreach loop, causing it to be echoed out once for every template layer that's defined. A better option would be to modify and move it a bit...

Find the global variables list inside setupThemeContext() (one function above the one where the code is currently placed) and add $boardurl to that list.

Then...

Find:
    // Set some specific vars.

And add this before it:
    $like_layout = empty($modSettings['liketopiclayout']) ? 'standard' : 'button_count';
    $like_verb = empty($modSettings['liketopicverb']) ? 'like' : 'recommend';
    $like_colour = empty($modSettings['liketopiccolour']) ? 'light' : 'dark';   

    $context['html_headers'] .= '
    <script src="'.$boardurl.'/fbc/fbconnect.js" type="text/javascript"></script>
    <script type="text/javascript">
        var mod_settings_fb_app_pageid = "'.$modSettings['fb_app_pageid'].'";   
        var mod_settings_fb_app_stream = "'.$modSettings['fb_app_stream'].'";
        var mod_settings_fb_app_connection = "'.$modSettings['fb_app_connection'].'";
        var mod_settings_fb_app_width = "'.$modSettings['fb_app_width'].'";
        var mod_settings_fb_com_xid = "'.$modSettings['fb_app_comments_boxid'].'";
        var mod_settings_fb_li_xid = "'.$modSettings['fb_app_stream_boxid'].'";
        var mod_settings_fb_com_show = "'.$modSettings['fb_admin_commets_post'].'";
        var forum_name = "'.$context['forum_name'].'";
        var site_slogan = "'.$settings['site_slogan'].'";
        var like_layout = "'. $like_layout. '";
        var like_verb = "'. $like_verb. '";
        var like_colour = "'. $like_colour. '";
        var live_hight = "'.$modSettings['fb_app_stream_hight'].'";
        var live_width = "'.$modSettings['fb_app_stream_width'].'";
        var fp_width = "'.$modSettings['fb_app_fp_width'].'";
        var fp_row = "'.$modSettings['fb_app_e_fp_row'].'";
        var rec_width = "'.$modSettings['fb_app_rec_width'].'";
        var rec_hight = "'.$modSettings['fb_app_rec_hight'].'";
    </script>';


Some notes:
Using $context['html_headers'] will ensure it gets echoed out in the <head> section for every theme.
Defining the "like" settings separately is done because the inline conditionals cause it to output "light" or "dark" after a </script> tag otherwise (though I'm not quite sure why).
Commas can't be used to concatenate strings, so you have to change those to periods instead.

Hope that helps. It worked for me :)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on September 22, 2010, 10:22:07 AM
aha thanks Oldiesmann i only relised after further testing myself i will corect this in next revision
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Hj Ahmad Rasyid Hj Ismail on September 22, 2010, 10:31:41 AM
Great news. I'll be awaiting too.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Buraaq on September 22, 2010, 11:07:38 AM
Hello again!

I have run into another problem, and this one is a major security risk!!

Here is the thing

My SA FC was working fine, but then I noticed that the IDs associated with my members were all jumbled up. Like there were total 18 members, and the last member who had joined us had an ID of 43 or something. So I wanted to fix it. I accessed my database, went to smf_members and changed the IDs there.

However, it seems that SA FC had associated FB profiles in relation to IDs, so now wrong FB profiles are associated with the wrong people!!

For example, this person abc had facebook profile http://www.facebook.com/abc and this other person xyz had profile http://www.facebook.com/xyz.
Lets say changing the IDs led to ABC's ID getting associated to XYZ. so now, if I visit XYZ's profile, his facebook profile link reads http://www.facebook.com/abc when it should be reading /xyz!!

This issue is because of IDs is my best guess, because before changing the IDs everything was fine.

How do I fix it, I have no clue. I have disabled the MOD for the meantime. I need to get this sorted out soon though. Any help please?? :'(
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on September 22, 2010, 11:27:05 AM
you can chnage the id's in the themes db table just like you did with the members

one question tho have you deleted any memebers cos it is usal for the id's to go out of whak i happens when you delete members it is not a bug :)

also it is very wise to always back up before editing things exspecily your db
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Buraaq on September 22, 2010, 11:34:49 AM
Quoteyou can chnage the id's in the themes db table just like you did with the members

Well I would, but I wouldn't remember which ID to assign in order to get SA FB profiles to match with their forum users. Yes I deleted many members; I was trying to change the email templates so was testing them by registering myself every now and then and then rejecting myself, approving and so on  :D

I am stuck =(


Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on September 22, 2010, 11:48:44 AM
1. Disassociate your FB account from your forum account
2. Go to http://www.facebook.com/editapps.php?ref=mb (http://www.facebook.com/editapps.php?ref=mb) and click the "x" to remove the app

3. Re-Integrate with FB on your forum

(see if that helps)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Buraaq on September 22, 2010, 11:55:45 AM
Sounds a good option. You always have good suggestions to make spoogs, will give it a shot. Should work!  :D Thanks!!
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on September 22, 2010, 12:21:42 PM
spoogs is on the ball lol i didnt think of that one
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: neliojesus on September 22, 2010, 01:40:03 PM
Quote from: Oldiesmann on September 21, 2010, 07:35:54 PM
Quote from: Sleepy Arcade on September 21, 2010, 12:16:48 PM
@ im looking into this

@ RAULVK confirmed as a bug

if you move it from where it is and put ifbefore this

}

if (isset($settings['use_default_images']) && $settings['use_default_images'] == 'defaults' && isset($settings['default_template']))


Sticking it there will put it inside a foreach loop, causing it to be echoed out once for every template layer that's defined. A better option would be to modify and move it a bit...

Find the global variables list inside setupThemeContext() (one function above the one where the code is currently placed) and add $boardurl to that list.

Then...

Find:
    // Set some specific vars.

And add this before it:
    $like_layout = empty($modSettings['liketopiclayout']) ? 'standard' : 'button_count';
    $like_verb = empty($modSettings['liketopicverb']) ? 'like' : 'recommend';
    $like_colour = empty($modSettings['liketopiccolour']) ? 'light' : 'dark';   

    $context['html_headers'] .= '
    <script src="'.$boardurl.'/fbc/fbconnect.js" type="text/javascript"></script>
    <script type="text/javascript">
        var mod_settings_fb_app_pageid = "'.$modSettings['fb_app_pageid'].'";   
        var mod_settings_fb_app_stream = "'.$modSettings['fb_app_stream'].'";
        var mod_settings_fb_app_connection = "'.$modSettings['fb_app_connection'].'";
        var mod_settings_fb_app_width = "'.$modSettings['fb_app_width'].'";
        var mod_settings_fb_com_xid = "'.$modSettings['fb_app_comments_boxid'].'";
        var mod_settings_fb_li_xid = "'.$modSettings['fb_app_stream_boxid'].'";
        var mod_settings_fb_com_show = "'.$modSettings['fb_admin_commets_post'].'";
        var forum_name = "'.$context['forum_name'].'";
        var site_slogan = "'.$settings['site_slogan'].'";
        var like_layout = "'. $like_layout. '";
        var like_verb = "'. $like_verb. '";
        var like_colour = "'. $like_colour. '";
        var live_hight = "'.$modSettings['fb_app_stream_hight'].'";
        var live_width = "'.$modSettings['fb_app_stream_width'].'";
        var fp_width = "'.$modSettings['fb_app_fp_width'].'";
        var fp_row = "'.$modSettings['fb_app_e_fp_row'].'";
        var rec_width = "'.$modSettings['fb_app_rec_width'].'";
        var rec_hight = "'.$modSettings['fb_app_rec_hight'].'";
    </script>';


Some notes:
Using $context['html_headers'] will ensure it gets echoed out in the <head> section for every theme.
Defining the "like" settings separately is done because the inline conditionals cause it to output "light" or "dark" after a </script> tag otherwise (though I'm not quite sure why).
Commas can't be used to concatenate strings, so you have to change those to periods instead.

Hope that helps. It worked for me :)

where i do that? wich file?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on September 22, 2010, 02:09:00 PM
subs.php
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: mikeymx5 on September 25, 2010, 12:48:49 PM
code is a bit sloppy for custom themes...

                   
            show_facebook_like('','',6);

I suggest a better way would be

            //manual edit facebook mod
            if (function_exists("show_facebook_like"))
            {show_facebook_like('','',6); }


this way if the mod is uninstalled and doesnt remove itself from your theme it doesnt crash SMF

Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on September 25, 2010, 01:54:39 PM
i have done this with rev 272 thanksfor the sugestion
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: choloman05 on September 26, 2010, 01:30:44 PM
Has anyone used this mod in conjunction with smfhacks' Social Login Pro mod?  I like the additional functionality of this mod, but wouldn't want it causing problems with the Social Login Pro mod. 
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on September 26, 2010, 01:55:46 PM
havent tryed it myself you could always set up a test site to try it out i dont see why it wouldent work
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: choloman05 on September 26, 2010, 02:35:22 PM
Yeah, thanks Sleepy - I'll try it out. 
Title: Missing function index.template.php
Post by: dematrix2571 on September 29, 2010, 10:02:16 AM
I am having some issue with the FB connect icons on my main screen cheathamtalk.com

I check and verify all the file changes and saw that my index.template.php is missing a function   

'id' => $id_member,
'fbname' => isset($user_settings['fbname']) ? $user_settings['fbname'] : '',
         
Please instruct me where in file this function is supposed to be.  I have attached a copy of the index.template.php file.

Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on September 29, 2010, 10:27:37 AM
that edit doesnt go in index.templte.php it goes in load .php

find
'id' => $id_member,
after add
'fbname' => isset($user_settings['fbname']) ? $user_settings['fbname'] : '',
         
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: dematrix2571 on September 29, 2010, 12:21:27 PM
Weird. Ok.  when I tried to uninstall the mod, it show that the modification of what I just mention was in the index.template.php..

Ok.  The issue that I am haiving is that when I use IE, FireFox, or Chrome,  When I want to log in, i click on the FaceBook Connect button.  I enter my credintials and it validates and goes back to my site, but it didn't log me in.  Then, I click on FB Connect button again, it automatically logs me in. 

Sometimes, it sits at the Cross Reference Domain box and doesn't go anywhere.

Any clue as to why it hangs.   I check the Facebook application settings over and over.  I have another site it it doesn't cause any issues
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on September 29, 2010, 12:27:59 PM
can i have a link to your site please
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: dematrix2571 on September 29, 2010, 12:50:34 PM
Www.cheathamtalk.com
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on September 29, 2010, 02:05:10 PM
what is your site domain and site url in your app

also see this for setting up your app properly
http://www.sa-mods.info/index.php?topic=734.msg4837#msg4837
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: dematrix2571 on September 29, 2010, 02:14:54 PM
Url. http://www.cheathamtalk.com/

Domain:  cheathamtalk.com

I will look at that link.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on September 30, 2010, 10:57:59 AM
site url should be
http://www.cheathamtalk.com

site domain should be
cheathamtalk.com
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: NoFeaR / NFSMW on October 01, 2010, 05:29:58 AM
I didnt get feedback on to change the colour of "Be the first of your friends to like this."
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on October 02, 2010, 12:25:42 PM
what version of the mod are you using you can chnage the like theme in admin in the latest version
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on October 02, 2010, 02:10:17 PM
new version realsed for smf2

fixed js conflicting with quick reply preview and portal shout boxes
now supports pmxblog
added function exsist checks to edits in index.template
moved supported mods to own admn page
added a link in admin for a step by step guide on setting up you app
changed update to avatar to facebook pic text string to Import FB Avatar
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on October 02, 2010, 03:01:34 PM
Theres no link to the mod in 1st post SA  ;)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on October 02, 2010, 04:18:03 PM
done
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: samozin on October 02, 2010, 07:55:50 PM
nice mod but it doesnt support right to left forums
it shows abad shap of my forum 
iam using arabic smf
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: !RFAN on October 02, 2010, 10:53:42 PM
i cant see "login usin facebook" button at index for guests...

http://www.amigozone.com

plz help me :(
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on October 03, 2010, 03:42:10 AM
disable maintenance mode for the mod
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on October 03, 2010, 11:34:05 AM
@ samozin i will take look at this for next version
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Bazar6 on October 04, 2010, 03:25:11 PM
ok, I need a little help on getting mine to work. I'm trying to test it before taking it live.
I'm running SMF 2.0 RC3, and I installed SA_FBConnect_0.2.zip (169kB) (is this the correct and most up-to-date package for my forum?). I set up the application just like the page you linked to : http://www.sa-mods.info/index.php?topic=734.msg4837#msg4837 : And I put the values in my settings page. The "Facebook Application Key" I assume is the API Key, correct? because there is no tab for "App Key". And I put in the secret key correctly, that one I know is right. I also have enabled fbook connect mod and share topic feature. When I click on the "integrate forum account with facebook" link above my avatar while signed in, a new window opens, displaying the exact same page that I'm on, but the bookmark disappears, and "forum2/?session=("session_key....) appears in the address bar. Then I click on the same fbook link within that window and I get the fbook pop up. However, that pop up is also displaying errors. (API Error Code: 100, API Error Description: Invalid Parameter. Error Message: next is not owned by the application.) I am not a php programmer, and admirer how y'all can do tis stuff, I'm a graphic designer, so I'm on the front end. But if someone could help me with this it'd be greatly appreciated! I can give ya a link to my forum if you need to. THANKS!
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Tiekie on October 06, 2010, 02:34:45 AM
Hi

I have a propblem finding where i should enter the facebook dev info.
What is the path to where i can find SA facebook to edit it?

What im doing is:
admin>packages>installed packages ---  it shows me a list of installed mods but how am i able to edit and set it?  All tab i see is UNISTALL MOD !!

Help please
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: jarska on October 06, 2010, 08:12:34 AM
Hello,

I have smf version 2.0RC3 and Facebook integration 1.0 RC1-1.

When I try to connect my application, I see my application, user name and password right, but when I click log in, became white blanc screen, and nothing appear?

Sorry my pad english. :-[
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on October 06, 2010, 09:16:56 AM
Quote from: Tiekie on October 06, 2010, 02:34:45 AM
Hi

I have a propblem finding where i should enter the facebook dev info.
What is the path to where i can find SA facebook to edit it?

What im doing is:
admin>packages>installed packages ---  it shows me a list of installed mods but how am i able to edit and set it?  All tab i see is UNISTALL MOD !!

Help please

Admin>>SA facebook Connect
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on October 06, 2010, 09:18:40 AM
Quote from: jarska on October 06, 2010, 08:12:34 AM
Hello,

I have smf version 2.0RC3 and Facebook integration 1.0 RC1-1.

When I try to connect my application, I see my application, user name and password right, but when I click log in, became white blanc screen, and nothing appear?

Sorry my pad english. :-[
Make sure you have it setup correctly Creating your Facebook Application (http://www.sa-mods.info/index.php?msg=4837)
Otherwise a link to your site would be helpful.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on October 06, 2010, 09:20:46 AM
Quote from: Bazar6 on October 04, 2010, 03:25:11 PM
ok, I need a little help on getting mine to work. I'm trying to test it before taking it live.
I'm running SMF 2.0 RC3, and I installed SA_FBConnect_0.2.zip (169kB) (is this the correct and most up-to-date package for my forum?). I set up the application just like the page you linked to : http://www.sa-mods.info/index.php?topic=734.msg4837#msg4837 : And I put the values in my settings page. The "Facebook Application Key" I assume is the API Key, correct? because there is no tab for "App Key". And I put in the secret key correctly, that one I know is right. I also have enabled fbook connect mod and share topic feature. When I click on the "integrate forum account with facebook" link above my avatar while signed in, a new window opens, displaying the exact same page that I'm on, but the bookmark disappears, and "forum2/?session=("session_key....) appears in the address bar. Then I click on the same fbook link within that window and I get the fbook pop up. However, that pop up is also displaying errors. (API Error Code: 100, API Error Description: Invalid Parameter. Error Message: next is not owned by the application.) I am not a php programmer, and admirer how y'all can do tis stuff, I'm a graphic designer, so I'm on the front end. But if someone could help me with this it'd be greatly appreciated! I can give ya a link to my forum if you need to. THANKS!
Sounds like something's wrong with the setup
Link to your site please
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Bazar6 on October 06, 2010, 09:28:26 AM
Quote from: Spoogs on October 06, 2010, 09:20:46 AM
Sounds like something's wrong with the setup
Link to your site please

http://www.imbazar.me/test/forum2
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on October 06, 2010, 09:40:12 AM
Make a account a temp admin for a bit please http://imbazar.me/test/forum2/index.php?action=profile;u=2
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: jarska on October 06, 2010, 09:41:11 AM
Quote from: Spoogs on October 06, 2010, 09:18:40 AM
Quote from: jarska on October 06, 2010, 08:12:34 AM
Hello,

I have smf version 2.0RC3 and Facebook integration 1.0 RC1-1.

When I try to connect my application, I see my application, user name and password right, but when I click log in, became white blanc screen, and nothing appear?

Sorry my pad english. :-[
Make sure you have it setup correctly Creating your Facebook Application (http://www.sa-mods.info/index.php?msg=4837)
Otherwise a link to your site would be helpful.

Here you go-->
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on October 06, 2010, 10:01:27 AM
Quote from: jarska on October 06, 2010, 09:41:11 AM
Quote from: Spoogs on October 06, 2010, 09:18:40 AM
Quote from: jarska on October 06, 2010, 08:12:34 AM
Hello,

I have smf version 2.0RC3 and Facebook integration 1.0 RC1-1.

When I try to connect my application, I see my application, user name and password right, but when I click log in, became white blanc screen, and nothing appear?

Sorry my pad english. :-[
Make sure you have it setup correctly Creating your Facebook Application (http://www.sa-mods.info/index.php?msg=4837)
Otherwise a link to your site would be helpful.

Here you go-->http://www.bmwsportbikes.fi/
I created an account on your site and needs approval
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: jarska on October 06, 2010, 10:09:52 AM
Quote from: Spoogs on October 06, 2010, 10:01:27 AM
Quote from: jarska on October 06, 2010, 09:41:11 AM
Quote from: Spoogs on October 06, 2010, 09:18:40 AM
Quote from: jarska on October 06, 2010, 08:12:34 AM
Hello,

I have smf version 2.0RC3 and Facebook integration 1.0 RC1-1.

When I try to connect my application, I see my application, user name and password right, but when I click log in, became white blanc screen, and nothing appear?

Sorry my pad english. :-[
Make sure you have it setup correctly Creating your Facebook Application (http://www.sa-mods.info/index.php?msg=4837)
Otherwise a link to your site would be helpful.

Here you go-->http://www.bmwsportbikes.fi/
I created an account on your site and needs approval

Ok, you are in now. :)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Tiekie on October 06, 2010, 10:32:51 AM
Quote from: Spoogs on October 06, 2010, 09:16:56 AM
Quote from: Tiekie on October 06, 2010, 02:34:45 AM
Hi

I have a propblem finding where i should enter the facebook dev info.
What is the path to where i can find SA facebook to edit it?

What im doing is:
admin>packages>installed packages ---  it shows me a list of installed mods but how am i able to edit and set it?  All tab i see is UNISTALL MOD !!

Help please

Admin>>SA facebook Connect

Hi

its not in there. This is the categories i have to choose from


Administration Center
Support and Credits
News and Newsletters
Packages
Configuration
Core Features
Features and Options
Security and Moderation
Languages
Server Settings
Current Theme
Themes and Layout
Modification Settings
Forum
Boards
Posts and Topics
Calendar
Search
Smileys and Message Icons
Attachments and Avatars
Members
Members
Membergroups
Permissions
Registration
Ban List
Search Engines
Maintenance
Forum Maintenance
Scheduled Tasks
Mail
Logs
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on October 06, 2010, 10:38:52 AM
Quote from: jarska on October 06, 2010, 10:09:52 AM
Quote from: Spoogs on October 06, 2010, 10:01:27 AM
Quote from: jarska on October 06, 2010, 09:41:11 AM
Quote from: Spoogs on October 06, 2010, 09:18:40 AM
Quote from: jarska on October 06, 2010, 08:12:34 AM
Hello,

I have smf version 2.0RC3 and Facebook integration 1.0 RC1-1.

When I try to connect my application, I see my application, user name and password right, but when I click log in, became white blanc screen, and nothing appear?

Sorry my pad english. :-[
Make sure you have it setup correctly Creating your Facebook Application (http://www.sa-mods.info/index.php?msg=4837)
Otherwise a link to your site would be helpful.

Here you go-->http://www.bmwsportbikes.fi/
I created an account on your site and needs approval

Ok, you are in now. :)
Temp admin status please http://www.bmwsportbikes.fi/index.php?action=profile;u=475
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on October 06, 2010, 10:40:06 AM
Quote from: Tiekie on October 06, 2010, 10:32:51 AM
Quote from: Spoogs on October 06, 2010, 09:16:56 AM
Quote from: Tiekie on October 06, 2010, 02:34:45 AM
Hi

I have a propblem finding where i should enter the facebook dev info.
What is the path to where i can find SA facebook to edit it?

What im doing is:
admin>packages>installed packages ---  it shows me a list of installed mods but how am i able to edit and set it?  All tab i see is UNISTALL MOD !!

Help please

Admin>>SA facebook Connect

Hi

its not in there. This is the categories i have to choose from


Administration Center
Support and Credits
News and Newsletters
Packages
Configuration
Core Features
Features and Options
Security and Moderation
Languages
Server Settings
Current Theme
Themes and Layout
Modification Settings
Forum
Boards
Posts and Topics
Calendar
Search
Smileys and Message Icons
Attachments and Avatars
Members
Members
Membergroups
Permissions
Registration
Ban List
Search Engines
Maintenance
Forum Maintenance
Scheduled Tasks
Mail
Logs
In that case it doesnt seem the mod was installed... link to your site please
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Bazar6 on October 06, 2010, 11:15:29 AM
That is awesome Spoogs, thanks a ton! That was just on a test forum, hopefully I'll be able to do everything correctly on my live site. Thanks again!
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: elyparker on October 06, 2010, 11:26:43 AM
hi i try this mod it is a good work but i would know if is possible to use for single.in authentication

if users use facebook i would that they register another password on my forum, it is possible to make it ?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on October 06, 2010, 11:27:40 AM
Quote from: Bazar6 on October 06, 2010, 11:15:29 AM
That is awesome Spoogs, thanks a ton! That was just on a test forum, hopefully I'll be able to do everything correctly on my live site. Thanks again!
Welcome mate... if it gives you any issues on your live site let me know.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Bazar6 on October 06, 2010, 11:29:21 AM
Will do, I don't think I'll have any trouble tho. I think I was able to understand what you said was wrong with the keys (the web address I got)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on October 06, 2010, 11:34:33 AM
Quote from: Bazar6 on October 06, 2010, 11:29:21 AM
Will do, I don't think I'll have any trouble tho. I think I was able to understand what you said was wrong with the keys (the web address I got)
(http://www.skype-emoticons.com/images/emoticon-00148-yes.gif)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on October 06, 2010, 11:35:27 AM
Quote from: elyparker on October 06, 2010, 11:26:43 AM
hi i try this mod it is a good work but i would know if is possible to use for single.in authentication

if users use facebook i would that they register another password on my forum, it is possible to make it ?
I'm not sure I undersdtand

user can login using their facebook info or normal forum username and password (the accounts are integrated)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on October 06, 2010, 11:37:27 AM
Quotesingle.in authentication
?

Quoteif users use facebook i would that they register another password on my forum, it is possible to make it ?
i dont understand this
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Tiekie on October 06, 2010, 02:45:48 PM
ok here is my url:
http://www.ux.co.za


Quote from: Spoogs on October 06, 2010, 10:40:06 AM
Quote from: Tiekie on October 06, 2010, 10:32:51 AM
Quote from: Spoogs on October 06, 2010, 09:16:56 AM
Quote from: Tiekie on October 06, 2010, 02:34:45 AM
Hi

I have a propblem finding where i should enter the facebook dev info.
What is the path to where i can find SA facebook to edit it?

What im doing is:
admin>packages>installed packages ---  it shows me a list of installed mods but how am i able to edit and set it?  All tab i see is UNISTALL MOD !!

Help please

Admin>>SA facebook Connect

Hi

its not in there. This is the categories i have to choose from


Administration Center
Support and Credits
News and Newsletters
Packages
Configuration
Core Features
Features and Options
Security and Moderation
Languages
Server Settings
Current Theme
Themes and Layout
Modification Settings
Forum
Boards
Posts and Topics
Calendar
Search
Smileys and Message Icons
Attachments and Avatars
Members
Members
Membergroups
Permissions
Registration
Ban List
Search Engines
Maintenance
Forum Maintenance
Scheduled Tasks
Mail
Logs
In that case it doesnt seem the mod was installed... link to your site please
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on October 07, 2010, 12:59:52 PM
can i see your admin.php pls?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: elyparker on October 08, 2010, 08:34:11 PM
Quote from: Sleepy Arcade on October 06, 2010, 11:37:27 AM

Quoteif users use facebook i would that they register another password on my forum, it is possible to make it ?
i dont understand this

sorry my bad english , i mean that if use the facebook login  not need another login on the smf
i like to use facebook login as OPENID with this mod

i hope to had explain cleary it

i want that users that want register on the forum with email ok, but if they use facebook login the registration is not required for login.

openid is not very common, facebook yes , and people not love register new login and new password

is it possible with this mode? or it will be possible?
bye

Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on October 08, 2010, 08:39:05 PM
To register - user can use facebook but they will have to register on the forum at the same time

To login - user can use facebook or normal login (not both)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: elyparker on October 09, 2010, 08:52:31 AM
Quote from: Spoogs on October 08, 2010, 08:39:05 PM
To register - user can use facebook but they will have to register on the forum at the same time

yes i saw, but is impossible to add a option for give the possible to use the login without registration at forum?

a single registration
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on October 09, 2010, 09:10:18 AM
Why would you want to do that?

If facebook has issues the users without a true forum account would not be able to login and facebook does have a lot of issues. Registration is quick and easy and just a 1 time thing.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: soulgeek on October 09, 2010, 09:46:27 AM
very Nice Mode But am too disappointed...

While installing, its giving error.

Am on RC3 and using SMF Default- Core Theme.

Any clue how can i make it work?

Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ~DS~ on October 09, 2010, 10:58:39 AM
Can you please tell, what error you are getting? What browser?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: elyparker on October 09, 2010, 11:02:48 AM
Quote from: Spoogs on October 09, 2010, 09:10:18 AM
Why would you want to do that?

If facebook has issues the users without a true forum account would not be able to login and facebook does have a lot of issues. Registration is quick and easy and just a 1 time thing.

because the users hate registration and they prefer to use a single registration

is the basic idea of openid option of smf

but facebook 200 milion of users potential, is de facto standard not openid
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ~DS~ on October 09, 2010, 11:04:34 AM
This mod is a single registration integrated with SMF...
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: soulgeek on October 09, 2010, 02:39:57 PM
Quote from: Dismal Shadow on October 09, 2010, 10:58:39 AM
Can you please tell, what error you are getting? What browser?


Find attatched the Error Screenshot.

Am using Firefox Browser, error remain same in IE as well.

Am on SMF 2 RC3 and Core Theme.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on October 09, 2010, 06:43:14 PM
that just means that another mod has alredy edited the part that the part that the mod is looking for you  can install it still then do a manual edit to them files
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: soulgeek on October 11, 2010, 01:08:01 AM
Quote from: Sleepy Arcade on October 09, 2010, 06:43:14 PM
that just means that another mod has alredy edited the part that the part that the mod is looking for you  can install it still then do a manual edit to them files

But then i  think will not be able to uninstall it ever.... Except the Manual way...

Right?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on October 11, 2010, 12:01:06 PM
yeah that is correct you can try uninstalling some other mods then install this then reinstall your other mods
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: space108th on October 14, 2010, 04:29:46 PM
Hi,

OK, so I'm new to forums and SMF and have installed my forums successfully and only did manual edits to the default theme.

I installed Facebook Connect and am trying to get the application going right on Facebook. However, I keep getting this error, "URL must point to a directory (i.e., end with a '/' or a dynamic page (i.e., have a '?' somewhere)." on my 'About' page and I am not sure which URL it is referring to.

I am also using SMF 1.1.11 and installed file 'SA_FBConnect_0.2_smf11x.zip', whenever i tried installing 'SA_FBConnect_1.0 RC1-1.zip" I would run into an error.

I know I'm a newb, so any and all help would be much appreciated. Thank you!

Edit- I got the Facebook application going without an error, however FBConnect still does not show anywhere on my Forums. I have edited the permissions and shared all the boards. I am not sure what I am doing wrong, any help would be great! Also is SMF 2.0 RC3 stable enough and is it worth upgrading to?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on October 14, 2010, 07:01:18 PM
RC1-1 is nt yet 1.1.11 compatible

The url its referring to is your site url
If your site is http:// example.com you must enter it as
http://example.com/ or http://example.com/index.php?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: checkmater on October 16, 2010, 06:29:25 PM
Hi, Im having a problem with this mod, well I installed the mod and created the facebook app, now Im trying to login via Facebook connect at my testing forum, first appear a window with a Facebook login, after this, Facebook ask for general information permissions, after this for Mail and other permissions, after I give the permissions the site redirects to the Facebook page instead of the forum and if I writes the forum testing URL then nothing happens, no login, after this I tried with the same Facebook account and try the Facebok connect button... but still refirecting to facebook instead of the forum... any solution?

SMF version: 1.1.11

Thanks and Greetings!
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: DistantJ on October 16, 2010, 08:45:35 PM
Hi,

For some reason, the Facebook connect page says:

You are not connected with Facebook!
Connect Now

But there is no link, it's just type.

I am using a custom theme, yes.

Also, will this work with Ultimate Profile? Also wouldn't mind adding a LIKE button to Aeva Media... Shouldn't be too difficult to do.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: chep on October 16, 2010, 10:08:54 PM
QuoteHow to use:
- Create an application at facebook, http://www.facebook.com/developers/createapp.php (http://www.facebook.com/developers/createapp.php)
- Edit the settings, specially at Connect option, fill Connect URL with your website ie: http://example.com (http://example.com/)
- Goto admin/sa facebook connect and enter the keys in the correct places


Don't see a connect option. What are people using?

How would I know when it's actually working?


Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on October 17, 2010, 01:47:50 PM
@checkmater
check you app settings see this topic for details omn settimng up you app http://www.sa-mods.info/index.php?topic=734.0

@DistantJ
mod version smf version? you need todo custom edits for your theme

@seechep that neeeds changing see
this topic for details on settimng up you app http://www.sa-mods.info/index.php?topic=734.0
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: PC Tech on October 17, 2010, 05:00:21 PM
I just D/L this mod...http://custom.simplemachines.org/mods/index.php?mod=2322
And installed it into ONE of my forums and when I went to install it into another, of the SAME version, it said it was not compatible. Version is 1.1.11 on both...
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on October 18, 2010, 02:58:48 PM
make sure you download the right package one is for smf2 the other is for smf1 wich it states with the package name
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: PC Tech on October 18, 2010, 07:04:14 PM
I'm sorry, I thought I was clear. I have one D/L and it for smf 1. It, the ONE D/L installed in one forum just fine and in the other it said it was not compatible.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: humbleworld on October 19, 2010, 01:03:53 PM
I just want to clarify whether this great mod is available for SMF 1.11
Thank you.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on October 19, 2010, 01:15:42 PM
Quote from: humbleworld on October 19, 2010, 01:03:53 PM
I just want to clarify whether this great mod is available for SMF 1.11
Thank you.
Yes it is, make sure to use the package that has smf1 in the name
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: humbleworld on October 19, 2010, 01:39:28 PM
Thank you very much Spoogs.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: PC Tech on October 19, 2010, 02:53:54 PM
Quote from: Spoogs on October 19, 2010, 01:15:42 PM
Quote from: humbleworld on October 19, 2010, 01:03:53 PM
I just want to clarify whether this great mod is available for SMF 1.11
Thank you.
Yes it is, make sure to use the package that has smf1 in the name

That is not true as this is my issue.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on October 19, 2010, 03:01:57 PM
Without additional info such as links to your sites, there isnt much we can do or say
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: humbleworld on October 19, 2010, 07:12:35 PM
Can anyone here provide a step-by-step guide to build a facebook application so that I can integrate it with this MOD?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on October 19, 2010, 08:06:19 PM
Quote from: humbleworld on October 19, 2010, 07:12:35 PM
Can anyone here provide a step-by-step guide to build a facebook application so that I can integrate it with this MOD?
http://www.sa-mods.info/index.php?topic=734.0
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: humbleworld on October 20, 2010, 12:23:09 AM
Many thanks again, Spoogs.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on October 20, 2010, 01:45:16 AM
(http://www.skype-emoticons.com/images/emoticon-00148-yes.gif)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: searchgr on October 20, 2010, 02:17:30 AM
Is it true that in a later release of SMF if the mod isn't updated some member may lose their accounts?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on October 20, 2010, 05:46:08 AM
no it isnt who said that?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: searchgr on October 21, 2010, 12:44:13 AM
ok, thank you.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on October 21, 2010, 01:21:13 PM
new version for smf2 realsed

fixed invite page breaking layout
added back post to wall promp when logging in with facebook
added sme users settings
users can now publish there post on facebook via addional options when posting
fixed hard coded text
added facebook profile badge support
fixed graph api likes and freinds count slowing page load time down
added ?limit=4 to $get_me = $facebook->api('/me/'); we dont need them all
added your groups pages
added your albums pages with add photo feture
added your links pages with add link feture
added your notes pages with add notes feture
added your events feture with add event feture
updated api sdk to the latest version
removed total freind,pages,etc counts was used in page indexs but proved to be slow now uses a custom page index function
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: redrabbit on October 24, 2010, 10:44:16 AM
just installed it on my smf2RC3 - when i klick the facebook button i have to allow the application to request my information and then it goes...

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /homepages/46/d116412466/htdocs/gesandte/fbc/facebook/php/facebook.php on line 38

any ideas?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on October 24, 2010, 01:24:35 PM
you need php5 to use this mod ask your host to update your php version for you they should do it
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: felixreddy on October 24, 2010, 04:12:14 PM
Hey Buddy Thanks for awesome mod i have a problem when i login using facebook my username is always admin even though i used different facebook accounts so if any others used facebook login will they be also logged in as admin pls Help me fix this


http://downloadsmania.in (http://downloadsmania.in)
I installed smf 2.0rc3

and using the latest version of your plugin

o.2 version
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: redrabbit on October 24, 2010, 04:15:34 PM
Quote from: Sleepy Arcade on October 24, 2010, 01:24:35 PM
you need php5 to use this mod ask your host to update your php version for you they should do it

Thanks - that was the problem!
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on October 25, 2010, 01:48:01 PM
0.2 isnt thelatest version of the mod people have reported this before tho i have never been able to replicate it myself can you try this one
http://custom.simplemachines.org/mods/index.php?action=download;mod=2322;id=159573

Quote from: felixreddy on October 24, 2010, 04:12:14 PM
Hey Buddy Thanks for awesome mod i have a problem when i login using facebook my username is always admin even though i used different facebook accounts so if any others used facebook login will they be also logged in as admin pls Help me fix this


http://downloadsmania.in (http://downloadsmania.in)
I installed smf 2.0rc3

and using the latest version of your plugin

o.2 version
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on October 25, 2010, 03:12:27 PM
I havent been able to replicate this either but this is what needs to happen (I think)
Unsync admin and test accounts
On both fb accounts go here http://www.facebook.com/editapps.php (http://www.facebook.com/editapps.php) click the x to remove the application (dont worry you're not hurting anything)

Now...
Login and integrate your admin account to the appropriate fb account.
Use another browser or computer (otherwise make sure you completely log out of your admin account and the fb account associated with it)
Then...
Login to your test account and integrate your other fb account.
You should not have that issue anymore... if you do let us know.

(I havent tested this yet but I'm almost certain it will work)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Bobn on October 26, 2010, 08:39:36 PM
I would like to see an example of this mod working if anyone can share a link.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on October 26, 2010, 08:57:32 PM
http://sa-mods.info
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Bobn on October 26, 2010, 09:00:17 PM
Quote from: Spoogs on October 26, 2010, 08:57:32 PM
http://sa-mods.info

Question: Will this mod allow posts in a forum to be shared on facebook? And can you choose the boards you want to have post on facebook?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on October 26, 2010, 09:43:49 PM
Yes and yes :)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: BRiNGiTT on October 27, 2010, 11:05:27 AM
Please....I installed the Facebook Intregation Mod today...

But this time around I get an HTTP 505 Internal Server Error ...

When I click on associate with facebook or Integrate with facebook...

Help Pleaseeeeeee...

Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on October 27, 2010, 12:51:38 PM
whats the permissions on the fbc dir and containing files?
does it give any errors in your error logs?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: sardaukar74 on October 27, 2010, 03:56:40 PM
Hope someone will be good enough to help me here as I've screwed up .
I have zero knowledge with forums (hence my mistake) so please bear with me

I wanted to update to the new version of so i uninstalled the package however it gave me this error
(http://i55.tinypic.com/20qgaaf.jpg)

the code which was showing in the "replace area" showed this :

$groupLevels['global']['standard'] = array_merge($groupLevels['global']['restrict'], array(
'share_topic',
'manage_facebook',

replace

$groupLevels['global']['standard'] = array_merge($groupLevels['global']['restrict'], array(




$permissionList = array(
'membergroup' => array(
'share_topic' => array(false, 'facebookperm', 'facebookperm'),
'manage_facebook' => array(false, 'facebookperm', 'facebookperm'),
replace

$permissionList = array(
'membergroup' => array(


But like the idiot that i am  i chose to ignore it and pressed uninstall anyway (lesson learned on that !) and so now I am locked out of the forum  and i just get this error on the forum page:

(http://i53.tinypic.com/ajkltu.jpg)

I did go into the ./Sources/ManagePermissions.php file as shown in my first pic and edited the code to where it said to "replace" thinking that would fix it however it did not


So guys any suggestions or help would be great as I'm lost

Thank You
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on October 27, 2010, 04:10:46 PM
attach your manage setting.php file here
what version of the mod were you using?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: sardaukar74 on October 27, 2010, 04:49:07 PM
here you go ,

I was using 1.0 RC1 rev 271

Thanks
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on October 27, 2010, 05:22:36 PM
sorry meant your managepermissions.php
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: sardaukar74 on October 27, 2010, 05:41:51 PM
np :)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Sincere on October 27, 2010, 07:40:32 PM
I apologize if this has already been answered, but my search and scan through this whole topic of 47 pages did not help.

am on SMF 2.0 RC3

Like many others, when I push the Facebook connect button, am taken to
/forums/index.php?action=facebook;sa=connect;step
and  I get the
Fatal error: Class 'Facebook' not found in /home/talkabo/public_html/forums/Sources/FB_Connect/FB_Connect_Subs.php on line 359

and I am NOT logged in to my forums with my facebook ID

I AM logged to Facebook, and I DID check that the fbc folder under my forums is chmod'ed 755 and all files within as 644, and that I am not using www in my domain name neither on my site nor in the facebook devpers appl.

I tried with both facebook ids, my regular and the one I created for this app. both failed to log-in.

I also checked that in the source page of my site, the path to fbc is correct
echo'<script src="path to fbc dir/fbc/fbconnect.js" type="text/javascript"></script>';


Any help ? anything I need to check ?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ~DS~ on October 27, 2010, 07:46:12 PM
Can you please tell, what SMF version and any custom themes?

Please follow the steps here: http://www.sa-mods.info/index.php?topic=734.msg4837#msg4837 on how to set up the facebook developer app.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Sincere on October 27, 2010, 07:51:10 PM
Quote from: ~Alex~ on October 27, 2010, 07:46:12 PM
Can you please tell, what SMF version and any custom themes?

Please follow the steps here: http://www.sa-mods.info/index.php?topic=734.msg4837#msg4837 on how to set up the facebook developer app.

you surely read my post before I edited it and added smf2.0 RC3
thank you for caring Alex.
am not using any custom themes for my default.
Guests definitely use default theme.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Sincere on October 27, 2010, 08:07:51 PM
Quote from: ~Alex~ on October 27, 2010, 07:46:12 PM
Can you please tell, what SMF version and any custom themes?

Please follow the steps here: http://www.sa-mods.info/index.php?topic=734.msg4837#msg4837 on how to set up the facebook developer app.

it is regrettable....... yes I did follow every step there, and am still getting the same error message.


Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ~DS~ on October 27, 2010, 08:13:57 PM
Link to the site?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on October 28, 2010, 01:21:41 PM
@ Sincere
wht is the permissions on fbc/facebook.php ?

@sardaukar74
it means the code didnt get uninstalled properly can you attach you index.template.php pls
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: BRiNGiTT on October 28, 2010, 03:03:07 PM
Please I cnt find any errors about the mod in my log....
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Bobn on October 28, 2010, 10:49:04 PM
Let me say this is one awesome mod! And the support from Spoog is just incredible!  Thanks you so much for this and all your help!
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Sincere on October 29, 2010, 12:20:42 PM
Quote from: Sleepy Arcade on October 28, 2010, 01:21:41 PM
@ Sincere
wht is the permissions on fbc/facebook.php ?

@sardaukar74
it means the code didnt get uninstalled properly can you attach you index.template.php pls


sleepy, as I mentioned in my post, the fbc folder is chmodded to 755 and all files within to 644 as recommended by your kind self many times earlier in this thread.



QuoteI AM logged to Facebook, and I DID check that the fbc folder under my forums is chmod'ed 755 and all files within as 644, and that I am not using www in my domain name neither on my site nor in the facebook devpers appl.

Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on October 29, 2010, 02:12:41 PM
oh i am sry it was late last night
can i have a link to you site pls
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on October 29, 2010, 03:57:38 PM
Quote from: Bobn on October 28, 2010, 10:49:04 PM
Let me say this is one awesome mod! And the support from Spoog is just incredible!  Thanks you so much for this and all your help!
Glad i was able to help :)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: diontoradan on October 30, 2010, 04:25:13 AM
i have an error in subs.php, every time i install fbconnect the script would disable entire forum (blank page), it seems like a problem with below function, because when i remove it, the forum would be back to normal again :



function show_facebook(){
   global $settings, $user_info, $context, $txt, $modSettings, $scripturl, $boarddir;
      include_once $boarddir.'/fbc/facebook_init_main.php';
    //user is logged in and maintenance mode is disabled
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="', $scripturl, '?action=facebook">'.$txt['fb_title'].'</a>';
        }else{
echo '<img src="' . $settings['images_url'] . '/facebook.png" alt="'.$txt['fb_title'].'" /> <a href="', $scripturl, '?action=facebook;area=sync">'.$txt['fb_integrate'].'</a>';
    }
        echo'<br /><br />';
    }
//user is logged maintenance is enabled and they have permission to manage facebook
elseif ($context['user']['is_logged'] && !empty($modSettings['fb_enable']) && allowedTo('manage_facebook')){
if (!empty($user_info['fbname'])){
echo '<img src="' . $settings['images_url'] . '/facebook.png" alt="'.$txt['fb_title'].'" /> <a href="', $scripturl, '?action=facebook">'.$txt['fb_title'].'</a>';
        }else{
echo '<img src="' . $settings['images_url'] . '/facebook.png" alt="'.$txt['fb_title'].'" /> <a href="', $scripturl, '?action=facebook;area=sync">'.$txt['fb_integrate'].'</a>';
    }
        echo'<br /><br />';
    }
//user isnt logged and maintenance mode is disabled
    elseif (empty($context['user']['is_logged']) && empty($modSettings['fb_enable'])){
if(!empty($modSettings['requireAgreement'])){
echo' <fb:login-button v="2" size="large" autologoutlink="false" perms="email,user_birthday,status_update,publish_stream,user_photos,create_event" onlogin="window.location=\'', $scripturl, '?action=facebook;area=connect;agree\'">'.$txt['login'].'</fb:login-button>';
    }else{
       echo' <fb:login-button v="2" size="large" autologoutlink="false" perms="email,user_birthday,status_update,publish_stream,user_photos,create_event" onlogin="window.location=\'', $scripturl, '?action=facebook;area=connect;step\'">'.$txt['login'].'</fb:login-button>';
    }
    }
}

function show_facebook_like($extra,$extra1,$extra2){
    global $scripturl, $modSettings, $sourcedir, $user_info, $context, $boarddir;

include_once $sourcedir.'/FB_Connect/FB_Connect.php';
db_select_member_settings('fb_show_likeb',$user_info['id']);
if(!empty($context['fb_show_likeb'])){
if (empty($modSettings['like_board_url'])){$url = ''.$scripturl.'';}else{$url = 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];}
include_once $boarddir.'/fbc/facebook_init_main.php';
if($modSettings['likeshow'] == $extra2){
       echo $extra.'<iframe src="http://www.facebook.com/plugins/like.php?href='.$url.'&amp;layout=', empty($modSettings['liketopiclayout']) ? 'standard' : 'button_count','
   &amp;show_faces=false&amp;width=450&amp;action=', empty($modSettings['liketopicverbb_board']) ? 'like' : 'recommend','&amp;colorscheme=', empty($modSettings['liketopiccolour']) ? 'light' : 'dark','
       &amp;height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:35px;" allowTransparency="true"></iframe>'.$extra1;
    }
}
}

Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: king999 on October 30, 2010, 11:57:10 AM
faced problem in install fb this mod in dark break theme
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on October 30, 2010, 01:29:25 PM
@diontoradan
can you post up the file whith the code in place pls

@king999
that realy helps?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: diontoradan on October 30, 2010, 04:39:57 PM
ok, i will break down the problem...

already installed version 0.2, no problems, uninstall and install the latest version.
click install, i ended up having 2 incompatibility in subs.php and display.template.php, manual edit no problem.
but when i click install now, and wham, blank pages.

try to sort out the problems, and everything went back to normal after i remove the bottom function in subs.php.

here's the full code of subs.php. sorry for my not so good programming. i need this badly because most of my member use Facebook.

thanks before...
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on October 30, 2010, 09:44:56 PM
try this but backup beforehand
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: diontoradan on October 31, 2010, 12:16:51 AM
hmmm not working... still blank...
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on October 31, 2010, 12:54:35 AM
do you get any errors in erro logs?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: diontoradan on November 01, 2010, 06:56:34 AM
this is the error code :

PHP Fatal error:  Cannot redeclare show_facebook() (previously declared in /home/www/public_html/forum/Sources/Subs.php:4690) in /home/www/public_html/forum/Sources/Load.php(2232) : eval()'d code on line 232
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on November 01, 2010, 02:41:16 PM
that error mean that u still have code probaly left over from the old version of the mod

are u using a custom theme make sure that functiom show_facebook show_faceboo_like isnt in the index.template.php and in you default theme
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on November 01, 2010, 05:43:14 PM
package updated for rc4
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: maihannijat on November 02, 2010, 01:00:57 AM
Great I really like this.

I have installed on my custom theme and have created application in Facebook.

I have tried but not successful to edit my index.template.php custom theme file.

Here attached index.template.php if anyone could help me regarding this.


Thanks in Advance.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on November 02, 2010, 01:05:24 AM
smf version?
mod version?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: maihannijat on November 02, 2010, 01:07:31 AM
I have just updated my SMF version to 1.1.12

and Mod version: SA_FBConnect_0.2_smf11x.zip
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on November 02, 2010, 01:18:16 AM
here you go pls back before uploading cos i aint tested it
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: maihannijat on November 02, 2010, 01:24:51 AM
Thank alot.

But the link of button seems broken.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on November 02, 2010, 01:33:05 AM
please explain more link to site?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: maihannijat on November 02, 2010, 01:34:25 AM
The link of Integrate with facebook button, when I am clicking on this nothing happens
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on November 02, 2010, 01:38:35 AM
 link to site?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: maihannijat on November 02, 2010, 01:45:04 AM
Please have look to this: http://www.afghanistanforums.com/index.php

When clicking on button in order to connect with Facebook nothing happens.

I have attached screen shot
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on November 02, 2010, 01:51:10 AM
try this
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: maihannijat on November 02, 2010, 01:55:23 AM
It is double now and still same thing.

See screen shot.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on November 02, 2010, 02:01:17 AM
lol sry i left code there when i moved the button ;) try attached
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: maihannijat on November 02, 2010, 02:07:58 AM
Hi

I appreciate your help.

Still the same thing.

When I click on button, my Forum main url changes to this : http://www.afghanistanforums.com/index.php# and nothing happens.

Still there are two Connect with Facebook buttons.


In Facebook I have created Application and set my Website url and update ID API and Secret key in main settings of SA Facebook.

Is there anything left?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: maihannijat on November 02, 2010, 02:14:20 AM
Update Info:

Hi sorry due to cache problem I was seeing 2 buttons.

There is only 1 button now but cannot connect with it when click on button.

Same problem in menu button.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on November 02, 2010, 02:33:33 AM
it is working for me i just registerd t your site with facebook
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: maihannijat on November 02, 2010, 02:36:41 AM
How this works? without login to page  I have to click on button na? and it must open a popular window?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on November 02, 2010, 02:38:40 AM
just hit the connect woth facebook button that all i did
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: maihannijat on November 02, 2010, 02:53:25 AM
Maybe something wrong with my PC browsers.

Thanks alot for your help.

Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: maihannijat on November 02, 2010, 03:39:41 AM
Can I have someones forum url which have this mod installed and functioning properly ?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on November 02, 2010, 03:48:11 AM
http://www.sa-mods.info/
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: maihannijat on November 02, 2010, 04:00:48 AM
The above page is working fine in my PC

but what is the reason that I couldn't connect from my Forum and others can?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: maihannijat on November 02, 2010, 06:36:49 AM
I have found this error in my FireFox error console:

Error: FB is not defined
Source File: http://www.afghanistanforums.com/fbc/fbconnect.js
Line: 3

code in line 3 is:

    FB.Connect.requireSession(function() {


Update:

My Network Administrator blocked Facebook and I am using it through secure connection.
Could this error be due to Network restrictions?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ProtoGT on November 03, 2010, 03:54:56 PM
I don't see a like topic button when I go to a topic page. Running on 1.1.12
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on November 03, 2010, 04:28:19 PM
Quote from: ProtoGT on November 03, 2010, 03:54:56 PM
I don't see a like topic button when I go to a topic page. Running on 1.1.12
That option is not available in the 0.2 version of the mod
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ProtoGT on November 03, 2010, 05:25:38 PM
SA_FBConnect_1.0+Beta5_rev264_forsmf1.zip is what I installed.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on November 03, 2010, 06:49:33 PM
Quote from: ProtoGT on November 03, 2010, 05:25:38 PM
SA_FBConnect_1.0+Beta5_rev264_forsmf1.zip is what I installed.
Did you select which boards are like boards in the ACP
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ProtoGT on November 03, 2010, 08:08:52 PM
Quote from: Spoogs on November 03, 2010, 06:49:33 PM
Quote from: ProtoGT on November 03, 2010, 05:25:38 PM
SA_FBConnect_1.0+Beta5_rev264_forsmf1.zip is what I installed.
Did you select which boards are like boards in the ACP

yes
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Sincere on November 03, 2010, 09:21:38 PM
I have translated to French the user-side english sentences in the install.xml file.
now when I try to upload this file, I have an error message telling me the file is corrupt.

The package you tried to upload either is not a valid package or has become corrupted.

Why is that ? am attaching the "french_included" version I made as my little contribution to this mod.

Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: maihannijat on November 04, 2010, 02:55:32 AM
Now I am able to to connect with Facebook button I have redirect all Facebook http to https:// .

Question: Why I was not able to connect from my Forum and at same time I was able to connect from other Forum?

Same PC same browser and Same secure connection, with other Forums no problem but I had only with mine.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: parvaz on November 05, 2010, 06:45:47 AM
Hi,
there are 4 versions on the mod site.
which version would be the right one for me?
I use smf 2.0 RC3 with simple portal, ultimate profile & couple of other mods. Any known conflicts with other mods?

I appreciate any help.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on November 05, 2010, 02:35:22 PM
http://custom.simplemachines.org/mods/index.php?action=download;mod=2322;id=160438
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: FireDart on November 07, 2010, 10:58:35 AM
SA™
1) Thanks for creating the mod!
2) I am having the same problem as maihannijat, am using a custom template, no mods, and I have gone in manually and found what makes the FBC work and put it in my custom template.

When I click on the "Facebook Connect" link it just puts "#" at the end. So I think I missed some JS somewhere.

Also I found that am getting "Invalid Application ID" from a page called:
facebook.com/external/login_status.php etc.....

I know I have the right App. ID so that part am baffled.

Maybe I missed something, I don't know but could you either post what make FBC work or check my file?

Thanks,
-FD
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on November 07, 2010, 12:06:55 PM
find in that file

echo $context['html_headers'], '

after add


global $boardurl, $modSettings;
echo'<script src="'.$boardurl.'/fbc/fbconnect.js" type="text/javascript"></script>
<script type="text/javascript">
var mod_settings_fb_app_pageid = "',$modSettings['fb_app_pageid'],'";
var mod_settings_fb_app_stream = "',$modSettings['fb_app_stream'],'";
var mod_settings_fb_app_connection = "',$modSettings['fb_app_connection'],'";
var mod_settings_fb_app_width = "',$modSettings['fb_app_width'],'";
var mod_settings_fb_com_xid = "',$modSettings['fb_app_comments_boxid'],'";
var mod_settings_fb_com_show = "',$modSettings['fb_admin_commets_post'],'";
</script>';
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: FireDart on November 07, 2010, 05:21:16 PM
SA™ thanks but am stilling having some issues. It does load the javascript and creates the pop-up but...
I get this error:
QuoteInvalid API key specified


The application you are trying to access does not exist or has been disabled.

Simple right? I checked the API key and it matches, what is weird thought is that it works with the core theme but not the custom them.

I attached the new index.template.php file.

Thanks for your quick response, much appreciated.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: maihannijat on November 08, 2010, 01:59:45 AM
From where I can find my Comment Box ID?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Mihac™ on November 08, 2010, 03:56:01 AM
The modification is very good.
Is there any possibility that the comments from the first page moved under each theme, and "Comments Box XID" an automatic topic title?
Example:
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on November 09, 2010, 10:15:43 AM
Quote from: maihannijat on November 08, 2010, 01:59:45 AM
From where I can find my Comment Box ID?

ther eis no comments box id you meant xid? right

that is a unique identifier for the comments box in other words it can be anything you wanted eg your user name maybe it has to be unique for each site othwer wise the comment will fail to load
Quote from: Mihac on November 08, 2010, 03:56:01 AM
The modification is very good.
Is there any possibility that the comments from the first page moved under each theme, and "Comments Box XID" an automatic topic title?
Example:

yes it is doable only problem is that i diont have time to do it right now
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: maihannijat on November 10, 2010, 05:50:57 AM
I have tried to add SA code for my custom theme. but no success

I am using Orange-lt theme. I attached my index.template.php file.

I will appreciate anyone help me with it.

Thanks




Any update on this? My 2 forums are base on this template.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: qubbah on November 10, 2010, 01:49:44 PM
Tired to change it.. because im not using default theme.
For several timessss..  so tired
O:)
hope somebody can help me..

Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on November 18, 2010, 01:29:52 AM
SA_FBConnect 1.0 RC2-3 rev280

small update that fixes profile badges show for the wrong people issue

Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: FireDart on November 20, 2010, 12:48:05 PM
SA™ can you tell me where you are pulling $modSettings['fb_app_key'], $modSettings['fb_app_secret'], and any other $modSettings?

When I do:
echo "KEY:" . $modSettings['fb_app_key'];
echo "<br />KEY:" . $modSettings['fb_app_secret'];


It echos only:
KEY:
KEY:

Did something get skipped in the install process? It still works great on the core template but on a custom template I still can't get the api to work.

BTW this is what is around it, and it should work since it's calling a global before the echo, so it should already have the api info right?
function template_main_below()
{
   global $context, $settings, $options, $scripturl, $txt;
echo "KEY:" . $modSettings['fb_app_key'];
echo "<br />KEY:" . $modSettings['fb_app_secret'];
echo'
   <script type="text/javascript">
   FB.init("'.$modSettings['fb_app_key'].'",
   "'.$boardurl.'/fbc/xd_receiver.htm",
   {"doNotUseCachedConnectState":true });
   function doLoggedOutFacebookUser(){
   FB.Connect.logout(function(){location.href = "'.$scripturl.'?action=logout;sesc='.$context['session_id'].'";});
   }
</script>';
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on November 20, 2010, 01:16:57 PM
replace

global $context, $settings, $options, $scripturl, $txt;

with

global $context, $settings, $options, $scripturl, $txt, $modSettings;
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: FireDart on November 20, 2010, 01:41:14 PM
Thank you so much, I can't believe I over looked that. I assumed it was there!

Also it should be:
global $context, $settings, $options, $scripturl, $boardurl, $boarddir, $txt, $modSettings;

You need:
$boardurl, $boarddir, & $modSettings.

Thanks SA™!
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: gameballa on November 21, 2010, 05:25:49 PM
Thanks for creating this MOD!!!

Just one question

After one of my members have logged in using facebook connect I want to send them to the index.php page rather than forum page....
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: eyo on November 21, 2010, 08:30:09 PM
kind of stupid question but how do i make an app? lol
noob here. anyone wanna help me with this pls? thx
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on November 21, 2010, 09:49:55 PM
Quote from: e-pinyon on November 21, 2010, 08:30:09 PM
kind of stupid question but how do i make an app? lol
noob here. anyone wanna help me with this pls? thx
http://www.sa-mods.info/index.php?topic=734.0
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: anto74 on November 22, 2010, 06:59:11 AM
Thanks for this beatiful MOD.
I don't see a like topic button when I go to a topic page. Running on SMF 2.0RC3
I see only share topic button...
In admin settings it's all ok.
Sorry for my poor english
Antonio

EDIT I solved but shows vertically scrollbar when i must comment....what is the php code or css code that shows the like button?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: jekwumoore on November 22, 2010, 11:54:01 AM
I am working it out with SMF 1.1.12
so far I have edited the necessary files and have moved some files to where they should be but there are files that was not specified on which directory I should place them
-install.xml
-installscript.php
-package-info.xml

I placed them in my sites root directory, is that the right place?

meanwhile I just tried it out but when one connects via facebook, he/she is asked to choose a username and password but the email address field is not shown so the process can't continue.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on November 23, 2010, 10:54:54 AM
@anto74
it is in fbc/fb_connect.js

@
jekwumoore
you install it tru the package manager

there is no email feild iy gets the email from facebook
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: qubbah on November 25, 2010, 07:16:33 AM
why after login fbconnect and redirect to action=facebook the page is blank...?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: neslieker on November 25, 2010, 09:25:38 AM
how can i add the connect button to my portal index page?

the forum is in forum folder.. and the mod working perfectly..

but wanna put the connect button to my portal index page.. when i use the ssi code "<?php ssi_FbcConnect(); ?>" i just see the "Connect Now" text, not button..

how can i do?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on November 25, 2010, 09:37:19 AM
What version of SMF
What Portal

If you have the portal installed before this mod the fbconnect button shows in the user block
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: neslieker on November 25, 2010, 09:58:43 AM
Quote from: Spoogs on November 25, 2010, 09:37:19 AM
What version of SMF
What Portal

If you have the portal installed before this mod the fbconnect button shows in the user block

smf 2.0 rc4 is my smf version.. but the portal is my own.. i have built it using ssi.. i'm working on local..
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: qubbah on November 25, 2010, 10:27:44 AM
also what i mean is, when click action=facebook;area=sync the page just go blank.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: TheDel on November 25, 2010, 12:44:08 PM
could ya fix the spellings errors on the next release?

I think its just every instance of the word friend
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: neslieker on November 27, 2010, 08:29:43 AM
please.. i just want to know how can i add this mod's connect button to any other pages... my forum is in another folder..
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on November 27, 2010, 12:41:57 PM
arte you using SSI on your pages?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: neslieker on November 27, 2010, 01:38:34 PM
Quote from: SA™ on November 27, 2010, 12:41:57 PM
arte you using SSI on your pages?

yes i have included ssi.. but the ssi_FbcConnect() code is not working.. i just see the "connect now" text.. it's not a button..
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on November 27, 2010, 02:09:47 PM
try adding


global $boarddir;
include_once $boarddir.'/fbc/facebook_init_main.php';
include_once $boarddir.'/fbc/fbmain.php';


after you ssi call
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: neslieker on November 27, 2010, 04:18:20 PM
Quote from: SA™ on November 27, 2010, 02:09:47 PM
try adding


global $boarddir;
include_once $boarddir.'/fbc/facebook_init_main.php';
include_once $boarddir.'/fbc/fbmain.php';


after you ssi call

nope.. not working.. there isnt any error message on the page but button is still looking like text.. :(
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: jekwumoore on November 29, 2010, 06:41:32 AM
what if one logs in via facebook into my forum,  can he/she log in next time without using facebook?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on November 29, 2010, 07:42:26 AM
yes
When one logs i the 1st time via facebook they will be asked to create a forum profile.. after that they can login via facebook or user info
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: jekwumoore on November 29, 2010, 09:47:57 AM
I installed it and when I try to log in via facebook which was successful but it just log into the admin account which means anyone that uses facebook to log into my forum with gain access to my admin control, what went wrong?
Does it have to do with the ip?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on November 29, 2010, 10:52:58 AM
No only you can log into the admin account.

You are already an existing user so all you did was integrate your facebook with your exiting forum account.

However if you are logged into facebook and you try to test with another forum account YOU might think this is happening but its only because your browser is still logged into your facebook account.

(always test with separate computers or at least separate browsers)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: jekwumoore on November 29, 2010, 11:19:44 AM
I will try again but I tested in several browsers , I do not know if the ip had any thing to  with it
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on November 29, 2010, 11:23:37 AM
PM me a link to your site please
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: jekwumoore on November 29, 2010, 11:36:20 AM
I just tried again same result :-[
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: alrem on December 01, 2010, 05:02:57 AM
The same thing happens to me...
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on December 01, 2010, 12:23:11 PM
i dont see how this can happen me and my beta testers have been trying everything to replicate this but we where nver able to
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: alrem on December 01, 2010, 08:18:21 PM
I'll try to reinstall everything on a different server to make sure and make some comparison... this is my first time using SMF so I think it all boils down in newby error  :-[
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on December 02, 2010, 02:57:31 PM
the only other thing that comes to mind your syncing two smf accounts with one facebook account which wouldent work cos it will always log into the first synced account

what i do to test things is creat a new account via facebook login if it worked unsync that new account log back into admin and sync the admin acccount log out and log back in via facebook if that works then the mod is function properly

i will add i check to see if fbname already exsist in the members table in rc3 version
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: alrem on December 02, 2010, 08:21:37 PM
this is my first time to use SMF and facebook and I only got one smf installation when I encounter the problem. So I think that's not the problem :(
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on December 02, 2010, 08:34:24 PM
I have no idea what maybe causing this for you guys... I have created several test sites and several apps on FB just to test this and I'm not having that issue.

I'm assuming this is just happening on SMF 1.1x... I can only suggest upgrading to SMF 2.0 and see if its any better.

I tested this tirelessly on both SMF 1.1x and 2.0 and just cant duplicate the issue. I do confirm that it is happening on jekwumoore'a site but it just doesnt happen on any site I've setup and tested (live and local)

Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: alrem on December 03, 2010, 05:26:46 AM
Thank you very much for trying to help us, I'm using SMF 2.0. I tried to install it on a different server, and I use the same installation process described in the manual installation.

The site is forumfbtest(dot)getenjoyment(dot)net(slash)smf(slash)

now I got database error, I even reinstalled everything but got the same result :(

is there a need for some server side configurations (php.ini or apache)? I'm using free hosting for now as a test development area.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: jekwumoore on December 03, 2010, 06:29:58 AM
@spoog, did you try it out on  SMF 1.1.12  cos thats what I am using?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Wellington on December 03, 2010, 12:25:55 PM
Hello this mod is working great so far, thanks!.

Only one small issue, facebook synced avatars are getting stretched, yet user installed ones are not. Which setting do I need to tinker with to correct this?.

Many Thanks!
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on December 03, 2010, 12:38:27 PM
@Wellington - {yoursite}/index.php?action=admin;area=manageattachments;sa=avatars

@jekwumoore - yes
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Wellington on December 03, 2010, 06:36:43 PM
Thanks I had already found that menu, which one is the correct one so that they resize automatically without stretching or squishing. Each photo is a different shape, I can get resize automatically on user uploaded avatars but not the facebook synced ones. Many thanks!.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: eric1234 on December 05, 2010, 11:42:57 AM
Sorry, may i know what is the 3 function that i list below? I actually tried to visit you guys forum to see the sample if such mods.

- facebook comments box ( Does it mean there will be a facebook comments box for each forum members in the forum? or thread? or?? )
- facebook fan page ( Fan page? not really understand about this. )
- facebook admin logs ( Which mean users able to log into the forum from facebook? )

Oh ya, can the user just use their facebook account to log into the forum without needed to create a new forum account?
Also mind to tell me is there got any test forum for me to fully test the mods and play with it?

Thank you very much. :)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on December 05, 2010, 01:24:49 PM
you can see a demo here
http://www.sa-mods.info/

facebook admin logs is so admin can see who used fb to login /register

yes user can sync there account with facebook and use it to logint the forum
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: eric1234 on December 05, 2010, 07:11:09 PM
Er..you mean the whole support forum is a demo? er..how can i use my facebook account to log into the support forum? >.<
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on December 05, 2010, 07:17:56 PM
Click the facebook login button
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: eric1234 on December 05, 2010, 07:19:48 PM
So allow the facebook aps in my facebook? :)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on December 05, 2010, 07:23:03 PM
yes
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: eric1234 on December 06, 2010, 03:35:33 AM
Cool. May i know what is Group and Pages in facebook connect do?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on December 06, 2010, 08:38:16 AM
groupes display the users facebook groups if any  pages displays the users likes needs renaming to likes instead of pages tho
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: eric1234 on December 06, 2010, 09:12:00 AM
Sorry, don't understand.  :(
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on December 06, 2010, 09:14:27 AM
Quote from: eric1234 on December 06, 2010, 09:12:00 AM
Sorry, don't understand.  :(
Its 10 times easier to just test it and if you dont like it remove the mod.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: eric1234 on December 06, 2010, 10:28:03 AM
It show that i got no Group which i think it's very weird. Because i do join some group in Facebook. :) Is it a bug?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on December 06, 2010, 10:39:46 AM
It could be
Private/closed groups wont show
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: asheashe on December 08, 2010, 04:14:43 PM
Mod installed, beta 5 rev 264. SMF 1.1.12

Enabled and app set up.

Not seeing the option to link account to facebook on any forum except admin forum

if then click integrate with facebook, get an error msg: Fatal error: Call to undefined function curl_init() in /var/www/haxed/forum/fbc/facebook.php on line 502
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: asheashe on December 08, 2010, 04:34:11 PM
now getting the icons and such but still getting the above error when use it to login

also 'like' appears sometimes, not others?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on December 09, 2010, 01:16:09 AM
is curl enable on you host?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: eyo on December 09, 2010, 11:22:33 PM
good lord. for some reason my install lights up like it's christmas with errors lol. help anyone? rc1.04 with a simple curve variant as a theme.
what out of the 2 files do i install here? the latest file seems smaller than the previous 2.0 one. thanks.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on December 09, 2010, 11:24:34 PM
ok... whats the error(s)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: eyo on December 09, 2010, 11:27:29 PM
before i post the error logs coz i might be making a mistake with it

do i have to emulate this in 2.0 rc3 when im using rc4 by default?
also what do i download the bigger 2.0 file or the smaller 65kb one?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on December 09, 2010, 11:30:15 PM
http://custom.simplemachines.org/mods/index.php?action=download;mod=2322;id=162095

Doesnt need to emulate
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: eyo on December 09, 2010, 11:36:39 PM
*    22.    Execute Modification    ./Sources/Subs-EzPortalMain2.php    Test failed
      1.    Add Before    ./Sources/Subs-EzPortalMain2.php    Test successful
      2.    Add After    ./Sources/Subs-EzPortalMain2.php    Test failed


*    24.    Execute Modification    ./Themes/default/Post.template.php    Test failed
      1.    Add After    ./Themes/default/Post.template.php    Test failed

*    30.    Execute Modification    ./index.php    Test failed
      1.    Add After    ./index.php    Test successful
      2.    Add After    ./index.php    Test failed



sorry but when it says on final line successful then nothing is wrong or it got fixed? all i noticed where the sheer number of msgs in red
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on December 09, 2010, 11:39:48 PM
those files just need to be manually edited
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: eyo on December 10, 2010, 01:26:30 AM
can you point me in the right direction how to do it? thanks.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Peterisgb on December 10, 2010, 09:54:28 AM
i havent modded any pages, all i have done so far is install smf and installed this mod with no work done and this is the error i have
Fatal error: Call to undefined function iconv() in /home/darlekwa/public_html/forums/Sources/FB_Connect/FB_Connect_Subs.php on line 30
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on December 10, 2010, 09:57:47 AM
Quote from: Peterisgb on December 10, 2010, 09:54:28 AM
i havent modded any pages, all i have done so far is install smf and installed this mod with no work done and this is the error i have
Fatal error: Call to undefined function iconv() in /home/darlekwa/public_html/forums/Sources/FB_Connect/FB_Connect_Subs.php on line 30
Ask your host to enable iconv
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on December 10, 2010, 09:59:13 AM
Quote from: ggman on December 10, 2010, 01:26:30 AM
can you point me in the right direction how to do it? thanks.
On the mod page, select the correct version and click parse... it will show you all the necessary edits
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Peterisgb on December 10, 2010, 10:13:51 AM
Quote from: Spoogs on December 10, 2010, 09:57:47 AM
Quote from: Peterisgb on December 10, 2010, 09:54:28 AM
i havent modded any pages, all i have done so far is install smf and installed this mod with no work done and this is the error i have
Fatal error: Call to undefined function iconv() in /home/darlekwa/public_html/forums/Sources/FB_Connect/FB_Connect_Subs.php on line 30
Ask your host to enable iconv

ok thanks i'll get onto my hosts right away, thanks :)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Peterisgb on December 10, 2010, 11:03:40 AM
is there anyway around this as my hosts wont let me use this, there being f**king d**kheads, is there anyway around this iconv thing?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on December 10, 2010, 11:22:56 AM
you can use the 0.2 version of the mod... it has less features and might require version emulate to install.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Peterisgb on December 10, 2010, 11:31:20 AM
whats version emulate?, i'm on 1.1.12, do you have a link to both the emulate thing and the 2.0 thingy?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on December 10, 2010, 11:33:48 AM
oh... version emulate is a smf 2.0 feature.

the 0.2 version for 1.1 might install without any problem on 1.1.12
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Peterisgb on December 10, 2010, 11:37:28 AM
oh ok ty
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Peterisgb on December 10, 2010, 12:05:16 PM
its not giving me no option to install the 0.2 thing
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Peterisgb on December 10, 2010, 12:08:51 PM
and its still asking for iconv so i cant use this without enabling this :(
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on December 10, 2010, 12:25:43 PM
hmm... weird I dont remember it requiring iconv for the 0.2 version
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on December 10, 2010, 01:01:20 PM
you can try this

in sources/fb_connect/fb_connect_subs.php

find
function character_clean($replace){

   $replace = iconv("UTF-8","ISO-8859-9",$replace);
   return $replace;
}


replace with

function character_clean($replace){

   return $replace;
}


you may have problems with foriegn charactors tho with out iconv modual i dont know another way of doing this
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Peterisgb on December 10, 2010, 01:09:36 PM
Quote from: SA™ on December 10, 2010, 01:01:20 PM
you can try this

in sources/fb_connect/fb_connect_subs.php

find
function character_clean($replace){

   $replace = iconv("UTF-8","ISO-8859-9",$replace);
   return $replace;
}


replace with

function character_clean($replace){

   return $replace;
}


you may have problems with foriegn charactors tho with out iconv modual i dont know another way of doing this


thanks sooooooooooooo much this has sorted the problem, thanks thanks thanks thanks,
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Peterisgb on December 10, 2010, 01:58:51 PM
just a little question, how come the share button on the topics only show up for the admin and none of the other users
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on December 10, 2010, 03:50:37 PM
permissions ;)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: OnlineFunCorner on December 11, 2010, 09:21:11 AM
Hy
I Want To Disable Facebook Login & Facebook Registration
..
Please Help
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: OnlineFunCorner on December 11, 2010, 09:35:38 AM
I Want That Nobody Can Login Or Register Through Facebook
Only They Register & Login Through My Website & Then They Can Associate Their Facebook Accounts
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on December 11, 2010, 09:55:40 AM
You could have easily edited your previous post (especially since no one posted after you).

If you are going to allow them to associate their accounts anyway... whats wrong with them registering via FB?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: OnlineFunCorner on December 11, 2010, 10:16:40 AM
Problem is their e-mail and some registration fields are missing
Also
In Users Online

Users active in past 60 minutes:
They don't show in past 60 minutes (if they offline they remove from list)
..
E-Mail
Additional Information
Verification       

These Are Missing In Registration Form If Register Through FaceBook
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on December 11, 2010, 10:26:01 AM
If they register via FB... their actual email address is used (the one the use to login with facebook).. also when they register via fb a full forum account is created for them at the same time.

What other fields are missing...? (go to the mods acp and enable support for custom profile fields)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: OnlineFunCorner on December 11, 2010, 10:30:53 AM
no their email not show

something like this show in their email

apps+122552317802665.10000123.baa72be252cda923e8760bef@proxymail.facebook.com

and

In additional Information
Gender & Location Are Missing (Standard Fields Are Not Showing)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on December 11, 2010, 10:47:39 AM
What version of the mod do you have installed
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: OnlineFunCorner on December 11, 2010, 10:50:11 AM
SA_FBConnect_1.0 RC1-1.zip
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on December 11, 2010, 10:55:53 AM
hmm thats weird

it should be pulling the email address... on my site it pulls the email as well as on all my test sites
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: OnlineFunCorner on December 11, 2010, 10:59:26 AM
Quote from: Spoogs on December 11, 2010, 10:55:53 AM
hmm thats weird

it should be pulling the email address... on my site it pulls the email as well as on all my test sites

Please Guide Me
What I Have To Do
Whats The Problem?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on December 11, 2010, 11:01:55 AM
When did the most recent member register via facebook... give me a link to that user
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: OnlineFunCorner on December 11, 2010, 11:06:10 AM
but only members can see profiles
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on December 11, 2010, 11:13:21 AM
check you PM
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: OnlineFunCorner on December 11, 2010, 12:38:02 PM
What About The "Standard Fields"
Gender, Location etc Not Shows In Facebook Registration
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on December 11, 2010, 12:54:45 PM
Did you have a previous version of this mod installed before?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: OnlineFunCorner on December 11, 2010, 01:01:39 PM
no
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on December 11, 2010, 01:08:02 PM
You can try upgrading to the latest version and see if it helps... I dong have these issues on the version you're using... I cant figure why its not working for ya
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: OnlineFunCorner on December 11, 2010, 01:14:15 PM
what about the facebook developer application?

is that doing this?

tell me your website

I want to check?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on December 11, 2010, 01:14:45 PM
Quote from: Dr.IT on December 11, 2010, 12:38:02 PM
What About The "Standard Fields"
Gender, Location etc Not Shows In Facebook Registration

they all should show unless that has gotten broken inthe last update ill have to run some furthur checks on this tomorrow and have you enabled support for custom feilds on facebook admin?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: OnlineFunCorner on December 11, 2010, 01:24:49 PM
yes I enable custom feilds
custom fields are showing

but
"Standard Fields"
Gender, Location etc Not Shows In Facebook Registration
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on December 11, 2010, 01:41:10 PM
are those mods you have that show gender location etc?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: OnlineFunCorner on December 11, 2010, 01:45:42 PM
no these are standards default options of forum

Containing YIM, MSN etc
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on December 11, 2010, 01:54:50 PM
oh ok ill take a look tomorrow for you

call me stupid lol but where are the setting for these?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: OnlineFunCorner on December 11, 2010, 01:58:55 PM
I Have Also Another Major Problem
Related To E-Mail

When A User Register Through Facebook A "Facebook Proxy E-mail" Added o User Profile E-mail
Like
apps+1222317802665.10000123.baa72be252cda923e8760bef@proxymail.facebook.com
Its Does Not Pull Actual E-mail

I Compare My Website With Other

Check Attached Picture
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: OnlineFunCorner on December 11, 2010, 02:03:57 PM
Quote from: SA™ on December 11, 2010, 01:54:50 PM
oh ok ill take a look tomorrow for you

call me stupid lol but where are the setting for these?

Admin>Configuration>Features & Options>Profile Fields

Check Attached Image
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on December 11, 2010, 02:09:42 PM
aha i see
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: OnlineFunCorner on December 11, 2010, 02:17:43 PM
Quote from: Dr.IT on December 11, 2010, 01:58:55 PM
I Have Also Another Major Problem
Related To E-Mail

When A User Register Through Facebook A "Facebook Proxy E-mail" Added o User Profile E-mail
Like
apps+1222317802665.10000123.baa72be252cda923e8760bef@proxymail.facebook.com
Its Does Not Pull Actual E-mail

I Compare My Website With Other

Check Attached Picture

Do You Know What The Problem With Proxy E-Mail?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: OnlineFunCorner on December 11, 2010, 02:48:43 PM
The Problem Of Proxy E-Mails Is Solved Now
..
Now
I Need Help Only Regarding To

"Standard Fields"
Gender, Location etc Not Shows In Facebook Registration
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on December 13, 2010, 12:25:36 AM
i have fixed this in rc4 i will try to realese this somtime this week give my testers a chnae to test things :)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: OnlineFunCorner on December 13, 2010, 05:44:46 AM
thanks
can you share modified file so I just replace that instead of removing old version and installing new
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on December 13, 2010, 12:00:27 PM
sure in surces/fb_connect/fb_connect.php

find

require_once($sourcedir . '/Profile.php');
loadCustomFields(0, 'register');


after add

// Or any standard ones?
if (!empty($modSettings['registration_fields']))
{
require_once($sourcedir . '/Profile-Modify.php');

// Setup some important context.
loadLanguage('Profile');
loadTemplate('Profile');

$context['user']['is_owner'] = true;

// Here, and here only, emulate the permissions the user would have to do this.
$user_info['permissions'] = array_merge($user_info['permissions'], array('profile_account_own', 'profile_extra_own'));
$reg_fields = explode(',', $modSettings['registration_fields']);

// We might have had some submissions on this front - go check.
foreach ($reg_fields as $field)
if (isset($_POST[$field]))
$cur_profile[$field] = $smcFunc['htmlspecialchars']($_POST[$field]);

// Load all the fields in question.
setupProfileContext($reg_fields);
}


in fb_connect.template.php

find

echo'<h4 class="titlebg"><span class="left"></span>
'.$txt['fb_reg45'].'
</h4>';


after add

foreach ($context['profile_fields'] as $key => $field)
{

echo '<dl class="register_form">
<dt>
<strong', !empty($field['is_error']) ? ' style="color: red;"' : '', '>', $field['label'], '</strong>';

// Does it have any subtext to show?
if (!empty($field['subtext']))
echo '
<span class="smalltext">', $field['subtext'], '</span>';

echo '
</dt>
<dd>';

// Want to put something infront of the box?
if (!empty($field['preinput']))
echo '
', $field['preinput'];

// What type of data are we showing?
if ($field['type'] == 'label')
echo '
', $field['value'];

// Maybe it's a text box - very likely!
elseif (in_array($field['type'], array('int', 'float', 'text', 'password')))
echo '
<input type="', $field['type'] == 'password' ? 'password' : 'text', '" name="', $key, '" id="', $key, '" size="', empty($field['size']) ? 30 : $field['size'], '" value="', $field['value'], '" tabindex="', $context['tabindex']++, '" ', $field['input_attr'], ' class="input_', $field['type'] == 'password' ? 'password' : 'text', '" />';

// You "checking" me out? ;)
elseif ($field['type'] == 'check')
echo '
<input type="hidden" name="', $key, '" value="0" /><input type="checkbox" name="', $key, '" id="', $key, '" ', !empty($field['value']) ? ' checked="checked"' : '', ' value="1" tabindex="', $context['tabindex']++, '" class="input_check" ', $field['input_attr'], ' />';

// Always fun - select boxes!
elseif ($field['type'] == 'select')
{
echo '
<select name="', $key, '" id="', $key, '" tabindex="', $context['tabindex']++, '">';

if (isset($field['options']))
{
// Is this some code to generate the options?
if (!is_array($field['options']))
$field['options'] = eval($field['options']);
// Assuming we now have some!
if (is_array($field['options']))
foreach ($field['options'] as $value => $name)
echo '
<option value="', $value, '" ', $value == $field['value'] ? 'selected="selected"' : '', '>', $name, '</option>';
}

echo '
</select>';
}

// Something to end with?
if (!empty($field['postinput']))
echo '
', $field['postinput'];

echo '
</dd></dl>';

}
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: OnlineFunCorner on December 13, 2010, 01:23:17 PM
Great Its Work.........Thanks
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: eric1234 on December 15, 2010, 07:10:27 AM
API Error Code: 191
API Error Description: The specified URL is not owned by the application
Error Message: redirect_uri is not owned by the application.

This messages pop out when i am trying to log into my forum using the mods.

After setting up the application
i log into admin and access the mods

and head to main setting

than enable fan page and change the codes of  " Your applications page id
can be found in you applications url "  to my Application ID in the application section

Replace Facebook Application Key with API key

and also

Replace Facebook Application Secret with Application Secret from the application site.

So did i missed out something or some error?

By the way,  there's 2 " connect to facebook " button located at the headers of my forum. May i know how can i change it to just 1 button just like what in this current forum, which got only 1 button instead of 2. 

Pardon my English . :D
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ilovelouis on December 15, 2010, 10:43:32 AM
thanks  ;)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on December 15, 2010, 02:06:42 PM
@
eric1234
whats website url did you use in you app
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: OnlineFunCorner on December 15, 2010, 02:36:08 PM
is there any link to share with friends on facebook to register them through facebook on our site
or
any invitation system
..
it will be a great feature
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on December 15, 2010, 03:09:06 PM
this?

your_site_url/index.php?action=facebook;area=invite
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: OnlineFunCorner on December 15, 2010, 03:27:35 PM

Fatal error: Uncaught Exception: 601: Parser error: unexpected ')' at position 70. thrown in /home/****/public_html/fbc/facebook.php on line 425
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: OnlineFunCorner on December 15, 2010, 03:56:36 PM
what is the url link of f Login button?
I want to directly share the url link of F login button to facebook friends
..
please
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: rafli on December 16, 2010, 12:47:16 AM
Quote from: eric1234 on December 15, 2010, 07:10:27 AM
API Error Code: 191
API Error Description: The specified URL is not owned by the application
Error Message: redirect_uri is not owned by the application.

This messages pop out when i am trying to log into my forum using the mods.

Hi Eric,
I installed SA Facebook Connect this morning and got same result. I use Pretty url mod. I try to do maintain pretty url in pretty url section and this error is fix. I hope this help, if you also use pretty url mod.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: rafli on December 16, 2010, 12:57:24 AM
Hi All,
I have installed mod SA_FBConnect_1.0+Beta5_rev264_forsmf1.zip . My forum is SMF 1.1.12. I have no error installing it, nor manual install.
However, It keep show error message like this when I try to unsync account.
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE ID_MEMBER = 1
LIMIT 1' at line 4
File: /home/.../Sources/Subs.php
Line: 631


The rest of features is function well.
I am no programmer, guys. So please kindly help me.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on December 16, 2010, 12:08:02 PM
try using the 0.2 version the persone who was developing the sm1 version has abandond the 1.0 beta version so it will be removed soon
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: OnlineFunCorner on December 16, 2010, 12:13:51 PM
in our website only F Login Button Show

is it possible text show with button like (login with facebook)

as in attached picture

can I put facebook login on other page?

like www.exapmle.com/fb/login.php

etc
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on December 16, 2010, 12:16:25 PM
in subs.php in function show_facebook(){

you can chnage '.$txt['fb_login'].' to what ever you wanted
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: OnlineFunCorner on December 16, 2010, 12:37:43 PM
Quote from: SA™ on December 16, 2010, 12:16:25 PM
in subs.php in function show_facebook(){

you can chnage '.$txt['fb_login'].' to what ever you wanted

sorry I don't understand
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on December 16, 2010, 10:59:22 PM
SA Fb Connect RC4 realsed

added better unsync support
now uses session login url
added some secrity checks during login
fixed standerd profile feilds not showing on fb reg
added option to enable disable fb reg/login
added more check to see if user is allready suynced with another account when sycing forum account
removed some uneeded code from fb_connect_subs.php
fixed like on boardindex not showing atall
fixed undefined imdex site slogon
moved language strings to there own files
fixed uninstall errors
added supprt for core theme
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: OnlineFunCorner on December 17, 2010, 04:15:43 AM
Quote from: SA™ on December 16, 2010, 12:16:25 PM
in subs.php in function show_facebook(){

you can chnage '.$txt['fb_login'].' to what ever you wanted

I did not find .$txt['fb_login'] in subs.php
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: !RFAN on December 17, 2010, 06:24:56 AM
The new version of this mod works with smf2 rc3 or not?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: eric1234 on December 20, 2010, 09:43:27 AM
Currently the facebook friend invitation has limited to 16 people only. How can i make it unlimited?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on December 20, 2010, 10:04:27 AM
No.. the limit is set by Fb and it can change at anytime.
It may increase if there arent too many reports against you app... and likewise may decrease if there are too many reports
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: eric1234 on December 20, 2010, 02:12:05 PM
Which mean only facebook able to set the limit , and we ourself was unable to check the limit right?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on December 20, 2010, 02:31:47 PM
correct

my app is allowed 31 per day right now
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: eric1234 on December 20, 2010, 03:15:34 PM
how long does it take from you to reach to 31 people? :P
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on December 20, 2010, 03:19:08 PM
I honestly dont remember... it was a little higher before
the app itself is almost a year old
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Bobn on December 21, 2010, 08:26:39 PM
Using rc 2 and it says its not compatible,, any ideas?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on December 21, 2010, 08:43:51 PM
You can try one of the archives http://www.sa-mods.info/index.php?board=37.0 (i really dont remember the last version that may have been compatible)... However know that there is no support for RC2 and I'd really suggest upgrading anyway.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Bobn on December 22, 2010, 07:26:04 AM
Quote from: Spoogs on December 21, 2010, 08:43:51 PM
You can try one of the archives http://www.sa-mods.info/index.php?board=37.0 (i really dont remember the last version that may have been compatible)... However know that there is no support for RC2 and I'd really suggest upgrading anyway.

Believe me I would LOVE to upgrade I am just afraid to because I have a large forum with thousands of posts and members
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on December 22, 2010, 08:47:30 AM
so do others that have upgraded ;)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ephobe on December 22, 2010, 04:26:30 PM
I'm getting a FB is not defined javascript error does that mean I have to wait for my app on facebook?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Bobn on December 22, 2010, 05:48:10 PM
Quote from: Spoogs on December 22, 2010, 08:47:30 AM
so do others that have upgraded ;)

I would be willing to pay someone to do it that could guarantee me it would work
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: DanteOz on December 23, 2010, 08:28:26 AM
Hi, my facebook like count is always reseting back to 0 like, & befor it gets to 10 it will reset back to 0. pls help is there a way to solve it? im using smf rc4 & fbconnect rc4
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: clintmyster on December 31, 2010, 09:57:17 PM
My Fb Connect says the following:

Invalid API key specified

The app you are trying to access does not exist or has been disabled.

Help please?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on December 31, 2010, 10:06:15 PM
the instructions are in the settings area of the mod.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: clintmyster on December 31, 2010, 10:12:09 PM
Quote from: Spoogs on December 31, 2010, 10:06:15 PM
the instructions are in the settings area of the mod.

Instructions for what?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on December 31, 2010, 10:14:43 PM
you need to create an app on fb, then you will have the correct AppID, API key, & Secret Key
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: clintmyster on December 31, 2010, 10:38:22 PM
Quote from: Spoogs on December 31, 2010, 10:14:43 PM
you need to create an app on fb, then you will have the correct AppID, API key, & Secret Key

Where do you get the API key from? I've got the APPID and Secret Key

Application name:   HSCGUIDE
App URL:   http://www.hscguide.net/reloaded/
Application ID:   171689342868966


I tried entering the key as the app ID but that didn't work.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on December 31, 2010, 11:05:20 PM
http://www.sa-mods.info/index.php?topic=734.0

You do know the SECRET Key is SECRET for a reason (remove it from your post please)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: clintmyster on December 31, 2010, 11:52:21 PM
Quote from: Spoogs on December 31, 2010, 11:05:20 PM
http://www.sa-mods.info/index.php?topic=734.0

You do know the SECRET Key is SECRET for a reason (remove it from your post please)

I tried that. Seemed to process the integration but then it loads the website as this: http://hscguide.net/reloaded/uide/forum/
We never have 'uide' in our url. Also, all the graphics and posts cannot be seen in the forum nor on the homepage when integration has occurred. How can I resolve this?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Buraaq on January 03, 2011, 07:51:34 AM
there are 2 mods available for download; which one to use for RC 4? =/
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on January 03, 2011, 09:51:12 AM
the one that doesnt say smf1 :P
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: KensonPlays on January 03, 2011, 10:36:37 AM
Quote from: SA™ on January 03, 2011, 09:51:12 AM
the one that doesnt say smf1 :P
+1!
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: apc896 on January 05, 2011, 06:49:41 PM
Hey guys,

I'm a newbie to all of these and running SMF v. 1.1.11 and installed the SA FBConnect 0.2.

The button shows up, but it doesn't work. When click on it, nothing happens or it seems to just refresh the page.

Also, when I was exploring the "share board" tab in the menu, it sends me to a blank page and said "Fatal error: Call to undefined function smf_db_query.......................... /FB_Connect/Facebook_connect_admin.php on line 151"

Please advise.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on January 05, 2011, 10:04:10 PM
have you setup an application yet?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: apc896 on January 05, 2011, 11:26:48 PM
Quote from: SA™ on January 05, 2011, 10:04:10 PM
have you setup an application yet?

what kind of application?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on January 05, 2011, 11:40:45 PM
Quote from: apc896 on January 05, 2011, 11:26:48 PM
what kind of application?
http://www.sa-mods.info/index.php?topic=734.0
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: apc896 on January 06, 2011, 02:20:12 PM
Quote from: Spoogs on January 05, 2011, 11:40:45 PM
Quote from: apc896 on January 05, 2011, 11:26:48 PM
what kind of application?
http://www.sa-mods.info/index.php?topic=734.0

Ok thank you for that...  i just did that... but is still not working....

I inputed all the keys and IDs and when I click on the FB connect button, it doesn't do anything or it just refreshes the page.

Also, when I explore the "share boards" option, it directs me to a new page with this error message:

"Fatal error: Call to undefined function smf_db_query() in /hermes/bosweb/web093/b938................................./Sources/FB_Connect/Facebook_connect_admin.php on line 151"


Please advise....



Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: apc896 on January 06, 2011, 08:30:18 PM
Quote from: apc896 on January 06, 2011, 02:20:12 PM
Quote from: Spoogs on January 05, 2011, 11:40:45 PM
Quote from: apc896 on January 05, 2011, 11:26:48 PM
what kind of application?
http://www.sa-mods.info/index.php?topic=734.0

Ok thank you for that...  i just did that... but is still not working....

I inputed all the keys and IDs and when I click on the FB connect button, it doesn't do anything or it just refreshes the page.

Also, when I explore the "share boards" option, it directs me to a new page with this error message:

"Fatal error: Call to undefined function smf_db_query() in /hermes/bosweb/web093/b938................................./Sources/FB_Connect/Facebook_connect_admin.php on line 151"


Please advise....

I found another mod which puts the like buttons in all post.

However, I'm still interested in installing this one because this is the only mod that I can find which puts a FB button in your main page.

I'm still having the same issues as stated above. Please advise.

Thank you so much for your time!
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: grynmoors on January 07, 2011, 08:35:03 AM
This is a nice mod! I am using it with SMF1.1.12 and Simple Portal 2.3.3 (all default files, no modifications to any templates yet).

When I "sign in with Facebook", it redirects me to the forum. I don't want that, I want it go to to the portal page.

What do I need to change so that it redirects to the portal page?

There are a few instances of "Registerd"  It should be "Registered"

The "Update Your Facebook Status" link fails in Safari 3.1.2
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on January 07, 2011, 02:05:59 PM
@apc896
in sources/fb_connect can you tell me what files are there?

@grynmoors
in sources/fb_connect/fb_connect.php

find

if ($context['pwp'] == '1')
{
redirectexit('action=forum;fb_feed');
}
else
{
redirectexit('action=forum');
}
}
else
{
if ($context['pwp'] == '1')
{
redirectexit('fb_feed');
}
else
{
redirectexit('');
}
}


and chnage the redirect ther
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: clintmyster on January 08, 2011, 08:16:34 PM
Everytime i tried to login to facebook via the connect button i get the following problem:

It loads the website as this: http://hscguide.net/reloaded/uide/forum/ [nofollow]
We never have 'uide' in our url. Also, all the graphics and posts cannot be seen in the forum nor on the homepage when integration has occurred. How can I resolve this?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on January 09, 2011, 01:42:48 AM
i dont see the mod installed at your site?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: grynmoors on January 09, 2011, 12:02:58 PM
Awesome mod, love it! I'm currently testing with Simple Portal 2.3.3 and SMF 2.0 RC4.  I noticed on the "My Friends" page where it lists my friends, it's only showing 10 people per page...there are 2 empty table cells in the lower right. Is there a setting for how many to show per page that I'm not finding in the admin panel?

Basically it's bringing up a 4 across by 3 down grid but only showing the first 10 cells with information in them...the last 2 across the bottom on the right are empty. Same on subsequent pages.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SnowWidow on January 09, 2011, 12:29:14 PM
I seem to be having a strange problem. If someone registers through FB Connect, they see the forums in a whole different way - main things to them are not there (like the ability to post a new topic or reply). I've included screenshots. One is a "normal" member, the other is an account created through FB connect.
It also does not send an activation email when registering through FBConnect for them to activate their account, but they are just automatically activated.

I am running SMF 2.0 RC4
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on January 09, 2011, 12:36:50 PM
In the mods admin panel what group are your Fb users placed in and what permissions does that group have?
Correct email activation does work with this mod by design... fb users have already authenticated their email addresses.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SnowWidow on January 09, 2011, 12:39:19 PM
That was the first thing I checked... the permissions. They are put into the "newbie" membergroup and that group has regular posting/reply permissions.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on January 09, 2011, 12:43:58 PM
newbie is a post count group go to Admin>>Members>>Permissions>>Settings ... is permissions for post count groups enabled?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SnowWidow on January 09, 2011, 12:50:23 PM
It wasn't, but I enabled it but it didn't change anything.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on January 09, 2011, 12:54:23 PM
Admin>>Members>>Permissions... I'm pretty sure that group has no permissions at this point ;)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SnowWidow on January 09, 2011, 01:03:25 PM
Ok I feel kind of stupid now.  :o  Thanks! That did it!
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on January 09, 2011, 01:06:46 PM
haha no worries ;D I was vague on purpose, glad its working now tho 8)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: impreza on January 09, 2011, 03:15:37 PM
A useful modification, thank you
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: clintmyster on January 09, 2011, 05:17:45 PM
Quote from: SA™ on January 09, 2011, 01:42:48 AM
i dont see the mod installed at your site?

I re-enabled the mod. Can you take a look to see the error when I try to integrate please?
http://hscguide.net/reloaded/forum
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on January 10, 2011, 12:10:40 PM
@donnyfranks link to site?


i get this error

Fatal error: Uncaught exception 'FacebookRestClientException' with message 'Incorrect signature' in /home/hscguide/public_html/reloaded/forum/fbc/facebook/php/facebookapi_php5_restlib.php:3112 Stack trace: #0 /home/hscguide/public_html/reloaded/forum/fbc/facebook/php/facebookapi_php5_restlib.php(309): FacebookRestClient->call_method('facebook.auth.g...', Array) #1 /home/hscguide/public_html/reloaded/forum/fbc/facebook/php/facebook.php(206): FacebookRestClient->auth_getSession('34d36d93e2fb603...', false) #2 /home/hscguide/public_html/reloaded/forum/fbc/facebook/php/facebook.php(167): Facebook->do_get_session('34d36d93e2fb603...') #3 /home/hscguide/public_html/reloaded/forum/fbc/facebook/php/facebook.php(68): Facebook->validate_fb_params() #4 /home/hscguide/public_html/reloaded/forum/Sources/FB_Connect/FB_Connect_Subs.php(279): Facebook->__construct('80480339566a639...', '5920670a4d93bf6...') #5 /home/hscguide/public_html/reloaded/forum/Sources/FB_Connect/FB_Connect.php(13): FB_Globals() #6 /home/hscguide/public_html/reloa in /home/hscguide/public_html/reloaded/forum/fbc/facebook/php/facebookapi_php5_restlib.php on line 3112


wich i think means your app is incorrect or your keys are in the wrong places in fb admin panel
Quote from: clintmyster on January 09, 2011, 05:17:45 PM
Quote from: SA™ on January 09, 2011, 01:42:48 AM
i dont see the mod installed at your site?

I re-enabled the mod. Can you take a look to see the error when I try to integrate please?
http://hscguide.net/reloaded/forum
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: clintmyster on January 10, 2011, 05:55:51 PM
Quote from: SA™ on January 10, 2011, 12:10:40 PM
@donnyfranks link to site?


i get this error

Fatal error: Uncaught exception 'FacebookRestClientException' with message 'Incorrect signature' in /home/hscguide/public_html/reloaded/forum/fbc/facebook/php/facebookapi_php5_restlib.php:3112 Stack trace: #0 /home/hscguide/public_html/reloaded/forum/fbc/facebook/php/facebookapi_php5_restlib.php(309): FacebookRestClient->call_method('facebook.auth.g...', Array) #1 /home/hscguide/public_html/reloaded/forum/fbc/facebook/php/facebook.php(206): FacebookRestClient->auth_getSession('34d36d93e2fb603...', false) #2 /home/hscguide/public_html/reloaded/forum/fbc/facebook/php/facebook.php(167): Facebook->do_get_session('34d36d93e2fb603...') #3 /home/hscguide/public_html/reloaded/forum/fbc/facebook/php/facebook.php(68): Facebook->validate_fb_params() #4 /home/hscguide/public_html/reloaded/forum/Sources/FB_Connect/FB_Connect_Subs.php(279): Facebook->__construct('80480339566a639...', '5920670a4d93bf6...') #5 /home/hscguide/public_html/reloaded/forum/Sources/FB_Connect/FB_Connect.php(13): FB_Globals() #6 /home/hscguide/public_html/reloa in /home/hscguide/public_html/reloaded/forum/fbc/facebook/php/facebookapi_php5_restlib.php on line 3112


wich i think means your app is incorrect or your keys are in the wrong places in fb admin panel
Quote from: clintmyster on January 09, 2011, 05:17:45 PM
Quote from: SA™ on January 09, 2011, 01:42:48 AM
i dont see the mod installed at your site?

I re-enabled the mod. Can you take a look to see the error when I try to integrate please?
http://hscguide.net/reloaded/forum

All fixed, I had to change the url slightly but now it works fine. Thanks for the help!
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Bobn on January 11, 2011, 10:03:40 AM
Hey Spoogs,,

How can I get FBC to post to my forums FB page and not to MY personnel  profile?

Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: o3ch1e on January 12, 2011, 02:58:12 AM
Can you help me? I get an error when going to install this mod.

Thanks
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on January 12, 2011, 10:24:45 AM
@ Bobn
no at this time you cant not yet anyway 1.1 will problay have it tho

@o3ch1e
go ahead and install it then your have to make the chnages
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: o3ch1e on January 12, 2011, 11:45:31 AM
Quote from: SA™ on January 12, 2011, 10:24:45 AM
@ Bobn
no at this time you cant not yet anyway 1.1 will problay have it tho

@o3ch1e
go ahead and install it then your have to make the chnages

I use a custom Themes from dzinerstudio. But I can not use this mod, I have to change it to the core theme.

Thanks
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Bobn on January 12, 2011, 06:49:25 PM
So when do you guys think we might be able to use FBC to post on our group pages instead of our profile page?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on January 12, 2011, 06:52:48 PM
There's no estimated time yet... it will have to be coded and tested properly before its release
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Bobn on January 12, 2011, 07:18:48 PM
Quote from: Spoogs on January 12, 2011, 06:52:48 PM
There's no estimated time yet... it will have to be coded and tested properly before its release

Ah,, I really would like my posts to be on my forum FB page and not in my profile  :'(
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Bobn on January 12, 2011, 07:26:21 PM
I would just like to say Spoogs is a REALLY good guy! He helped me with FB Connect and a host of other problems that I have been dealing with for years with one of my forums. AAA+++AAA
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on January 12, 2011, 07:35:58 PM
Quote from: Bobn on January 12, 2011, 07:18:48 PM
Quote from: Spoogs on January 12, 2011, 06:52:48 PM
There's no estimated time yet... it will have to be coded and tested properly before its release

Ah,, I really would like my posts to be on my forum FB page and not in my profile  :'(
I cant wait for it to be ready too, that will be a pretty awesome feature


Quote from: Bobn on January 12, 2011, 07:26:21 PM
I would just like to say Spoogs is a REALLY good guy! He helped me with FB Connect and a host of other problems that I have been dealing with for years with one of my forums. AAA+++AAA

Thanks man :) happy I was able to help you get things back on track
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Dejv on January 12, 2011, 07:50:03 PM
Hi,

nice mod. I've just tested it on your site and I see it doesnt support czech language, for example in the names of my pages the text is not correct.

How do I delete the registration?

Thanks
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on January 12, 2011, 08:06:11 PM
This mod has not translated in all languages and we are looking for translators ;)

What registration do you want to delete?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Dejv on January 12, 2011, 09:23:25 PM
Hi,

I mean the facebook text in some "pages" in my profile is in czech and it is not displayed in the forum correctly, like the mod won't support utf-8?

What I ment, if I register via facebook, would it be possible for the user if needed to delete the profile in the forum?
Can the administrator delete or ban a facebook profile?

Does it support a multidomain smf forum? Will the profile be visible on other domains using the same forum database? Or will they even be able to login? :)

Anyway, if I get it installed I can of course send you the mod translation.

Thank you!
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: donnyfranks on January 13, 2011, 01:08:19 AM
Quote from: Spoogs on January 12, 2011, 07:35:58 PM
Quote from: Bobn on January 12, 2011, 07:18:48 PM
Quote from: Spoogs on January 12, 2011, 06:52:48 PM
There's no estimated time yet... it will have to be coded and tested properly before its release

Ah,, I really would like my posts to be on my forum FB page and not in my profile  :'(
I cant wait for it to be ready too, that will be a pretty awesome feature


Quote from: Bobn on January 12, 2011, 07:26:21 PM
I would just like to say Spoogs is a REALLY good guy! He helped me with FB Connect and a host of other problems that I have been dealing with for years with one of my forums. AAA+++AAA

Thanks man :) happy I was able to help you get things back on track


Help.. i am using _258 and rc4 smf andwhenever i click on associate with facebook account, nothing happens, except the error on the forum that shows a box with a #4 in it, thats it, eveythign else seems to work right, but the connecting to facebook

i also get this error in error log:

donnyfranks
    Today at 12:56:22 AM
28312b3f16ae6a8b86c959e2fd7a5b44
Type of error: Undefined
forum.wtsps.com/index.php?action=facebook;area=sync8: Undefined variable: txtFile: /homepages/10/d353714913/htdocs/forum/Sources/FB_Connect/FB_Connect_Subs.php
Line: 21
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: donnyfranks on January 13, 2011, 01:18:41 AM
@ SA

my site is http://forum.wtsps.comhttp://forum.wtsps.com (http://forum.wtsps.com)

Quote from: SA™ on January 10, 2011, 12:10:40 PM
@donnyfranks link to site?


i get this error

Fatal error: Uncaught exception 'FacebookRestClientException' with message 'Incorrect signature' in /home/hscguide/public_html/reloaded/forum/fbc/facebook/php/facebookapi_php5_restlib.php:3112 Stack trace: #0 /home/hscguide/public_html/reloaded/forum/fbc/facebook/php/facebookapi_php5_restlib.php(309): FacebookRestClient->call_method('facebook.auth.g...', Array) #1 /home/hscguide/public_html/reloaded/forum/fbc/facebook/php/facebook.php(206): FacebookRestClient->auth_getSession('34d36d93e2fb603...', false) #2 /home/hscguide/public_html/reloaded/forum/fbc/facebook/php/facebook.php(167): Facebook->do_get_session('34d36d93e2fb603...') #3 /home/hscguide/public_html/reloaded/forum/fbc/facebook/php/facebook.php(68): Facebook->validate_fb_params() #4 /home/hscguide/public_html/reloaded/forum/Sources/FB_Connect/FB_Connect_Subs.php(279): Facebook->__construct('80480339566a639...', '5920670a4d93bf6...') #5 /home/hscguide/public_html/reloaded/forum/Sources/FB_Connect/FB_Connect.php(13): FB_Globals() #6 /home/hscguide/public_html/reloa in /home/hscguide/public_html/reloaded/forum/fbc/facebook/php/facebookapi_php5_restlib.php on line 3112


wich i think means your app is incorrect or your keys are in the wrong places in fb admin panel
Quote from: clintmyster on January 09, 2011, 05:17:45 PM
Quote from: SA™ on January 09, 2011, 01:42:48 AM
i dont see the mod installed at your site?

I re-enabled the mod. Can you take a look to see the error when I try to integrate please?
http://hscguide.net/reloaded/forum
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on January 13, 2011, 10:45:10 AM
@donnyfranks

what do you have as your site url and domain url in your facebook app
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: donnyfranks on January 13, 2011, 08:42:37 PM
site url in facebook app = "http://forum.wtsps.com/"
domain url = " wtsps.com" ewithotu http://


please help, the like, the share and everything else works except for the associate account, or login with facebook buttons, like i said if clicked it states the error :
Help.. i am using _258 and rc4 smf andwhenever i click on associate with facebook account, nothing happens, except the error on the forum that shows a box with a #4 in it, thats it, eveythign else seems to work right, but the connecting to facebook

i also get this error in error log:

donnyfranks
     Today at 12:56:22 AM
28312b3f16ae6a8b86c959e2fd7a5b44
Type of error: Undefined
forum.wtsps.com/index.php?action=facebook;area=sync8: Undefined variable: txtFile: /homepages/10/d353714913/htdocs/forum/Sources/FB_Connect/FB_Connect_Subs.php
Line: 21

i am using the newest release of sa facebook connect, and the bnewest rc4 of SMF, i have tried this on a new blank forum, and the current forum.  i have tried it with the delault theme, and custom themes, and they all give the same error:

i have enclosed a snapshot of my settings in FB and in the forum admin page:

please let me know

the unchecked ones on the facebook admin forum, is because they create errors. i have rechecked them, so if possible you can test them


Quote from: Spoogs on January 13, 2011, 10:45:10 AM
@donnyfranks

what do you have as your site url and domain url in your facebook app
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: donnyfranks on January 13, 2011, 08:43:36 PM
here is the facebook pic
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: donnyfranks on January 13, 2011, 08:45:12 PM
here is the pic of the forum when it creates the error!
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on January 13, 2011, 08:54:47 PM
is there anything in your error logs?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: donnyfranks on January 13, 2011, 08:57:21 PM
the error logs says:

28312b3f16ae6a8b86c959e2fd7a5b44
Type of error: Undefined
forum.wtsps.com/index.php?action=facebook;area=sync8: Undefined variable: txtFile: /homepages/10/d353714913/htdocs/forum/Sources/FB_Connect/FB_Connect_Subs.php
Line: 21
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: donnyfranks on January 13, 2011, 09:05:06 PM
here is a pic of the html code: line 21 is highlighted, this is the only error i am getting in the error log
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: !RFAN on January 13, 2011, 09:50:10 PM
did any body noticed a conflict between Enotify and SA Facebook Connect?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on January 14, 2011, 01:24:56 PM
@donnyfranks that tells me you have php4 and this mod reqires php5 to work your host should be able to update that for you

@!RFAN please do explain more?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: donnyfranks on January 14, 2011, 11:16:09 PM
THANKS - I SOLVED THE PROBLEM, THANKS TO YOUR HELP, I CHECKED MY SETTINGS, AND SAW WHERE THE .HTACCESS FILE SAID PHP 4, I CHANGED IT TO READ :
AddType x-mapp-php5 .php .php4 

AND NOW IT WORKS


but now i am getting this error:

   
http://forum.wtsps.com/index.php?
2: implode() [<a href='function.implode'>function.implode</a>]: Invalid arguments passed
File: /homepages/10/d353714913/htdocs/forum/Themes/default/languages/Facebook.english.php (main sub template - eval?)
Line: 290

http://forum.wtsps.com/index.php?
8: Undefined variable: user_info
File: /homepages/10/d353714913/htdocs/forum/Themes/default/languages/Facebook.english.php (main sub template - eval?)
Line: 290


but when looking at the file, there is no line 290, it stops on line 278

Quote from: SA™ on January 14, 2011, 01:24:56 PM
@donnyfranks that tells me you have php4 and this mod reqires php5 to work your host should be able to update that for you

@!RFAN please do explain more?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: mattverg7 on January 15, 2011, 03:23:28 AM
Hey buddy SA. My name is Matthew and i'm a big fan of your addon. I've been in the process of wanting to use a different theme with your plugin. I'm sure in these 60 pages of communication there is a lot of talk about this but I wanted to see if there was a specific guide online or a walkthrough of some kind on how to integrate the plugin to other themes. I'm somewhat familiar with PHP and very familiar with HTML, but not familiar with SMF and its plugins etc.

Please let me know the best way to approach this concern. Thanks much.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: !RFAN on January 15, 2011, 03:56:22 AM
i was using enotify nd this mod... but i got an error when i tested a new registration... i was not able to register a member using facebook connect and when i removed enotify it was working again :s
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on January 16, 2011, 05:15:28 PM
@donnyfranks
you have to disable eval and it will show the true error

@mattverg7
you can get the edits from the mods page here selected your version and parse it

@!RFAN
oh ill look into thiswhat error did you get?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: !RFAN on January 17, 2011, 04:01:20 AM
({ "title": "Notification Feed", "generator": "ENotify Modification for Simple Machines Forum", "items": [ ] })
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: jekwumoore on January 19, 2011, 06:41:48 AM
Quote from: jekwumoore on November 29, 2010, 09:47:57 AM
I installed it and when I try to log in via facebook which was successful but it just log into the admin account which means anyone that uses facebook to log into my forum with gain access to my admin control, what went wrong?
Does it have to do with the ip?


Now I know where the problem is. It has to do with the hosting company, the result above was from a free web hosting account. I tried it out on my main site and it worked well
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: jekwumoore on January 19, 2011, 08:36:00 AM
I am trying to put code for this index.template php file for my as theme

three things I have not figured where to add after or add before

1-<body>';
2- </form>';   
3-   if (!empty($context['user']['avatar']))   
these are present in the default theme but I can't find them in as theme, below is the code of indextemplate of as theme.

<?php
// Version: 1.1; index

/* This template is, perhaps, the most important template in the theme. It
contains the main template layer that displays the header and footer of
the forum, namely with main_above and main_below. It also contains the
menu sub template, which appropriately displays the menu; the init sub
template, which is there to set the theme up; (init can be missing.) and
the linktree sub template, which sorts out the link tree.

The init sub template should load any data and set any hardcoded options.

The main_above sub template is what is shown above the main content, and
should contain anything that should be shown up there.

The main_below sub template, conversely, is shown after the main content.
It should probably contain the copyright statement and some other things.

The linktree sub template should display the link tree, using the data
in the $context['linktree'] variable.

The menu sub template should display all the relevant buttons the user
wants and or needs.

For more information on the templating system, please see the site at:
http://www.simplemachines.org/
*/

// Initialize the template... mainly little settings.
function template_init()
{
global $context$settings$options$txt;

/* Use images from default theme when using templates from the default theme?
if this is 'always', images from the default theme will be used.
if this is 'defaults', images from the default theme will only be used with default templates.
if this is 'never' or isn't set at all, images from the default theme will not be used. */
$settings['use_default_images'] = 'never';

/* What document type definition is being used? (for font size and other issues.)
'xhtml' for an XHTML 1.0 document type definition.
'html' for an HTML 4.01 document type definition. */
$settings['doctype'] = 'xhtml';

/* The version this template/theme is for.
This should probably be the version of SMF it was created for. */
$settings['theme_version'] = '1.1.4';

/* Set a setting that tells the theme that it can render the tabs. */
$settings['use_tabs'] = true;

/* Use plain buttons - as oppossed to text buttons? */
$settings['use_buttons'] = true;

/* Show sticky and lock status seperate from topic icons? */
$settings['seperate_sticky_lock'] = true;

// load custom language strings
loadLanguage('ThemeStrings');
}

// The main sub template above the content.
function template_main_above()
{
global $context$settings$options$scripturl$txt$modSettings;

// Show right to left and the character set for ease of translating.
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"'
$context['right_to_left'] ? ' dir="rtl"' '''><head>
<meta http-equiv="Content-Type" content="text/html; charset='
$context['character_set'], '" />
<meta name="description" content="'
$context['page_title'], '" />', empty($context['robot_no_index']) ? '' '
<meta name="robots" content="noindex" />'
'
<meta name="keywords" content="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />
<script language="JavaScript" type="text/javascript" src="'
$settings['default_theme_url'], '/script.js?fin11"></script>
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
var smf_theme_url = "'
$settings['theme_url'], '";
var smf_images_url = "'
$settings['images_url'], '";
var smf_scripturl = "'
$scripturl'";
var smf_iso_case_folding = '
$context['server']['iso_case_folding'] ? 'true' 'false'';
var smf_charset = "'
$context['character_set'], '";
// ]]></script>
<title>'
$context['page_title'], '</title>';

// The ?fin11 part of this link is just here to make sure browsers don't cache it wrongly.
echo '
<link rel="stylesheet" type="text/css" href="'
$settings['theme_url'], '/style.css?fin11" />
<link rel="stylesheet" type="text/css" href="'
$settings['default_theme_url'], '/print.css?fin11" media="print" />';

/* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)
Thus, in Internet Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.
Note that this is affected by whether IE 6 is in standards compliance mode.. if not, it will also be big.
Standards compliance mode happens when you use xhtml... */
if ($context['browser']['needs_size_fix'])
echo '
<link rel="stylesheet" type="text/css" href="'
$settings['default_theme_url'], '/fonts-compat.css" />';
// the fontsize
    
if($context['user']['is_logged'])
echo '<style type="text/css"><!--
body
{
font-size: ' 
, !empty($options['mysize']) ? $options['mysize'] : 'small' ';
margin: auto;
}
 --></style>'
;
else{
if(isset($_COOKIE['size']))
$gsize=$_COOKIE['size'];
else
$gsize='small';

echo '<style type="text/css"><!--
body
{
font-size: ' 
$gsize ';
}
 --></style>'
;
}

// Show all the relative links, such as help, search, contents, and the like.
echo '
<link rel="help" href="'
$scripturl'?action=help" target="_blank" />
<link rel="search" href="' 
$scripturl '?action=search" />
<link rel="contents" href="'
$scripturl'" />';

// If RSS feeds are enabled, advertise the presence of one.
if (!empty($modSettings['xmlnews_enable']))
echo '
<link rel="alternate" type="application/rss+xml" title="'
$context['forum_name'], ' - RSS" href="'$scripturl'?type=rss;action=.xml" />';

// If we're viewing a topic, these should be the previous and next topics, respectively.
if (!empty($context['current_topic']))
echo '
<link rel="prev" href="'
$scripturl'?topic='$context['current_topic'], '.0;prev_next=prev" />
<link rel="next" href="'
$scripturl'?topic='$context['current_topic'], '.0;prev_next=next" />';

// If we're in a board, or a topic for that matter, the index will be the board's index.
if (!empty($context['current_board']))
echo '
<link rel="index" href="' 
$scripturl '?board=' $context['current_board'] . '.0" />';

// We'll have to use the cookie to remember the header...
if ($context['user']['is_guest'])
$options['collapse_header'] = !empty($_COOKIE['upshrink']);

// Output any remaining HTML headers. (from mods, maybe?)
echo $context['html_headers'], '
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
var current_header = '
, empty($options['collapse_header']) ? 'false' 'true'';

function shrinkHeader(mode)
{'
;

// Guests don't have theme options!!
if ($context['user']['is_guest'])
echo '
document.cookie = "upshrink=" + (mode ? 1 : 0);'
;
else
echo '
smf_setThemeOption("collapse_header", mode ? 1 : 0, null, "'
$context['session_id'], '");';

echo '
document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/upshrink.gif");

document.getElementById("upshrinkHeader").style.display = mode ? "none" : "";
document.getElementById("upshrinkHeader2").style.display = mode ? "none" : "";

current_header = mode;
}
// ]]></script>'
;

// the routine for the info center upshrink
echo '
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
var current_header_ic = '
, empty($options['collapse_header_ic']) ? 'false' 'true'';

function shrinkHeaderIC(mode)
{'
;

if ($context['user']['is_guest'])
echo '
document.cookie = "upshrinkIC=" + (mode ? 1 : 0);'
;
else
echo '
smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, null, "'
$context['session_id'], '");';

echo '
document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse.gif");

document.getElementById("upshrinkHeaderIC").style.display = mode ? "none" : "";

current_header_ic = mode;
}
// ]]></script>
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
//Specify affected tags. Add or remove from list:
var tgs = new Array( \'td\',\'tr\');

//Specify spectrum of different font sizes:
var szs = new Array( \'xx-small\',\'x-small\',\'small\',\'medium\',\'large\',\'x-large\' );
'
;

// setup the array to start with
$fsize=array('xx-small' => 'x-small' => 1'small' => 2'medium' => 3'large' => 4'x-large' => 5);
if(!empty(
$options['mysize']))
$what=$fsize[$options['mysize']];
else
$what=2;

echo 
'
var startSz = '
.$what.';

function ts( trgt,inc ) {
if (!document.getElementById) return
var d = document,cEl = null,sz = startSz,i,j,cTags;

sz += inc;
if ( sz < 0 ) sz = 0;
if ( sz > 3 ) sz = 3;
startSz = sz;


if ( !( cEl = d.getElementById( trgt ) ) ) cEl = d.getElementsByTagName( trgt )[ 0 ];

cEl.style.fontSize = szs[ sz ];

for ( i = 0 ; i < tgs.length ; i++ ) {
cTags = cEl.getElementsByTagName( tgs[ i ] );
for ( j = 0 ; j < cTags.length ; j++ ) cTags[ j ].style.fontSize = szs[ sz ];
}
    setmysize(szs[ sz ]);
 }

 function tsreset( trgt ) {
if (!document.getElementById) return
var d = document,cEl = null,sz = startSz,i,j,cTags;

sz = 2;
startSz = sz;


if ( !( cEl = d.getElementById( trgt ) ) ) cEl = d.getElementsByTagName( trgt )[ 0 ];

cEl.style.fontSize = szs[ sz ];

for ( i = 0 ; i < tgs.length ; i++ ) {
cTags = cEl.getElementsByTagName( tgs[ i ] );
for ( j = 0 ; j < cTags.length ; j++ ) cTags[ j ].style.fontSize = szs[ sz ];
}
    setmysize(szs[ sz ]);
 }

// ]]></script>
<script language="JavaScript" type="text/javascript" src="'
$settings['theme_url'], '/mootools.js"></script>
<script language="JavaScript" type="text/javascript" src="'
$settings['theme_url'], '/menu.js"></script>
<script language="JavaScript" type="text/javascript" src="'
$settings['theme_url'], '/main.js"></script>';
echo 
'
</head>
<body>
   <div id="header">
      <div id="head-l">
    <div id="head-r">
<a href="'
.$scripturl.'?action=forum" title=""><span id="logo"> </span></a>';
echo '
  </div>  
 </div>
</div>
         <div id="toolbar">
<div id="fancymenu">
   '
,template_menu(),'
      </div>
         </div><br />
 <div id="mainarea">
 <div id="sag1">
  <div id="sol1">
   <div id="alt1">
    <div id="altsag1">
     <div id="altsol1">
<div id="ust1">
 <div id="ustsag1">
  <div id="ustsol1">'
;
            echo 
'
 <div id="navarea1">
  <div id="arama">'
;
if ($context['user']['is_logged'])
{
echo '<b>'$txt['hello_member_ndt'], ' '$context['user']['name'], '</b><br />';

echo '<a href="'$scripturl'?action=unread">'$txt['unread_since_visit'], '</a><br /><a href="'$scripturl'?action=unreadreplies">'$txt['show_unread_replies'], '</a><br />';

}
// Otherwise they're a guest - this time ask them to either register or login - lazy bums...
else
{
echo '
'
$txt['welcome_guest'], ' ';
}
              echo 
'
    </div>'
;
      echo '
<div id="news">
   <span class="smalltext"><b>'
$txt[102], '</b>: <br />'$context['random_news_line'], '</span>
</div></div><br />'
;


}

function 
template_main_below()
{
global $context$settings$options$scripturl$txt;

  echo '
 </div>
      </div>
     </div>
    </div>
   </div>
  </div>
 </div>
</div>
</div><br />'
;

// Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere!
echo '
  <div id="footer">
    <div id="footer-l">
 <div id="footer-r">
          <div id="footerarea">
<span class="smalltext">'
theme_copyright(), '
 <strong>Theme As</strong> &copy; 2009, by <a href="http://www.fussilet.com" target="_blank"> Fussilet</a></span><br />
                           <a href="http://validator.w3.org/check/referer" target="_blank" style="font-size:10px;">XHTML</a>'
;
// Show the load time?
if ($context['show_load_time'])
echo '
<p align="center"><span class="smalltext">'
$txt['smf301'], $context['load_time'], $txt['smf302'], $context['load_queries'], $txt['smf302b'], '</span></p>';

// This is an interesting bug in Internet Explorer AND Safari. Rather annoying, it makes overflows just not tall enough.
if (($context['browser']['is_ie'] && !$context['browser']['is_ie4']) || $context['browser']['is_mac_ie'] || $context['browser']['is_safari'] || $context['browser']['is_firefox'])
{
// The purpose of this code is to fix the height of overflow: auto div blocks, because IE can't figure it out for itself.
echo '
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA['
;

// Unfortunately, Safari does not have a "getComputedStyle" implementation yet, so we have to just do it to code...
if ($context['browser']['is_safari'])
echo '
window.addEventListener("load", smf_codeFix, false);

function smf_codeFix()
{
var codeFix = document.getElementsByTagName ? document.getElementsByTagName("div") : document.all.tags("div");

for (var i = 0; i < codeFix.length; i++)
{
if ((codeFix[i].className == "code" || codeFix[i].className == "post" || codeFix[i].className == "signature") && codeFix[i].offsetHeight < 20)
codeFix[i].style.height = (codeFix[i].offsetHeight + 20) + "px";
}
}'
;
elseif ($context['browser']['is_firefox'])
echo '
window.addEventListener("load", smf_codeFix, false);
function smf_codeFix()
{
var codeFix = document.getElementsByTagName ? document.getElementsByTagName("div") : document.all.tags("div");

for (var i = 0; i < codeFix.length; i++)
{
if (codeFix[i].className == "code" && (codeFix[i].scrollWidth > codeFix[i].clientWidth || codeFix[i].clientWidth == 0))
codeFix[i].style.overflow = "scroll";
}
}'
;
else
echo '
var window_oldOnload = window.onload;
window.onload = smf_codeFix;

function smf_codeFix()
{
var codeFix = document.getElementsByTagName ? document.getElementsByTagName("div") : document.all.tags("div");

for (var i = codeFix.length - 1; i > 0; i--)
{
if (codeFix[i].currentStyle.overflow == "auto" && (codeFix[i].currentStyle.height == "" || codeFix[i].currentStyle.height == "auto") && (codeFix[i].scrollWidth > codeFix[i].clientWidth || codeFix[i].clientWidth == 0) && (codeFix[i].offsetHeight != 0 || codeFix[i].className == "code"))
codeFix[i].style.height = (codeFix[i].offsetHeight + 36) + "px";
}

if (window_oldOnload)
{
window_oldOnload();
window_oldOnload = null;
}
}'
;

echo '
// ]]></script>'
;
}

echo '
    </div>
  </div>
 </div>
</div>'
;

// The following will be used to let the user know that some AJAX process is running
echo '
<div id="ajax_in_progress" style="display: none;'
$context['browser']['is_ie'] && !$context['browser']['is_ie7'] ? 'position: absolute;' '''">'$txt['ajax_in_progress'], '</div>';
echo 
'

</body>
</html>'
;
}

// Show a linktree. This is that thing that shows "My Community | General Category | General Discussion"..
function theme_linktree()
{
global $context$settings$options;

echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top: 0ex; padding-bottom: 0ex; padding-left: 2ex;">';

// Each tree item has a URL and name. Some may have extra_before and extra_after.
foreach ($context['linktree'] as $link_num => $tree)
{
// Show something before the link?
if (isset($tree['extra_before']))
echo $tree['extra_before'];

// Show the link, including a URL if it should have one.
echo '<b>'$settings['linktree_link'] && isset($tree['url']) ? '<a href="' $tree['url'] . '" class="nav">' $tree['name'] . '</a>' $tree['name'], '</b>';

// Show something after the link...?
if (isset($tree['extra_after']))
echo $tree['extra_after'];

// Don't show a separator for the last one.
if ($link_num != count($context['linktree']) - 1)
echo '&nbsp;|&nbsp;';
}

echo '</div>';
}

// Show the menu up top. Something like [home] [help] [profile] [logout]...
function template_menu()
{
global $context$settings$options$scripturl$txt;

// Work out where we currently are.
$current_action 'home';
if (in_array($context['current_action'], array('admin''ban''boardrecount''cleanperms''detailedversion''dumpdb''featuresettings''featuresettings2''findmember''maintain''manageattachments''manageboards''managecalendar''managesearch''membergroups''modlog''news''optimizetables''packageget''packages''permissions''pgdownload''postsettings''regcenter''repairboards''reports''serversettings''serversettings2''smileys''viewErrorLog''viewmembers')))
$current_action 'admin';
if (in_array($context['current_action'], array('search''admin''calendar''profile''mlist''register''login''logout''help''pm')))
$current_action $context['current_action'];
if ($context['current_action'] == 'search2')
$current_action 'search';

// Are we using right-to-left orientation?
if ($context['right_to_left'])
{
$first 'last';
$last 'first';
}
else
{
$first 'first';
$last 'last';
}

// Start of the tab section.
echo '
<ul>'
;

// Show the default [home] button.
echo ($current_action=='home' || $context['browser']['is_ie4']) ? '' '' '
<li class="' 
$current_action == 'home' 'current' '' '"><a href="'$scripturl'">' $txt[103] , '</a></li>';

// Show the [help] button.
echo ($current_action=='help' || $context['browser']['is_ie4']) ? '' '' '
<li class="' 
$current_action == 'help' 'current' '' '"><a href="'$scripturl'?action=help">' $txt[119] , '</a></li>';

// How about the [search] button?
if ($context['allow_search'])
echo ($current_action=='search' || $context['browser']['is_ie4']) ? '' '' '
<li class="' 
$current_action == 'search' 'current' '' '"><a href="'$scripturl'?action=search">' $txt[182] , '</a></li>';

// Is the user allowed to administrate at all? ([admin])
if ($context['allow_admin'])
echo ($current_action=='admin' || $context['browser']['is_ie4']) ? '' '' '
<li class="' 
$current_action == 'admin' 'current' '' '"><a href="'$scripturl'?action=admin">' $txt[2] , '</a></li>';

// Edit Profile... [profile]
if ($context['allow_edit_profile'])
echo ($current_action=='profile' || $context['browser']['is_ie4']) ? '' '' '
<li class="' 
$current_action == 'profile' 'current' '' '"><a href="'$scripturl'?action=profile">' $txt[79] , '</a></li>';

// Go to PM center... [pm]
if ($context['user']['is_logged'] && $context['allow_pm'])
echo ($current_action=='pm' || $context['browser']['is_ie4']) ? '' '' '
<li class="' 
$current_action == 'pm' 'current' '' '"><a href="'$scripturl'?action=pm">' $txt['pm_short'] , ' '$context['user']['unread_messages'] > '[<strong>'$context['user']['unread_messages'] . '</strong>]' '' '</a></li>';

// The [calendar]!
if ($context['allow_calendar'])
echo ($current_action=='calendar' || $context['browser']['is_ie4']) ? '' '' '
<li class="' 
$current_action == 'calendar' 'current' '' '"><a href="'$scripturl'?action=calendar">' $txt['calendar24'] , '</a></li>';

// the [member] list button
if ($context['allow_memberlist'])
echo ($current_action=='mlist' || $context['browser']['is_ie4']) ? '' '' '
<li class="' 
$current_action == 'mlist' 'current' '' '"><a href="'$scripturl'?action=mlist">' $txt[331] , '</a></li>';

// If the user is a guest, show [login] button.
if ($context['user']['is_guest'])
echo ($current_action=='mlist' || $context['browser']['is_ie4']) ? '' '' '
      <li><a href="'
$scripturl'?action=login">' $txt[34] , '</a></li>';


// If the user is a guest, also show [register] button.
if ($context['user']['is_guest'])
echo ($current_action=='mlist' || $context['browser']['is_ie4']) ? '' '' '
     <li><a href="'
$scripturl'?action=register">' $txt[97] , '</a></li>';


// Otherwise, they might want to [logout]...
if ($context['user']['is_logged'])
echo ($current_action=='mlist' || $context['browser']['is_ie4']) ? '' '' '
      <li><a href="'
$scripturl'?action=logout;sesc='$context['session_id'], '">' $txt[108] , '</a></li>';

echo '</ul>';
}


// Generate a strip of buttons.
function template_button_strip($button_strip$direction 'top'$force_reset false$custom_td '')
{
global $settings$buttons$context$txt$scripturl;

// Create the buttons...
foreach ($button_strip as $key => $value)
{
if (isset($value['test']) && empty($context[$value['test']]))
{
unset($button_strip[$key]);
continue;
}
elseif (!isset($buttons[$key]) || $force_reset)
$buttons[$key] = '<a href="' $value['url'] . '" ' .( isset($value['custom']) ? $value['custom'] : '') . '>' $txt[$value['text']] . '</a>';

$button_strip[$key] = $buttons[$key];
}

if (empty($button_strip))
return '<td>&nbsp;</td>';

echo '
<td class="'
$direction == 'top' 'main' 'mirror''tab_back">'implode(''$button_strip) , '</td>';
}

?>
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on January 19, 2011, 12:25:53 PM
i guess you usng 0.2 version iof the mod?

if so

1: is there on line 258 <body>
2: isnt there so the next best thing would be ', $txt['welcome_guest'], ' '; on line 295
3: isnt there eaither so the next best thing would be echo '<b>', $txt['hello_member_ndt'], ' ', $context['user']['name'], '</b><br />'; on line 286
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: jekwumoore on January 19, 2011, 01:21:20 PM
I am using SA_FBConnect_0.2_smf11x.

Anyways I figured out a way on how to do it but I will try yours too to know the best that fits my theme, thanks
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Gold3agle on January 20, 2011, 03:15:32 PM
Hi Guys,

Well I love the idea of this mod, especially as I am wanting to trail a forum out and its SMF vs phpBB at present. phpBB defo havent got anything like this so SMF is currently ahead.

Ok, no my particular problems :(

I installed the mod and it would appear to have installed ok. I created a new app and inserted the keys and id's where required.
I then go to the homepage and have tried in 3 separate browsers and get very little.

If im logged in as Admin I get a "Associate Account with Facebook" link which takes me to a new page ttelling me my account is not associated and would I like to. Underneath that im assuming I should have either a Link or ;) a button saying "Connect" but im getting neither. All I see are the words "Connect with Facebook" .

Im running SMF 2.0 RC4 and im running this mod as 1.0 RC4 using the default template.

I have to admit its driving me nuts as everything points to having got it all setup right and everything installing right. Yet it doesnt want to work.

Its not some new fancy Facebook "Upgrade / Improvement" we keep hearing about is it lol.

Many thanks

Tom.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Bobn on January 21, 2011, 06:58:21 PM
Any luck with being able to post to a fan page instead of my profile page?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: albanian on January 25, 2011, 08:01:39 PM
Invalid API key specified


The app you are trying to access does not exist or has been disabled.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on January 25, 2011, 08:12:02 PM
you need to create an application on facebook see here for a guide
http://www.sa-mods.info/index.php?topic=734.0
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: jekwumoore on January 26, 2011, 12:03:07 PM
can't members integrate facebook account with smf cos it is only me as the admin that sees the link "integrate forum account with facebook" while other members sees "facebook connect" when logged in
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on January 26, 2011, 12:10:49 PM
they would only see facebook connect if they already integrated or registered via fb... clicking facebook connect will take them to the facebook features.

only users that have not integrated (or registered) with FB will see the integrate option
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: jekwumoore on January 26, 2011, 04:23:17 PM
ok
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: jekwumoore on January 27, 2011, 03:04:32 AM
can I increase the amount of invites sent a day? the maximum is 16.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on January 27, 2011, 08:42:12 AM
No... this is entirely controlled by FB
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: plentynaira on January 27, 2011, 04:53:28 PM
Thanks man for this great app. Everything worked perfectly first 1 hour after installation.

However, I have a little issue. Have not been able to connect to Facebook

I Use SMF version RC4.

Installation was ok with no errors and I have double checkd all  settings to ensure they are correct.

I cannot connect and when I click on INVITE FRIENDS I get this error message:

Fatal error: Uncaught Exception: 601: Parser error: unexpected ')' at position 70. thrown in /home/aidniger/public_html/forum/fbc/facebook.php on line 497


Counting on you as usual.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: plentynaira on January 28, 2011, 08:28:11 AM
Quote from: plentynaira on January 27, 2011, 04:53:28 PM
Thanks man for this great app. Everything worked perfectly first 1 hour after installation.

However, I have a little issue. Have not been able to connect to Facebook

I Use SMF version RC4.

Installation was ok with no errors and I have double checkd all  settings to ensure they are correct.

I cannot connect and when I click on INVITE FRIENDS I get this error message:

Fatal error: Uncaught Exception: 601: Parser error: unexpected ')' at position 70. thrown in /home/aidniger/public_html/forum/fbc/facebook.php on line 497


Counting on you as usual.



YES I FORGOT TO ADD THAT

ALREADY REGISTERED MEMBERS CANNOT INTEGRATE THEIR ACCOUNT WITH FACEBOOK YET THE SHARE AND LIKE FEATURES ARE WORKING VERY WELL.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on January 28, 2011, 09:15:50 AM
ALL CAPS IS NOT NECESSARY..... WE CAN READ lower case just fine

Check to see if you have the mod in maintenance mode.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: plentynaira on January 28, 2011, 10:25:18 AM
Quote from: Spoogs on January 28, 2011, 09:15:50 AM


Check to see if you have the mod in maintenance mode.


No

I just check again and it is not in maintenance mod
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: gngf123 on January 28, 2011, 01:56:55 PM
Hey guys. I am running SMF 1.1.12, and wanted to get FB connect running on my site.

It seems to work a treat on the default theme, but unfortunately never installed on the custom theme. So I went over to the manual install instructions, and made the changes listed under index.php and index.template.php.

I now get a template parse error, any suggestions on how it can be fixed?

Below are my attached index.php and index.template.php, just add .php to the file.

www.theblankpages.co.uk/files/index
www.theblankpages.co.uk/files/index.template
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on January 28, 2011, 02:17:57 PM
remove the changes you made manually to index.php and let me know if it works.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: gngf123 on January 28, 2011, 02:47:15 PM
QuoteTemplate Parse Error!
It seems something has gone sour on the forum with the template system. This problem should only be temporary, so please come back later and try again. If you continue to see this message, please contact the administrator.

You can also try refreshing this page.

It appears that didn't fix it. =/
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on January 28, 2011, 03:08:17 PM
go to yoursite/index.php?theme=1

If that works go to your error log and let me know whats in there
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: gngf123 on January 28, 2011, 03:14:22 PM
Maybe related, I found this error log earlier on:

Quote[28-Jan-2011 12:37:52] PHP Parse error:  syntax error, unexpected T_ECHO in /home/theblank/public_html/forums/Themes/Actualism12/index.template.php on line 82

I tried adding ?theme=1, but without success.

I will disable pretty_URL's and then try again.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on January 28, 2011, 03:24:47 PM
ah that might be the issue... someone recently reported a compatibility issue with mod and pretty urls... a fix isnt in place for this just yet
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: gngf123 on January 28, 2011, 03:41:25 PM
Oh right, I must have missed that.

Well, I still get the same error after turning off URL rewritting, but I guess I will let it rest now.

Thanks. :)
Title: Getting an error
Post by: howtogrowbud on January 28, 2011, 10:48:02 PM
hello ..... im a bit brain fried right now and i could really use some help :)
I tried to install this mod and i get this:

1.    Extract Tree    ./Sources/FB_Connect    
2.    Extract File    ./Themes/default/FB_Connect.template.php    
3.    Extract File    ./Themes/default/FB_Connect_admin.template.php    
4.    Extract Tree    ./fbc    
5.    Extract File    ./Themes/default/images/facebook.png    
6.    Extract File    ./Themes/default/images/facebook.gif    
7.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
8.    Execute Modification    ./Themes/default/languages/Modifications.english-utf8.php    Skipping file
9.    Execute Modification    ./Themes/default/languages/Modifications.turkish.php    Skipping file
10.    Execute Modification    ./Themes/default/languages/Modifications.turkish-utf8.php    Skipping file
11.    Execute Modification    ./Sources/ManagePermissions.php    Test successful
12.    Execute Modification    ./Sources/PortalBlocks.php    Skipping file
13.    Execute Modification    ./Themes/default/Display.template.php    Test successful
14.    Execute Modification    ./Sources/Display.php    Test successful
15.    Execute Modification    ./index.php    Test successful
16.    Execute Modification    ./Sources/Subs.php    Test successful
17.    Execute Modification    ./Sources/Profile.php    Test successful
18.    Execute Modification    ./Sources/Load.php    Test successful
19.    Execute Modification    ./Themes/default/index.template.php    Test failed
20.    Execute Code    installScript.php

I have attached my index.template.php file in case anyone wants to take a look at it i would really appreciate any help with this :)

Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on January 28, 2011, 11:42:10 PM
@gngf123
whats your php version?


@howtogrowbud
what version of the mod are you using?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: plentynaira on January 29, 2011, 12:54:43 AM
Quote from: plentynaira on January 28, 2011, 08:28:11 AM
Quote from: plentynaira on January 27, 2011, 04:53:28 PM
Thanks man for this great app. Everything worked perfectly first 1 hour after installation.

However, I have a little issue. Have not been able to connect to Facebook

I Use SMF version RC4.

Installation was ok with no errors and I have double checkd all  settings to ensure they are correct.

I cannot connect and when I click on INVITE FRIENDS I get this error message:

Fatal error: Uncaught Exception: 601: Parser error: unexpected ')' at position 70. thrown in /home/aidniger/public_html/forum/fbc/facebook.php on line 497


Counting on you as usual.



YES I FORGOT TO ADD THAT

ALREADY REGISTERED MEMBERS CANNOT INTEGRATE THEIR ACCOUNT WITH FACEBOOK YET THE SHARE AND LIKE FEATURES ARE WORKING VERY WELL.
Quote from: plentynaira on January 28, 2011, 10:25:18 AM
Quote from: Spoogs on January 28, 2011, 09:15:50 AM


Check to see if you have the mod in maintenance mode.


No

I just check again and it is not in maintenance mod

Can't really figure out what I am doing wrong
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on January 29, 2011, 01:19:40 AM
whats your php version?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: gngf123 on January 29, 2011, 04:41:34 AM
Quote from: SA™ on January 28, 2011, 11:42:10 PM
@gngf123
whats your php version?

PHP Version 5.2.16 according to phpinfo().
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: plentynaira on January 29, 2011, 06:55:27 AM
Quote from: SA™ on January 29, 2011, 01:19:40 AM
whats your php version?

My smf Version is smf 2.0 RC4

Facebook connect version -1.0 RC4_rev285
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: gngf123 on January 29, 2011, 07:23:04 AM
Quote from: plentynaira on January 29, 2011, 06:55:27 AM
Quote from: SA™ on January 29, 2011, 01:19:40 AM
whats your php version?

My smf Version is smf 2.0 RC4

Facebook connect version -1.0 RC4_rev285

That would be your version of SMF, and not PHP.

to find out your version of PHP, what I do is upload a file named something.php, with the content:

<?php
phpinfo
();
?>
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: plentynaira on January 30, 2011, 02:58:20 PM
Quote from: plentynaira on January 29, 2011, 12:54:43 AM
Quote from: plentynaira on January 28, 2011, 08:28:11 AM
Quote from: plentynaira on January 27, 2011, 04:53:28 PM
Thanks man for this great app. Everything worked perfectly first 1 hour after installation.

However, I have a little issue. Have not been able to connect to Facebook

I Use SMF version RC4.

Installation was ok with no errors and I have double checkd all  settings to ensure they are correct.

I cannot connect and when I click on INVITE FRIENDS I get this error message:

Fatal error: Uncaught Exception: 601: Parser error: unexpected ')' at position 70. thrown in /home/aidniger/public_html/forum/fbc/facebook.php on line 497


Counting on you as usual.



YES I FORGOT TO ADD THAT

ALREADY REGISTERED MEMBERS CANNOT INTEGRATE THEIR ACCOUNT WITH FACEBOOK YET THE SHARE AND LIKE FEATURES ARE WORKING VERY WELL.
Quote from: plentynaira on January 28, 2011, 10:25:18 AM
Quote from: Spoogs on January 28, 2011, 09:15:50 AM


Check to see if you have the mod in maintenance mode.


No

I just check again and it is not in maintenance mod

Can't really figure out what I am doing wrong


:) :) My app is now working fine.
I install the ad Management package and Facebook connect started working on its own

I am no PHP guru and don't really know how but it feels like MAGIC.

Thanks to you all! I appreciate ;)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Bobn on January 30, 2011, 03:00:24 PM
Any luck getting this to post to my fan page (for my forum) rather then my profile page yet? Im sure this will be well received.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: kingjazz on February 07, 2011, 08:18:57 AM
Not working with Chrome :( I even went to SA's website and the same thing happen there too :p no Connect button, just a static non-clickable text saying: Connect to Facebook :(

Any thoughts? :)

If however I open SA's or my forum in IE (God forbid!) it works fine....I wanna cry :p

Egil
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Dinosaur770 on February 08, 2011, 12:22:15 PM
Hi, when i try to install mod i get this error:
1.    Extract Tree    ./Sources/FB_Connect    
2.    Extract File    ./Themes/default/FB_Connect.template.php    
3.    Extract File    ./Themes/default/FB_Connect_admin.template.php    
4.    Extract Tree    ./fbc    
5.    Extract File    ./Themes/default/images/facebook.png    
6.    Extract File    ./Themes/default/images/facebook.gif    
7.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
8.    Execute Modification    ./Themes/default/languages/Modifications.english-utf8.php    Skipping file
9.    Execute Modification    ./Themes/default/languages/Modifications.turkish.php    Skipping file
10.    Execute Modification    ./Themes/default/languages/Modifications.turkish-utf8.php    Skipping file
11.    Execute Modification    ./Sources/ManagePermissions.php            Test successful
12.    Execute Modification    ./Sources/PortalBlocks.php                    Skipping file
13.    Execute Modification    ./Themes/default/Display.template.php    Test successful
14.    Execute Modification    ./Sources/Display.php                             Test successful
15.    Execute Modification    ./index.php                                            Test successful
16.    Execute Modification    ./Sources/Subs.php                                    Test successful
17.    Execute Modification    ./Sources/Profile.php                            Test failed
18.    Execute Modification    ./Sources/Load.php                                    Test successful
19.    Execute Modification    ./Themes/default/index.template.php    Test failed
20.    Execute Code                       installScript.php

can any one help me here? thank you very much =)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on February 08, 2011, 12:44:06 PM
smf version?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Dinosaur770 on February 08, 2011, 02:45:34 PM
1.1.12 is the smf version i got
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: WhiteEagle on February 08, 2011, 04:01:58 PM
Just curious on how to get this to show up on the Aurora theme. Thanks!
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: darcysarto on February 09, 2011, 03:27:04 PM
I have smf version 1.1.12 I have installed this mod, created an App on Facebook and everything seems to be working fine.

I was just wondering if there is any advice anywhere on how best to use it, I am not a great Facebook user and so am not sure how to get the best use out of all the features.

Thanks.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ben sisko on February 11, 2011, 11:42:20 AM
hello

i got this error:
Quotehttp://mysite.com/index.php?pretty;action=profile&amp;amp;area=listAwards;u=18: Undefined index: viewFile: /home/mysite/public_html/Themes/default/languages/Facebook.english.php (awards_list sub template - eval?)
Line: 3190

i have SMF 2.0 RC4 with SA Facebook connect mod, Member Awards and some other mods.
the Facebook mod was installed mostly manually because of the many modifications installed, so i may have done something wrong..  :-[

any ideas?

EDIT

i have a new error that apperead when a new user has connected (presumably using his FB account):

Quotehttp://mysite.com/index.php?action=facebook8: iconv() [<a href='function.iconv'>function.iconv</a>]: Detected an illegal character in input stringFile: /home/mysite/public_html/Sources/FB_Connect/FB_Connect_Subs.php
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: NetBuM on February 17, 2011, 07:12:06 PM
Thanks for the great mod!  Recently, our forum was hacked and when I re-installed SMF 2.0 RC 4 the like button (for the forum) appears twice below the banner on the left.  I can't figure out how to get rid of it. 

http://gravesidetales.com/forum

Thank you in advance,

NetB
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: eyo on February 18, 2011, 12:21:27 AM
has got to be one of the toughest mods to get to work in my experience :(
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: nubieteky on February 18, 2011, 12:50:52 AM
ei there is a lot of pages for me to back read on > from the first page i think the mod is not applicable to my SMF 1.1.13 forum is there an update?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on February 18, 2011, 01:07:49 PM
@eyo
whats so hard about it? i mean all you need t do is setup your facebook app and input the keys in facebook admin


@nubieteky
no it isnt compatabl with 1.1.13 yet i dont develope the smf 1 version
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: imatt87 on February 18, 2011, 02:53:58 PM
I switched on the Like facility which looks great but it only ever seems to like login if that makes sense on any page it says "X Person Likes Login" rather than the actual URL or the thread.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on February 18, 2011, 03:45:15 PM
guest need to be able to veiw the topic for it to work
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Enc0der on February 20, 2011, 06:46:58 AM
Quote from: SA™ on February 18, 2011, 01:07:49 PM
@nubieteky
no it isnt compatabl with 1.1.13 yet i dont develope the smf 1 version

1.1.13 support should not be expected ?

oh, I see now that only version 0.2 of the mod supports smf 1.
So I'll be waiting with this for my upgrade to smf 2..
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on February 20, 2011, 11:57:51 AM
yup correct 0.2 is for smf1 tho i havent tested it on 1.1.13 yet it sghould still wrk tho
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: snyperthugs on February 24, 2011, 03:31:06 PM
I installed this to a custom theme and screwed up everything! :(  it messed with my menu and my ad mod. If somebody wouldn't mind helping me my email is [email protected]  I can send you my index.template.php & Display.template.php.   I'm pretty sure its probably in the index.template though. Would appreciate it alot
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on February 24, 2011, 04:11:49 PM
you can just attach it here
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: snyperthugs on February 24, 2011, 04:28:35 PM
Here is my 2 files. Im running SMF 1.1.12   Theme FerryTema2
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: snyperthugs on February 27, 2011, 10:03:53 PM
Nobody can help?? :(   
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on February 27, 2011, 10:16:33 PM
I'll give it a go tomorrow (I'm not too fond of 1.1x so I hoped someone else would have tried to help)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: snyperthugs on March 01, 2011, 01:06:05 PM
Ok update I have the code about 99% correct now, the only part Im having problem with is


// [sync]...
if ($context['user']['is_logged'] && !empty($modSettings['fb_enable']) && empty($user_info['fbname']) && !empty($modSettings['fb_enable_fbc_menu']))
echo ($current_action == 'facebook' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'facebook' ? 'active_back' : 'back' , '">
<a href="#" onclick="fbLogincheck();">' , $txt['fb_integrate2'] , '</a>
</td>' , $current_action == 'facebook' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

// [facebook]...
if ($context['user']['is_logged'] && !empty($modSettings['fb_enable']) && !empty($user_info['fbname']) && !empty($modSettings['fb_enable_fbc_menu']))
echo ($current_action == 'facebook' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'facebook' ? 'active_back' : 'back' , '">
<a href="#" onclick="fbLogincheck();">' , $txt['fb_title'] , '</a>
</td>' , $current_action == 'facebook' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

// Otherwise, they might want to [logout]...
if ($context['user']['is_logged'] && empty($modSettings['fb_app_facebook_log_out']))
echo ($current_action == 'logout' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'logout' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">' , $txt[108] , '</a>
</td>' , $current_action == 'logout' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

// Otherwise, they might want to [logout]...
if ($context['user']['is_logged'] && !empty($modSettings['fb_app_facebook_log_out']))
echo ($current_action == 'logout' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'logout' ? 'active_back' : 'back' , '">
<a href="#" onclick="doLoggedOutFacebookUser();">' , $txt[108] , '</a>
</td>' , $current_action == 'logout' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';



Here is the updated php file. (index.template.php)   Thats the only code i need to fit. Every time I put it in, the menu goes under the top adsense, and i dont know why
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on March 01, 2011, 01:08:39 PM
That part always stomps me as well... leave it out and see how it works out... That just allows for logging out of the forum and from Fb at at the same time.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on March 01, 2011, 01:10:42 PM
before
// The [calendar]!
add

if ($context['user']['is_logged'] && !empty($modSettings['fb_enable']) && empty($user_info['fbname']) && !empty($modSettings['fb_enable_fbc_menu']))
echo '<li><a href="#" onclick="fbLogincheck();">' , $txt['fb_integrate2'] , '</a></li>';

if ($context['user']['is_logged'] && !empty($modSettings['fb_enable']) && !empty($user_info['fbname']) && !empty($modSettings['fb_enable_fbc_menu']))
echo '<li><a href="#" onclick="fbLogincheck();">' , $txt['fb_title'] , '</a></li>';
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: snyperthugs on March 01, 2011, 08:01:14 PM
OK Got it to work now, one question still... when I go to FAN PAGE in the Facebook section of my forum, It posts to the "Apps Facebook Page"... is there a way I can get it to post to the fan page that I already made for my forum?? Thanks in advance
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ben sisko on March 03, 2011, 07:40:52 AM
i have problems with new users trying to register with FB connect, so i had to put it in maintenance mod.
the screen they get after accepting the conditions is attached.

i get also these errors:
http://mysite.com/index.php?pretty;action=facebook&amp;area=connect;step8:
Undefined index: avatarselect_pleaseselect
File: /home/mysite/public_html/Themes/default/Profile.template.php (fb_reg sub template - eval?)
Line: 917

http://mysite.com/index.php?pretty;action=facebook&amp;area=connect;step8:
Undefined index: avatarselect_avatar
File: /home/mysite/public_html/Themes/default/Profile.template.php (fb_reg sub template - eval?)
Line: 916

http://mysite.com/index.php?pretty;action=facebook&amp;area=connect;step8:
Undefined index: referrals_who_description
File: /home/mysite/public_html/Themes/default/Profile.template.php (fb_reg sub template - eval?)
Line: 877

http://mysite.com/index.php?pretty;action=facebook&amp;area=connect;step8:
Undefined index: referrals_who
File: /home/mysite/public_html/Themes/default/Profile.template.php (fb_reg sub template - eval?)
Line: 876


i use SMF2 RC4 + security upgrade + FB Connect 1.0 RC4 Rev285 + Pretty url + some other mods
note: the users should select one sever stored avatar as they are not allowed to upload or link to their own.

Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: MrGrumpy on March 04, 2011, 09:38:16 AM
I have a custom theme so this mod wont install on it and looking at the manual install edits ive noticed there are several blocks of code like the 1 below that needs to be placed in index.template.php


if (function_exists("show_facebook_like"))
{show_facebook_like('<br />','<br />',3); }


This particular one is numbered '3' but it goes from 1 - 6, my question is why? are they all necessary? 

As on my default theme the connect only displays in 2 instances, 1 to actually connect your facebook account with forum  as to register and once registered 1 instance to connect to your facebook from the forum.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on March 04, 2011, 09:48:13 AM
not all are necessary... those are just different locations where the lick button could be shown... you can ignore those if you choose.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: MrGrumpy on March 04, 2011, 09:50:44 AM
Cheers Spoogs, thought that was the case but always best to double check
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on March 04, 2011, 09:55:45 AM
Quote from: ben sisko on March 03, 2011, 07:40:52 AM
i have problems with new users trying to register with FB connect, so i had to put it in maintenance mod.
the screen they get after accepting the conditions is attached.

i get also these errors:
http://mysite.com/index.php?pretty;action=facebook&amp;area=connect;step8:
Undefined index: avatarselect_pleaseselect
File: /home/mysite/public_html/Themes/default/Profile.template.php (fb_reg sub template - eval?)
Line: 917

http://mysite.com/index.php?pretty;action=facebook&amp;area=connect;step8:
Undefined index: avatarselect_avatar
File: /home/mysite/public_html/Themes/default/Profile.template.php (fb_reg sub template - eval?)
Line: 916

http://mysite.com/index.php?pretty;action=facebook&amp;area=connect;step8:
Undefined index: referrals_who_description
File: /home/mysite/public_html/Themes/default/Profile.template.php (fb_reg sub template - eval?)
Line: 877

http://mysite.com/index.php?pretty;action=facebook&amp;area=connect;step8:
Undefined index: referrals_who
File: /home/mysite/public_html/Themes/default/Profile.template.php (fb_reg sub template - eval?)
Line: 876


i use SMF2 RC4 + security upgrade + FB Connect 1.0 RC4 Rev285 + Pretty url + some other mods
note: the users should select one sever stored avatar as they are not allowed to upload or link to their own.

Please disable template evaluation
Admin>>Configuration>>Server Settings>>General.....Disable evaluation of templates
then clear your error log, let us know if any errors popup after that

@MrGrumpy... you're welcome and it never hurts to double check 8)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ben sisko on March 04, 2011, 10:32:54 AM
Quote from: Spoogs on March 04, 2011, 09:55:45 AM
Please disable template evaluation
Admin>>Configuration>>Server Settings>>General.....Disable evaluation of templates
then clear your error log, let us know if any errors popup after that
i get the same errors after disable
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on March 04, 2011, 11:28:15 AM
Do you actually have the mods... Avatar select at registration, and referrals system installed?

Also please post the errors from the error log (Its not impossible to be the same exact errors but somewhat unlikely)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: nagasama on March 07, 2011, 08:19:50 PM
The webmaster for the gaming clan I am a member of has stated I am to post all questions regarding the spelling on the front page link to the application on this page. 

So here I am.

I noticed this.  The link is stating "Intergrate with Facebook."   I believe it to be obvious that there is a misspelling.  submitting cropped screencap as well.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Camealion on March 07, 2011, 10:58:07 PM
In Themes/default/languages/Facebook.english.php

$txt['fb_title123'] = 'Intergrate With Facebook';

Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: WhiteEagle on March 08, 2011, 01:19:36 PM
For some reason this doesn't want to work with Advanced Reputation System, as I get an error from load.php when I try to install it via the package manager.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on March 08, 2011, 01:45:23 PM
That just means it needs to be manually edited
Manual Installation of Mods (http://docs.simplemachines.org/index.php?topic=402.0)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: WhiteEagle on March 09, 2011, 03:30:12 PM
Quote from: Spoogs on March 08, 2011, 01:45:23 PM
That just means it needs to be manually edited
Manual Installation of Mods (http://docs.simplemachines.org/index.php?topic=402.0)

Anytime I try that, I tend to wreck a forum. :(
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: henrik1782 on March 10, 2011, 08:21:34 PM
This is a very nice mod.

I get one error durring the connect registration process. When I have entered required information and click go a get a page to enter password. After this i get an error

An error have occured. You do not have permission to use this section. Go back.

But Facebook Connect have already logged me in at this time and I just have to click home to get to the board.

I have activated email activation in SMF and uses this Redirect mod to redirect users to their account related settings.
http://custom.simplemachines.org/mods/index.php?mod=2666

I have no problem using the mod when loggin on afterwards. But when users register using facebook connect they are not redirected as I wish.

Any idears would be much appreciated.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: albert999 on March 14, 2011, 12:11:23 AM
1.   Execute Code   installScript.php   
2.   Extract Tree   ./Sources/FB_Connect   
3.   Extract File   ./Themes/default/FB_Connect.template.php   
4.   Extract File   ./Themes/default/FB_Connect_admin.template.php   
5.   Extract File   ./Themes/default/languages/Facebook.english.php   
6.   Extract File   ./Themes/default/languages/Facebook.english-utf8.php   
7.   Extract File   ./Themes/default/languages/Facebook.turkish.php   
8.   Extract File   ./Themes/default/languages/Facebook.turkish-utf8.php   
9.   Extract File   ./SSI_Facebook.php   
10.   Extract File   ./ssi_facebook_examples.php   
11.   Extract Tree   ./fbc   
12.   Extract File   ./Themes/default/images/facebook.png   
13.   Extract File   ./Themes/default/images/facebook.gif   
14.   Extract File   ./Themes/core/images/facebook.png   
15.   Extract File   ./Themes/core/images/facebook.gif   
16.   Execute Modification   ./SSI.php   Test successful
       1.   Add After   ./SSI.php   Test successful

17.   Execute Modification   ./Sources/ManagePermissions.php   Test successful
       1.   Add After   ./Sources/ManagePermissions.php   Test successful
       2.   Add After   ./Sources/ManagePermissions.php   Test successful
       3.   Add After   ./Sources/ManagePermissions.php   Test successful
       4.   Add After   ./Sources/ManagePermissions.php   Test successful

18.   Execute Modification   ./Themes/default/Login.template.php   Test successful
       1.   Add After   ./Themes/default/Login.template.php   Test successful

19.   Execute Modification   ./Themes/default/Display.template.php   Test successful
       1.   Add After   ./Themes/default/Display.template.php   Test successful
       2.   Replace   ./Themes/default/Display.template.php   Test successful
       3.   Add Before   ./Themes/default/Display.template.php   Test successful

20.   Execute Modification   ./Themes/default/PmxBlog.template.php   Skipping file
21.   Execute Modification   ./Sources/DreamModules.php   Skipping file
22.   Execute Modification   ./Sources/PortaMx/Class/user_login.php   Skipping file
23.   Execute Modification   ./Sources/PortalBlocks.php   Test successful
       1.   Add After   ./Sources/PortalBlocks.php   Test successful
       2.   Add Before   ./Sources/PortalBlocks.php   Test successful

24.   Execute Modification   ./Sources/Subs-EzPortalMain2.php   Skipping file
25.   Execute Modification   ./Themes/default/Profile.template.php   Test successful
       1.   Add Before   ./Themes/default/Profile.template.php   Test successful
       2.   Add Before   ./Themes/default/Profile.template.php   Test successful

26.   Execute Modification   ./Themes/default/Post.template.php   Test successful
       1.   Add After   ./Themes/default/Post.template.php   Test successful

27.   Execute Modification   ./Sources/Profile.php   Test successful
       1.   Add After   ./Sources/Profile.php   Test successful
       2.   Replace   ./Sources/Profile.php   Test successful

28.   Execute Modification   ./Sources/Post.php   Test successful
       1.   Add Before   ./Sources/Post.php   Test successful

29.   Execute Modification   ./Sources/Subs-Post.php   Test successful
       1.   Add Before   ./Sources/Subs-Post.php   Test successful

30.   Execute Modification   ./Sources/Display.php   Test successful
       1.   Add Before   ./Sources/Display.php   Test successful

31.   Execute Modification   ./Themes/default/css/index.css   Test successful
       1.   Add Before   ./Themes/default/css/index.css   Test successful
       2.   Add Before   ./Themes/core/css/index.css   Test successful

32.   Execute Modification   ./index.php   Test successful
       1.   Add After   ./index.php   Test successful
       2.   Add After   ./index.php   Test successful

33.   Execute Modification   ./Sources/Subs.php   Test failed       
                                 1.   Add After   ./Sources/Subs.php   Test successful
       2.   Add After   ./Sources/Subs.php   Test successful
       3.   Add After   ./Sources/Subs.php   Test successful
       4.   Add Before   ./Sources/Subs.php   Test successful
       5.   Add Before   ./Sources/Subs.php   Test successful
       6.   Replace   ./Sources/Subs.php   Test failed       
                               7.   Add After   ./Sources/Subs.php   Test successful

34.   Execute Modification   ./Sources/Admin.php   Test successful



.................................
I am a newbie, I have got the same error as quoted above.
I am using smf 2.0 RC4 with security patch.
I have installed simple portal 2.2.2

Could any senior advise. TQ.

Albert999
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: henrik1782 on March 14, 2011, 11:26:10 AM
Can I get SA Facebook connect to take profile name from FB and set it as Name in SMF. When using Facebook connect Name in SMF is set to username.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on March 14, 2011, 11:34:41 AM
It use to be like that but then you'd have to consider privacy... not everyone is comfortable using their real names on the web. It also created issues when 2 users have the same for for example John Smith.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: henrik1782 on March 14, 2011, 12:23:43 PM
It would be nice with an option to choose. Name can be the same so this is no problem.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: sammyboy405 on March 15, 2011, 05:49:54 PM
The Like Seems to work fine.. but for the Life of me i cannot get the FB Connect button on the login/Registration?

I made sure the code was in the templates of the theme.

After :
<p><input type="submit" value="', $txt['login'], '" class="button_submit" /></p>

I Put :
echo'<p>';show_facebook();echo'</p>';

Still No Joy..  What Am i missing to get the FB Connect Button to appear for Login?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: sammyboy405 on March 15, 2011, 06:07:11 PM
Quote from: sammyboy405 on March 15, 2011, 05:49:54 PM
The Like Seems to work fine.. but for the Life of me i cannot get the FB Connect button on the login/Registration?

I made sure the code was in the templates of the theme.

After :
<p><input type="submit" value="', $txt['login'], '" class="button_submit" /></p>

I Put :
echo'<p>';show_facebook();echo'</p>';

Still No Joy..  What Am i missing to get the FB Connect Button to appear for Login?

Figured it out..

Had it in Maintenance mode. opps.  Works fine now.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Jeet Chowdhury on March 17, 2011, 02:52:20 AM
my install show failed at,

Replace    ./Themes/default/Display.template.php    Test failed

Find[Select]
<div class="inner" id="msg_', $message['id'], '"', '>', $message['body'], '</div>

Replace[Select]
<div class="inner" id="msg_', $message['id'], '"', '>', $message['body'], '</div>';if(!empty($modSettings['fb_app_show_liketopic'])){ if ($context['show_fb_like_button']){ global $boarddir; if (file_exists($boarddir.'/fbc/facebook_init_main.php')) { include_once $boarddir.'/fbc/facebook_init_main.php'; } echo'<script type="text/javascript"> var mod_settings_fb_share = "',$context['current_topic'],'"; </script> <span style="float:right; margin-top:4px;"> <span id="like"></span> <script type="text/javascript"> Get_like(); </script> </span>'; } }echo'
Find[Select]
<div class="inner" id="msg_', $message['id'], '"', '>', $message['body'], '</div>
Replace[Select]
<div class="inner" id="msg_', $message['id'], '"', '>', $message['body'], '</div>';if(!empty($modSettings['fb_app_show_liketopic'])){ if ($context['show_fb_like_button']){ global $boarddir; if (file_exists($boarddir.'/fbc/facebook_init_main.php')) { include_once $boarddir.'/fbc/facebook_init_main.php'; } echo'<script type="text/javascript"> var mod_settings_fb_share = "',$context['current_topic'],'"; </script> <span style="float:right; margin-top:4px;"> <span id="like"></span> <script type="text/javascript"> Get_like(); </script> </span>'; } }echo'


and,

6.    Replace    ./Sources/Subs.php    Test failed

Find[Select]
$context['allow_admin'] = allowedTo(array('admin_forum', 'manage_boards', 'manage_permissions', 'moderate_forum', 'manage_membergroups', 'manage_bans', 'send_mail', 'edit_news', 'manage_attachments', 'manage_smileys'));

Replace[Select]
$context['allow_admin'] = allowedTo(array('manage_facebook','admin_forum', 'manage_boards', 'manage_permissions', 'moderate_forum', 'manage_membergroups', 'manage_bans', 'send_mail', 'edit_news', 'manage_attachments', 'manage_smileys'));


i'm including those two files please take a look.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Edifier on March 17, 2011, 09:46:32 PM
Does this work for version 1.1.13? If so I installed it on my test forum and now I can't seem to access the features and options in my admin panel (Not sure if another mod caused that though.) But my main problem is that I don't know how to set up a Facebook application and thus it doesn't work for me. Can anyone help me? If you could PM me that'd be great. Thank you!
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Dan_y2k on March 18, 2011, 08:46:39 AM
Well, first of all, this is a fine mod. Very useful.

I got this error:
Fatal error: Uncaught OAuthException: Error validating access token. thrown in /home/dan/domains/mydomain.com/public_html/forums/fbc/facebook.php on line 525

When I clicked on the "Connect with Facebook" button twice. It popped and closed twice, because I was logged into Facebook, so, I logged out from Facebook, and then that error appeard. If you're interested, the link @ the address bar was: http://forums.mydomain.com/index.php?action=facebook;area=check;member=1

I only hope my other users won't ran into this one.

Let me know when, and if it can be fixed at all.

Thanks, it is a very good mod, and keep up the good work! :)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: MATTEK on March 22, 2011, 03:45:02 AM
I tried edited the files that failed. subs.php and index.template.php. Managing the mod works fine, but the like and connect button are nowhere to be found.

for index.template.php I'm having issues because custom top menu already edited the part I need to replace. I'm not sure where to add it so I put it after the custom top menu edit. Can anyone tell me where I went wrong?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on March 22, 2011, 05:22:33 PM
find
<html xmlns="http://www.w3.org/1999/xhtml"', $context['right_to_left'] ? ' dir="rtl"' : '', '>
replace with
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml" ', $context['right_to_left'] ? ' dir="rtl"' : '', '>
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: MATTEK on March 22, 2011, 05:51:33 PM
Done. Still no like, share or connect buttons anywhere.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on March 22, 2011, 06:31:58 PM
try this
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: MATTEK on March 22, 2011, 11:22:26 PM
Thank you, but still no buttons.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: whoey on March 23, 2011, 05:46:16 AM
We're having problems with the like buttons appearing for some users and not for others. Any thoughts?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: NoFeaR / NFSMW on March 30, 2011, 02:00:48 AM
How can i manually make the integrate account with facebook button in the menu work. Mine doesnt work.
www.info-hype.com
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: NoFeaR / NFSMW on March 30, 2011, 02:02:40 AM
Then also is there a way that i can put my fan box in a tinyportal block on the frontpage?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: bfallgren on March 31, 2011, 12:32:48 AM
I got an error when clicking on link to connect facebook:
Invalid API key specified
The app you are trying to access does not exist or has been disabled.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Bobn on March 31, 2011, 01:05:23 PM
Hi,

Im using FBC on one of my forums and it works quite well. I want to do another one but I want it to post to one of my fan pages not my main page. Can I do this?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on April 01, 2011, 12:41:31 AM
@bfallgren
did you setup an application o facebook?

@NoFeaR / NFSMW
take a look at yoursite.com/ssi_facebook_examples.php

@Bobn
currently no you can not
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: NoFeaR / NFSMW on April 01, 2011, 01:22:47 AM
SA i have no idea what to do threre.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: tabletsdroid on April 01, 2011, 09:35:24 AM
facebook connect was working. in the past hour it has partially stopped working. the facebook login option has completely disappeared. my users can no longer register using their facebook accounts. any ideas?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: monsterikan on April 01, 2011, 05:48:15 PM
i can find the connect tab in facebook.com/developer in my apps setting.
so i cannot set it

edit

so it changed to site url
but its not working. im using smf1
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: bfallgren on April 02, 2011, 07:57:39 PM
I didn't find anything about setting up an application. How is that done?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on April 02, 2011, 07:59:24 PM
http://www.sa-mods.info/index.php?topic=734.0
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Bobn on April 02, 2011, 08:04:26 PM
So why is it so hard to connect to a group or fan page?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on April 02, 2011, 08:05:58 PM
That feature just has not been added to the mod as yet.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Bobn on April 02, 2011, 08:07:42 PM
Quote from: Spoogs on April 02, 2011, 08:05:58 PM
That feature just has not been added to the mod as yet.

Could I donate to the cause to move it along :)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on April 02, 2011, 08:09:52 PM
;D donating is fine, not sure it would speed up the process tho :P
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: bfallgren on April 02, 2011, 11:24:13 PM
Thanks for the link  :)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: bfallgren on April 03, 2011, 04:20:12 PM
I followed the instructions and set up a facebook app, but when I go to connect it asks for my info but then it doesn't seem to connect anyways. And the link still says connect to facebook, and if I click it again, it just refreshes the page. Is there something else that might be going on?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on April 03, 2011, 05:53:51 PM
you got a link to your site?
what brouser you using?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: bfallgren on April 03, 2011, 07:51:21 PM
Firefox. I was trying to connect my facebook to the admin account.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: NoFeaR / NFSMW on April 04, 2011, 02:02:22 AM
Mine says integrate in menu but the connect now is not click able? Any help on that?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: 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...

Also...
I am trying to use the ssi_facebook_examples in custom php blocks in Simpleportal and always i get this error :
Fatal error: Call to undefined function ssi_FbcLiveStream() in /xxxxx/xxxxxxx/xxxxxxxx/forum/Sources/PortalBlocks.php(3386) : eval()'d code on line 1

Thanx in advance for any help.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on April 04, 2011, 03:03:19 PM
@ NoFeaR / NFSMW
if your using a custom theme make sure this edit is in there

find
<html xmlns="http://www.w3.org/1999/xhtml"', $context['right_to_left'] ? ' dir="rtl"' : '', '>
replace with
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml"', $context['right_to_left'] ? ' dir="rtl"' : '', '>

would be in function template_html_above()

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

global $boarddir;
require_once($boarddir . '/SSI.php');
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: NoFeaR / NFSMW on April 05, 2011, 01:28:56 AM
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.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on April 05, 2011, 01:45:09 AM
try adding

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

in function template_body_above()
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: NoFeaR / NFSMW on April 05, 2011, 01:57:40 AM
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');
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: NoFeaR / NFSMW on April 05, 2011, 02:26:06 AM
My guests cant register or login using facebook.
Now its just to get the facebook fanpage to work on tinyportal. Thanks man
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Neorics on April 05, 2011, 06:00:55 AM
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?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ~DS~ on April 05, 2011, 12:13:00 PM
Anything in the error log?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: 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.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Neorics on April 05, 2011, 12:36:04 PM
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.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: bfallgren on April 07, 2011, 05:01:31 PM
Will I be able to get FB connect fixed? It still doesnt not connect correctly.

Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: 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)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: bfallgren on April 07, 2011, 11:58:31 PM
 :'( 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.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: 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?

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.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Neorics on April 08, 2011, 04:37:12 AM
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?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on April 08, 2011, 09:40:48 AM
I dont know (never used it) but i'm assuming it has an option to disable
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: sTavr0z on April 08, 2011, 02:59:33 PM
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 nothing.It 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 WWW.STOKREVATI.COM

Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: sTavr0z on April 08, 2011, 03:20:44 PM
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
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Yngwiedis on April 09, 2011, 09:27:40 AM
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...
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: jack001 on April 09, 2011, 02:46:08 PM
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.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: kingjazz on April 09, 2011, 03:08:43 PM
I am not posting this to be mean or anything ;) but with Dream Portal SA FB connect works just fine ;)

http://dream-portal.net (http://dream-portal.net)

Live & working example:
http://ywamkyiv.org/smf/index.php (http://ywamkyiv.org/smf/index.php)

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

http://dream-portal.net/topic_274.msg1834.html#msg1834 (http://dream-portal.net/topic_274.msg1834.html#msg1834)

Cheers :)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on April 09, 2011, 03:11:07 PM
The problem might be the enotify mod as I mentioned just a few posts up.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: guddone on April 09, 2011, 06:33:43 PM
Good day guys , I really need a little help here . I would like to know if the SA facebook connect integration works with all themes or is it "selective" ? for example i am using dziner studio ds-natural theme .
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on April 09, 2011, 06:35:16 PM
dziner studio themes require some manual edits
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: guddone on April 09, 2011, 06:41:17 PM
Quote from: Spoogs on April 09, 2011, 06:35:16 PM
dziner studio themes require some manual edits

i am all ears  :D , would love to know
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on April 09, 2011, 06:44:44 PM
It's hard to say what edits are needed as I dont know the theme. you can attach the index.template.php and someone can help you with it or when I get the chance I can take a look.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: guddone on April 09, 2011, 06:51:27 PM
i am using dziner studio ds natural theme

http://www.dzinerstudio.com/index.php?action=downloads;sa=view;down=111
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on April 09, 2011, 07:13:55 PM
I get a bid red warning trying to view that site...
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: guddone on April 10, 2011, 09:01:01 AM
Quote from: Spoogs on April 09, 2011, 07:13:55 PM
I get a bid red warning trying to view that site...

???
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: jack001 on April 11, 2011, 01:28:29 AM
i am getting a blank page when i try to connect to facebook. i have place api key and everything. dont know why this problem is occuring..

check by yourself: http://edutainmentforum.tk

please help me out as fb users are unable to connect here.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: guddone on April 11, 2011, 02:17:53 PM
hi spoogs here is the index.template.php for the dziner studio theme i am using ,i would appreciate if you could make the edits that would enable SA facebook connect work with this theme .
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: guddone on April 11, 2011, 02:17:56 PM
hi spoogs here is the index.template.php for the dziner studio theme i am using ,i would appreciate if you could make the edits that would enable SA facebook connect work with this theme .
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: xsisonline on April 11, 2011, 05:59:25 PM
Is this mod is only made for default theme...
as i installed this mod but it works only on default smf default theme...
please help me
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on April 12, 2011, 10:24:01 AM
Quote from: guddone on April 11, 2011, 02:17:56 PM
hi spoogs here is the index.template.php for the dziner studio theme i am using ,i would appreciate if you could make the edits that would enable SA facebook connect work with this theme .
Try this, make sure to backup first
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: xsisonline on April 12, 2011, 06:31:09 PM
I am Using 2 Theme from rocketTheme ....
www.discuss4india.com

please edit the mod for this ...
please please ... i need it urgently....
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Dzonny on April 13, 2011, 08:38:06 AM
Hello there.
Great mod really. :)
I have a problem with connecting.
Error that i get:
QuoteAre You Connected to Facebook? Somthings Gone Wrong
SMF RC5 - Fresh instaled with no mods installed, and nothing in error log.
Aplication is set and settings is fine.
Any suggestion how to fix this?

EDIT: Nvm, that was chmod problem with uploaded mod files.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Yngwiedis on April 13, 2011, 08:56:13 AM
Just connect to Facebook before you login to forum
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Yngwiedis on April 14, 2011, 09:19:03 AM
Can someone tell me an example of block for SimplePortal with ssi_facebook actions ?

I try this but is not correct:

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



Also 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 very much.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: MarkoKg on April 15, 2011, 07:52:47 AM
Hello there.

When i have utf-8 characters in my translation, my forum go crazy, font is changed and its messed. Any help, i set encoding to utf-8 in notepad++ before writing but still have this problem.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Yngwiedis on April 15, 2011, 10:38:32 AM
Save the file as UTF-8 without BOM...
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: azjeepclub on April 16, 2011, 11:28:10 PM
Could I get the BacknBlack theme to work with this? Doesnt look like it needs much - everything works but the connect button (on facebook integrate button) and share, invite friends. What do I have to do to make this happen? Would REALLY appreciate the help out!!!

Theme;
http://custom.simplemachines.org/themes/index.php?lemma=126
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: azjeepclub on April 17, 2011, 03:38:45 AM
Update; I got everything working except the share and like within my boards... Here is the new copy of index template for my theme if you could help - would be much appreciated!!!
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: brades on April 18, 2011, 12:40:29 AM
I am trying to get this to work with my lagusta theme from dziner studios. Could someone please help me out? I would really appreciate it. I have included the index.template.php

Thanks!
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: poetra on April 18, 2011, 04:57:37 AM
still no information about DzinerStudio support?

Hope will fix it soon,... thanks
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Yngwiedis on April 18, 2011, 10:19:05 AM
Some help with that please ?

Quote from: Yngwiedis on April 14, 2011, 09:19:03 AM
Can someone tell me an example of block for SimplePortal with ssi_facebook actions ?

I try this but is not correct:

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



Also 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 very much.

Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on April 18, 2011, 10:26:06 AM
Quote from: poetra on April 18, 2011, 04:57:37 AM
still no information about DzinerStudio support?

Hope will fix it soon,... thanks
Those themes are not that easy to edit for this mod, so manual edits will be required... future versions on this mod will have less theme edits so at that point it should be more compatible with those themes.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on April 18, 2011, 10:30:01 AM
Quote from: Yngwiedis on April 18, 2011, 10:19:05 AM
Some help with that please ?

Quote from: Yngwiedis on April 14, 2011, 09:19:03 AM
Can someone tell me an example of block for SimplePortal with ssi_facebook actions ?

I try this but is not correct:

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



Also 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 very much.

might be easier to create your block based on what you find here http://developers.facebook.com/docs/plugins/ (sorry cant help much with the code you have above)

The difference with enable/disable Simple Portal is whether Fb Connect shows in the user block or not.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on April 19, 2011, 08:49:17 PM
1.0 RC5 realsed

///////////////////////////////////////////////////////////////

rev288
added unique comments to each topic options
combined publish like share board option into one
added more check for compatability
fixed hard coded text
fixed iconv campatability
added furthur check during registration for invald chars and too long names
fixed profile feild when empty
added supprt for coppa age restrictions
added option for maintenance title and maintenance reason
added supprt for registration methods normal fb only disabled
added maintenance reminder notice

/////////////////////////////////////////////////////////////////

rev289
fixed bbc when publishing post
fixed comments not working with special chars in subject
fixed commetns not showing at all when share is enabled
chnaged share to uses custom code instead of js ^^

////////////////////////////////////////////////////////////////

rev290
now makes use of the hooks system
removed sevaral index.template edits
like option removed now you can just easly add it where you want using show_facebook_like_button('www.test.com','recommend','button_count'); function
facebook now only shows in menu for less edits
fixed undefined $txt errors
facebook settings are now avalible in your profile area


///////////////////////////////////////////////////////////////

rev291
removed all index.template.php edits

///////////////////////////////////////////////////////////////

rev292
fixed user settings not being saved
fixed db_select_member_settings function wasnt getting correct info
fixed users notes not showing
fixed users groups not showing
fixed users events not showing
added support for some cacheing
added help txt strings to admin panel


pls take note and complealy uninstalll any older versions of this mod before instaling this version
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on April 19, 2011, 09:30:45 PM
For those who needed help with making edits, this is the version I mentioned earlier that eliminates the theme edits, so please try this version and let us know if you have any issues (2.0 branch only... more specifically 2.0 RC5)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: azjeepclub on April 20, 2011, 12:31:46 AM
Looks nice I like it - still no "like" or "share" in other themes.. Just realized the "Comments" Which is really sweeet but that doesnt work in my default theme either. Would love to see what coding has to be done to get these working in my forums default theme. Appreciate the hard work and great Mod!!!

Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Yngwiedis on April 20, 2011, 11:17:58 AM
Can you please explain how we can add the new show_facebook_like_button('www.test.com','recommend','button_count'); function   ?
I dont understand where i need to add this.

Thank you.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: azjeepclub on April 20, 2011, 11:28:26 AM
You add it to your themes index template in the body where you would like it to show up in the message body. It will be different for each theme. All you can do is hope that the new version installs it correctly to your theme or beg one of these guru's to do it for you. I know because I have been asking similar questions, it is different for every theme.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Yngwiedis on April 20, 2011, 11:33:18 AM
I dont have any problem to add it to my theme.
I just dont understand the options of this function.
I dont want a button count. I want the normal view with names beside.
Also i dont want recommend word to be display. I want Like word.

So i think a small explanation of the various options of this function will be needed.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on April 20, 2011, 12:05:57 PM
@azjeepclub
can i have link to your site?

@Yngwiedis
you can chnage it to your needs
show_facebook_like_button('www.test.com','recommend','button_count');
show_facebook_like_button('www.test.com','recommend','standard');
show_facebook_like_button('www.test.com','recommend','box_count');

you can also chnage the recommend to like
show_facebook_like_button('www.test.com','like','standard');
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Yngwiedis on April 20, 2011, 12:17:07 PM
Quote from: SA™ on April 20, 2011, 12:05:57 PM
@azjeepclub
can i have link to your site?

@Yngwiedis
you can chnage it to your needs
show_facebook_like_button('www.test.com','recommend','button_count');
show_facebook_like_button('www.test.com','recommend','standard');
show_facebook_like_button('www.test.com','recommend','box_count');

you can also chnage the recommend to like
show_facebook_like_button('www.test.com','like','standard');



Nice :)  Thank you very much.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: azjeepclub on April 20, 2011, 01:23:11 PM
Sure thing buddy > www.AZJeepClub.com/Forums

I have the "Like" working now, still no "Share", no "Comments" (after connecting on the home page of FB Connect) - I think the rest is working ok though... I Still LOVE this mod.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: azjeepclub on April 20, 2011, 01:25:44 PM
I guess I need more posts for the link to be active LOL - More posts coming  ;D

but yeah, its AZJeepClub.com/Forums
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on April 20, 2011, 01:42:42 PM
can you show me a post where comments is enabled?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on April 20, 2011, 01:46:10 PM
hang on a min lol your are talking about the comments in topics right?
or comments on the facebook connect page?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: azjeepclub on April 20, 2011, 01:54:22 PM
Comments in the FaceBook connect page - I will make you an admin if you would like... Are you using your FaceBook Avatar on the site? I guess that isnt showing through... I will have to work on that if it is my theme that is breaking it...
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on April 20, 2011, 01:57:12 PM
yeah it fb avatar it does show for me
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: azjeepclub on April 20, 2011, 02:00:43 PM
Got it - site was being blocked on my end, not a problem =) Works on another network just fine. Let me know if you need admin.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on April 20, 2011, 02:05:17 PM
befor you make me admin go into facebook admin and under social plugins/Comments Box Options
Number Comments To Show In comments box

if it is on zero chnage it to 5 or somthing
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: azjeepclub on April 20, 2011, 02:07:11 PM
doing that now -
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: azjeepclub on April 20, 2011, 02:11:58 PM
Number Comments To Show In comments box was at 3, set to 5 now
Number Comments To Show In unique comments box with topics was set to 0, set to 5 now

Still dont see the comments under FaceBook Connect main page, made you an admin...

Thanks for the world class support on this! You are awesome for caring so much!
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: azjeepclub on April 20, 2011, 02:12:33 PM
Also - backed up the DB of course!
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on April 20, 2011, 02:16:19 PM
right can you post up your FB_Connect.template.php pls
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: tianli on April 20, 2011, 02:19:12 PM
Great!

I've really been looking forward to this
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: azjeepclub on April 20, 2011, 02:21:41 PM
getting it now...
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: azjeepclub on April 20, 2011, 02:40:01 PM
Sorry for the wait, having to pull it down from my phone lol
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: azjeepclub on April 20, 2011, 02:56:22 PM
here it is =) - Pulled from the theme I am using
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Yngwiedis on April 20, 2011, 03:03:18 PM
I have a problem.

After the installation of new version of Facebook Connect i get this in my Ajax Chat Intergration popup page:
Undefined index:  show in /home/xxxxxxx/public_html/Sources/Subs.php on line 4653

I have to uninstall Facebook Connect for the moment.

Anybody know why i get this error ? The 2 mods are not compatible ?
But is working with the previous version of Facebook Connect.

Thank you...
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: azjeepclub on April 20, 2011, 03:05:22 PM
only have one FB connect installed - uninstall the old one, install the new one and it will keep your settings.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: azjeepclub on April 20, 2011, 03:06:42 PM
unless I have you wrong, what 2 mods are you talking about? the new version isnt so different from the old and worked fine for the most part in multiple themes on mine.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Yngwiedis on April 20, 2011, 03:10:51 PM
I uninstall the previous version of Facebook Connect before install the new one.
I am not so stupid.

2 Mods = Facebook Connect and Ajax Chat...
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: azjeepclub on April 20, 2011, 03:13:06 PM
you may have to install the ajax chat after the FB Connect, sorry for coming off the wrong way =) I work in IT so I get it a lot heheh

Have your tried uninstall ajax, install fb connect, install ajax? If so - did ajax come with any errors in the test install for your theme?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Yngwiedis on April 20, 2011, 03:17:41 PM
Wait then to uninstall and install the mods again.

I am using the default theme...
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: azjeepclub on April 20, 2011, 03:20:27 PM
if that doesnt help, you may want to have a look at your Subs.php on line 4653 to see what broke exactly...

I am always happy to help point in the right direction - but SA is obviously the man of the house heheheh
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Yngwiedis on April 20, 2011, 03:22:06 PM
this is my line 4653 of Subs.php

if (isset($context['menu_buttons'][$key]) && $context['menu_buttons'][$key]['show'] == true) {
and is part of another Mod called "Menu Order"

I want to clarify again that everything works fine with previous version of Facebook Connect...
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: azjeepclub on April 20, 2011, 03:28:00 PM
Quote from: Yngwiedis on April 20, 2011, 03:22:06 PM
this is my line 4653 of Subs.php

if (isset($context['menu_buttons'][$key]) && $context['menu_buttons'][$key]['show'] == true) {
and is part of another Mod called "Menu Order"

I want to clarify again that everything works fine with previous version of Facebook Connect...

Ok - you need to check your variables from that line to make sure they didnt get pushed down in your script somewhere... the error you are getting refers to the variable you are trying to use doesn't exist... so if it doesnt exist, it got moved in your script somewhere that it is no longer recognizing it as a set variable... Not too many to have to check there... I can look if you would like to upload it.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Yngwiedis on April 20, 2011, 03:28:53 PM
I uninstall both "Ajax Chat" and "Menu Order" mods.
Then i install "Facebook Connect", Ajax Chat" and "Menu Order" mods.
No luck... Same error...
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Yngwiedis on April 20, 2011, 03:31:12 PM
Quote from: azjeepclub on April 20, 2011, 03:28:00 PM
Quote from: Yngwiedis on April 20, 2011, 03:22:06 PM
this is my line 4653 of Subs.php

if (isset($context['menu_buttons'][$key]) && $context['menu_buttons'][$key]['show'] == true) {
and is part of another Mod called "Menu Order"

I want to clarify again that everything works fine with previous version of Facebook Connect...

Ok - you need to check your variables from that line to make sure they didnt get pushed down in your script somewhere... the error you are getting refers to the variable you are trying to use doesn't exist... so if it doesnt exist, it got moved in your script somewhere that it is no longer recognizing it as a set variable... Not too many to have to check there... I can look if you would like to upload it.

OK. Here is my Subs.php WIHOUT Facebook Connect installed...
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: azjeepclub on April 20, 2011, 03:45:17 PM
ok make sure this doesnt get moved or corrupt;

currently on line 4604

      $menu_buttons = array();
      foreach ($buttons as $act => $button)

See what happens WITH the mod installed.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Yngwiedis on April 20, 2011, 03:53:37 PM
After installation of Facebook Connect i get the same error on my Ajax Chat popup window:  Notice: Undefined index: show in /home/xxxxxxx/public_html/Sources/Subs.php on line 4653

The line 4604 on my Subs.php with the code you said  is still there.

Also if this give you any help, everything related to Ajax is not working after installation of Facebook Connect.
Quote, Ajax modify etc. Any ajax related function is not working.

I dont have any of this problems if i install the previous Facebook Connect version
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: azjeepclub on April 20, 2011, 04:00:46 PM
the "Show" variable must have moved - sorry about that didnt see that earlier. Find the 'show' variable where it is first declared and see where it went. This is what went wrong somewhere for sure...
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: azjeepclub on April 20, 2011, 04:02:52 PM
This is also why you wont be seeing any of those menu's as well... we fix that you are golden unless something else further down gets hit too...
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Yngwiedis on April 20, 2011, 04:04:07 PM
Sorry but i dont understand anything of what you said.

Where to search ? In what file ?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Yngwiedis on April 20, 2011, 04:04:58 PM
Quote from: azjeepclub on April 20, 2011, 04:02:52 PM
This is also why you wont be seeing any of those menu's as well... we fix that you are golden unless something else further down gets hit too...

I see the menus but are not working. For example you click on Quote in one post and the ajax function is loading forever...
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: azjeepclub on April 20, 2011, 04:11:47 PM
ok, in the subs.php - click the top, do a search for "show" without the quotes... you will see it somewhere with a $ in front of it and this is where it is being declared. Mark what line it is and what the first few lines look like afterwards before you install your FB mod. then once the FB mod is installed, do another search for the "show" and see what happened.

I didnt see the "show" in your post earlier, but the error is pointing to that variable no longer being defined (like the menu one we looked at earlier although that one checked out ok)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Yngwiedis on April 20, 2011, 04:17:35 PM
There is nothing with $show in Subs.php.

Also the only difference before and after Facebook Connect installation in Subs.php is this in line 4153:

$context['allow_admin'] = allowedTo(array('manage_facebook','admin_forum',......
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: azjeepclub on April 20, 2011, 04:18:31 PM
Quote from: SA™ on April 20, 2011, 02:16:19 PM
right can you post up your FB_Connect.template.php pls

Here ya go SA -
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: azjeepclub on April 20, 2011, 04:26:34 PM
show must be declared somewhere or you will be getting that error - I wish I could help further, but at least can tell you that what broke is your "show" variable is no longer being declared where it once was. Only other place I could think it would be is in your index.template.php somewhere. Perhaps SA will chime in on this oen too - at least now he will have more to work with to narrow it down...

He seems like a very very busy guy heheheh
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Yngwiedis on April 20, 2011, 04:27:11 PM
Quote from: azjeepclub on April 20, 2011, 04:18:31 PM
Quote from: SA™ on April 20, 2011, 02:16:19 PM
right can you post up your FB_Connect.template.php pls

Here ya go SA -


This is for me ?  I am confused...
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: azjeepclub on April 20, 2011, 04:37:31 PM
no sorry - he (SA) asked me for it earlier. Did you check your index.template.php for the "show" variable? (On the default themes index.template.php - there is one for every theme but only check default)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Yngwiedis on April 20, 2011, 05:42:19 PM
I am using the default theme.
I told you before.

There is no $show variable in the index.template.php
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: hotwheels on April 21, 2011, 03:29:44 PM
Is this mod going to be converted for 1.1.13? Currently, i am not able to upload it to my server because it says it isn't compatible.

thanks
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Yngwiedis on April 22, 2011, 06:27:18 AM
So i am the only one with problems in ajax functions after i install the latest version of the mod ?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on April 22, 2011, 01:12:16 PM
@azjeepclub
looks like you havent updated the mod properly that template is from an older version of the mod pls try complely uninstaling fb connet
then re download the mod and install it again

@Yngwiedis
there is no $show varible in this mod
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Yngwiedis on April 22, 2011, 01:18:58 PM
I know that there isnt any show variable in this mod.
But the problem is not that.

After i install the latest version of this mod i have problems in all the ajax related functions.
Can you help me with that ?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on April 22, 2011, 01:19:28 PM
like what problems?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Yngwiedis on April 22, 2011, 01:26:34 PM
Anything related to ajax is not working. Like Queue, quick modify etc...
I only see the Loading word and it stays there forever.

Everything is working fine with the previous version of the mod.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on April 22, 2011, 03:01:14 PM
aha i see the problem now
in sources/fb_conenct/facebookhooks.php

Code (find) Select

$context['template_layers'][] = 'fbook';


Code (replace) Select
if (!isset($_REQUEST['xml']))
   {
        $layers = $context['template_layers'];
        $context['template_layers'] = array();
        foreach ($layers as $layer)
        {
                $context['template_layers'][] = $layer;
                if ($layer == 'body')
                        $context['template_layers'][] = 'fbook';
        }
   }
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Yngwiedis on April 22, 2011, 03:48:08 PM
Ajax functions is working now but i am still getting this message in my Ajax Chat Intergration popup window:  Notice: Undefined index: show in /home/xxxxxxx/public_html/Sources/Subs.php on line 4654

Check my previous posts here where i am explaining the same problem.

I dont get that message with the previous version of Facebook Connect mod.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: azjeepclub on April 22, 2011, 04:46:28 PM
uninstalled, installed - uploaded index.template from theme "backnblack" - attached file to reply.

No comments in facebook connect main page - no share buttons (like buttons show up in posts though).
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on April 22, 2011, 06:05:55 PM
you still have an old template in your custom theme remove it you dont need to have it in you custom themes

FB_Connect.template.php
and if it there
FB_Connect_admin.template.php
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Yngwiedis on April 22, 2011, 06:09:48 PM
SA please help me to solve my problem too.

Thank you.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: azjeepclub on April 22, 2011, 07:33:30 PM
ok deleted those two files - connect is magically working - you are awesome SA! The "share" or "publish" dont work but I was mostly concerned about the comments page and that is working now. Appreciate the help out.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on April 22, 2011, 10:04:26 PM
Quote from: Yngwiedis on April 22, 2011, 06:09:48 PM
SA please help me to solve my problem too.

Thank you.

im looking but i cant replicate this problem wich makes it harder for me to find a fix
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Yngwiedis on April 22, 2011, 10:07:38 PM
Can i help you with anything so you can find whats wrong ?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on April 22, 2011, 10:15:54 PM
sure link me to your site with a temp usrr account pls
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Yngwiedis on April 22, 2011, 10:22:22 PM
OK.

You can login with username: testuser
password: testuser

www.vinilio.com

The whole site is in Greek.
So if you dont understand something tell me to put English as default language.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on April 22, 2011, 10:31:58 PM
Change your language to English for a bit and see if works... if it does, that meant the mod needs to be translated into your language.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on April 22, 2011, 10:36:44 PM
i cant see where to chnage the language?

lol sry spoogs i fault thay was Yngwiedis
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Yngwiedis on April 22, 2011, 10:38:08 PM
After change default language to English the error is still there...
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Yngwiedis on April 22, 2011, 11:13:02 PM
SA was very helpful and the problem is solved :)
It was a small compatibility issue between Facebook Connect mod and Menu Order mod.

Thank you very very much SA :)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on April 22, 2011, 11:16:59 PM
your welcome i updated the package and defined show on the menu tabs you coould reinstall ir just keep the fix i gave you on your site if you reinstall your have to undo the edit i gave you
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: henrik1782 on April 22, 2011, 11:22:58 PM
Hi...

Just upgraded from 285 to 292 and have some issues :)

I get this error

API Error Code: 100
API Error Description: Invalid parameter
Error Message: invalid permissions: user_groupsuser_events

But it seems that users are logged in anyway.

I had the Like this counter to the right of site logo but it is gone compleatly and I cant find options to change to change placement. Activation have no effect.

Facebook connect is a drop down menu now and there is no option to put it over the Avatar.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on April 22, 2011, 11:28:28 PM
those options are gone to save template edits

but you can place
show_facebook_like_button('www.test.com','recommend','button_count');
where you want to like button to show
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: henrik1782 on April 22, 2011, 11:31:29 PM
Thanks...

Have you any idea about the api error?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on April 22, 2011, 11:42:44 PM
yup sources/fb_connect/facebookhooks.php

find
$face = ' <fb:login-button v="2" size="large" autologoutlink="false" perms="user_photos,user_groupsuser_events,user_notes,email,user_birthday,status_update,publish_stream,user_photos,create_event" onlogin="window.location=\''. $scripturl. '?action=facebook;area=connect;step\'">'.$txt['fb_login'].'</fb:login-button>';

replace with with

$face = ' <fb:login-button v="2" size="large" autologoutlink="false" perms="user_photos,user_groups,user_events,user_notes,email,user_birthday,status_update,publish_stream,user_photos,create_event" onlogin="window.location=\''. $scripturl. '?action=facebook;area=connect;step\'">'.$txt['fb_login'].'</fb:login-button>';
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: henrik1782 on April 22, 2011, 11:46:55 PM
Nice ...

thanks a lot.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Perspective on April 24, 2011, 04:17:14 AM
So.. I've installed this one and it was succesfull, but I can't find the admin options panel. Anyone would point me to it by giving the link ?

LATER EDIT:

Ummm.. found it when I changed the language to English.
Even so... couldn't see the Facebook Login button.. I guess it's not working for other themes.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on April 24, 2011, 01:54:42 PM
it on the login and register pages
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Epcot on April 24, 2011, 03:22:43 PM
I installed the "SA Facebook Connect Integration" MOD in RC5 without problem.

Now, I try to connect, showme an error message.

An error occurred. Please try again later. (I can not insert the userid and password, first showme the error message).

NOTE: I attach a screenshot of the error.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Epcot on April 24, 2011, 03:23:14 PM
I installed the "SA Facebook Connect Integration" MOD in RC5 without problem.

Now, I try to connect, showme an error message.

An error occurred. Please try again later. (I can not insert the userid and password, first showme the error message).

NOTE: I attach a screenshot of the error.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on April 24, 2011, 04:59:20 PM
Quote from: Epcot on April 24, 2011, 03:23:14 PM
I installed the "SA Facebook Connect Integration" MOD in RC5 without problem.

Now, I try to connect, showme an error message.

An error occurred. Please try again later. (I can not insert the userid and password, first showme the error message).

NOTE: I attach a screenshot of the error.
http://www.sa-mods.info/index.php?topic=734.0
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: poetra on April 26, 2011, 01:04:07 PM
Guys,....

I need a help here..
What versions of this mod that support with SMF 2.0 RC3?

Really need this,.. thanks
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Arantor on April 26, 2011, 01:04:34 PM
Quote from: poetra on April 26, 2011, 01:04:07 PM
Guys,....

I need a help here..
What versions of this mod that support with SMF 2.0 RC3?

Really need this,.. thanks

Why don't you upgrade to a version of SMF without multiple security holes?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: poetra on April 26, 2011, 01:13:15 PM
I'd like to,.. but theres still some mod that not support with RC5 from my RC3 version.

I'm allready try to upgrade on my site now, but still waiting for GPBP mod for RC5 versions.
Any idea of that??
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on April 26, 2011, 01:36:54 PM
this mod is for rc5 only
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: poetra on April 26, 2011, 01:49:31 PM
oww,.. too bad.  :-[

Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on April 26, 2011, 01:54:45 PM
youd be far better of upgrading smf
some mod will still work with newer versions with version emulate
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: poetra on April 26, 2011, 02:52:11 PM
Okay,....  :D

thanks dude,.. i'll try forst on my localhost
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Leemy on April 26, 2011, 04:44:47 PM
When you say you can post topics to fb, does it post from admin to the app thats in fb? or are there like/share buttons for all users on all topics


PS - thanks for the mod. more screenshots would be nice to understand what we're selecting/installing
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: poetra on April 27, 2011, 05:49:09 AM
@Leemy

Its like share button on FB, and you can sett to what topic that you wanna share.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Biology Forums on April 30, 2011, 02:19:54 PM
I am just wondering if anyone can help me adjust the look of this on my frontpage. Rather than have a whole row dedicated to the Facebook Connect link, could I put it underneath the Show be replies link?

Someone please help :(
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on May 01, 2011, 12:37:12 PM
post up your index.template.php pls
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Biology Forums on May 01, 2011, 02:17:22 PM
Quote from: SA™ on May 01, 2011, 12:37:12 PM
post up your index.template.php pls

Thank you so much...

It's for the default theme, 1.1.13. :)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on May 01, 2011, 02:34:51 PM
try this
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: MarkoKg on May 01, 2011, 04:46:02 PM
I wonder if i can put two buttons for fb on my forum?
I have one button in floating bar, but i would like to put one near search field at top forum, but i dont know how couse if i just copy code that i already have, i have another button but i cant style it different then button that i already have (that button have padding seted in style).

So question is - can i have another button with different style, or can i just put some text link that will do the same as default fb button for register/login.

smf version: 2.0 RC5
Regards.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Biology Forums on May 01, 2011, 05:55:10 PM
Quote from: SA™ on May 01, 2011, 02:34:51 PM
try this

Looks great! But, how can I put it on the next line down?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Logue on May 02, 2011, 04:27:54 AM
I've made Japanese language file.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: guddone on May 02, 2011, 10:12:03 AM
hi spoogs here is my index.template.php file for the theme inferno from DS .
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on May 04, 2011, 02:34:52 PM
whats that for if you upgrade to the last version you wont need todo index.template edits
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on May 04, 2011, 05:27:17 PM
you can if you are the developer of the app on facebook, you must also be logged into facebook to see the option to delete. I know the comments can be deleted, dont remember if the stream can be but I dont see any reason it cannot be.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on May 05, 2011, 01:35:43 PM
you cant delete from t live stream you can however change you live stream box xid and that will set a new channel so you have a fresh live stream box

admin>SA Facebook >social plugins>your live stram box xid
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Biology Forums on May 05, 2011, 05:03:13 PM
Hey,

I noticed that after installing this mod, the Facebook "Like" Button which I had embedded in my display.template.php file doesn't show up anymore. How do I fix this?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ManojA on May 05, 2011, 09:03:50 PM
Hey Nice Mod. but after installing i get errors in my forum "
Fatal error: Cannot redeclare show_facebook() (previously declared in /home/manoj699/public_html/sportzweb.cz.cc/Sources/Load.php(1777) : eval()'d code:62) in /home/manoj699/public_html/sportzweb.cz.cc/Sources/Load.php(1777) : eval()'d code on line 92"

i cannot access my forum now. what to do? temporarily delete this mod?

And on click integrate forum account with facebook. i get the warning from facebook you need to change your password. Is this normal?

BTW best of luck to improve this mod.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ManojA on May 05, 2011, 09:39:31 PM
OMG! pls help... cant access anything in the forum...the above error is shown in every page..  :(
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on May 05, 2011, 10:02:48 PM
First of all be patient, no one is sitting around by their computers waiting for the next emergency.
It seems like you installed the mod twice... you can either go to the mod's page and parse the mod for whatever version on SMF you're using and remove either the duplicate code or all of the mods code... or... you can grab the large uprade package for whatever version of SMF you're using and overwrite the files (if you dont have too many mods installed this would be the easiest way)

Manual Installation of Mods (http://docs.simplemachines.org/index.php?topic=402.0)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: mashby on May 05, 2011, 10:20:43 PM
Also, creating topics in normal 1.1.x issues (http://www.simplemachines.org/community/index.php?topic=433006.0) as well as here can be rather difficult to support/follow. Less is more.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on May 05, 2011, 10:32:56 PM
Aye 3 posts within an hour... oh well at least they're being helped now.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on May 05, 2011, 10:52:33 PM
show_facebook function is in subs.php twice remove one of them
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ManojA on May 06, 2011, 12:39:23 AM
Ok Guys! Sorry for that :-[
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: 1matters on May 07, 2011, 12:27:18 PM
hey all,

I installed the facebook connect mod for SMF RC5 but when i then go to the forum, it has lost the default theme (curve) and functionality.  this is what i mean: cant post external links, so please visit 1matters.org/1forum to see what i mean.

i checked this forum and did not see this particular error.  any help is very very appreciated. seriously.  totally appreciated. (FYI, most of us recognize and appreciate your gift of time to help others.)

thanks.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on May 07, 2011, 02:07:53 PM
hmm anything in you error log?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: 1matters on May 08, 2011, 08:41:06 AM
as soon as i could not find the error logs i recognized i am too newbie for this.  a friend is good at php, gonna have her get into this. thank you for the direction to immediately recognize my limitation, lol. happy mothers day to all. 
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Dreko on May 10, 2011, 02:40:33 PM
How do I fix this helps

Como soluciono esto del facebook Conect

(http://i56.tinypic.com/25zs3tt.jpg)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on May 10, 2011, 03:27:55 PM
have you created an application? and got your api keys?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: HaCCaBi on May 10, 2011, 05:27:08 PM
the Pages link does not work
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ~DS~ on May 10, 2011, 05:34:29 PM
Quote from: HaCCaBi on May 10, 2011, 05:27:08 PM
the Pages link does not work
Yeah, already reported. Thanks. :)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Dreko on May 10, 2011, 07:09:19 PM
Quote from: SA™ on May 10, 2011, 03:27:55 PM
have you created an application? and got your api keys?

Mr. and should not create it and that should set
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Biology Forums on May 13, 2011, 11:42:29 AM
How could you configure this so that people can only signup using their Facebook account?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on May 13, 2011, 11:45:44 AM
The options are in the mod's settings
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: hotwheels on May 15, 2011, 11:17:43 AM
Are there any of these SA connect mods for 1.1.3?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on May 15, 2011, 11:32:05 AM
you can try the version 0.2smf11x (no guarantee it will work tho)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Biology Forums on May 15, 2011, 01:30:52 PM
Quote from: Spoogs on May 13, 2011, 11:45:44 AM
The options are in the mod's settings

That option is not available :o
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on May 15, 2011, 01:52:05 PM
I take it you're using smf 1.1x then, that option is only available for smf 2.0 users
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Biology Forums on May 15, 2011, 02:32:46 PM
Quote from: Spoogs on May 15, 2011, 01:52:05 PM
I take it you're using smf 1.1x then, that option is only available for smf 2.0 users

Yeah, what should I do?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on May 15, 2011, 02:36:18 PM
Besides, upgrading to smf 2.0 I dont know
The 1.1x version will not be receiving anymore updates as far as I know. Maybe the code can be backported to 1.1 but I have no idea on that either (never used 1.1 and have no plans to figure out anything about it... maybe SA will see this and can say whether the code can be backported or not)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Biology Forums on May 15, 2011, 03:16:06 PM
I would like to convert to 2.x, but I know I'm only setting myself up for failure, way too established to do so.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on May 15, 2011, 05:29:14 PM
Quotemaybe SA will see this and can say whether the code can be backported or not
it cant

smf 1x version will be dropped when 2 goes gold anyway
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: V@der on May 16, 2011, 02:39:38 AM
I use SA FB connect mod for about six months, but today I received following message from Facebook:
Quote
Dear Developer of ####,

Our automated systems have detected that you may be inadvertently allowing authentication data to be passed to 3rd parties. Allowing user ids and access tokens to be passed to 3rd parties, even inadvertently, could allow these 3rd parties to access the data the user made available to your site. This violates our policies and undermines user trust in your site and Facebook Platform.

In every case that we have examined, this information is passed via the HTTP Referer Header by the user's browser. This can happen when using our legacy authentication system and including <iframe>, <img> or <script> content from 3rd parties in the page that receives authentication data from Facebook. Our legacy mechanism passes authentication information in the URL query string which, if handled incorrectly, can be passed to 3rd parties by the browser. Our current OAuth 2.0 authentication system, released over a year ago, passes this information in the URL fragment, which is not passed to 3rd parties by the browser.

Please ensure that you are not allowing this data to be passed immediately. Accessing your site as a test user while running a HTTP proxy/monitor like Charles or Fiddler is the best way to determine if you are allowing this information to be passed. If you discover the issue, you can do one of two things:

1. Migrate your site to use our OAuth 2.0 authentication system. We are requiring all apps and sites to update to this mechanism by Sept. 1, 2011. Migrating now will address this issue and ensure that you are one of the first to meet the deadline. For more details, please see our Authentication Guide.

2. Create and use an interstitial page to remove the authentication data before redirecting to your page with 3rd party content. This approach is used by many of our largest developers today (although they are all migrating to OAuth 2.0 shortly). This is a simple and straightforwardchange that should have minimal impact on your site. For more details on this approach, see our Legacy Connect Auth doc.

Because of the importance of ensuring user trust and privacy, we are asking you to complete one of the above steps in the next 48 hours. If you fail to do so, your site may be subject to one of the enforcement actions outlined in our policies.

If you have any questions or believe you have received this message in error, please contact us.
Facebook Developer Relations
What's wrong on my side? Is there any idea how this problem could be fixed? I use SMF 1.1.11 and made no changes in mod since it's installation.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on May 16, 2011, 04:00:02 AM
probaly cos the smf1 version still uses the old rest api lib
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: V@der on May 16, 2011, 05:45:02 AM
Could I fix this? I suppose I should replace FB php-api files by new ones?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: netalberto on May 16, 2011, 06:15:09 AM
I received it too from facebook... on my site... Could someone help us? Or realese a new version of this mode?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Biology Forums on May 16, 2011, 11:58:28 AM
Quote from: netalberto on May 16, 2011, 06:15:09 AM
I received it too from facebook... on my site... Could someone help us? Or realese a new version of this mode?

Likewise, very strange.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on May 16, 2011, 01:49:51 PM
and you guys are all on smf1?

Quote from: SA™ on May 15, 2011, 05:29:14 PM
smf 1x version will be dropped when 2 goes gold anyway
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: V@der on May 16, 2011, 02:06:41 PM
Many webmasters use SMF 1.1.x since migration to 2.0 isn't trivial proccess.

So, what about initial problem? Can we fix it easily?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on May 16, 2011, 02:15:15 PM
well  to be honest no it not an easy fix there quite a bit of work involved to update the api im just not interested in smf1 plus i never developed the smf1 version someone else did then abandond it hence why it hasent been upddated in a while
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ChrisSheppard on May 16, 2011, 03:42:55 PM
Hi, we got the same message, we are using 2.0RC3, with its associated FB connect plugin (it was all from about a year ago or so, I believe; I can get more info if necessary, this is just off the top of my head.)  We investigated and can't see where it is leaking info; not sure what fb is using to detect this.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: netalberto on May 16, 2011, 04:47:37 PM
If I don't do nothing to change it, what can happen? Nothing?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: hotwheels on May 16, 2011, 08:06:58 PM
Quote from: Spoogs on May 15, 2011, 11:32:05 AM
you can try the version 0.2smf11x (no guarantee it will work tho)
It doesn't work, gives me a template error while it tries to add itself........From further reading it appears there will be no facebook connect for 1.1.3  :'( I was really looking forward to being able to have facebook friends login to the site without having to go through an entire different registration process. Thanks for the reply.

Doug
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: hotwheels on May 16, 2011, 08:11:56 PM
This is the error i get
Quote./Themes/default/index.template.php    Test failed
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on May 16, 2011, 08:14:49 PM
Manual Installation of Mods (http://docs.simplemachines.org/index.php?topic=402.0)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: gafai on May 17, 2011, 12:45:35 PM
Quote from: SA™ on May 16, 2011, 02:15:15 PM
well  to be honest no it not an easy fix there quite a bit of work involved to update the api im just not interested in smf1 plus i never developed the smf1 version someone else did then abandond it hence why it hasent been upddated in a while
same problem as V@der

Can somebody rewrite code of extension to new Oauth2 ?
https://developers.facebook.com/docs/authentication/


a I dont know where are changes detailed...
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: netalberto on May 17, 2011, 03:41:27 PM
Yes It's a problem of a lot people sa facebook connect.. :(
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Biology Forums on May 17, 2011, 06:32:36 PM
I find that ever since I installed this mod, I cannot embed a Facebook "like" button in my display.template.php file. What could be causing this not to show up?

Like I embed the code in the apprepriate location, but it just refuses to show up when I load a page :( Please help.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on May 18, 2011, 01:36:02 AM
the like button isnt compatable with the old facebook api

@ all the people who have had an email from facebook i have updated the api and it now uses oauth from http://developers.facebook.com/docs/authentication/

i will try to realse this in a few days after more testing
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ~DS~ on May 18, 2011, 06:50:14 AM
Quote from: HaCCaBi on May 10, 2011, 05:27:08 PM
the Pages link does not work
Can you please tell, what is the privacy setting on FB? I believe this is related to the Pages being private somehow and you are not the only one with this issue. I am also having trouble having Pages to show.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Biology Forums on May 18, 2011, 12:44:06 PM
Quote from: SA™ on May 18, 2011, 01:36:02 AM
the like button isnt compatable with the old facebook api

Can you please further explain this, I really want that like button embedded; it used to bring a lot of traffic!
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on May 18, 2011, 12:54:00 PM
your on smf1 therefor the api in that version of the mod isnt compatable with the newer fb tags ie < fb:like>

if you want the like button that bad update to smf2 or sacrifise fb connect for the like button
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: lutador on May 20, 2011, 10:57:06 AM
I've been able to create a FB app and have been able to get the mod installed. However, when i click the link to link my accounts I get the following error "API Error Code: 191
API Error Description: The specified URL is not owned by the application
Error Message: redirect_uri is not owned by the application."

This looks like an easy one but I have no clue. Any thoughts on what I am missing?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on May 20, 2011, 11:04:41 AM
have you entered the necessary information in the mod's settings.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: lutador on May 20, 2011, 11:14:39 AM
Quote from: Spoogs on May 20, 2011, 11:04:41 AM
have you entered the necessary information in the mod's settings.

I'm a little unsure of what URL to use in the FB app configuration for the "canvas page" "canvas url". It is blank right now. Maybe thats the reason? What should be in those fields?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on May 20, 2011, 11:22:37 AM
http://www.sa-mods.info/index.php?topic=734.0
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: lutador on May 20, 2011, 12:29:04 PM
Quote from: Spoogs on May 20, 2011, 11:22:37 AM
http://www.sa-mods.info/index.php?topic=734.0
I was able to get the app setup correctly, however, when i attempt to "share" a thread on FB, The link just shows the site "login" rather than the actual thread topic. This happens only half the time. Is there a board setting I'm missing or something?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on May 20, 2011, 12:31:24 PM
the board must be accessible to guests otherwise that will happen
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: lutador on May 20, 2011, 12:52:59 PM
Quote from: Spoogs on May 20, 2011, 12:31:24 PM
the board must be accessible to guests otherwise that will happen
I changed board permissions for all boards to allow guests. But I see I am still getting the login page when sharing to FB. Is there something else i am missing?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on May 20, 2011, 12:57:13 PM
I'm not sure whats causing that then... it's working as intended for me and only shows like that on boards guests cannot access.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: eric1234 on May 21, 2011, 11:20:50 AM
The facebook intergration button on top of the log in user name and password bar , kind of weird and ugly. Any idea how can i fix it?

My forum (http://www.anixekai.com/forum)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on May 26, 2011, 05:02:37 PM
rc6 realsed

Quoteremoved share feature like now does the same thing as share used to
updated the comments box feature now has colour scemes to choose from light/dark
http://developers.facebook.com/blog/post/490
added master disable option via cor features
chnaged fb;login tags now use js like the first version did the button looks better
freinds display now show more freinds
fixed like button function
fixed undefined var face
ficed undefined var page
fixed alignment of social plugin tab
fixed missin core features image
updated language strings thanks dismal shadow
added pre install php version check
added error skip check to core theme edits
fixed uninstall file not found issue
fb profile option still showed if mod was in mantenance mode
fixed fb register text showing if mod in mantenance mode
fixed maintenance template
removed profile badge stuff
added redirect to core feature after instsal
sync and unsync is now a on click process unless you have to loginto fb
fixed Misleading texts
fixed double actions in the menu
fixed Undefined index: show_fb_like_button
fixed Undefined index: show_fb_com
fixed issue with tags in site slogan
combined sevaral functions that did the same this to one function
updated the facebook api
removed yet more code edits in favour of hooks
fixed like buton not showing
fixed logging in and syncing issues

further more i have started coding 2.0 version of the mod and im looking for feed back on what should be added or what should be removed the 2.0 version is a compleate rewrite and an sdk update i had to re write it cos the new sdk didnt play well with the current code base
http://www.sa-mods.info/index.php?topic=1181.0
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Yngwiedis on May 26, 2011, 05:52:12 PM
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
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on May 26, 2011, 06:14:12 PM
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
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Yngwiedis on May 26, 2011, 06:25:46 PM
Nope.... Same error...
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on May 26, 2011, 06:31:23 PM
hold on let me install ajax chat
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Yngwiedis on May 26, 2011, 06:33:30 PM
OK...
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on May 26, 2011, 07:28:27 PM
try it now
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Yngwiedis on May 26, 2011, 07:44:58 PM
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.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on May 26, 2011, 10:18:22 PM
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();
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Yngwiedis on May 26, 2011, 11:16:01 PM
Now is working fine.

Thank you very very much.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: netalberto on May 26, 2011, 11:16:30 PM
@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
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Yngwiedis on May 26, 2011, 11:35:54 PM
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
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: 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');

and no you cant open send in a full window
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: 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 ;
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: 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.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on May 27, 2011, 01:30:24 AM
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
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Yngwiedis on May 27, 2011, 01:45:03 AM
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...

Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on May 27, 2011, 01:50:16 AM
aha i see thats a theme issue
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Yngwiedis on May 27, 2011, 02:15:09 AM
and ?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on May 27, 2011, 02:21:31 AM
ask the theme author how to make that area bigger?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Yngwiedis on May 27, 2011, 02:30:45 AM
ohhh... OK. Sorry for not understand that before.

Thank you very very much.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Bombat on May 27, 2011, 05:33:32 AM
i've tried to uninstall previous version, i'm planning to install the newest one. but i found this error message :

Execute Modification ./SSI.php Test failed

what should i do?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on May 28, 2011, 12:04:55 PM
id wait for now theres a few issues in the new version of the mod :/

@all the people who upgraded and are having issues i have added back rc5 to the mod site for now if you have problems with the new version pls reinstall rc5

i should be able to take a better look at rc6 soon when im not on call although i may put all my effort into the 2 version of the mod instead as the current build will not work at all come september this is due to facebook realsing version 3 of there php sdk
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: roonekoos on May 29, 2011, 04:15:32 AM
I installed the mod without errors, I can't find anything from the mod back in my admin panel and nothing show on the index screen above the avatar.

I cleaned my cache.

using 2.0RC4

Please help.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: [Lucien] on May 29, 2011, 05:24:32 AM
Quote from: roonekoos on May 29, 2011, 04:15:32 AM
I installed the mod without errors, I can't find anything from the mod back in my admin panel and nothing show on the index screen above the avatar.

I cleaned my cache.

using 2.0RC4

Please help.

Go to admin panel --> configuration --> core features --> enable it there :)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: roonekoos on May 30, 2011, 12:32:11 AM
Quote from: [Lucien] on May 29, 2011, 05:24:32 AM
Quote from: roonekoos on May 29, 2011, 04:15:32 AM
I installed the mod without errors, I can't find anything from the mod back in my admin panel and nothing show on the index screen above the avatar.

I cleaned my cache.

using 2.0RC4

Please help.

Go to admin panel --> configuration --> core features --> enable it there :)

I checked but it is not there eigther :(
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: netalberto on May 30, 2011, 03:57:55 PM
@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
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on May 31, 2011, 02:28:31 PM
@roonekoos
it wont work on rc4 cos it uses hooks and some aint in rc4

@netalberto
it a proxy email if they deny allowing email then it defaults to the old proxy service
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Mihac™ on June 01, 2011, 02:52:56 AM
how to do this when you register through Facebook that are automatically in the profile is loaded avatar with Facebook, Facebook profile URL, place and gender
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: hotwheels on June 01, 2011, 09:14:31 AM
SA, i have a quick question. When i click on the facebook share button, it is not locating or allowing me to choose any images/attachments. How can i make the share button allow me to choose or locate attachments and avatars to share on facebook.

My website is a car enthusiasts website and when a person uploads attachments (pic's) of their rides, click the share button, it isn't allowing them to choose an image to share. I have my site set up to turn attachment pics into thumbnails. So i would think the share button should have no problem finding the thumbnails.

Any ideas?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on June 01, 2011, 09:19:58 AM
you have todo this with meta tags
http://developers.facebook.com/docs/opengraph/

specifully
<meta property="og:image" content="http://ia.media-imdb.com/rock.jpg"/>

but you have figar out how to get the attachment image i cant realy look to close right now asi got to go out in a wee bit
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: hotwheels on June 01, 2011, 08:47:26 PM
doesn't that set up only allow you to choose a single image that will always be shown? Currently with the facebook sharer.php, ,if you post an image via , and click share, it will find that image and allow you to choose from other pictures also in the topic that is using the img tag.

but if you upload an image via smf's attachments option, the share.php can't and doesn't locate the attachment. I know on my vbulletin website, it locates both img tags and attachment tags......So because i have seen it work within vbulletin, i know it can be done, i am just not totally sure how to code with smf yet..

Thanks for the quick reply my friend, i really appreciate it....
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on June 02, 2011, 01:26:47 PM
hmm the like button works a little different to the share buttton

but yes that would allow a single image
i know what you wanted tho just im on limited time right now
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: madfitz on June 04, 2011, 05:40:54 AM
Hi. I've just installed this mod - SA FBConnect v1.0 RC6 Rev300 on SMF 2.0 RC5  - and I'm seeing these two errors.

The first (template) error:
h++p://mydomain/forum/index.php?scheduled=task;ts=1307145600
Unable to load the 'WIRELESS_PROTOCOL_above' template.

And the second (critical) error:

h++p://mydomain/forum/index.php?scheduled=task;ts=1307145600
The database value you're trying to insert does not exist: member_id
Function: faceBook_USettings
File: /home/rocksoft/public_html/mydomain/forum/Sources/FB_Connect/facebookHooks.php
Line: 572

The lines in question:

558: function faceBook_USettings($id,$row,$where) {
559:
560: global $smcFunc;
561:
562: $results = $smcFunc['db_query']('', '
563: SELECT m.{raw:row}
564: FROM {db_prefix}members AS m
565: WHERE m.{raw:where} = {string:member_id}
566: LIMIT 1',
567: array(
568: 'member_id' => $id,
569: 'row' => $row,
570: 'where' => $where
571: )
==>572: );
573: $temp = $smcFunc['db_fetch_assoc']($results);
574: $smcFunc['db_free_result']($results);
575:
576: return $temp[$row];


Any idea what I need to do?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ARG01 on June 04, 2011, 12:23:49 PM
FB Connection Integration (SA_FBConnect_1.0_RC6_rev300.zip)

SMF RC5

I did a lot of reading and tried everything but keep getting Test Failed

32.    Execute Modification    ./Sources/Subs.php    Test failed

and

1.    Replace    ./Sources/Subs.php    Test failed

Any ideas?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on June 04, 2011, 11:42:39 PM
go ahead and install it them make the edit to that file

Manual Installation of Mods (http://docs.simplemachines.org/index.php?topic=402.0)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: madfitz on June 05, 2011, 05:26:16 AM
(reposting this because you seem to have missed it  ;))
Hi. I've just installed this mod - SA FBConnect v1.0 RC6 Rev300 on SMF 2.0 RC5  - and I'm seeing these two errors.

The first (template) error:
h++p://mydomain/forum/index.php?scheduled=task;ts=1307145600
Unable to load the 'WIRELESS_PROTOCOL_above' template.

And the second (critical) error:

h++p://mydomain/forum/index.php?scheduled=task;ts=1307145600
The database value you're trying to insert does not exist: member_id
Function: faceBook_USettings
File: /home/rocksoft/public_html/mydomain/forum/Sources/FB_Connect/facebookHooks.php
Line: 572

The lines in question:

558: function faceBook_USettings($id,$row,$where) {
559:
560: global $smcFunc;
561:
562: $results = $smcFunc['db_query']('', '
563: SELECT m.{raw:row}
564: FROM {db_prefix}members AS m
565: WHERE m.{raw:where} = {string:member_id}
566: LIMIT 1',
567: array(
568: 'member_id' => $id,
569: 'row' => $row,
570: 'where' => $where
571: )
==>572: );
573: $temp = $smcFunc['db_fetch_assoc']($results);
574: $smcFunc['db_free_result']($results);
575:
576: return $temp[$row];


Any idea what I need to do?
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: tcarlisle on June 05, 2011, 11:56:59 AM
Good day!

I am using a fresh install of smf 2.0rc5 and SA FBConnect v1.0 RC6 Rev300, and what I am finding is that installing the FBConnect brekas the normal registration such that the verification image (captcha) is not displayed. This makes it impossible for people to register without registering through facebook, and I would like regular registration to work.

Has anyone seen this before, or can advise?

Thank you!
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: SA™ on June 05, 2011, 02:21:14 PM
@madfitz
can you try the rc5 version pls

@tcarlisle
not seeing this issue on my local test site can you also try rc5 version pls
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: madfitz on June 05, 2011, 05:08:54 PM
Quote from: SA™ on June 05, 2011, 02:21:14 PM
@madfitz
can you try the rc5 version pls

@tcarlisle
not seeing this issue on my local test site can you also try rc5 version pls

OK, I'm now using SA FBConnect 1.0 RC5 rev292 and firstly I can confirm it fixes tcarlisle missing captcha images because mine were missing too, but I didn't associate that problem with this mod.

I'm not seeing those error messages in the log yet but I'm not seeing any way to register with a FB account. On the register page all I get is plain text reading "Connect with Facebook" but no links (or graphic buttons) to FB.

When I login I see "Integrate with Facebook" but that just leads to a plain text message "You are not connected with Facebook!" and "Connect Now" but, again this is not a working link or a button.

Any ideas?

BTW you have several typos in the language file  ;)
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: ~DS~ on June 05, 2011, 05:23:29 PM
QuoteBTW you have several typos in the language file

This is already fixed in either rev 299/300 but won't be pushed as of yet. We are working on 2.0
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: madfitz on June 05, 2011, 05:39:14 PM
Quote from: ~DS~ on June 05, 2011, 05:23:29 PM
QuoteBTW you have several typos in the language file

This is already fixed in either rev 299/300 but won't be pushed as of yet. We are working on 2.0
Typos don't really bother me as I can always edit the file.

What does concern me is this:

Quote from: madfitz on June 05, 2011, 05:08:54 PM
Quote from: SA™ on June 05, 2011, 02:21:14 PM
I'm not seeing those error messages in the log yet but I'm not seeing any way to register with a FB account. On the register page all I get is plain text reading "Connect with Facebook" but no links (or graphic buttons) to FB.

When I login I see "Integrate with Facebook" but that just leads to a plain text message "You are not connected with Facebook!" and "Connect Now" but, again this is not a working link or a button.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: tcarlisle on June 06, 2011, 06:06:09 PM
Yes, I downgraded to SA FBConnect 1.0 RC5 and got the capthca images back, but now it seems the facebook comments at the bottom of pages isn't working. It has the banner and says facebook coments, but there is nothing else except a blank text box you can't edit.

Facebook login works though....
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: madfitz on June 07, 2011, 05:26:43 AM
Quote from: tcarlisle on June 06, 2011, 06:06:09 PM
Facebook login works though....

Mine doesn't :s I've now uninstalled it until I find a way to get it working - or somebody codes an alternative.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: tabletsdroid on June 13, 2011, 07:12:43 PM
- Upgraded smf 2.0 gold. Facebook connect '1.0 RC6 Rev300' no longer functional, does not even appear in the admin menu.

- Downgraded to 'SA FBConnect 1.0 RC5 rev292' - partly functional now but for me the crucial component is missing - the 'connect with facebook' button under the log in area, need to get that back
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on June 13, 2011, 08:32:22 PM
A newer version compatible with 2.0 will be released within the next few days

Quotethe crucial component is missing - the 'connect with facebook' button under the log in area, need to get that back
This was dealt with today, after some testing we should have the new version released before too long.
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: tabletsdroid on June 13, 2011, 09:10:14 PM
Quote from: Spoogs on June 13, 2011, 08:32:22 PM

QuoteThis was dealt with today, after some testing we should have the new version released before too long.

excellent news, you guys work fast!
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: quantum503 on June 14, 2011, 04:52:30 AM
Hi

I'm new to this and am trying to install this mod, I copied the files to the server and ran installScript.php but I get the error below:

Notice: Undefined index: fb_title123 in ..\Sources\FB_Connect\facebookHooks.php on line 307 Notice: Undefined index: fb_admin ..\Sources\FB_Connect\facebookHooks.php on line 344

Am I missing something here?

Thanks
Title: Re: SA Facebook Connect Integration [now supports smf1 and smf2]
Post by: Spoogs on June 14, 2011, 07:41:26 AM
Quote from: quantum503 on June 14, 2011, 04:52:30 AM
Hi

I'm new to this and am trying to install this mod, I copied the files to the server and ran installScript.php but I get the error below:

Notice: Undefined index: fb_title123 in ..\Sources\FB_Connect\facebookHooks.php on line 307 Notice: Undefined index: fb_admin ..\Sources\FB_Connect\facebookHooks.php on line 344

Am I missing something here?

Thanks
Package Manager (http://docs.simplemachines.org/index.php?board=49.0;sort=subject)
Title: Re: SA Facebook Integration
Post by: SA™ on June 14, 2011, 03:04:49 PM
2.0 version realsed
Warning: You must create an application on facebook to use this modification (http://www.sa-mods.info/index.php?topic=734.0)
For information on creating your application please read ==> here (http://www.sa-mods.info/index.php?topic=734.0) <==.



Change Log:
14 June, 2011 [2.0 Initial Release]
- Register with facebook (new members)
- Integrate forum account with facebook (existing members)
- Disassociate forum account from facebook
- Update your Status on facebook
- Import your facebook avatar
- Invite your facebook friends
- Like/Recommend your site to friends on facebook
- Share, Like, and Publish topics to your facebook wall
- Facebook Comment Box
- Facebook Fan Page
- Friends... View all your facebook friends
             
Left blank intentionally:
SMF Features
- ACP - this mod has its own admin control panel for easy use
- Supports Standard and Advanced Profile Fields [SMF 2.0 only]
- Facebook admin logs (see all register/Integrated fb users)
- Membergroup (default membergroup for new facebook registered members)
- Buddy list integration (users can sync their forum and fb friends)

if you  was using the older versions of the mod affter installing goto facebook admin and unsync all current facebook users this is reqired for the mod to function properly
Title: Re: SA Facebook Integration
Post by: Spoogs on June 14, 2011, 03:07:42 PM
Also note that SMF 1.1x is no longer supported.
Title: Re: SA Facebook Integration
Post by: Raths Rants on June 15, 2011, 10:57:01 AM
Just upgraded to the new version of SA Facebook Connect and I am getting this error message.

My site is down atm. Seeing if there is a quick fix before I disable the addons.

I uninstalled and removed the old version before installing the new updated version of SA Facebook.

QuoteFatal error: Cannot redeclare facebook_array_insert() (previously declared in /public_html/site/Sources/FB_Connect/facebookHooks.php:6) in /public_html/site/Sources/Facebook/FacebookHooks.php on line 53

Thanks in advance.

I am using SMF 2.0 Stable with SimplePortal.
Title: Re: SA Facebook Integration
Post by: madfitz on June 15, 2011, 11:09:42 AM
I've installed the latest version for 2.0 and signed in with my FB account. I see the 'publish' button on every post in a topic but when I click it I'm simply returned to the top of the page - there is no suggestion that any code is actually being executed and, when I go to my FB Wall, nothing has been published.

No errors logged (not using SimplePortal like the previous post either).

Also, I have enabled 'Enable Like Topic plugin' and 'Enable like box Plugin' (not really sure what that second one is tbh) but I don't see any 'Like' buttons anywhere. All I can see is the 'publish' buttons on each and every post. Is that how it should be?
Title: Re: SA Facebook Integration
Post by: madfitz on June 15, 2011, 11:27:46 AM
Now I have an error.

When posting a new topic I get this:
Fatal error: Uncaught OAuthException: Invalid OAuth access token signature. thrown in /home/xxxxxxxx/forum/facebookauth/base_facebook.php on line 970
Title: Re: SA Facebook Integration
Post by: SA™ on June 15, 2011, 01:36:07 PM
@rathsrants

it hasnt fully uninstalled the old version

FB_Connect/facebookHooks.php should not be there if it uninstalled properly

@madfitz
you need a valid fb session to publish ill add better checks for this later but if there is no session with fb found it will just do what you said

QuoteNow I have an error.

When posting a new topic I get this:
Fatal error: Uncaught OAuthException: Invalid OAuth access token signature. thrown in /home/xxxxxxxx/forum/facebookauth/base_facebook.php on line 970


you have enabled the publisher but you have faild to grant the permisssions or have not got your access token
one time

when you enable the publisher there is i link to grant permission just click Grant permissions

then under 
Facebook Access Token
there is another link to get you one time token
Title: Re: SA Facebook Integration
Post by: madfitz on June 15, 2011, 02:00:56 PM
Quote from: SA™ on June 15, 2011, 01:36:07 PM
@madfitz
you need a valid fb session to publish ill add better checks for this later but if there is no session with fb found it will just do what you said

I logged in to FB to sign in to SMF with the correct account. I had FB open in another tab when I tried to 'publish'.

Quote from: SA™ on June 15, 2011, 01:36:07 PM
you have enabled the publisher but you have faild to grant the permisssions or have not got your access token
one time

when you enable the publisher there is i link to grant permission just click Grant permissions

then under 
Facebook Access Token
there is another link to get you one time token

I did that right after I installed the mod.
Title: Re: SA Facebook Integration
Post by: SA™ on June 15, 2011, 02:14:53 PM
just to make sure it is the publisher can you disable the publisher and see if you can creat a topic
Title: Re: SA Facebook Integration
Post by: SA™ on June 15, 2011, 02:19:57 PM
jus ran some test with this has your Facebook Access Token got this in it if so remove it

access_token=
Title: Re: SA Facebook Integration
Post by: Apllicmz on June 15, 2011, 03:34:33 PM
Yes that good work
Mod work fine thank you

please when update dont foreget portuguese files
Title: Re: SA Facebook Integration
Post by: madfitz on June 15, 2011, 04:36:31 PM
Quote from: SA™ on June 15, 2011, 02:19:57 PM
jus ran some test with this has your Facebook Access Token got this in it if so remove it

access_token=

That worked, thanks  ;D

Now do you know why I don't see any 'like' buttons? I only have 'publish'.
Title: Re: SA Facebook Integration
Post by: Crissm on June 15, 2011, 05:11:14 PM
Hi,
i installed today SA Facebook Integration via package manager, without errors in the test and in the installation.
But when i try to link my account to facebook i have this error
The database value you're trying to insert does not exist: p_fbname

how can i fix manually the problem?i suppose that the package manager did something wrong with the db changes. And i don't see new tables in the db, is this normal?

smf version 2.0
installed mod: tiny portal

thanks in advance for your help (i also tried to join SA support forum, but i didn't receive the confirmation email, and i can't register again because the the forum blocks me.)
Title: Re: SA Facebook Integration
Post by: Kratty256 on June 15, 2011, 06:53:20 PM
Quote from: Crissm on June 15, 2011, 05:11:14 PM

thanks in advance for your help (i also tried to join SA support forum, but i didn't receive the confirmation email, and i can't register again because the the forum blocks me.)

I activated you. :)

Did you have a previous version of this mod installed before installing the 2.0 version? I'm not sure if fbname is used any more or not.
Title: Re: SA Facebook Integration
Post by: ChrisSheppard on June 15, 2011, 07:06:09 PM
For the dissociation of users:

How necessary is this?  I just ask because it looks like when this happens, you end up having to re-login using your forum password and such; is this necessary due to the switchover to OAuth 2?

Title: Re: SA Facebook Integration
Post by: Kratty256 on June 15, 2011, 07:08:38 PM
Quote from: ChrisSheppard on June 15, 2011, 07:06:09 PM
For the dissociation of users:

How necessary is this?  I just ask because it looks like when this happens, you end up having to re-login using your forum password and such; is this necessary due to the switchover to OAuth 2?



This is only necessary if you had a previous version of the mod installed. If you did, this MUST be done or you will encounter various errors when trying to associate your account with Facebook.
Title: Re: SA Facebook Integration
Post by: Crissm on June 15, 2011, 07:18:10 PM
Quote from: Andrew94© on June 15, 2011, 06:53:20 PM
Quote from: Crissm on June 15, 2011, 05:11:14 PM

thanks in advance for your help (i also tried to join SA support forum, but i didn't receive the confirmation email, and i can't register again because the the forum blocks me.)

I activated you. :)

Did you have a previous version of this mod installed before installing the 2.0 version? I'm not sure if fbname is used any more or not.

No i didn't. This is my first installation of SA Facebook integration. 2_0_RC_REV21 is the file.
Btw, i'm trying a manual installation now, but i can't execute install.php (i receive blank page). I suppose that the problem of this could be on my hosting side (i'm on a VPS so i could do some setting change, but i don't know what..) , but i would like to know if there is a chance to make the db change needed via phpmyadmin...
Title: Re: SA Facebook Integration
Post by: tabletsdroid on June 16, 2011, 07:45:05 AM
Firstly, thanks for all your hard work on this mod.

Facts:
- I have Upgraded to the new 2.0 RC Rev21 version of the mod
- previous version 1.0 RC5 Rev292
- SMF Version RC5

Problem:
Everything is working with the upgrade apart from the facebook register/login 'connect with facebook' button which has now completely disappeared. I have disassociated all my previous facebook connect members in the hope that it may resolve this problem, but it hasnt.

please help, thanks

Title: Re: SA Facebook Integration
Post by: Spoogs on June 16, 2011, 08:17:34 AM
Is your theme 2.0 compatible?
Does the button show on SMF's default theme (Curve)?
Title: Re: SA Facebook Integration
Post by: tabletsdroid on June 16, 2011, 08:18:41 AM
i am using the default theme 2.0 RC5 curve
Title: Re: SA Facebook Integration
Post by: Spoogs on June 16, 2011, 08:19:47 AM
Link to your site please
Title: Re: SA Facebook Integration
Post by: tabletsdroid on June 16, 2011, 08:20:35 AM
http://buddhismis.com
Title: Re: SA Facebook Integration
Post by: Spoogs on June 16, 2011, 08:24:23 AM
That is not the SMF Default theme. Also note that the newest version requires SMF 2.0 and not the Rc version... there was a clear warning about that in the first post of this thread, on the mod page, and also the same warning appeared when you tried to install on RC5
Title: Re: SA Facebook Integration
Post by: tabletsdroid on June 16, 2011, 08:26:19 AM
I have changed the graphic main_block.png - all code is unchanged remains default.
Title: Re: SA Facebook Integration
Post by: Spoogs on June 16, 2011, 08:27:05 AM
Note that the newest version requires SMF 2.0 and not the RC versions... there was a clear warning about that in the first post of this thread, on the mod page, and also the same warning appeared when you tried to install on RC5
Title: Re: SA Facebook Integration
Post by: tabletsdroid on June 16, 2011, 08:28:34 AM
so it is time to uninstall this version and go back to the previous version 1.0 RC5 Rev292 - should this present any problems?
Title: Re: SA Facebook Integration
Post by: Spoogs on June 16, 2011, 08:28:49 AM
Ooops, i stand corrected support for RC5 was maintained :P
Title: Re: SA Facebook Integration
Post by: tabletsdroid on June 16, 2011, 08:31:31 AM
phew I was so close to uninstalling then! - yes well, its working for the most part. its just the 'connect with facebook' button that is missing at the top of the smf log in area. If you click register the fb connect button appears on the new register page.
Title: Re: SA Facebook Integration
Post by: Spoogs on June 16, 2011, 08:38:08 AM
I took a look at the source on your page and compared to mine, the coding seems a little different around the quick login box, not sure if that's what the problem is... anyhow best to hang around and SA will take a look I'm sure.
Title: Re: SA Facebook Integration
Post by: Nikhil P Naik on June 16, 2011, 10:58:06 AM
hi,

previously i had installed  SA_FBConnect_1.0_RC6_rev300 on my board ... it wasnt working properly.. whenever i used to click on the connect thru facebook button.. it wud take me to the index page of my forum... so  after i updated to SMF 2.0 gold i uninstalled it.. and installed SA_Facebook_Integration_2.0_RC_REV21 .. now there is problem.. whenever i try to create a topic or reply on a topic.. i dont get the submit button to post the topic.. instead i get a error: " Fatal error: Call to undefined function faceBook_USettings() in /home/freeforu/public_html/Sources/Load.php(2175) : eval()'d code on line 434 "  i am not getting any clue about this... even if i uninstall the mod.. same error appears... i want the mod to be installed properly..
plz help!!!

Title: Re: SA Facebook Integration
Post by: Spoogs on June 16, 2011, 11:09:00 AM
Disable template evaluation
Admin>> Configuration>> Server Settings....Disable evaluation of templates, check that box. Clear your error log.

Have you disassociated all users... see note in the mods admin settings.
Title: Re: SA Facebook Integration
Post by: SA™ on June 16, 2011, 12:07:19 PM
@tabletsdroid

the part that shows the fb login button will only show on smf 2.0 the mod works with rc5 but some features just wont due to the chnges in themes since rc5

@funforum
uou havent fully uninstalled the previous version that function isnt used in 2.0
Title: Re: SA Facebook Integration
Post by: Nikhil P Naik on June 16, 2011, 12:23:05 PM
SA : thanks for the reply ! i have uninstalled it completely because i cant see it in the installed mods..... what shud i do to uninstall the previous version completely now??
Title: Re: SA Facebook Integration
Post by: Nikhil P Naik on June 16, 2011, 12:26:29 PM
I Disable evaluation of templates,  Cleared my error log.

disassociated all users... 

still it dint help....  :(  :(  :(
Title: Re: SA Facebook Integration
Post by: SA™ on June 16, 2011, 12:26:57 PM
post up your Post.template.php and i can remove the code manuay
Title: Re: SA Facebook Integration
Post by: Nikhil P Naik on June 16, 2011, 12:33:14 PM
i hav atttached it... 
Title: Re: SA Facebook Integration
Post by: SA™ on June 16, 2011, 12:58:59 PM
here you go try attached
Title: Re: SA Facebook Integration
Post by: madfitz on June 16, 2011, 01:02:27 PM
Sorry to keep asking but I didn't find an answer. Do you know why I don't see any 'like' buttons? I only have 'publish'.
Title: Re: SA Facebook Integration
Post by: Nikhil P Naik on June 16, 2011, 01:28:19 PM
wow!! genius stuff! thanks a lot!  :)  :)  :)  :)
Title: Re: SA Facebook Integration
Post by: Nikhil P Naik on June 16, 2011, 01:33:22 PM
i get a internal server error before the attach option.. any idea about that??
Title: Re: SA Facebook Integration
Post by: tectonny on June 16, 2011, 01:40:32 PM
I updated to smf 2.0 and all MODs are gone, but SA was installed Facebook, how to uninstall it to put the new version of SA Facebook?

It does not appear in the list of DOM, but is usually fucnionando.

http://www.tectonny.com/forum/index.php
Title: Re: SA Facebook Integration
Post by: madfitz on June 16, 2011, 01:50:31 PM
Quote from: madfitz on June 15, 2011, 11:09:42 AM
I've installed the latest version for 2.0 and signed in with my FB account. I see the 'publish' button on every post in a topic but when I click it I'm simply returned to the top of the page - there is no suggestion that any code is actually being executed and, when I go to my FB Wall, nothing has been published.

No errors logged (not using SimplePortal like the previous post either).

Also, I have enabled 'Enable Like Topic plugin' and 'Enable like box Plugin' (not really sure what that second one is tbh) but I don't see any 'Like' buttons anywhere. All I can see is the 'publish' buttons on each and every post. Is that how it should be?
I keep asking why the 'like buttons don't show up but perhaps more important, the 'publish' button still does not publish anything to my fb wall (yes, I am logged in to fb at the same time - though I really shouldn't need to be).

As much as I really do want fb integration I have to uninstall it again until it's 100% working  :-\
Title: Re: SA Facebook Integration
Post by: Nikhil P Naik on June 16, 2011, 02:11:22 PM
SA: the file i had sent u that time was after uninstalling the SA_Facebook_Integration_2.0_RC_REV21 .. but after u sent me the corrected post.template.php i again installed SA_Facebook_Integration_2.0_RC_REV21 and even clicked on "Disassociate All Facebook Users " but again i m getting a error ... Fatal error: Call to undefined function facebook_usettings() in /home/freeforu/public_html/Themes/default/Display.template.php on line 491


help plzzzz! have attached the file after installing the SA_Facebook_Integration_2.0_RC_REV21 ....
Title: Re: SA Facebook Integration
Post by: SA™ on June 16, 2011, 02:14:51 PM
@funforum wrong file the clue is in the error Display.template.php

@ madfitz
you have enble it on the boards you want it to show on? in facebook admin/boards
Title: Re: SA Facebook Integration
Post by: Nikhil P Naik on June 16, 2011, 02:19:31 PM
sorry sorry!
Title: Re: SA Facebook Integration
Post by: SA™ on June 16, 2011, 02:21:29 PM
here
Title: Re: SA Facebook Integration
Post by: Nikhil P Naik on June 16, 2011, 02:32:20 PM
bingo!

do u have any idea about Internal server error that cums up
Title: Re: SA Facebook Integration
Post by: SA™ on June 16, 2011, 02:35:23 PM
when, where?
Title: Re: SA Facebook Integration
Post by: tectonny on June 16, 2011, 02:50:43 PM
How do I uninstall without having the list of the MOD MOD? It was after the forum upgrade to version 2.0.
Title: Re: SA Facebook Integration
Post by: SA™ on June 16, 2011, 02:58:49 PM
what?
Title: Re: SA Facebook Integration
Post by: SA™ on June 16, 2011, 02:59:48 PM
oh sry you mean you want to remove the mod with out it installed cos of the upgrade?
Title: Re: SA Facebook Integration
Post by: tectonny on June 16, 2011, 03:39:22 PM
Actually I do not want to take it, but since I upgraded to SMF 2.0 final, I lost all the MOD, but this mod was still showing the menu and enter in the administration.

But there is the option of logins by Facebook, so I wonder if anyway I can reinstall the MOD.
Title: Re: SA Facebook Integration
Post by: madfitz on June 16, 2011, 05:36:07 PM
Quote from: SA™ on June 16, 2011, 02:14:51 PM
@ madfitz
you have enble it on the boards you want it to show on? in facebook admin/boards

Yes. Publish, Like and Comments all enabled. But 'Like' does not show :(
Title: Re: SA Facebook Integration
Post by: tectonny on June 16, 2011, 06:23:17 PM
Solved!
Title: Re: SA Facebook Integration
Post by: SA™ on June 16, 2011, 09:01:34 PM
can i have a link to a topic on your site with like enbled pls
Title: Re: SA Facebook Integration
Post by: tabletsdroid on June 16, 2011, 09:31:38 PM
upgraded smf to 2.0 gold. installed new fb connect mod. its nice when everything just works :)
Title: Re: SA Facebook Integration
Post by: Nikhil P Naik on June 17, 2011, 12:52:04 AM
this is the internal server error that i get.. any idea ?? i get this error before the attach option....
Title: Re: SA Facebook Integration
Post by: SA™ on June 17, 2011, 01:03:01 AM
thats looks to me todo with another mod

SimpleImageShack?
Title: Re: SA Facebook Integration
Post by: Nikhil P Naik on June 17, 2011, 02:41:02 AM
YES... EXACTLY.. I HAVE INSTALLED SIMPLE IMAGE SHACK.. ANY PROBLEM WITH THE MOD?
Title: Re: SA Facebook Integration
Post by: SA™ on June 17, 2011, 02:43:35 AM
i dont know it not my mod as that modifys that part of the theme it best to ask in the topic for that mod
Title: Re: SA Facebook Integration
Post by: Nikhil P Naik on June 17, 2011, 02:46:42 AM
thnk u once again for figuring out what caused the error....
Title: Re: SA Facebook Integration
Post by: madfitz on June 17, 2011, 04:00:56 AM
Quote from: SA™ on June 16, 2011, 09:01:34 PM
can i have a link to a topic on your site with like enbled pls
http://bostonforum.co.uk/
Title: Re: SA Facebook Integration
Post by: madfitz on June 17, 2011, 06:07:06 AM
For all of my questions (eg "why doesn't the Like button show up?"), the mod still doesn't work for me anyway. I click on @publish' and still nothing gets sent to my fb wall   ???
Title: Re: SA Facebook Integration
Post by: ~DS~ on June 17, 2011, 09:31:08 AM
Quote from: madfitz on June 17, 2011, 06:07:06 AM
For all of my questions (eg "why doesn't the Like button show up?"), the mod still doesn't work for me anyway. I click on @publish' and still nothing gets sent to my fb wall   ???
Any mods?
Title: Re: SA Facebook Integration
Post by: madfitz on June 17, 2011, 10:26:30 AM
Quote from: ~DS~ on June 17, 2011, 09:31:08 AM
Any mods?

Several mods but it is a fledgling site with no activity to speak of so I was happy to uninstall everything and just install this one. It made no difference though.
Title: Re: SA Facebook Integration
Post by: SA™ on June 17, 2011, 03:59:04 PM
Quote from: madfitz on June 17, 2011, 04:00:56 AM
Quote from: SA™ on June 16, 2011, 09:01:34 PM
can i have a link to a topic on your site with like enbled pls
http://bostonforum.co.uk/

is the like button enabled on all boards?
Title: Re: SA Facebook Integration
Post by: madfitz on June 17, 2011, 05:05:50 PM
Quote from: SA™ on June 17, 2011, 03:59:04 PM
Quote from: madfitz on June 17, 2011, 04:00:56 AM
Quote from: SA™ on June 16, 2011, 09:01:34 PM
can i have a link to a topic on your site with like enbled pls
http://bostonforum.co.uk/

is the like button enabled on all boards?

Quote from: madfitz on June 16, 2011, 05:36:07 PM
Quote from: SA™ on June 16, 2011, 02:14:51 PM
@ madfitz
you have enble it on the boards you want it to show on? in facebook admin/boards

Yes. Publish, Like and Comments all enabled. But 'Like' does not show :(

Going around in circles?  :-\


Title: Re: SA Facebook Integration
Post by: SA™ on June 17, 2011, 08:54:05 PM
try this in sources/facebook/facebookHooks.php

find

action"'.$verb.'"

replace with

action="'.$verb.'"

at the bottom of the file in show_facebook_like_button() function from veing your source i can see the button and i see that error so that may be why try it and let me know
Title: Re: SA Facebook Integration
Post by: madfitz on June 18, 2011, 02:09:28 AM
Quote from: SA™ on June 17, 2011, 08:54:05 PM
try this in sources/facebook/facebookHooks.php

find

action"'.$verb.'"

replace with

action="'.$verb.'"

at the bottom of the file in show_facebook_like_button() function from veing your source i can see the button and i see that error so that may be why try it and let me know

That made no difference. 'Like' button is still not visible, 'Publish' button still doesn't publish  :(
Title: Re: SA Facebook Integration
Post by: Nikhil P Naik on June 18, 2011, 02:27:01 AM
another help plz!

u had told that the internal server error was due to simple imageshack.. i looked into the simple imageshack mod help.... i was asked to set the sis folder CHMOD to 755 and the files to 644.. then i get the following error:

Strict Standards: require_once() [function.require-once]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /home/freeforu/public_html/SSI.php on line 68

Warning: require_once(/home/freeforu/public_html/SSI_Facebook.php) [function.require-once]: failed to open stream: No such file or directory in /home/freeforu/public_html/SSI.php on line 68

Strict Standards: require_once() [function.require-once]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /home/freeforu/public_html/SSI.php on line 68

Fatal error: require_once() [function.require]: Failed opening required '/home/freeforu/public_html/SSI_Facebook.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/freeforu/public_html/SSI.php on line 68



is this error due to facebook mod???

plz help .. i have attached the ssi.php file
Title: Re: SA Facebook Integration
Post by: SA™ on June 18, 2011, 07:17:41 PM
Quote from: madfitz on June 18, 2011, 02:09:28 AM
Quote from: SA™ on June 17, 2011, 08:54:05 PM
try this in sources/facebook/facebookHooks.php

find

action"'.$verb.'"

replace with

action="'.$verb.'"

at the bottom of the file in show_facebook_like_button() function from veing your source i can see the button and i see that error so that may be why try it and let me know

That made no difference. 'Like' button is still not visible, 'Publish' button still doesn't publish  :(

then i dont know then there ovisly some conflit someware it show in your page source so it is there just not showing wich make me think a conflict maybe with ezportal or the fbblock you have on your home page?
Title: Re: SA Facebook Integration
Post by: madfitz on June 19, 2011, 02:12:21 AM
Quote from: SA™ on June 18, 2011, 07:17:41 PM
then i dont know then there ovisly some conflit someware it show in your page source so it is there just not showing wich make me think a conflict maybe with ezportal or the fbblock you have on your home page?

I said earlier in this support thread that I tried it with ALL other mods uninstalled and it still did not work.

You have never answered my question "why does publish button not publish anything" or "why does Like button not show" so, OK, forget it as you clearly can't help.

Thanks for working on this mod and providing your hard work free of charge here. Sadly for some users it does not work. I will look for an alternative method.
Title: Re: SA Facebook Integration
Post by: SA™ on June 20, 2011, 03:03:21 AM
yes where do you want it moved to?
Title: Re: SA Facebook Integration
Post by: SA™ on June 20, 2011, 12:24:37 PM
it is after facebook already?
Title: Re: SA Facebook Integration
Post by: SA™ on June 20, 2011, 01:08:22 PM
sources/facebook/facebookhooks.php

try

find

facebook_array_insert($menu_buttons, 'mlist',
replace with
facebook_array_insert($menu_buttons, 'logout',

Title: Re: SA Facebook Integration
Post by: SA™ on June 20, 2011, 01:24:28 PM
you have screwed the formatting of the code what did you edit with?

try the attached
Title: Re: SA Facebook Integration
Post by: jekwumoore on June 21, 2011, 01:45:56 AM
I am getting this error whenever I click publish or like button

Fatal error: Uncaught OAuthException: An active access token must be used to query information about the current user. thrown in /home/mysite/public_html/facebookauth/base_facebook.php  on line 970
Title: Re: SA Facebook Integration
Post by: SA™ on June 21, 2011, 02:27:45 AM
you need to make sure your logged into fb and have a valid fb session this behavour will be fixed in the next version
Title: Re: SA Facebook Integration
Post by: jekwumoore on June 21, 2011, 02:55:49 AM
It  worked for "like" but same error occurs for "publish"
Title: Re: SA Facebook Integration
Post by: jekwumoore on June 21, 2011, 03:14:44 AM
does the publish has anything to do with post publisher?
I have not granted access permission to post publisher.
Title: Re: SA Facebook Integration
Post by: SA™ on June 21, 2011, 03:33:06 AM
the like button dosnt reqire a fb session publish does

post publisher auto maticly post topic to your fb app or profile wall [you dont need a valid fb session for this to work the acess token takes car of that]

publish allowes you to publish indival post by clicking publish [you need a valid fb session for this to work will chnage this in the next revision]
Title: Re: SA Facebook Integration
Post by: 8t88s on June 21, 2011, 04:35:16 AM
Hi

I have just finish my install of my new SMF, with a specific theme ( dark-f from Fussilet ). I have install Facebook Integration SA with following all request but, when I try to connect with use Facebook Account, facebook make me an error :
"An error was occurred, please try again later"

I have following instructions to create facebook app and facebook tell me it's ok, and modify display.template.php on my theme. I haven't find display.php.

if someone can help me :)
Title: Re: SA Facebook Integration
Post by: jekwumoore on June 21, 2011, 04:51:14 AM
ok,I noticed you joined my site, I disabled the publishing because of the error, I will enable it for now go and try it out. The like is working well but the publish is giving error
Title: Re: SA Facebook Integration
Post by: 8t88s on June 21, 2011, 04:56:24 AM
well, finally it works, I have forget to change API code on admin

Sorry for disturb :)
Title: Re: SA Facebook Integration
Post by: SA™ on June 21, 2011, 02:12:37 PM
Quote from: jekwumoore on June 21, 2011, 04:51:14 AM
ok,I noticed you joined my site, I disabled the publishing because of the error, I will enable it for now go and try it out. The like is working well but the publish is giving error

your site is down ?
Title: Re: SA Facebook Integration
Post by: C4G-TK on June 22, 2011, 01:06:10 AM
Do you by chance have another step by step tutorial for the app portion?  It seems like they changed a few things and the screen shots have changed.  I've tried so many combinations with ? w/o ? and just can't get it to save!!! LOL
Title: Re: SA Facebook Integration
Post by: SA™ on June 22, 2011, 01:22:36 AM
nope it still the same they havent chnaged the app that i can see

was you using this one?
http://www.sa-mods.info/index.php?topic=734.0
Title: Re: SA Facebook Integration
Post by: yakyakyak on June 22, 2011, 02:13:35 AM
Quote from: C4G-TK on June 22, 2011, 01:06:10 AM
Do you by chance have another step by step tutorial for the app portion?  It seems like they changed a few things and the screen shots have changed.  I've tried so many combinations with ? w/o ? and just can't get it to save!!! LOL

still exactly the same yesterday on a new install 2.0
Title: Re: SA Facebook Integration
Post by: jekwumoore on June 22, 2011, 02:51:29 AM
Quote from: SA™ on June 21, 2011, 02:12:37 PM
Quote from: jekwumoore on June 21, 2011, 04:51:14 AM
ok,I noticed you joined my site, I disabled the publishing because of the error, I will enable it for now go and try it out. The like is working well but the publish is giving error

your site is down ?

you can try later , it is up now
Title: Re: SA Facebook Integration
Post by: C4G-TK on June 22, 2011, 12:31:12 PM
Quote from: SA™ on June 22, 2011, 01:22:36 AM
nope it still the same they havent chnaged the app that i can see

was you using this one?
http://www.sa-mods.info/index.php?topic=734.0

Yes, the page for part 6 was different than yours.  I didn't make a screen shot.  I will go ahead and try again this afternoon. 

It kept saying that a URL had been entered incorrectly and needed a ?, but it didn't tell me WHICH URL or on which of the tabs the infomation was incorrect.  LOL

  I made sure I followed your directions completely and had either / or ? when stated.  I went back and started putting the ? in different combinations into the form, but couldn't get it to save.
Title: Re: SA Facebook Integration
Post by: Spoogs on June 22, 2011, 12:44:03 PM
It's referring to the url in 5a... it must end with / or have a ? somewhere
Title: Re: SA Facebook Integration
Post by: [Lucien] on June 22, 2011, 01:33:39 PM
Hello i'm using SMF 2 Final and i get this error when i try to register with SA Facebook

The database value you're trying to insert does not exist: email_address


What can i do? Thanks :)
Title: Re: SA Facebook Integration
Post by: C4G-TK on June 22, 2011, 01:39:01 PM
Quote from: Spoogs on June 22, 2011, 12:44:03 PM
It's referring to the url in 5a... it must end with / or have a ? somewhere

I went ahead and tried again.  I got the same errors, so instead of using ?, I used the / on every single place where you needed a URL.  It saved w/o problems.  I think the key might be to do use / instead of the ?     Because I had ? previously and kept getting the errors.  Don't know.  Hopefully, I can move on from there.

Thanks for such a great mod!


BTW, Do you recommend submitting to the App directory or just leave the status as unsubmitted?  Thoughts?
Title: Re: SA Facebook Integration
Post by: Spoogs on June 22, 2011, 01:41:02 PM
Guess I need to go make a new app and see if they changed stuff ehh :P
Title: Re: SA Facebook Integration
Post by: C4G-TK on June 22, 2011, 01:41:35 PM
BTW, Do you recommend submitting to the App directory or just leave the status as unsubmitted?  Thoughts?




This is the page that I said doesn't look the same as in your tutorial

Check image below.  I highlighted what is different in a red box (and blacked out my info).
Title: Re: SA Facebook Integration
Post by: Spoogs on June 22, 2011, 02:02:28 PM
I've never submitted any... hard to see any reason to submit it really.

Thanks, that's definitely new indeed
Title: Re: SA Facebook Integration
Post by: ~DS~ on June 22, 2011, 03:19:54 PM
Quote from: Spoogs on June 22, 2011, 02:02:28 PM
I've never submitted any... hard to see any reason to submit it really.
There is...if you don't submit, it won't show up in the search or anybody's page after they LIKED the app.

Quote
Thanks, that's definitely new indeed
There are alot of changes done to the app. :/
Guess we need to update the tutorial.
Title: Re: SA Facebook Integration
Post by: SA™ on June 22, 2011, 04:30:13 PM
what do you mean?
Title: Re: SA Facebook Integration
Post by: SA™ on June 22, 2011, 04:46:32 PM
you can enable post publisher grant the permissions  then get your one time secret key [read what each of these options do the first one contains a link to grant the permissions]

then goto boards and chooses which boards should publish post from
Title: Re: SA Facebook Integration
Post by: [Lucien] on June 23, 2011, 04:18:10 PM
Quote from: [Lucien] on June 22, 2011, 01:33:39 PM
Hello i'm using SMF 2 Final and i get this error when i try to register with SA Facebook

The database value you're trying to insert does not exist: email_address


What can i do? Thanks :)

Bump sorry but i can't find the solution, anyone? :)
Title: Re: SA Facebook Integration
Post by: [Lucien] on June 23, 2011, 04:27:07 PM
Sorry i forgot to add the error:

The database value you're trying to insert does not exist: email_address
Function: registerMember
File: /home/......../domains/......../public_html/Sources/Subs-Members.php
Regel: 584

I uninstalled all mods but still no luck :(

Thank you for this amazing peace of work :)
Title: Re: SA Facebook Integration
Post by: SA™ on June 24, 2011, 01:20:19 AM
are you allowing you email when autherising your app? or are you changing the email when autherising your app?
Title: Re: SA Facebook Integration
Post by: SA™ on June 24, 2011, 01:35:19 AM
REV 24 realsed

Warning: You must create an application on facebook to use this modification (http://www.sa-mods.info/index.php?topic=734.0)
For information on creating your application please read ==> here (http://www.sa-mods.info/index.php?topic=734.0) <==.


Change Log:








24 June, 2011 [2.0 Fixes several bugs]
  • Update to FB API 3.0.1
  • Fixed issues with iconv
  • Fixed issue with publisher not checking for a valid facebook session
  • Added check to see if user is logged into facebook before importing friends and avatar
  • Added support for facebook's https browsing (fixes importing avatar issue)
             
Left blank intentionally:
  • Fixed conflict with Enotify (http://custom.simplemachines.org/mods/index.php?mod=2198)
  • Fixed issue with using "access_token=" in the facebook access token field
  • Added Portuguese language[THANKS to Joomlamz (http://www.simplemachines.org/community/index.php?action=profile;u=79248)]
  • Added facebook social plugins examples in ACP (allowes you to easaly expand the mod thru out your site)

10 June, 2011 [2.0 Initial Release]
  • Register with facebook (new members)
  • Integrate forum account with facebook (existing members)
  • Disassociate forum account from facebook
  • Update your Status on facebook
  • Import your facebook avatar
  • Invite your facebook friends
  • Like/Recommend your site to friends on facebook
  • Share, Like, and Publish topics to your facebook wall
  • Facebook Comment Box
  • Facebook Fan Page
  • Friends... View all your facebook friends
             
Left blank intentionally:
Left blank intentionally:
  • ACP - this mod has its own admin control panel for easy use
  • Supports Standard and Advanced Profile Fields [SMF 2.0 only]
  • Facebook admin logs (see all register/Integrated fb users)
  • Membergroup (default membergroup for new facebook registered members)
  • Buddy list integration (users can sync their forum and fb friends)


Title: Re: SA Facebook Integration
Post by: tectonny on June 24, 2011, 08:33:58 AM
After installing the captcha stopped appearing at the time of registration.

http://www.tectonny.com/forum
Title: Re: SA Facebook Integration
Post by: [Lucien] on June 24, 2011, 10:46:03 AM
Awesome, thanks for the update! I'm going to install NOW  8) ;D

And I think the link to the mod is missing in first post!
Title: Re: SA Facebook Integration
Post by: [Lucien] on June 24, 2011, 11:04:52 AM
Strange when registering it now gives the error that i have to fill in a email address, but i don't have a option to fill in  ???

Title: Re: SA Facebook Integration
Post by: Biology Forums on June 24, 2011, 02:21:54 PM
I'm using 1.1.14. When I'm in topic display and click the button "Connect with Facebook", it doesn't do anything. However, the mode works fine when I'm the forum index. Is anyone else having this problem?

Please don't denounce this post and say it's not recommended for 1.x. All I need is some assistance.
Title: Re: SA Facebook Integration
Post by: SA™ on June 24, 2011, 03:01:00 PM
@tectonny the capacha is working for me

@[Lucien] can you post up your facebookhooks.php pls

@shuban 1.x was dropped there for im not supprting the 1.x version any more
Title: Re: SA Facebook Integration
Post by: tectonny on June 24, 2011, 03:08:25 PM
@SA Are you sure that appears to you? Here to me just shows "Not Defined Yet"
Try again and update your page, and tested it in Chrome FF5.

If I remove the mod back to normal.
Title: Re: SA Facebook Integration
Post by: SA™ on June 24, 2011, 03:12:56 PM
yes on my test site i see the verifaction image i didnt mean on your site sry if i confused you

do you get any errors in your error logs?
Title: Re: SA Facebook Integration
Post by: tectonny on June 24, 2011, 03:22:54 PM
Do not generate error in the log, just does not appear ... What to do?
Title: Re: SA Facebook Integration
Post by: SA™ on June 24, 2011, 03:47:00 PM
wait a bit im looking into the isssues now
Title: Re: SA Facebook Integration
Post by: Biology Forums on June 24, 2011, 03:57:03 PM
Attention 1.X users, I finally got this mod to work flawlessly:

Find

</head>
<body>';

echo'<script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php" type="text/javascript"></script>';


Replace with:

</head>
<body>';

echo'<script type="text/javascript" src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php" mce_src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php"> </script>';


Seriously, that's it.

Thanks.
Title: Re: SA Facebook Integration
Post by: [Lucien] on June 25, 2011, 07:56:59 AM
Quote from: SA™ on June 24, 2011, 03:01:00 PM
@[Lucien] can you post up your facebookhooks.php pls


I have the file for you, thank you for helping out :)
Title: Re: SA Facebook Integration
Post by: Nikhil P Naik on June 25, 2011, 09:35:27 AM
maybe u forgot to repair this... i had told u about it earlier... whenever i click on publish.. i get the following error


Fatal error: Uncaught CurlException: 6: name lookup timed out thrown in /home/freeforu/public_html/facebookauth/base_facebook.php on line 759

IS THER SOMETHING U CAN DO TO HELP?

Title: Re: SA Facebook Integration
Post by: SA™ on June 25, 2011, 03:14:00 PM
can you try this pls in tha file change
$FaceBookEmail = $userInfo[0]['contact_email'];
to
$FaceBookEmail = !empty($userInfo[0]['contact_email']) ? $userInfo[0]['contact_email'] : $userInfo[0]['proxied_email'];

Quote from: [Lucien] on June 25, 2011, 07:56:59 AM
Quote from: SA™ on June 24, 2011, 03:01:00 PM
@[Lucien] can you post up your facebookhooks.php pls


I have the file for you, thank you for helping out :)


this was fixed in the latest revision?
Quote from: funforum on June 25, 2011, 09:35:27 AM
maybe u forgot to repair this... i had told u about it earlier... whenever i click on publish.. i get the following error


Fatal error: Uncaught CurlException: 6: name lookup timed out thrown in /home/freeforu/public_html/facebookauth/base_facebook.php on line 759

IS THER SOMETHING U CAN DO TO HELP?


Title: Re: SA Facebook Integration
Post by: Nikhil P Naik on June 26, 2011, 02:17:20 AM
no it wasnt fixed... plz help... hv attached the file!
Title: Re: SA Facebook Integration
Post by: SA™ on June 26, 2011, 03:08:29 AM
it certanly works for me on my test site can i have a link to your site?
Title: Re: SA Facebook Integration
Post by: tectonny on June 26, 2011, 07:49:47 AM
I'll have to uninstall because my records stopped and no solution.
Title: Re: SA Facebook Integration
Post by: Nikhil P Naik on June 26, 2011, 08:30:33 AM
http://funforum.in/index.php?topic=1.0


ther is a publish option there.. i dont know whether guests can see it or not...

plz help~!
Title: Re: Facebook Access Token
Post by: bluejay51 on June 26, 2011, 04:45:58 PM
We are using SMF 2.0 (final) with the default theme. I'm just wondering... in the config section of the Facebook Integration plugin, there is a form to add a one-time Facebook access token. Are we supposed to add the entire token (ie; access_token=xxxxxxxxxxxxxxxxxxxxxxx) or do we just add the number and leave the "access_token=" part off?.

Thanks, BJ
Title: Re: SA Facebook Integration
Post by: boosh1 on June 27, 2011, 01:12:17 PM
I'm using the Helios Multi theme on my forum which I realise is pretty non standard compared to most themes. I installed the mod and it works flawlessly on my other themes but on Helios Multi the mod still works, but some of the important features like the like button and the invite friends section just doesn't work at all. This is my main theme and I'm not going to change it and I've spent days trying a few edits here and there. But no luck.

Are there known issues with this theme or themes like it?

I also have your chat mod installed and that suffers the same problem, fine on all other themes.

I can Pm you the link if you want a look.
Title: Re: SA Facebook Integration
Post by: SimpleJoe on June 27, 2011, 05:26:08 PM
Nice mod, but it seems the only way this works is to allow guests access to the forum? We are trying to setup a private forum (viewable by members only) but when  "Allow guests to browse the forum" option is enabled in Features and Options then new members cannot register using Facebook, they are just returned to the login screen.

I know I can unclick access to each board for guests and disable the info center within the index template, but it would be much better to be able to disable guest access and still have this mod work. any ideas?

thanks,
Joe
Title: Re: SA Facebook Integration
Post by: madfitz on June 28, 2011, 04:00:29 AM
Quote from: boosh1 on June 27, 2011, 01:12:17 PM
I'm using the Helios Multi theme on my forum which I realise is pretty non standard compared to most themes. I installed the mod and it works flawlessly on my other themes but on Helios Multi the mod still works, but some of the important features like the like button and the invite friends section just doesn't work at all. This is my main theme and I'm not going to change it and I've spent days trying a few edits here and there. But no luck.

Different theme but same problem for me (in fact, those features didn't show up even on the default theme for me). The publish button showed up but it didn't actually send anything to facebook. I finally gave up on the mod when nothing would work :(
Title: Re: SA Facebook Integration
Post by: boosh1 on June 28, 2011, 07:43:59 AM
Quote from: madfitz on June 28, 2011, 04:00:29 AM
Quote from: boosh1 on June 27, 2011, 01:12:17 PM
I'm using the Helios Multi theme on my forum which I realise is pretty non standard compared to most themes. I installed the mod and it works flawlessly on my other themes but on Helios Multi the mod still works, but some of the important features like the like button and the invite friends section just doesn't work at all. This is my main theme and I'm not going to change it and I've spent days trying a few edits here and there. But no luck.

Different theme but same problem for me (in fact, those features didn't show up even on the default theme for me). The publish button showed up but it didn't actually send anything to facebook. I finally gave up on the mod when nothing would work :(

Yeah that's my exact problem. They just don't show up at all. They work fine on other themes and the publish icon does appear on posts but the like button ect just don't appear. The only things that do show up are on the main page for the mod. So the plugin which shows who's liked my app and the post a comment one. Everything else doesn't appear on the other pages, and the friends tab shows my first page of friends and but won't show the links to the next pages.

I'm going to wait until another realise of my theme and/or this mod before I try tinkering any more I think.
Title: Re: SA Facebook Integration
Post by: SA™ on June 29, 2011, 03:44:00 PM
guys bear with me i am looking into the theme issues it should realy work on any theme cn you link me to the theme that you are using pls


Quote from: Simple Joe on June 27, 2011, 05:26:08 PM
Nice mod, but it seems the only way this works is to allow guests access to the forum? We are trying to setup a private forum (viewable by members only) but when  "Allow guests to browse the forum" option is enabled in Features and Options then new members cannot register using Facebook, they are just returned to the login screen.

I know I can unclick access to each board for guests and disable the info center within the index template, but it would be much better to be able to disable guest access and still have this mod work. any ideas?

thanks,
Joe

this behaviour can be stopped by ading facebookintegrate the array in index.php

find
// If guest access is off, a guest can only do one of the very few following actions.
elseif (empty($modSettings['allow_guestAccess']) && $user_info['is_guest'] && (!isset($_REQUEST['action']) || !in_array($_REQUEST['action'], array('coppa', 'login', 'login2', 'register', 'register2', 'reminder', 'activate', 'help', 'smstats', 'mailq', 'verificationcode', 'openidreturn'))))
{
require_once($sourcedir . '/Subs-Auth.php');
return 'KickGuest';
}


replace with

// If guest access is off, a guest can only do one of the very few following actions.
elseif (empty($modSettings['allow_guestAccess']) && $user_info['is_guest'] && (!isset($_REQUEST['action']) || !in_array($_REQUEST['action'], array('coppa', 'login', 'login2', 'register', 'register2', 'reminder', 'activate', 'help', 'smstats', 'mailq', 'verificationcode', 'openidreturn','facebookintegrate'))))
{
require_once($sourcedir . '/Subs-Auth.php');
return 'KickGuest';
}


Quote from: bluejay51 on June 26, 2011, 04:45:58 PM
We are using SMF 2.0 (final) with the default theme. I'm just wondering... in the config section of the Facebook Integration plugin, there is a form to add a one-time Facebook access token. Are we supposed to add the entire token (ie; access_token=xxxxxxxxxxxxxxxxxxxxxxx) or do we just add the number and leave the "access_token=" part off?.

Thanks, BJ

you can put the whole thng in if you want it will remove the access_token= part
Title: Re: SA Facebook Integration
Post by: Nikhil P Naik on June 30, 2011, 02:25:01 AM
SA PLZ HELP!
Title: Re: SA Facebook Integration
Post by: SA™ on June 30, 2011, 03:09:13 AM
be paitent im lookin into these erros
Title: Re: SA Facebook Integration
Post by: boosh1 on June 30, 2011, 06:52:45 AM
Thanks SA

The link to the theme I'm using is http://custom.simplemachines.org/area51/themes/index.php?lemma=1

The smf2.0 gold edition version. So I'm sure I've got the most up to date one.

Also a link to my forum if that will help understand and resolve the problem
http://www.hollowshrine.co.uk/forum/
Title: Re: SA Facebook Integration
Post by: !RFAN on June 30, 2011, 08:32:33 AM
how to get application api key??

when i tried to register using facebook connect i got this error:

Fatal error: Uncaught OAuthException: (#200) The user hasn't authorized the application to perform this action thrown in /home/****/public_html/facebookauth/base_facebook.php on line 970
Title: Re: SA Facebook Integration
Post by: elyparker on June 30, 2011, 10:03:20 AM
hi received the error

Fatal error: Uncaught OAuthException: An active access token must be used to query information about the current user. thrown in /home1/paraparl/public_html/facebookauth/base_facebook.php on line 970

when i did publish on a topic and not work associate users with facebook account

i use SIMPLESEF mod  and last smf 2.0

if i disable simplesef it work  but i need simple sef

some solutions? what i have to see?

Title: Re: SA Facebook Integration
Post by: bluejay51 on June 30, 2011, 10:26:52 AM
Hi SA (and thank you for such wonderful SMF Mods!).

I am using SMF 2.0 (gold) with the default theme. I have both your Facebook and Twitter integration mods installed and everything works perfectly. Members are able to integrate their Facebook/Twitter accounts and log in with no problem.

However, with the Facebook integration mod (I'm using rev. 24) when I moved the site to another server, the Twitter integration plugin worked just fine but the Facebook one did not. For example, the blue Facebook button did not appear in the upper-left corner of the site, none of the Facebook links were visible, the "Publish" buttons were missing, the "Like" button was gone and for some reason every time someone would click on a thread in the forum, they would get a white page.

I ran into this same issue in rev. 21 which caused my chat room and shoutbox to turn white and I thought the issue had been resolved in rev. 24 but apparently not.

Could you please advise me on what to do to fix this or should I just wait for your next release of the Facebook integration mod to be released?.

- Thank you kindly. BJ
Title: Re: SA Facebook Integration
Post by: SA™ on June 30, 2011, 02:04:38 PM
we have to wait for fb to realse there new js sdk after hours of serching these issues seem tobe cos of that cos of the chnage in cookie formats i have no power over this we just have to wait for fb it shoulda been realwsed a few weeks ago but it hasnt yet been realsed

the theme issues im looking into now pls kindly be patent and bear with me
Title: Re: SA Facebook Integration
Post by: bluejay51 on June 30, 2011, 03:53:16 PM
Where you responding to my question SA? (Sorry, I couldn't tell because there was no quote).

- Thanks, BJ

Quote from: SA™ on June 30, 2011, 02:04:38 PM
we have to wait for fb to realse there new js sdk after hours of serching these issues seem tobe cos of that cos of the chnage in cookie formats i have no power over this we just have to wait for fb it shoulda been realwsed a few weeks ago but it hasnt yet been realsed

the theme issues im looking into now pls kindly be patent and bear with me
Title: Re: SA Facebook Integration
Post by: Kindred on June 30, 2011, 06:14:17 PM
hmmm.... what errors? I have this installed in three forums and don't seem to be seeing any issues.
Title: Re: SA Facebook Integration
Post by: SA™ on July 01, 2011, 10:57:53 AM
some people are having issues with the latest version tho i think it is a server problem realy cos some people it is working other it isnt
even tho the js sdk isnt realy compatable with php sdk 3.0.1 wich could be the problems
Title: Re: SA Facebook Integration
Post by: Nikhil P Naik on July 01, 2011, 12:26:02 PM
SA.. then is there a solution to my problem??

i hav put fb like buttons and comment system in the boards... but whenever i click on the like... it doesnt actually get clicked..
even when i try to put a comment thru facebok.. the comment is not placed.!
Title: Re: SA Facebook Integration
Post by: SA™ on July 01, 2011, 12:33:03 PM
do i realy need to keep repeting myself?
Title: Re: SA Facebook Integration
Post by: ~DS~ on July 01, 2011, 03:06:44 PM
Apparently people don't read.
Title: Re: SA Facebook Integration
Post by: madfitz on July 01, 2011, 04:49:27 PM
Quote from: ~DS~ on July 01, 2011, 03:06:44 PM
Apparently people don't read.

And there are those that *do* read. At no time has SA given a definitive answer. It's all "ifs, buts and maybes". It 'could' be a server issue; 'could' be the sdk; 'could' be a theme issue...

I'll answer you funforum (http://www.simplemachines.org/community/index.php?action=profile;u=298579), it could be one of many things. Uninstall the mod until fb fix their sdk, your host fixes or server or your theme is confirmed 100% compatible with the mod ;)
Title: Re: SA Facebook Integration
Post by: Spoogs on July 01, 2011, 04:54:03 PM
What kind of definitive answer do you expect for issues that do not affect everyone and cannot be reproduce by the mod author... of course all that's left is 'maybe this, maybe that, could be this, could be that'. Note carefully that he also said a few times that he's trying to figure these things out so be patient and give him some time..... How much more than that can you really expect.
Title: Re: SA Facebook Integration
Post by: madfitz on July 01, 2011, 05:02:36 PM
Quote from: Spoogs on July 01, 2011, 04:54:03 PM
Note carefully that he also said a few times that he's trying to figure these things out so be patient and give him some time..... How much more than that can you really expect.

Noted. That is why I said "uninstall until a fix appears".
Title: Re: SA Facebook Integration
Post by: DefiantRican on July 01, 2011, 05:09:28 PM
Hello there. I installed this mod and everything works except for when someone attempts to make a post. It then spits back

(#803) Some of the aliases you requested do not exist: Celebutopia thrown in /home/celeb/public_html/forum/facebookauth/base_facebook.php on line 970

The post shows up if they go back to the section they posted in but this error occurs in the interim. Please help.
Title: Re: SA Facebook Integration
Post by: SA™ on July 02, 2011, 11:54:05 AM
have you enbled the publisher?

if so have you granted permission and got your one time acess token?

have you put your fb id in ?
Title: Re: SA Facebook Integration
Post by: boosh1 on July 02, 2011, 01:51:39 PM
I just noticed that Helios Multicolor theme was just updated yesterday. I've now updated the theme but the problem remains.
Title: Re: SA Facebook Integration
Post by: SA™ on July 02, 2011, 02:18:02 PM
havent been able to test the themes myself yet cos of work tommorwo hopfully i can check it out
Title: Re: SA Facebook Integration
Post by: boosh1 on July 02, 2011, 02:38:42 PM
No problem, was just letting you know.
Title: Re: SA Facebook Integration
Post by: DSK-Googler on July 02, 2011, 10:31:17 PM
poke feature is not working
Title: Re: SA Facebook Integration
Post by: SA™ on July 02, 2011, 10:55:55 PM
@boosh1 in sources/facebook/facebookhooks.php

find
if ($layer == 'body')
repalce with
if ($layer == 'body' || $layer == 'main')

@i_am_learner
thanks this is fixed in the next realse
Title: Re: SA Facebook Integration
Post by: MarkLeevE on July 03, 2011, 08:17:21 AM
How do Install this? I've already created facebook app for this,.

Sorry cause I'm still noob  ;D

(http://www.simplemachines.org/community/index.php?action=dlattach;topic=365503.0;attach=180977)
Title: Re: SA Facebook Integration
Post by: boosh1 on July 03, 2011, 08:42:54 AM
Thanks a load SA!

That worked like a charm and I tried the same fix for SA Chat too and it also fixed that! Thanks again! XD
Title: Re: SA Facebook Integration
Post by: SA™ on July 03, 2011, 01:53:14 PM
yeah i have added this to the sa chat trouble shooter yesterdAY

@
MarkLeevE
that error is saying your host dont have the curl php extension
Title: Re: SA Facebook Integration
Post by: elyparker on July 04, 2011, 11:22:31 AM
excuse me sa but my question? do u have solution?
Quote
hi received the error

Fatal error: Uncaught OAuthException: An active access token must be used to query information about the current user. thrown in /home1/paraparl/public_html/facebookauth/base_facebook.php on line 970

when i did publish on a topic and not work associate users with facebook account

i use SIMPLESEF mod  and last smf 2.0

if i disable simplesef it work  but i need simple sef
Title: Re: SA Facebook Integration
Post by: MarkLeevE on July 04, 2011, 12:16:11 PM
Quote from: SA™ on July 03, 2011, 01:53:14 PM
yeah i have added this to the sa chat trouble shooter yesterdAY

@
MarkLeevE
that error is saying your host dont have the curl php extension

Oh what's that? what should I do then?  ;D
Title: Re: SA Facebook Integration
Post by: ~DS~ on July 04, 2011, 12:17:21 PM
Talk with your host to enable curl php.
Title: Re: SA Facebook Integration
Post by: carterx on July 04, 2011, 03:41:59 PM
Quick question .... does this FB Integration, does it have an auto post to a group/fan page on Facebook? I didn't see anything in the description saying if it does or not. This is what I'd like to get.

Thanks!!
Title: Re: SA Facebook Integration
Post by: bluejay51 on July 04, 2011, 07:43:18 PM
When a member clicks the "Publish" button, does it publish the link to my Facebook app or to the member's own Facebook wall/homepage?.
Title: Re: SA Facebook Integration
Post by: Spoogs on July 04, 2011, 10:21:06 PM
Quote from: Kaitlyn on July 04, 2011, 07:43:53 PM
is it possible to resize the width of our forum with the facebook app
You can test that and see how it works, the with has to be less that 720px I believe, chances are the connect with facebook button might now work as it was not designed to work from your app

Quote from: bluejay51 on July 04, 2011, 07:43:18 PM
When a member clicks the "Publish" button, does it publish the link to my Facebook app or to the member's own Facebook wall/homepage?.
If your users clicks the publish button it goes to their wall, you can enable publishing to your app's wall http://www.sa-smf.com/community/index.php?msg=7726 but only newly created topics will be published
Title: Re: SA Facebook Integration
Post by: bluejay51 on July 04, 2011, 10:40:39 PM
Thanks Spoogs. I was actually wondering what part of the forum all of the posts on my app were coming from so you answered another question I had too.

Oh, incidentally, does the member have to first associate/sync their FB account with the forum in order for the "Publish" button to post to their wall or will posts/topics show up on their wall if they click it regardless?.

Thanks again for your help :D .
Title: Re: SA Facebook Integration
Post by: Spoogs on July 05, 2011, 08:44:48 AM
Quote from: bluejay51 on July 04, 2011, 10:40:39 PM
Thanks Spoogs. I was actually wondering what part of the forum all of the posts on my app were coming from so you answered another question I had too.

Oh, incidentally, does the member have to first associate/sync their FB account with the forum in order for the "Publish" button to post to their wall or will posts/topics show up on their wall if they click it regardless?.

Thanks again for your help :D .
You're Welcome

I believe anyone that can see the publish button can use it, so  make sure you only have it on boards that you are comfortable being published. Only a link to the topic is posted anyway and no one without permission can access it.
Title: Re: SA Facebook Integration
Post by: perplexed on July 05, 2011, 09:07:54 AM
I was wondering, since we have created an application, if there is an option for me as the owner of the application to be able to post to the application page instead of my own personal fb page?  I have my blog set up like this so there's the option to post to my wall or the application's wall, so it would be handy for me to be able to do this. 

Apart from that, it's looking really good :)
Title: Re: SA Facebook Integration
Post by: Spoogs on July 05, 2011, 10:07:30 AM
No I don't think Facebook has that option for apps, only pages.
Title: Re: SA Facebook Integration
Post by: perplexed on July 05, 2011, 10:15:24 AM
I'm using it for apps on my blog.  There's a plugin for wordpress that links to the application like this mod does and then there's the option to publish to your own wall or the application wall.
Title: Re: SA Facebook Integration
Post by: Spoogs on July 05, 2011, 10:20:56 AM
I think I may have misread what you're asking, see if this is what you're looking for

Quote from: Spoogs on July 04, 2011, 10:21:06 PM
http://www.sa-smf.com/community/index.php?msg=7726
Title: Re: SA Facebook Integration
Post by: !RFAN on July 05, 2011, 11:17:08 AM
when i try to create application using instruction i get this error:

Validation failed.
Bookmark URL must be relative to your Canvas Page URL.

BookMark URL: http://www.amigozone.com/index.php?
Canvas Page URL: http://www.amigozone.com/index.php?
Title: Re: SA Facebook Integration
Post by: Spoogs on July 05, 2011, 11:21:18 AM
Leave the bookmark blank
Title: Re: SA Facebook Integration
Post by: SonOfTheLaw on July 05, 2011, 11:54:51 AM
Hello, I need help on the iFrame on Facebook.

I was able to successfully install the mod without any problems.  At first I chose the Scroll Bars option, which went well.  However, I didn't really like how it looked like having horizontal & vertical scroll bars.  So I tried, the Auto-Resize option and it did remove the scrollbars (looks better!), problem is the height of the page did not resize to the expect height (it gets cut-off).

Anybody tried this successfully?
Title: Re: SA Facebook Integration
Post by: !RFAN on July 05, 2011, 12:07:56 PM
Thanks

one more question.. whenever i try to register facebook connect i get this error :

Uncaught OAuthException: Invalid access token signature. thrown in /home/***/public_html/facebookauth/base_facebook.php on line 970
Title: Re: SA Facebook Integration
Post by: Spoogs on July 05, 2011, 12:09:47 PM
Did you complete mods settings in your forum with the AppID, API Key, and Secret Key?
Title: Re: SA Facebook Integration
Post by: bluejay51 on July 05, 2011, 12:20:35 PM
Just a few more if you don't mind and thanks for the great help here.

(1) does anyone have any idea when the js sdk will be updated so that it is compatable with php sdk 3.0.1?.

(2) Is there any chance of being able to install future versions of the SA Facebook integration MOD without first having to unsync/disassociate all of the members who have already linked their accounts before we uninstall the old version?.

Thanks again (I love your MODS by the way - currently using both the Twitter and Facebook ones). Great work! :D .

Title: Re: SA Facebook Integration
Post by: Spoogs on July 05, 2011, 12:32:17 PM
1. No I'm not certain, the date might be in the FB Developers blog but I haven't checked it in a little while now
2. Cant guarantee it, this time it was necessary due to changes FB made so there is no way we can guarantee they will have no such changes in the future.
Title: Re: SA Facebook Integration
Post by: bluejay51 on July 05, 2011, 12:47:58 PM
Thanks again Spoogs.

Looks like it's going to be awhile...

JavaScript SDK with OAuth now available for upgrade on July 20
http://developers.facebook.com/blog/

Oh well, something to look forward to for sure.
Title: Re: SA Facebook Integration
Post by: Spoogs on July 05, 2011, 12:50:05 PM
That's only 15 days (2 weeks :P)
Title: Re: SA Facebook Integration
Post by: bluejay51 on July 05, 2011, 01:09:39 PM
Yes but that's when I'll be celebrating my 100'th birthday. I hope I can make it that long ;D
Title: Re: SA Facebook Integration
Post by: Karlsm on July 07, 2011, 04:58:14 PM
HI there and thanks for creating this mod.

I'm trying to follow your link to "create an application on FB first" but it's directing me back to your home site, can you help me out here?

Karl. :)
Title: Re: SA Facebook Integration
Post by: Spoogs on July 07, 2011, 04:59:25 PM
http://www.sa-smf.com/community/index.php?topic=734.0
Title: Re: SA Facebook Integration
Post by: Karlsm on July 07, 2011, 05:04:17 PM
Thanks :)
Title: Re: SA Facebook Integration
Post by: Karlsm on July 07, 2011, 06:57:09 PM
Mod seems to be working sort of but I can't find any API code to insert but yet can publish to FB? Am I missing something here

Also like buttons not displaying (topic and box)
Title: Re: SA Facebook Integration
Post by: Chas Large on July 08, 2011, 05:14:52 AM
Hi New to this mod but your link For information on creating your application please read ==> here <==.
takes me to http://www.sa-smf.com/ and on that page is the same link that takes me to the same page.

Please where is the information about creating the required application?
Title: Re: SA Facebook Integration
Post by: DSK-Googler on July 08, 2011, 10:52:20 AM
hello sir i ve installed sa facebook integration manually on my sfmf 2.0 :)  but worked fine for some days.... but now i cant able to see the fconnect login button .....
Title: Re: SA Facebook Integration
Post by: Spoogs on July 08, 2011, 01:46:31 PM
Quote from: Chas Large on July 08, 2011, 05:14:52 AM
Hi New to this mod but your link For information on creating your application please read ==> here <==.
takes me to http://www.sa-smf.com/ and on that page is the same link that takes me to the same page.

Please where is the information about creating the required application?

Quote from: Spoogs on July 07, 2011, 04:59:25 PM
http://www.sa-smf.com/community/index.php?topic=734.0
Title: Re: SA Facebook Integration
Post by: darcysarto on July 09, 2011, 06:44:03 AM
Hi, I have upgraded to 2.0 and reinstalled this mod.  The COnnect With Facebook button is no longer appearing on the front of my forum but IS on the login page.  DO you have any idea why?
Title: Re: SA Facebook Integration
Post by: Spoogs on July 09, 2011, 10:00:53 AM
What theme are you using?.. if the the theme doesnt have the quick login box that would be why.
Title: Re: SA Facebook Integration
Post by: darcysarto on July 10, 2011, 07:45:56 AM
Quote from: Spoogs on July 09, 2011, 10:00:53 AM
What theme are you using?.. if the the theme doesnt have the quick login box that would be why.

I'm using the default theme, think it's the Core one?  www.bbcradioforum.co.uk
Title: Re: SA Facebook Integration
Post by: bluejay51 on July 10, 2011, 10:34:11 AM
I'm using rev24 and it's a great mod with a lot of popular and useful features. However, ever since I installed this mod, my members (including myself) have been experiencing sporadic delays when navigating from one page on the forum to the next as well as the "white screen of death" where if you click a link, you simply get a white screen. I'm pretty sure it's not the server or another mod because when I completely uninstall this mod, the problems go away.

I noticed similar behaviour with rev21 except that the chat room and shout box suddenly became unusable.

Is anyone else experiencing these issues, what is causing them and is there anything I can do to correct them or should I just wait for the next release of the mod?.

- Thanks, BJ

Title: Re: SA Facebook Integration
Post by: dematrix2571 on July 10, 2011, 10:42:15 AM
Hello everyone,

I have used this Mod and been very happy with it.  I've been check the logs and notice that when someone tries to sign up using the facebook connect...it's generated a critical log...

The error is  "  The database value you're trying to insert does not exist: member_id "

I have gotten this error before when I tried to use the facebook connect for the first time.  Now it seems that some of my users who are trying to connect or sign up is getting this error.

Any ideas. 
Title: Re: SA Facebook Integration
Post by: dematrix2571 on July 10, 2011, 12:21:55 PM
Also couple of other questions, as I was not able to find any information on each of the function.

1.) On the Registration Method  what is the difference between Normal and Facebook Only?

2)  Default Member Group ID - If set to 0 will this use the default regular membergroup,  Or will I have to specify the Group ID  for regular membergroup.

Title: Re: SA Facebook Integration
Post by: Spoogs on July 10, 2011, 12:36:58 PM
Quote from: darcysarto on July 10, 2011, 07:45:56 AM
Quote from: Spoogs on July 09, 2011, 10:00:53 AM
What theme are you using?.. if the the theme doesnt have the quick login box that would be why.

I'm using the default theme, think it's the Core one?  www.bbcradioforum.co.uk
Curve is the default theme in, the login button doesnt appear on the Core theme but it can be added, attach the index.temple.php ffor your Core theme (I would advise you though that not many modifications are core compatible).
Title: Re: SA Facebook Integration
Post by: Spoogs on July 10, 2011, 12:41:46 PM
Quote from: bluejay51 on July 10, 2011, 10:34:11 AM
I'm using rev24 and it's a great mod with a lot of popular and useful features. However, ever since I installed this mod, my members (including myself) have been experiencing sporadic delays when navigating from one page on the forum to the next as well as the "white screen of death" where if you click a link, you simply get a white screen. I'm pretty sure it's not the server or another mod because when I completely uninstall this mod, the problems go away.

I noticed similar behaviour with rev21 except that the chat room and shout box suddenly became unusable.

Is anyone else experiencing these issues, what is causing them and is there anything I can do to correct them or should I just wait for the next release of the mod?.

- Thanks, BJ


I've been using this mod for quite sometime and never experienced that level of delay, there is of course some extra load when using the facebook features such as syncing an account. During normal use of the forum I dont see a whole lot of delay for example when I go to a topic the topic will load but the comment box might be a little delayed but that's about it.

The WSOD I've never had... what other mods are installed it could because of a combination of mods?
Title: Re: SA Facebook Integration
Post by: Spoogs on July 10, 2011, 12:46:16 PM
Quote from: dematrix2571 on July 10, 2011, 10:42:15 AM
Hello everyone,

I have used this Mod and been very happy with it.  I've been check the logs and notice that when someone tries to sign up using the facebook connect...it's generated a critical log...

The error is  "  The database value you're trying to insert does not exist: member_id "

I have gotten this error before when I tried to use the facebook connect for the first time.  Now it seems that some of my users who are trying to connect or sign up is getting this error.

Any ideas. 
SMF version/Mod version?

Quote from: dematrix2571 on July 10, 2011, 12:21:55 PM
Also couple of other questions, as I was not able to find any information on each of the function.

1.) Normal means users can register as usual with SMF or using Facebook.... facebook only means SMF registration is disabled and only facebook registrations are accepted... disabled mean facebook registration is disabled and only SMF registrations are accepted.

2)  0 means when a user registers via Facebook they will be treated the same as if they registered via SMF, If you wanted your users that registered with facebook to be automatically placed in a specific group then you would create that group and replace 0 with the group ID


Title: Re: SA Facebook Integration
Post by: bluejay51 on July 10, 2011, 01:05:40 PM
Thanks for the reply. Currently, there are about 50 members who have integrated/synced their forum account with Facebook. Not sure if that is enough to cause these intermittent (and somewhat lengthy) page-load delays but who knows.

I've tried disabling various features but have not seen much/any difference.

Oddly enough, on the in-house dedicated server (Which is kept as a backup) when a link to a specific topic/thread is clicked, I just get a white screen and the really strange part is that there is no Facebook button or even profile/forum/Admin links to the Facebook mod visible anywhere. I thought maybe this was a path issue but I was unable to locate any file where paths to this mod could be changed.

- Thanks again, BJ

Quote from: Spoogs on July 10, 2011, 12:41:46 PM
Quote from: bluejay51 on July 10, 2011, 10:34:11 AM
I'm using rev24 and it's a great mod with a lot of popular and useful features. However, ever since I installed this mod, my members (including myself) have been experiencing sporadic delays when navigating from one page on the forum to the next as well as the "white screen of death" where if you click a link, you simply get a white screen. I'm pretty sure it's not the server or another mod because when I completely uninstall this mod, the problems go away.

I noticed similar behaviour with rev21 except that the chat room and shout box suddenly became unusable.

Is anyone else experiencing these issues, what is causing them and is there anything I can do to correct them or should I just wait for the next release of the mod?.

- Thanks, BJ


I've been using this mod for quite sometime and never experienced that level of delay, there is of course some extra load when using the facebook features such as syncing an account. During normal use of the forum I dont see a whole lot of delay for example when I go to a topic the topic will load but the comment box might be a little delayed but that's about it.

The WSOD I've never had... what other mods are installed it could because of a combination of mods?
Title: Re: SA Facebook Integration
Post by: !RFAN on July 10, 2011, 02:00:22 PM
Facebook connect is not working on my website. When someone clicks on Facebook Connect button gets this error message " An error occurred with AmigoZone. Please try again later."

http://www.amigozone.com

Thanks
Title: Re: SA Facebook Integration
Post by: Spoogs on July 10, 2011, 02:31:25 PM
Quote from: bluejay51 on July 10, 2011, 01:05:40 PM
Thanks for the reply. Currently, there are about 50 members who have integrated/synced their forum account with Facebook. Not sure if that is enough to cause these intermittent (and somewhat lengthy) page-load delays but who knows.

I've tried disabling various features but have not seen much/any difference.

Oddly enough, on the in-house dedicated server (Which is kept as a backup) when a link to a specific topic/thread is clicked, I just get a white screen and the really strange part is that there is no Facebook button or even profile/forum/Admin links to the Facebook mod visible anywhere. I thought maybe this was a path issue but I was unable to locate any file where paths to this mod could be changed.

- Thanks again, BJ

50 shouldn't be an issue as I have more than that... maybe this is something SA can look into but I'm still curious as to what other mods you have installed, it may help pinpoint an incompatibility.
Title: Re: SA Facebook Integration
Post by: Spoogs on July 10, 2011, 02:33:24 PM
Quote from: !RFAN on July 10, 2011, 02:00:22 PM
Facebook connect is not working on my website. When someone clicks on Facebook Connect button gets this error message " An error occurred with AmigoZone. Please try again later."

http://www.amigozone.com

Thanks
A little more info than that is needed
Were there any errors on install?
Are the settings in the mod ACP correct (the AppID, API Key, Secret Key)?
What mods do you have installed?
Is your facebook app in sandbox mode?
Title: Re: SA Facebook Integration
Post by: twitter on July 10, 2011, 03:23:46 PM
Quote from: Spoogs on July 10, 2011, 02:31:25 PM
50 shouldn't be an issue as I have more than that... maybe this is something SA can look into but I'm still curious as to what other mods you have installed, it may help pinpoint an incompatibility.

Spoogs,

Thank You for this MOD. This MOD has features beyond expectation. I am just cross fingered that it works.

I have 2 vanilla systems with

1.    RSS Feed Poster    3.0.2a
2.    Pretty URLs    1.0RC5.2

as the only installed other mods and I am facing the same issue faced by bluejay.

The other issue that I faced was with the login with facebook connect. After allowing the application to login; it takes me to the registration page again.

Thanks for your help.





Title: Re: SA Facebook Integration
Post by: Spoogs on July 10, 2011, 03:42:00 PM
Quote from: twitter on July 10, 2011, 03:23:46 PM
as the only installed other mods and I am facing the same issue faced by bluejay.
SA will have to take a look at that, I'm really not sure what would be causing the issue, I can say however that I do not use any of those mods.

Quote
The other issue that I faced was with the login with facebook connect. After allowing the application to login; it takes me to the registration page again.
When the mod is first installed it doesn't know your facebook info and facebook does not know your forum info... you will notice when it brought you back to your registration page the info is a little different from what you would see on a normal SMF registration... click 'Already Registered' so you can sync your accounts... or you can login with your forum account and go to your profile and sync with your fb account there.
Title: Re: SA Facebook Integration
Post by: shorepower on July 10, 2011, 06:19:08 PM
I'm trying to understand how to install this mod. Being a newbie to SMF perhaps its a basic question but I'm stuck.

The mod do not exist under the package manager so I downloaded the files (rev24) (http://custom.simplemachines.org/mods/index.php?mod=2322) and uploaded thru FTP to the directory were the forum is placed. Executing install.php only results in a blank page.

Do I need to manually edit all the files as suggested or is there an easier way? Tried to search for a solution but can not find an instruction on how install this mod so I assume there is something basic I'm missing being a newbie with SMF

Thx for the support.

PS. The forum is running 2.0 gold vanilla. No other mods or themes are currently installed.
Title: Re: SA Facebook Integration
Post by: Kindred on July 10, 2011, 06:38:10 PM
You must use the package manager to upload and install the mod....
Title: Re: SA Facebook Integration
Post by: Dejv on July 10, 2011, 10:41:48 PM
Hello,

I have two questions:

1. I didnt find any screenshots. Can FB-connected-Users post in the forum just like normal users? They have a forum profile/id as well?

2. Would this mod work for a multidomain-multisite sharing the same user-database and forum-codebase? I assume I have to make an api for each domain.
Has anybody done that already for more a multisite?

Thanks a lot for reply
Title: Re: SA Facebook Integration
Post by: Spoogs on July 10, 2011, 10:47:26 PM
1. yes each user that registers via facebook will also have a forum account crested for them.
2. Dont know.
Title: Re: SA Facebook Integration
Post by: !RFAN on July 11, 2011, 03:21:09 AM
Quote from: Spoogs on July 10, 2011, 02:33:24 PM
Quote from: !RFAN on July 10, 2011, 02:00:22 PM
Facebook connect is not working on my website. When someone clicks on Facebook Connect button gets this error message " An error occurred with AmigoZone. Please try again later."

http://www.amigozone.com

Thanks
A little more info than that is needed
Were there any errors on install?
Are the settings in the mod ACP correct (the AppID, API Key, Secret Key)?
What mods do you have installed?
Is your facebook app in sandbox mode?

sorry it was in sandbox mode.. never knew about it.. Thanks
Title: Re: SA Facebook Integration
Post by: Spoogs on July 11, 2011, 09:11:09 AM
(http://skypeemoticons.net/wp-content/uploads/2010/01/Skype-emoticons-48-yes.gif)
Title: Re: SA Facebook Integration
Post by: Joker™ on July 11, 2011, 09:39:12 AM
QuoteWarning: You must create an application on facebook to use this modification
For information on creating your application please read ==> here <==

You need to change the links of those texts to
http://www.sa-smf.com/community/index.php?topic=734

Also is that slow on my side only?
Title: Re: SA Facebook Integration
Post by: Spoogs on July 11, 2011, 10:02:55 AM
The site was recently moved, that will be updated in the release, but yeah the 1st post needs to be updated.
Title: Re: SA Facebook Integration
Post by: !RFAN on July 11, 2011, 11:36:43 AM
can i have Avatar Select on Registration mod along with this mod?
I mean user must select avatar while registering using FB Connect.
Thanks
Title: Re: SA Facebook Integration
Post by: mrpackethead on July 11, 2011, 11:37:49 AM
I'm getting this everytime! 


Quote from: dematrix2571 on July 10, 2011, 10:42:15 AM
Hello everyone,

I have used this Mod and been very happy with it.  I've been check the logs and notice that when someone tries to sign up using the facebook connect...it's generated a critical log...

The error is  "  The database value you're trying to insert does not exist: member_id "

I have gotten this error before when I tried to use the facebook connect for the first time.  Now it seems that some of my users who are trying to connect or sign up is getting this error.

Any ideas.
Title: Re: SA Facebook Integration
Post by: WinkWay on July 13, 2011, 06:05:26 PM
I installed this Facebook mod and it almost works great but heres my issue.

1) I clicked register register with facebook
2) allow access (screen that shows up on facebook)
3) took me back to the Registration terms of service
4) i pressed 'i accept ...'
5) pressed 'login with facebook' again
6) now it says "(you only need to do this once) Already registered? Click here to login"
7) pressed 'here'
8) shows Username:
              Password:   

I don't have one if im using facebook connect, so i just hit login and it ofcourse says "You need to fill in a username" and im not on the main login page again.

Any ideas? All the facebook key, secret etc all work fine and are correct. In the admin panel it doesnt show anyone is using facebook connect, even though I got like half way through the process.

Jordan
Title: Re: SA Facebook Integration
Post by: Spoogs on July 13, 2011, 06:17:44 PM
You do already have 1 if you're already registered... it's your forum username and password ;)

It doesnt show in the log because of exactly what you said, you only went halfway through the process ;)
Title: Re: SA Facebook Integration
Post by: WinkWay on July 13, 2011, 06:25:20 PM
Quote from: Spoogs on July 13, 2011, 06:17:44 PM
You do already have 1 if you're already registered... it's your forum username and password ;)

It doesnt show in the log because of exactly what you said, you only went halfway through the process ;)

Thanks for the reply. I've just realised I was completely clueless and when I was taken to the page where it asks you to make a Username and Password I thought that was a mistaken then I realised its to link to the facebook account so you have a name to be known by in the forum. So yeah it works great although can I ask help on one thing.

I tested with an entirely different facebook account etc, all went fine however when I pressed 'ALLOW' on that facebook page it redirected me back to my sites registration terms of service again, how can I make it go straight to the (Username: Password:) page instead of pressing accept tos for the second time?
Title: Re: SA Facebook Integration
Post by: Spoogs on July 13, 2011, 06:29:39 PM
What theme are you using?
Title: Re: SA Facebook Integration
Post by: WinkWay on July 13, 2011, 06:36:03 PM
Quote from: Spoogs on July 13, 2011, 06:29:39 PM
What theme are you using?

This one - http://www.dzinerstudio.com/index.php?topic=6355.0

Jordan
Title: Re: SA Facebook Integration
Post by: Spoogs on July 13, 2011, 06:39:05 PM
The would be the issue, the theme doesnt have the quick login box where the mod inserts the facebook button, it would have to be manually added to the themes index.template.php file. If you switch to the SMF default theme temporarily you will notice the facebook button at the top of the page if you click that instead of the register button you will only see the agreement once.
Title: Re: SA Facebook Integration
Post by: WinkWay on July 13, 2011, 06:42:01 PM
Ok for now I'll just put a notice about you may have to press it twice but hopefully I can manually add it in sometime.

I appreciate the help! Fantastic work.

Jordan
Title: Re: SA Facebook Integration
Post by: Spoogs on July 13, 2011, 06:54:24 PM
that should work, and the good thing is that it only needs to be done once :)
Title: Re: SA Facebook Integration
Post by: SonOfTheLaw on July 14, 2011, 02:42:04 AM
Quote from: SonOfTheLaw on July 05, 2011, 11:54:51 AM
Hello, I need help on the iFrame on Facebook.

I was able to successfully install the mod without any problems.  At first I chose the Scroll Bars option, which went well.  However, I didn't really like how it looked like having horizontal & vertical scroll bars.  So I tried, the Auto-Resize option and it did remove the scrollbars (looks better!), problem is the height of the page did not resize to the expect height (it gets cut-off).

Anybody tried this successfully?

I got this fixed after a week of searching for a solution.  Apparently, I need to add a setAutoResize() to the code.

Here's the page where I got instructions: http://www.hyperarts.com/blog/facebook-iframe-apps-getting-rid-of-scrollbars/

On the code to add to function template_html_below(), you need to add this at the end of the <script>:
window.fbAsyncInit = function() {
    FB.Canvas.setAutoResize();
  }
Title: Re: SA Facebook Integration
Post by: shorepower on July 14, 2011, 04:54:35 AM
I have installad SA Facebook Integration and got most of it to work (the Facebook side is still problematic as I need to write some code there and struggling a bit, any code examples welcome  :) ).

As a next step I have started to translate SA Facebook Integration  to Swedish and there is one error I can not resolve. The Swedish characters åäö comes up with square boxes (see attached screenshots). For reference I have also attached the semi-translated language file (all user facing text translated but not all admin screens).

One thing I tried is to change the language settings in the main administration panel for SA Facebook Integration to sv_SE (instead of en_US) but this makes no difference.

The main language of the forum is swedish-utf8 and the database is also set up with utf-8.

Any help appriceated

Title: Re: SA Facebook Integration
Post by: bluejay51 on July 14, 2011, 09:28:46 PM
I was just curious about a few things.

I noticed that for awhile SA™ was very active on this thread and then he seemed to disappear abruptly and I haven't seen this member in about a week. Is this person on vacation or taking a break for awhile?. I was just wondering, that's all.

The other question I had was is the upcoming release of Facebook's Javascript SDK what is holding up the next release of the Facebook integration mod?. I've just kind of been assuming that it was since SA™ said earlier that there was an incompatibility and because Facebook won't be releasing it until the 20'th of July, 2011.

Anyway, just pondering, musing and wondering...

- BJ
Title: Re: SA Facebook Integration
Post by: SA™ on July 15, 2011, 12:38:11 AM
i am here in the back ground lol tho i have been busy with work these last few weeks

and yes there will be more updates when fb realses the new js sdk the mod isnt dead yet :P
Title: Re: SA Facebook Integration
Post by: shorepower on July 15, 2011, 10:31:35 AM
Quote from: shorepower on July 14, 2011, 04:54:35 AM
I have installad SA Facebook Integration and got most of it to work (the Facebook side is still problematic as I need to write some code there and struggling a bit, any code examples welcome  :) ).

As a next step I have started to translate SA Facebook Integration  to Swedish and there is one error I can not resolve. The Swedish characters åäö comes up with square boxes (see attached screenshots). For reference I have also attached the semi-translated language file (all user facing text translated but not all admin screens).

One thing I tried is to change the language settings in the main administration panel for SA Facebook Integration to sv_SE (instead of en_US) but this makes no difference.

The main language of the forum is swedish-utf8 and the database is also set up with utf-8.

Any help appriceated

Small bump, i have tried to go through the code but can not find any place were language or character sets are loaded for SA Facebook Integration.

The lanugage field in the admin panel seems to affect the way the application interacts with Facebook rather than the actual language in SMS (Am I correct in that assumption?)

Thx in advance for any support. If I get this resolved I will finalize the translation to Swedish.

Title: Re: SA Facebook Integration
Post by: ~Dragon~ on July 15, 2011, 10:32:52 AM
I learn myself easy how adjust to test on facebook work! I already reading perfect I am impressive I research I can help you problem troubleshooting, you tried struggle :?
Title: Re: SA Facebook Integration
Post by: Spoogs on July 15, 2011, 10:35:03 AM
Quote from: shorepower on July 15, 2011, 10:31:35 AM
Quote from: shorepower on July 14, 2011, 04:54:35 AM
I have installad SA Facebook Integration and got most of it to work (the Facebook side is still problematic as I need to write some code there and struggling a bit, any code examples welcome  :) ).

As a next step I have started to translate SA Facebook Integration  to Swedish and there is one error I can not resolve. The Swedish characters åäö comes up with square boxes (see attached screenshots). For reference I have also attached the semi-translated language file (all user facing text translated but not all admin screens).

One thing I tried is to change the language settings in the main administration panel for SA Facebook Integration to sv_SE (instead of en_US) but this makes no difference.

The main language of the forum is swedish-utf8 and the database is also set up with utf-8.

Any help appriceated

Small bump, i have tried to go through the code but can not find any place were language or character sets are loaded for SA Facebook Integration.

The lanugage field in the admin panel seems to affect the way the application interacts with Facebook rather than the actual language in SMS (Am I correct in that assumption?)

Thx in advance for any support. If I get this resolved I will finalize the translation to Swedish.



What is the language of your facebook app set to?
Title: Re: SA Facebook Integration
Post by: shorepower on July 15, 2011, 10:49:25 AM
Quote from: Spoogs on July 15, 2011, 10:35:03 AM
Quote from: shorepower on July 15, 2011, 10:31:35 AM
Quote from: shorepower on July 14, 2011, 04:54:35 AM
I have installad SA Facebook Integration and got most of it to work (the Facebook side is still problematic as I need to write some code there and struggling a bit, any code examples welcome  :) ).

As a next step I have started to translate SA Facebook Integration  to Swedish and there is one error I can not resolve. The Swedish characters åäö comes up with square boxes (see attached screenshots). For reference I have also attached the semi-translated language file (all user facing text translated but not all admin screens).

One thing I tried is to change the language settings in the main administration panel for SA Facebook Integration to sv_SE (instead of en_US) but this makes no difference.

The main language of the forum is swedish-utf8 and the database is also set up with utf-8.

Any help appriceated

Small bump, i have tried to go through the code but can not find any place were language or character sets are loaded for SA Facebook Integration.

The lanugage field in the admin panel seems to affect the way the application interacts with Facebook rather than the actual language in SMS (Am I correct in that assumption?)

Thx in advance for any support. If I get this resolved I will finalize the translation to Swedish.



What is the language of your facebook app set to?
Swedish (Locale setting)

Edit: also the application uses connection to swedish:   '//connect.facebook.net/sv-SE/all.js'

The text from Facebook displays correctly, with the Swedish characters, the problem is the menu options and buttons in SMF. As you see in the screenshoot you get the square instead of local characters for the modification but for the base theme, local charcters works
Title: Re: SA Facebook Integration
Post by: bluejay51 on July 15, 2011, 11:08:47 AM
Glad to hear your still around SA and that the Facebook plugin is alive and and well!. As a programmer, do you think updating the Javascript SDK will solve any of the following issues that people have been reporting lately?...

1) "Undefined" errors.
2) "White pages of death" (WPOD).
3) Intermittent Page-load delays.

These seem to be the main issues when I look through this thread and from what I am experiencing myself. If updating the Javascript JDK can solve these 3 issues, this plugin would be even more perfect than it already is :D
Title: Re: SA Facebook Integration
Post by: Spoogs on July 15, 2011, 11:13:31 AM
Quote from: shorepower on July 15, 2011, 10:49:25 AM
Quote from: Spoogs on July 15, 2011, 10:35:03 AM
Quote from: shorepower on July 15, 2011, 10:31:35 AM
Quote from: shorepower on July 14, 2011, 04:54:35 AM
I have installad SA Facebook Integration and got most of it to work (the Facebook side is still problematic as I need to write some code there and struggling a bit, any code examples welcome  :) ).

As a next step I have started to translate SA Facebook Integration  to Swedish and there is one error I can not resolve. The Swedish characters åäö comes up with square boxes (see attached screenshots). For reference I have also attached the semi-translated language file (all user facing text translated but not all admin screens).

One thing I tried is to change the language settings in the main administration panel for SA Facebook Integration to sv_SE (instead of en_US) but this makes no difference.

The main language of the forum is swedish-utf8 and the database is also set up with utf-8.

Any help appriceated

Small bump, i have tried to go through the code but can not find any place were language or character sets are loaded for SA Facebook Integration.

The lanugage field in the admin panel seems to affect the way the application interacts with Facebook rather than the actual language in SMS (Am I correct in that assumption?)

Thx in advance for any support. If I get this resolved I will finalize the translation to Swedish.



What is the language of your facebook app set to?
Swedish (Locale setting)

Edit: also the application uses connection to swedish:   '//connect.facebook.net/sv-SE/all.js'

The text from Facebook displays correctly, with the Swedish characters, the problem is the menu options and buttons in SMF. As you see in the screenshoot you get the square instead of local characters for the modification but for the base theme, local charcters works

That seems about right since the locale relates to your app's language not the mods. I see you attached a file above where you stared translating the mod to Swedish... is it complete?
Title: Re: SA Facebook Integration
Post by: shorepower on July 15, 2011, 11:27:26 AM
Quote from: Spoogs on July 15, 2011, 11:13:31 AM
Quote from: shorepower on July 15, 2011, 10:49:25 AM
Quote from: Spoogs on July 15, 2011, 10:35:03 AM
Quote from: shorepower on July 15, 2011, 10:31:35 AM
Quote from: shorepower on July 14, 2011, 04:54:35 AM
I have installad SA Facebook Integration and got most of it to work (the Facebook side is still problematic as I need to write some code there and struggling a bit, any code examples welcome  :) ).

As a next step I have started to translate SA Facebook Integration  to Swedish and there is one error I can not resolve. The Swedish characters åäö comes up with square boxes (see attached screenshots). For reference I have also attached the semi-translated language file (all user facing text translated but not all admin screens).

One thing I tried is to change the language settings in the main administration panel for SA Facebook Integration to sv_SE (instead of en_US) but this makes no difference.

The main language of the forum is swedish-utf8 and the database is also set up with utf-8.

Any help appriceated

Small bump, i have tried to go through the code but can not find any place were language or character sets are loaded for SA Facebook Integration.

The lanugage field in the admin panel seems to affect the way the application interacts with Facebook rather than the actual language in SMS (Am I correct in that assumption?)

Thx in advance for any support. If I get this resolved I will finalize the translation to Swedish.



What is the language of your facebook app set to?
Swedish (Locale setting)

Edit: also the application uses connection to swedish:   '//connect.facebook.net/sv-SE/all.js'

The text from Facebook displays correctly, with the Swedish characters, the problem is the menu options and buttons in SMF. As you see in the screenshoot you get the square instead of local characters for the modification but for the base theme, local charcters works

That seems about right since the locale relates to your app's language not the mods. I see you attached a file above where you stared translating the mod to Swedish... is it complete?

No it's not complete. I started with the user experince before the admin parts. Most suedes are ok with english but as Facebook are in Swedish I wanted to have the UI in Swedish.  I also want to make the final tests to see that the translation makes sense rather than being a word by word translation. It's a few hours work to get it completed but if the characters do not display correctly it's a "waste" of effort.

PS. We all curse the people that created the Swedish alphabet and did not have the vision to understand that there would be computers in the future  :)
Title: Re: SA Facebook Integration
Post by: SA™ on July 15, 2011, 02:26:20 PM
i know issues 1 and 2 i get them on my sites just havent been able to sort that yet cos i have been looking into the other error that people get member_id this happens to some people it basicly not pulling the fb name and sfuff from fb  this i hope the new js sdk will fix
were just have to wait and see what happens realy

Quote from: bluejay51 on July 15, 2011, 11:08:47 AM
Glad to hear your still around SA and that the Facebook plugin is alive and and well!. As a programmer, do you think updating the Javascript SDK will solve any of the following issues that people have been reporting lately?...

1) "Undefined" errors.
2) "White pages of death" (WPOD).
3) Intermittent Page-load delays.

These seem to be the main issues when I look through this thread and from what I am experiencing myself. If updating the Javascript JDK can solve these 3 issues, this plugin would be even more perfect than it already is :D
Title: Re: SA Facebook Integration
Post by: bluejay51 on July 15, 2011, 03:14:44 PM
I just checked my own error log to confirm. Looks like I'm getting lots of those too...

The database value you're trying to insert does not exist: member_id
Function: face_USettings
Title: Re: SA Facebook Integration
Post by: shorepower on July 16, 2011, 12:56:35 PM
Quote from: shorepower on July 15, 2011, 11:27:26 AM
Quote from: Spoogs on July 15, 2011, 11:13:31 AM
Quote from: shorepower on July 15, 2011, 10:49:25 AM
Quote from: Spoogs on July 15, 2011, 10:35:03 AM
Quote from: shorepower on July 15, 2011, 10:31:35 AM
Quote from: shorepower on July 14, 2011, 04:54:35 AM
I have installad SA Facebook Integration and got most of it to work (the Facebook side is still problematic as I need to write some code there and struggling a bit, any code examples welcome  :) ).

As a next step I have started to translate SA Facebook Integration  to Swedish and there is one error I can not resolve. The Swedish characters åäö comes up with square boxes (see attached screenshots). For reference I have also attached the semi-translated language file (all user facing text translated but not all admin screens).

One thing I tried is to change the language settings in the main administration panel for SA Facebook Integration to sv_SE (instead of en_US) but this makes no difference.

The main language of the forum is swedish-utf8 and the database is also set up with utf-8.

Any help appriceated

Small bump, i have tried to go through the code but can not find any place were language or character sets are loaded for SA Facebook Integration.

The lanugage field in the admin panel seems to affect the way the application interacts with Facebook rather than the actual language in SMS (Am I correct in that assumption?)

Thx in advance for any support. If I get this resolved I will finalize the translation to Swedish.



What is the language of your facebook app set to?
Swedish (Locale setting)

Edit: also the application uses connection to swedish:   '//connect.facebook.net/sv-SE/all.js'

The text from Facebook displays correctly, with the Swedish characters, the problem is the menu options and buttons in SMF. As you see in the screenshoot you get the square instead of local characters for the modification but for the base theme, local charcters works

That seems about right since the locale relates to your app's language not the mods. I see you attached a file above where you stared translating the mod to Swedish... is it complete?

No it's not complete. I started with the user experince before the admin parts. Most suedes are ok with english but as Facebook are in Swedish I wanted to have the UI in Swedish.  I also want to make the final tests to see that the translation makes sense rather than being a word by word translation. It's a few hours work to get it completed but if the characters do not display correctly it's a "waste" of effort.

PS. We all curse the people that created the Swedish alphabet and did not have the vision to understand that there would be computers in the future  :)



To get into a position were I can start using this on my Forum I have used a duct-tape workaround and replaced all åäö with aao. Not an ideal solution but I'm not able to find the error.

For reference please find a completed translation of SA Facebook Integration to Swedish (with local characters) if someone manages to solve the problem (comments on the translation welcome, I have not translated things that are not translated in Facebook lfor instance "Facebook Applikation Secret" ).

Another question I have is were the image "Publish" that are loaded on every topics comes from. I would like to translate that as well but can not find were the source is linked.

Title: Re: SA Facebook Integration
Post by: shorepower on July 18, 2011, 12:01:52 PM
Solved the problem, I made a mistake when the UTF-8 file was saved (needs to be saved in UTF-8 format). I have also made some minor updates to the translation and you can find the complate file attached.

So SA Facebook Integration now works with Swedish characters and are translated to Swedish

One thing I'm still trying to figure out is where is the souce of the text on the two buttons , "Publish" and "Connect with Facebook". They seems to come from other source than the text file.


Title: Re: SA Facebook Integration
Post by: SA™ on July 18, 2011, 01:50:23 PM
Publish is in display.template.php it hardcoded i will change that in the next version

Connect with Facebook is an image in facebookHooks.php

<img src="http://b.static.ak.fbcdn.net/rsrc.php/zB6N8/hash/4li2k73z.gif" alt="" />

it there a few times
Title: Re: SA Facebook Integration
Post by: !RFAN on July 19, 2011, 07:22:45 PM
i want to add comment and like box in aeva media gallery
i ant to add these boxes in items..
i added :                             call_facebook_hook('show_facebook_comments',array('http://www.amigozone.com/index.php?action=media','10','970','light'));


for comments but it posts as a comment on gallery home.. what address should i add so that it can show comment/like at the item and not the main gallery...

i have tried this  :  ' . $galurl . 'sa=item;in=' . $id . '
not working

please help me
Title: Re: SA Facebook Integration
Post by: thecoo1est on July 19, 2011, 08:24:30 PM
First I want to thank the mod creator for their hard work, I dont want to sound ungreatful because I really wanted this mod but found out it wasnt what I expected.

I wanted to use this mod, but I had a couple problems I think people should be aware of just incase, luckily the problems were early on in my forums life and didnt affect me that bad. The first time I installed this when it started the redirect to put your app id info in the screen went white and completely killed my forum, would not load any pages and no error or anything was showing.a simple reinstall didnt work I had to restore my database for some reason, lukily I had a backup. I reinstalled the whole forum and installed safacebook again and it did the same thing, the third time finally installed. If anyone could shed light as to why, I would love to know?

I wanted it for the login with facebook function only but it seemed more difficult to use that than to just register, is there anyway to make this simple like most facebook logins on other sites? I mean if I wanted to use that to login and then it ask me to give the facebook app permissions and then wants a user name and password just seems a little much for any user to agree with.

Again I dont want to sound like a ass, I really wanted this, is there going to be a update for a most useful simplistic version?

Title: Re: SA Facebook Integration
Post by: Kindred on July 19, 2011, 08:34:03 PM
Blame Facebook, not this mod....   Facebook changed their security protocols and require app approval and acceptance. There is very little that this mod, or any other, can do about it.
Title: Re: SA Facebook Integration
Post by: bronxe on July 19, 2011, 08:40:44 PM
Actually i have installed the Facebook Like v.2.0 mod but it's not working.
What may be the issue?
Title: Re: SA Facebook Integration
Post by: Kindred on July 19, 2011, 08:42:51 PM
This is a different mod... So we have no idea. You should ask in the support thread for THAT mod.
Title: Re: SA Facebook Integration
Post by: thecoo1est on July 19, 2011, 09:05:19 PM
Quote from: Kindred on July 19, 2011, 08:34:03 PM
Blame Facebook, not this mod....   Facebook changed their security protocols and require app approval and acceptance. There is very little that this mod, or any other, can do about it.
I understand, I hate facebook and I use it rarely, but it is something alot of people use and I wanted to make it a par of my forum, thanks for your reply, and Im sorry I had it backwards, shouldve known it was facebooks fault.  :o
Title: Re: SA Facebook Integration
Post by: !RFAN on July 20, 2011, 04:05:43 AM
Quote from: !RFAN on July 19, 2011, 07:22:45 PM
i want to add comment and like box in aeva media gallery
i ant to add these boxes in items..
i added :                             call_facebook_hook('show_facebook_comments',array('http://www.amigozone.com/index.php?action=media','10','970','light'));


for comments but it posts as a comment on gallery home.. what address should i add so that it can show comment/like at the item and not the main gallery...

i have tried this  :  ' . $galurl . 'sa=item;in=' . $id . '
not working

please help me
Title: Re: SA Facebook Integration
Post by: shorepower on July 20, 2011, 07:27:39 AM
Quote from: SA™ on July 18, 2011, 01:50:23 PM
Publish is in display.template.php it hardcoded i will change that in the next version

Connect with Facebook is an image in facebookHooks.php

<img src="http://b.static.ak.fbcdn.net/rsrc.php/zB6N8/hash/4li2k73z.gif" alt="" />

it there a few times
Thx for the information.

I really like this mod and appreciate the work done. Will now start running it on my forum and will see how it affects usage.

As a suggestion if xfbml (I think this is the correct name) would be used (as already done for the like function) for Connect with Facebook and comment/publish that would help with translation etc as they are done automatically when adding the correct language for the different buttons

Title: Re: SA Facebook Integration
Post by: Kindred on July 20, 2011, 08:17:17 AM
!RFAN

adding that comment box goes well beyond what this mod is or does... I suggest that you ask in the coding or help wanted section - most especially since you are trying to add the code to a different mod.
Title: Re: SA Facebook Integration
Post by: bluejay51 on July 23, 2011, 01:41:54 PM
I can't seem to locate anything about the new Javascript SDK that was supposed to be released by Facebook on the 20'th of July, 2011 (3 days ago). Last time I saw any news about it, it was on Facebook's developer blog over 2 weeks ago. As I understand it, this is one of the things that was going to be updated in the new SA FB Integration mod.

Any idea how that is going?. I love this mod and am anxiously awaiting it's release as rev 24 has some issues.

Not complaining or being impatient at all. Just wondering, that's all  :)
Title: Re: SA Facebook Integration
Post by: Spoogs on July 23, 2011, 01:44:48 PM
The new SDK has been released and new Revs are being tested.
Title: Re: SA Facebook Integration
Post by: bluejay51 on July 23, 2011, 02:09:52 PM
That's great news. Thanks for the update!.

Quote from: Spoogs on July 23, 2011, 01:44:48 PM
The new SDK has been released and new Revs are being tested.
Title: Re: SA Facebook Integration
Post by: TwitchisMental on July 23, 2011, 05:35:44 PM
SA you always amaze me what your outstanding mods. 
Title: Re: SA Facebook Integration
Post by: shorepower on July 23, 2011, 06:20:02 PM
Quote from: Spoogs on July 23, 2011, 01:44:48 PM
The new SDK has been released and new Revs are being tested.
Great news. if you need a Swedish translation I might be able to help with any revisions
Title: Re: SA Facebook Integration
Post by: bluejay51 on August 02, 2011, 10:48:02 AM
Any word on the progress of the new Facebook integration MOD?. Really looking forward to this so just thought I'd ask :)
Title: Re: SA Facebook Integration
Post by: ~DS~ on August 02, 2011, 01:28:08 PM
Quote from: bluejay51 on August 02, 2011, 10:48:02 AM
Any word on the progress of the new Facebook integration MOD?. Really looking forward to this so just thought I'd ask :)
Quote from: Spoogs on July 23, 2011, 01:44:48 PM
The new SDK has been released and new Revs are being tested.
Title: Re: SA Facebook Integration
Post by: bluejay51 on August 02, 2011, 11:00:56 PM
Thanks. Yes, I read that (and replied) when it was posted 8 days ago. I was wondering if any progress had been made since then. Looking forward to downloading the new version once it is released.

Quote from: ~DS~ on August 02, 2011, 01:28:08 PM
Quote from: bluejay51 on August 02, 2011, 10:48:02 AM
Any word on the progress of the new Facebook integration MOD?. Really looking forward to this so just thought I'd ask :)
Quote from: Spoogs on July 23, 2011, 01:44:48 PM
The new SDK has been released and new Revs are being tested.
Title: Re: SA Facebook Integration
Post by: SA™ on August 06, 2011, 12:22:26 AM
Rev 32 realsed

Quotefixed broken fb social plugin link
fixed not alloing guest access not being able to rgister
updated the invite friends part to use fb ui instead
fixed like box options where back to front
fixed having pwp enabled thru an error loggin in
fixed issues with certain themes not showing like and button comments
added option to set invite text
added minor fb canvas support
fixed publish button broken on locked topics
fixed hard coded text
fixed buffer was looking for text that only shows when logged out
fixed editing fb setting need logging in never logged into facebook
fixed using fb only reg method login var was undefined
added option in admin to set facebook login image
added error checks for fb id and fb name
updated link to point to new domain
added server info in admin [about]
updated js sdk
fixed import friends still showed when buddys/ignore list was disabled
added  support for custom theme on fb canvas page
Update to FB API 3.1.0
Title: Re: SA Facebook Integration
Post by: bluejay51 on August 06, 2011, 11:19:12 AM
First of all, thank you for all your hard work and for a really good mod!. Your efforts are appreciated and I am looking forward to installing this latest version (rev32). I just wanted to ask though, before installing this new version do I have to...

1) Disassociate/unsync All Facebook Users?
2) Get a new Facebook Access Token?
3) Change or get a new Facebook Application ID, Application Key or Application Secret?
4) Delete tables or other data from the MySQL database?.


Or is it safe to simply just uninstall the old version (rev24) and install the new one (rev32)?.

Finally, if it is necessary to unsync all FB users, will any wall posts or other data be lost?.

Thanks as usual for your excellent work!, BJ
Title: Re: SA Facebook Integration
Post by: SA™ on August 06, 2011, 12:43:18 PM
1) no
2) no
3) no
4) no

just uninstall and then reinstall new version
Title: Re: SA Facebook Integration
Post by: bluejay51 on August 06, 2011, 12:54:19 PM
Thanks for the reply. I hate to say it but just like rev21, the new version I just installed (rev32) has rendered the Ajax chat room and shout box completely unusable (it's all white and I can't see anyone or type anything). Any suggestions?. I have really been looking forward to this :( . The forum uses SMF 2.0 final and the default Curve theme. When I installed rev32, I installed it on the Curve theme...should I have installed it on the Core theme as well?.

Also noticed that when clicking on the "Facebook" link in my profile, I get...



Fatal error: Uncaught OAuthException: (#803) Some of the aliases you requested do not exist: 1.00000761815E 14 thrown in /xxxxxx/xxxxxxx/public_html/facebookauth/base_facebook.php on line 1012

- Thanks, BJ
Title: Re: SA Facebook Integration
Post by: SA™ on August 06, 2011, 01:54:31 PM
see if this helps with the shout box and chat

http://www.sa-smf.com/community/index.php?topic=1332.msg7963#msg7963
Title: Re: SA Facebook Integration
Post by: bluejay51 on August 06, 2011, 02:06:30 PM
Hey, thanks SA...that worked! :) . Still getting the other error when I click on the "Facebook" link in my profile though.

By the way, what was that code for anyway (just curious) and will I not be able to use certain features because I removed it?.
Title: Re: SA Facebook Integration
Post by: SA™ on August 06, 2011, 02:10:18 PM
it basicly a theme chnager it detecs the fb canvas and if set it will switch themes you just wont be able to use the the last three option in facebook admin/canvas


i have a better way of doing this just like mobile but i cant get the theme to stay once chnaged :/
Title: Re: SA Facebook Integration
Post by: bluejay51 on August 06, 2011, 02:16:23 PM
Ok, well I'm not using those at the moment anyway and I'm only using one theme (default/Curve) so that's good. So should I have installed the SA Facebook Integration plugin to the core theme too?.

Also, I just noticed that I'm also getting the "Fatal error: Uncaught OAuthException: (#803) Some of the aliases you requested do not exist: 1.00000761815E 14 thrown in /xxxxxx/xxxxxxx/public_html/facebookauth/base_facebook.php on line 1012" when I click on the "Publish" icon as well. Is there anything you can suggest?.

Thanks, BJ
Title: Re: SA Facebook Integration
Post by: SA™ on August 06, 2011, 02:19:03 PM
can you verify theere is a valid fb connection by going to facebook tab if there is no connection it will say so

if it says so connect to fb and try again tho you shouldent need todo this but just to make sure :)
Title: Re: SA Facebook Integration
Post by: SA™ on August 06, 2011, 02:30:43 PM
fb tab is in the menu you need to be synced to see it tho


can i have a link to your site pls?
Title: Re: SA Facebook Integration
Post by: bluejay51 on August 06, 2011, 02:37:00 PM
Sure, it's http://www.anxietyzone.com

Ok, here's what happens...

When I am already logged into my Facebook account and I click on the forum "Profile" link, the "Facebook" link within my profile or the "Publish" button, I get the error message I mentioned earlier.

However, if I completely log out of my Facebook account and then associate my forum account with my Facebook account, it works perfectly.

But the problem is that any member of the forum who chooses not to have their forum account associated with their Facebook account or is not currently logged out of their Facebook account is going to be getting that error message because the error only occurs for those who do not have their accounts synced.

Thanks again for your help.
Title: Re: SA Facebook Integration
Post by: SA™ on August 06, 2011, 02:44:05 PM
QuoteBut the problem is that any member of the forum who does not have their forum account associated with their Facebook account or is not logged out of their Facebook account is going to be getting that error message because the error only occurs for those who do not have their accounts synced.

the publish work as a guest and guest aint synced with fb i was albe to publish

http://www.anxietyzone.com/index.php?topic=44521.msg265202#msg265202

ok i think it may of been a cookie issue your end cos i just registerd with twitter so i wasnt synced with fb and can publishand view my profile fine
Title: Re: SA Facebook Integration
Post by: bluejay51 on August 06, 2011, 02:49:54 PM
UPDATE: Even when synced, I'm still getting that message when I go to: Facebook>Settings (in my profile) and when I click on the "Publish" button (even as a guest). Clearing cookies did nothing. Same issues.
Title: Re: SA Facebook Integration
Post by: SA™ on August 06, 2011, 02:56:13 PM
hmmm this is strange im now synced with fb and can still do facebook settings, publish just fine it has tobe an issue your end if it was the code it wouldent work for me either
Title: Re: SA Facebook Integration
Post by: bluejay51 on August 06, 2011, 03:18:26 PM
I just deleted all of the cookies again and am continuing to receive the same error. I'm not sure if this will help but please take a look here and tell me what you think...

http://programmersgoodies.com/some-of-the-aliases-you-requested-do-not-exist-facebook-graph-api-photo-to-album

...and...

http://forum.developers.facebook.net/viewtopic.php?id=104108

These may provide a clue to the underlying issues since others are getting this same message under various circumstances.
Title: Re: SA Facebook Integration
Post by: boazor on August 06, 2011, 03:20:50 PM
hi ,

I setup account on facebook and add the apps id and secret and when i try to use it
i get error "An error occurred with initeam. Please try again later."

any idea why?
Title: Re: SA Facebook Integration
Post by: SA™ on August 06, 2011, 03:30:29 PM
wild guess

in sources/facebook.php

try changing

$fql = "SELECT uid FROM user WHERE uid IN (SELECT uid2 FROM friend WHERE uid1=".$context['fbid'].") AND is_app_user = 1"; 
to
$fql = "SELECT uid FROM user WHERE uid IN (SELECT uid2 FROM friend WHERE uid1=".$FacebookId.") AND is_app_user = 1"; 
Title: Re: SA Facebook Integration
Post by: bluejay51 on August 06, 2011, 03:33:21 PM
Sorry SA - was that code intended for me or the other poster?.
Title: Re: SA Facebook Integration
Post by: SA™ on August 06, 2011, 03:35:37 PM
you
Title: Re: SA Facebook Integration
Post by: SA™ on August 06, 2011, 03:37:00 PM
Quote from: boazor on August 06, 2011, 03:20:50 PM
hi ,

I setup account on facebook and add the apps id and secret and when i try to use it
i get error "An error occurred with initeam. Please try again later."

any idea why?

make sure you setup the app properly this will help

http://www.sa-smf.com/community/index.php?topic=734.0
Title: Re: SA Facebook Integration
Post by: bluejay51 on August 06, 2011, 03:47:18 PM
To SA - Thanks but even after applying the code and deleting all cookies I'm still receiving this error. Any other suggestions?. Thanks again for your help on this.

Update: I'm getting this error on a lot of different links in the forum (all profiles, publish, settings, etc).

Also, one member reported that when they responded to a post on the forum, their reply was automatically posted to their Facebook page even though they had not synced the two accounts and that there was a "red and yellow circle icon" before the post they responded to.
Title: Re: SA Facebook Integration
Post by: robertman on August 06, 2011, 05:34:42 PM
I'm having severe issues with this as well.

"Fatal error: Uncaught OAuthException: (#803) Some of the aliases you requested do not exist:" when trying to register or publish via facebook.

my Id, Key, And secret works. It shows the app, and asks me to click allow to register on the forum, then it gives me that error instead of finalizing the Registration.

Recommend, Like, And comment work perfectly. however registry and publishing do not, if that helps any
Title: Re: SA Facebook Integration
Post by: bluejay51 on August 06, 2011, 05:45:44 PM
Regrettably, I've had to un-install rev32 due to this error. Rev 24 had some issues but for the most part, was pretty solid and worked pretty well. I will keep an eye out here and reinstall it if this issue can be sorted out eventually. At least I know I'm not alone.
Title: Re: SA Facebook Integration
Post by: robertman on August 06, 2011, 05:48:05 PM
bluejay how is 24? does it work well? what are the different features?
Title: Re: SA Facebook Integration
Post by: boazor on August 06, 2011, 07:33:53 PM
Quote from: SA™ on August 06, 2011, 03:37:00 PM
Quote from: boazor on August 06, 2011, 03:20:50 PM
hi ,

I setup account on facebook and add the apps id and secret and when i try to use it
i get error "An error occurred with initeam. Please try again later."

any idea why?

make sure you setup the app properly this will help

http://www.sa-smf.com/community/index.php?topic=734.0

Thank you :)
Title: Re: SA Facebook Integration
Post by: SA™ on August 07, 2011, 02:01:30 AM
Quote from: bluejay51 on August 06, 2011, 05:45:44 PM
Regrettably, I've had to un-install rev32 due to this error. Rev 24 had some issues but for the most part, was pretty solid and worked pretty well. I will keep an eye out here and reinstall it if this issue can be sorted out eventually. At least I know I'm not alone.

Quote from: robertman on August 06, 2011, 05:34:42 PM
I'm having severe issues with this as well.

"Fatal error: Uncaught OAuthException: (#803) Some of the aliases you requested do not exist:" when trying to register or publish via facebook.

my Id, Key, And secret works. It shows the app, and asks me to click allow to register on the forum, then it gives me that error instead of finalizing the Registration.

Recommend, Like, And comment work perfectly. however registry and publishing do not, if that helps any

can you guys try changing

$user_profile = $facebook->api('/'.$user.'&access_token='.$access_token);
to
$user_profile = $facebook->api('/'.$userInfo[0]['uid'].'&access_token='.$access_token);

in sources/facebook/facebookhooks.php

if that dont work try commenting that line out and see if it work tho you wont be able to use the mod with out that line  but i think that line might be the issue
Title: Re: SA Facebook Integration
Post by: boazor on August 07, 2011, 05:53:21 AM
Quote from: boazor on August 06, 2011, 07:33:53 PM
Quote from: SA™ on August 06, 2011, 03:37:00 PM
Quote from: boazor on August 06, 2011, 03:20:50 PM
hi ,

I setup account on facebook and add the apps id and secret and when i try to use it
i get error "An error occurred with initeam. Please try again later."

any idea why?

make sure you setup the app properly this will help

http://www.sa-smf.com/community/index.php?topic=734.0

Thank you :)



Dam why i am getting ****** error

"The database value you're trying to insert does not exist: email_address"
Title: Re: SA Facebook Integration
Post by: bluejay51 on August 07, 2011, 10:01:56 AM
To SA - Sure, I'll give it a try shortly. What I did yesterday was to just reinstall rev24 and it's working pretty good but I do like rev32 better because of it's more polished look and extra features.

I was also wondering about something...yesterday, I accidentally deleted all of the synced members who had their Facebook accounts associated with the forum. Luckily, I made a backup of the site and databases before this happened. Is there any way of using the backup to restore these members who were unsynced?. If so, how do I do this?.

I will try the code you provided and report back here with the results in a little while.

Thanks again for all your help, BJ
Title: Re: SA Facebook Integration
Post by: bluejay51 on August 07, 2011, 11:48:08 AM
I just did a fresh install of rev32. Replaced code as suggested (but left the code you told me to replace for my Ajax Chat issue intact). Cleared all Facebook and forum cookies. Refreshed browser. Logged into forum as regular user and synced my forum account with my Facebook account.

Everything worked except that when I clicked on Facebook and Settings in my forum profile. I got the same error message that I've been getting right along as well as a new one...



Fatal error: Uncaught CurlException: 6: name lookup timed out thrown in /xxxxx/xxxxx/public_html/facebookauth/base_facebook.php on line 798

Just the simple act of clicking on my forum profile gives me this error...



Fatal error: Uncaught GraphMethodException: Unsupported get request. thrown in /xxxxx/xxxxx/public_html/facebookauth/base_facebook.php on line 1012



When I click on "Publish", I get...



Fatal error: Uncaught GraphMethodException: Unsupported get request. thrown in /xxxxx/xxxxx/public_html/facebookauth/base_facebook.php on line 1012

Hope this helps...

- BJ
Title: Re: SA Facebook Integration
Post by: SA™ on August 07, 2011, 03:11:30 PM
QuoteFatal error: Uncaught CurlException: 6: name lookup timed out thrown in /xxxxx/xxxxx/public_html/facebookauth/base_facebook.php on line 798

This is probably the host is not given enough time to contact with facebook server

to try and solve open facebookauth/base_facebook.php

public static $CURL_OPTS = array(
    CURLOPT_CONNECTTIMEOUT => 10,
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_TIMEOUT        => 60,
    CURLOPT_USERAGENT      => 'facebook-php-3.1',
  );


Modify CURLOPT_CONNECTION to increase its value to, 30 or higher.

CURLOPT_CONNECTTIMEOUT => 30,
and test your facebook application again to see if it works.

im looking into the other errors now
Title: Re: SA Facebook Integration
Post by: SA™ on August 07, 2011, 03:14:31 PM
Quote from: boazor on August 07, 2011, 05:53:21 AM
Quote from: boazor on August 06, 2011, 07:33:53 PM
Quote from: SA™ on August 06, 2011, 03:37:00 PM
Quote from: boazor on August 06, 2011, 03:20:50 PM
hi ,

I setup account on facebook and add the apps id and secret and when i try to use it
i get error "An error occurred with initeam. Please try again later."

any idea why?

make sure you setup the app properly this will help

http://www.sa-smf.com/community/index.php?topic=734.0

Thank you :)



Dam why i am getting ****** error

"The database value you're trying to insert does not exist: email_address"
seems like we can no longer get email adresses from fb api any more :(

sources/facebook/facebookhooks.php

find
$FaceBookEmail = $userInfo[0]['contact_email'];   
replace with
$FaceBookEmail = !empty($userInfo[0]['contact_email']) ? $userInfo[0]['contact_email'] : $userInfo[0]['proxied_email'];
Title: Re: SA Facebook Integration
Post by: bluejay51 on August 07, 2011, 04:20:57 PM
Ok thanks SA. I'll give that a try. Still not sure what to do about this though...



I was also wondering about something...yesterday, I accidentally deleted all of the synced members who had their Facebook accounts associated with the forum. Luckily, I made a backup of the site and databases before this happened. Is there any way of using the backup to restore these members who were unsynced?. If so, how do I do this?.

Any ideas?.
Title: Re: SA Facebook Integration
Post by: boazor on August 07, 2011, 04:23:19 PM
i found problem after i install

"Fetching preview..."

and when i remove it this problem gon.

any reason way?
Title: Re: SA Facebook Integration
Post by: SA™ on August 08, 2011, 01:53:11 AM
@boazor


Quote from: SA™ on August 06, 2011, 01:54:31 PM
see if this helps

http://www.sa-smf.com/community/index.php?topic=1332.msg7963#msg7963
Title: Re: SA Facebook Integration
Post by: shorepower on August 08, 2011, 12:09:07 PM
Attached is a Swedish translation of rev32. Thx for a good modification SA

Title: Re: SA Facebook Integration
Post by: bluejay51 on August 08, 2011, 12:10:13 PM
I've uninstalled this for now and gone back to rev24 because of the errors and other issues. It would still be nice to know how to restore all of the synced accounts that were lost due to an accident on my part (if that's possible). Perhaps some day when a patched (or new) version is released I'll give it another try but for now, I think I'll just stick with rev24 and yes, thanks for a great mod. If there is anything else you can suggest that I add or remove to fix the errors, I'd be happy to reinstall rev32 and give it another try. Just let me know.

- Thanks, BJ
Title: Re: SA Facebook Integration
Post by: SA™ on August 08, 2011, 02:59:31 PM
ill try to relase  rev33 in a couple of days theonly real chnage will be that if there is an api error it will catch it and display the error inside the forum instead of a white page this can help with debgging aswell cos the errors will be better explained plus other fixes will be applied

i find it frustrating cos i cant replicate these errors so it only guess work on my side but if the errors are more detaild it will be easy for me to find te issues

as for your synced member im not sure on that one tbh it would just be easyer to get those people to resync
Title: Re: SA Facebook Integration
Post by: vrshc on August 08, 2011, 06:27:19 PM
i am getting an unknown error can any one explain me?
Title: Re: SA Facebook Integration
Post by: SA™ on August 08, 2011, 11:20:14 PM
REV 34 Realsed


added try{} and catch{} FacebookApiException to catch api errors to display in fatal_error() function
fixed fetching email issues
fixed some of the aliases you requested do not exist error
fixed canvas theme supprt breking ajax stuff
updated facebook sdk to 3.1.1

the api update should fix most of the issue in rev32
Title: Re: SA Facebook Integration
Post by: bluejay51 on August 08, 2011, 11:48:26 PM
You know, I have to hand it to you SA, you are very prompt when it comes to support, fixing bugs quickly and staying on top of things so kudos to you :D .

I will give this a try tomorrow and report back here with the results. From your most recent changelog, it looks like you fixed most (if not all) of the glitches and the debugging code should help quite a bit since it's difficult to reproduce the errors some of us were getting.

- BJ
Title: Re: SA Facebook Integration
Post by: bluejay51 on August 09, 2011, 08:27:49 AM
Here is my report.

I completely uninstalled rev24 (except synced accounts). Installed rev34. Cleared all cookies. Logged into forum with a regular (non-admin) user account. The regular/non-admin user account I used is just a name I made up to test rev34 on the forum.

Clicked on "Profile". Went to Facebook>Associate account with Facebook. It worked. But when I went back to my profile and went to Facebook>Settings I got this error again...



OAuthException: (#803) Some of the aliases you requested do not exist: 1.00000761815E 14

I'm also getting this same error message when I click on the "Publish" button. However, the Ajax chat room and shoutbox work this time and I am no longer getting this error when I click on my "Profile" link in the forum.

Just curious...if I sign up on the forum using the name "user123" but my Facebook name is "John Doe" how does your mod know that "user123" on the forum is "John Doe" on Facebook and thus allow integration, publishing, likes, etc between the two accounts?.

Also, where do all of these published posts, likes, recommends, etc go when a regular user clicks on one of these buttons?. To the forum's Facebook app page?...to the user's own Facebook page?.

I'm beginning to wonder if the "alias" error has something to do with this.

- BJ
Title: Re: SA Facebook Integration
Post by: SA™ on August 09, 2011, 12:35:33 PM
Quote from: bluejay51 on August 09, 2011, 08:27:49 AM
Just curious...if I sign up on the forum using the name "user123" but my Facebook name is "John Doe" how does your mod know that "user123" on the forum is "John Doe" on Facebook and thus allow integration, publishing, likes, etc between the two accounts?.

because when you sync your account it stores your fb name and fb id in the database

QuoteAlso, where do all of these published posts, likes, recommends, etc go when a regular user clicks on one of these buttons?. To the forum's Facebook app page?...to the user's own Facebook page?.

they goto the users fb wall not your app it pointless publishing post goin to your app but however the publiser tho auto post to facebook can goto your app or fb profile

QuoteI'm beginning to wonder if the "alias" error has something to do with this.

no it is facebook chnging there api's there depreciting some methods quicker than i can patch them :D

QuoteOAuthException: (#803) Some of the aliases you requested do not exist: 1.00000761815E 14

there is a fix for this that i know works now try the attached package
Title: Re: SA Facebook Integration
Post by: bluejay51 on August 09, 2011, 01:46:13 PM
Thanks for responding, answering my questions and for patching it so quickly. I'm going to try the attached package right now and report back here again.

I'm assuming that even a non-registered forum guest (without a synced account) can still use the Publish/Like/Recommend buttons just as long as they already have a Facebook page?.

- BJ
Title: Re: SA Facebook Integration
Post by: bluejay51 on August 09, 2011, 02:08:07 PM
Just finished installing and testing and I can report that it now works perfectly as far as I can tell. For example...

1) I can associate and disassociate my Facebook account with no errors or other issues.
2) Facebook>Settings now works without producing an error.
3) "Publish" now works without producing an error.
4) All Ajax-related issues seem to be fixed.

I haven't tested everything just yet but it's a LOT better now and everything seems to work very well. Thanks for all your hard work on this!  :D

- BJ 
Title: Re: SA Facebook Integration
Post by: Alex' Manson on August 10, 2011, 01:00:16 PM
can you tell me how to move the "like" and "send" buttons like this mod here?
http://custom.simplemachines.org/mods/index.php?mod=2543

Thanks..
it now shows under the linktree. i don't like it there :s
Title: Re: SA Facebook Integration
Post by: dematrix2571 on August 13, 2011, 01:12:12 AM
I love this mod very much.  Thanks for continuing to work on this mod and making it available to us.  It just keep getting better every time.

I have technical question in regards to the amount of information that is posting to our facebook page. See below....

_______________________________
Cheatham Talk
Re: Pegram alderman, recorder resign

Re: Pegram alderman, recorder resign
http://www.cheathamtalk.com

Hello Donnie thank you for having
________________________________

Where can I edit the file to post more information from a post.  For example, "Hello Donnie thank you for having" is the number of character it pulls from a post and place on wall of facebook. I want to see about pulling the first 2 or 3 lines.

I hope I am making sense.

Thanks!
Title: Re: SA Facebook Integration
Post by: SA™ on August 13, 2011, 01:56:07 AM
index.php

$length = 6;

change the six
Title: Re: SA Facebook Integration
Post by: shorepower on August 14, 2011, 12:10:22 PM
SA, thx again for a very good mod.

One thing I'm trying to solve is the submission of national characters. When using the publish function on an UTF-8 forum the  national characters gets lost on  "body" but not on "subject" (topic). This is true not only for Swedish characters but also for instance German (ü) and French (é)

The only difference in SMF I can find is that in MYSQL "subject" is defined as type varchar(255) and "body" is defined as text but both are UTF-8 so I do not think this would make any difference

Example, note the å on topic vs the missing ä on the body of the message:
SMF Forum
SV: Idag dricker vi [Klistad tråd]
Akarua Pinot Noir Väldigt kryddig doft

Facebook
SV: Idag dricker vi [Klistad tråd]
Akarua Pinot Noir V ldigt kryddig doft

Another question I have is how do you affect the picture that comes up in Facebook together with the published content With REV34 it has now turned into a undecided smiley  :-\

Thx in advance for any ideas

PS. I have also translated REV34 to Swedish if there is any interest.

Title: Re: SA Facebook Integration
Post by: hotwheels on August 14, 2011, 12:41:02 PM
Quick question and i did do a search but nothing came up on this. Right now on my site when i click the "like" button, it refreshes non-stop. The only way i can stop it from liking is to move my mouse to the close button on the like box that keeps popping up non-stop.....Anyone else experience this and if so, what was the fix?
Title: Re: SA Facebook Integration
Post by: SA™ on August 14, 2011, 06:42:38 PM
QuoteThe only difference in SMF I can find is that in MYSQL "subject" is defined as type varchar(255) and "body" is defined as text but both are UTF-8 so I do not think this would make any difference

Example, note the å on topic vs the missing ä on the body of the message:
SMF Forum
SV: Idag dricker vi [Klistad tråd]
Akarua Pinot Noir Väldigt kryddig doft

Facebook
SV: Idag dricker vi [Klistad tråd]
Akarua Pinot Noir V ldigt kryddig doft

thanks for the report ill look into this later tho i only ever tryed with english cos that my language

QuoteAnother question I have is how do you affect the picture that comes up in Facebook together with the published content With REV34 it has now turned into a undecided smiley 

what publish do you mean the auto publish or the button on each post?

the auto publish grabs the topic icon used

the publish button doesn grab the topics image it grabs whats avalible

in index.php uncomment

'picture' => $message['icon_url'],

and you could add your own image there

'picture' => 'someiconurl.com',

Title: Re: SA Facebook Integration
Post by: SA™ on August 14, 2011, 06:44:17 PM
Quote from: hotwheels on August 14, 2011, 12:41:02 PM
Quick question and i did do a search but nothing came up on this. Right now on my site when i click the "like" button, it refreshes non-stop. The only way i can stop it from liking is to move my mouse to the close button on the like box that keeps popping up non-stop.....Anyone else experience this and if so, what was the fix?

theres some issues facebooks end i saw this issue on the developer forum the other day
Title: Re: SA Facebook Integration
Post by: shorepower on August 15, 2011, 04:08:51 AM
Quote from: SA™ on August 14, 2011, 06:42:38 PM

thanks for the report ill look into this later tho i only ever tryed with english cos that my language


Thanks, if needed, I can supply a user-id at our test forum on  REV34( running UTF-8 , Swedish) which is linked to test application on Facebook. Let me know and I will PM you a ID.

Quote from: SA™ on August 14, 2011, 06:42:38 PM

what publish do you mean the auto publish or the button on each post?

the auto publish grabs the topic icon used

the publish button doesn grab the topics image it grabs whats avalible

in index.php uncomment

'picture' => $message['icon_url'],

and you could add your own image there

'picture' => 'someiconurl.com',
The later,  I will test today, thanks for the information

EDIT: Works perfect  Looks much better in Facebook now, Thx
Title: Re: SA Facebook Integration
Post by: Alex' Manson on August 15, 2011, 06:12:02 PM
Quote from: Sisko Punk on August 10, 2011, 01:00:16 PM
can you tell me how to move the "like" and "send" buttons like this mod here?
http://custom.simplemachines.org/mods/index.php?mod=2543

Thanks..
it now shows under the linktree. i don't like it there :s
Help please :)
Title: Re: SA Facebook Integration
Post by: shorepower on August 16, 2011, 05:45:02 AM
Quote from: SA™ on August 14, 2011, 06:42:38 PM
QuoteThe only difference in SMF I can find is that in MYSQL "subject" is defined as type varchar(255) and "body" is defined as text but both are UTF-8 so I do not think this would make any difference

Example, note the å on topic vs the missing ä on the body of the message:
SMF Forum
SV: Idag dricker vi [Klistad tråd]
Akarua Pinot Noir Väldigt kryddig doft

Facebook
SV: Idag dricker vi [Klistad tråd]
Akarua Pinot Noir V ldigt kryddig doft

thanks for the report ill look into this later tho i only ever tryed with english cos that my language


SA,

I'm in no way a PHP developer (as a matter of fact I have newer written a single line of PHP code before starting with SMF) so you will have to take this observation as it is.

Scanning through the code it seems like SA Facebook Integration (in index.php) creates a new string 'newbody' which is used for the publish function. Could this be the source of the problem (as it looks like  'subject' is pulled directly from the DB)

$bbcfb = array('[img]','[/img]','[b]','[/b]','[u]','[/u]','[i]','[/i]','[color]','[/color]','[url]','[url=','[/url]');
        $rbbcfb = array('','','','','','','','','','','','','');
        $newbody = str_replace($bbcfb, $rbbcfb, $body);
$str = $newbody;

Title: Re: SA Facebook Integration
Post by: cyberlarson on August 16, 2011, 07:56:36 PM
I did the FB app.  I downloaded the SA_Facebook_Integration_2.0_RC_REV34.   Then I made all the file edits.  I have a question.  There is no info that I could see on what to do with the install.php and other files in the root directory.

When I click my FB App it takes me to the page, but no authentication.

I'm very new to doing mods.
Title: Re: SA Facebook Integration
Post by: SA™ on August 17, 2011, 02:45:25 AM
Quote from: cyberlarson on August 16, 2011, 07:56:36 PM
I did the FB app.  I downloaded the SA_Facebook_Integration_2.0_RC_REV34.   Then I made all the file edits.  I have a question.  There is no info that I could see on what to do with the install.php and other files in the root directory.

When I click my FB App it takes me to the page, but no authentication.

I'm very new to doing mods.

you supposed to use the package manager to install it

Quote from: shorepower on August 16, 2011, 05:45:02 AM
Quote from: SA™ on August 14, 2011, 06:42:38 PM
QuoteThe only difference in SMF I can find is that in MYSQL "subject" is defined as type varchar(255) and "body" is defined as text but both are UTF-8 so I do not think this would make any difference

Example, note the å on topic vs the missing ä on the body of the message:
SMF Forum
SV: Idag dricker vi [Klistad tråd]
Akarua Pinot Noir Väldigt kryddig doft

Facebook
SV: Idag dricker vi [Klistad tråd]
Akarua Pinot Noir V ldigt kryddig doft

thanks for the report ill look into this later tho i only ever tryed with english cos that my language


SA,

I'm in no way a PHP developer (as a matter of fact I have newer written a single line of PHP code before starting with SMF) so you will have to take this observation as it is.

Scanning through the code it seems like SA Facebook Integration (in index.php) creates a new string 'newbody' which is used for the publish function. Could this be the source of the problem (as it looks like  'subject' is pulled directly from the DB)

$bbcfb = array('[img]','[/img]','[b]','[/b]','[u]','[/u]','[i]','[/i]','[color]','[/color]','[url]','[url=','[/url]');
        $rbbcfb = array('','','','','','','','','','','','','');
        $newbody = str_replace($bbcfb, $rbbcfb, $body);
$str = $newbody;



yes subject comes from the db the code you posted just removes some bbc codes havent had much time to look into this issue yet
Quote from: Sisko Punk on August 15, 2011, 06:12:02 PM
Quote from: Sisko Punk on August 10, 2011, 01:00:16 PM
can you tell me how to move the "like" and "send" buttons like this mod here?
http://custom.simplemachines.org/mods/index.php?mod=2543

Thanks..
it now shows under the linktree. i don't like it there :s
Help please :)

you just need to add

if(!empty($context['like_enable']) && !empty($modSettings['fb_app_liketopic']) && !empty($_GET['topic']) && !empty($_GET['action']) != 'post'){
 
  $like_layout = empty($modSettings['liketopiclayout']) ? 'standard' : 'button_count';
      $like_verb = empty($modSettings['liketopicverb']) ? 'like' : 'recommend';
      $like_colour = empty($modSettings['liketopiccolour']) ? 'light' : 'dark';
  $like_send = empty($modSettings['likeshowsend']) ? 'true' : 'false';
  $like_faces = empty($modSettings['likeshowfaces']) ? 'true' : 'false';
     
  $topiccom = (isset($_GET['topic']) ? $_GET['topic'] : '');
  $turl = $scripturl.'?topic='.$topiccom.'';
  call_facebook_hook('show_facebook_like_button',array($turl,$like_verb,$like_send,$like_layout,$like_colour,$like_faces));
  echo'<br />';
}

where you want it to display use the facebook like mod for an example
Title: Re: SA Facebook Integration
Post by: ReaperX on August 19, 2011, 02:31:04 AM
I have similar question as i asked in Twitter integration topic.

I created new app, i have App ID/API Key, App Secret, but i don't see App key - where it is? I should use App ID again? It seems to work but don't know if it's correct solution..
Title: Re: SA Facebook Integration
Post by: SA™ on August 19, 2011, 04:13:54 AM
yeah api key is now app id

this is a rcent change
Title: Re: SA Facebook Integration
Post by: shorepower on August 19, 2011, 05:03:43 PM
Quote from: SA™ on August 14, 2011, 06:42:38 PM
QuoteThe only difference in SMF I can find is that in MYSQL "subject" is defined as type varchar(255) and "body" is defined as text but both are UTF-8 so I do not think this would make any difference

Example, note the å on topic vs the missing ä on the body of the message:
SMF Forum
SV: Idag dricker vi [Klistad tråd]
Akarua Pinot Noir Väldigt kryddig doft

Facebook
SV: Idag dricker vi [Klistad tråd]
Akarua Pinot Noir V ldigt kryddig doft

thanks for the report ill look into this later tho i only ever tryed with english cos that my language


The problem is with the attached  statement in index.php I managed successfully to send åäö with both $body and $newbody by changing 'description" under $attachment) but current $shortened will always remove these characters. The problem is with str_word_count as this do not support local characters nor characters like % and &. I have managed to find a solution that works for me. It also has the advantage that is limits the text after a white space making the published contend more readable.

Replace
$length = 6;
$shortened = implode(' ',array_slice(str_word_count($str ,1),0,$length));


With
$length = 32;
$shortened = substr($str,0,strpos($str ," ",$length));


PS, The  $length has to be increased to send the same amount of text to FB
Title: Re: SA Facebook Integration
Post by: SA™ on August 20, 2011, 02:28:24 PM
nice one shorepower
Title: Re: SA Facebook Integration
Post by: shorepower on August 21, 2011, 12:14:09 PM
Quote from: SA™ on August 20, 2011, 02:28:24 PM
nice one shorepower
Thx, took a while but it seems to work. One thing I'm looking into is to see if it's possible to remove quotes if people are publishing a post with a quote, do not look that good on FB.

Title: Re: SA Facebook Integration
Post by: SA™ on August 21, 2011, 03:29:20 PM
this may work

find
$bbcfb = array('[img]','[/img]','[b]','[/b]','[u]','[/u]','[i]','[/i]','[color]','[/color]','[url]','[url=','[/url]');
replace with
$bbcfb = array('[img]','[/img]','[b]','[/b]','[u]','[/u]','[i]','[/i]','[color]','[/color]','[url]','[url=','[/url]','[quote]'.'[/quote]');

find
$rbbcfb = array('','','','','','','','','','','','','');
repalcw with
$rbbcfb = array('','','','','','','','','','','','',''.''.'');

this shoulsd replace the quote tags with emtpy space
Title: Re: SA Facebook Integration
Post by: shorepower on August 23, 2011, 10:17:29 AM
Thx SA, I will check this out and let you know. There seems to be some challenges with the format (looking in the DB) of an SMS post VS how to best publish it on FB

Title: Re: SA Facebook Integration
Post by: jdcogmon on August 23, 2011, 11:17:28 PM
Can anyone here please help me?
When I try to register new people onto the forum I get the following code:

Fatal error: Uncaught OAuthException: (#200) The user hasn't authorized the application to perform this action thrown in

Am I to authorize this on the facebook app or of the SMF settings for Facebook?
As it stands new people cannot sign up rendering our forum useless.
Do you have any suggestions?
Thank you


Quote from: bluejay51 on August 07, 2011, 11:48:08 AM
I just did a fresh install of rev32. Replaced code as suggested (but left the code you told me to replace for my Ajax Chat issue intact). Cleared all Facebook and forum cookies. Refreshed browser. Logged into forum as regular user and synced my forum account with my Facebook account.

Everything worked except that when I clicked on Facebook and Settings in my forum profile. I got the same error message that I've been getting right along as well as a new one...



Fatal error: Uncaught CurlException: 6: name lookup timed out thrown in /xxxxx/xxxxx/public_html/facebookauth/base_facebook.php on line 798

Just the simple act of clicking on my forum profile gives me this error...



Fatal error: Uncaught GraphMethodException: Unsupported get request. thrown in /xxxxx/xxxxx/public_html/facebookauth/base_facebook.php on line 1012



When I click on "Publish", I get...



Fatal error: Uncaught GraphMethodException: Unsupported get request. thrown in /xxxxx/xxxxx/public_html/facebookauth/base_facebook.php on line 1012

Hope this helps...

- BJ
Title: Re: SA Facebook Integration
Post by: ~DS~ on August 24, 2011, 01:51:29 AM
Did you make the app?
Title: Re: SA Facebook Integration
Post by: jdcogmon on August 24, 2011, 05:12:00 AM
Yes, the app is working fine in every way except for when people try and register for the site. You can even see the avatar from facebook in the upper right. It looks like I may need to get rid of this tool, but I don't want to. Any suggestions?
Title: Re: SA Facebook Integration
Post by: SA™ on August 24, 2011, 05:30:35 AM
the error is basicly saying the user hasnt authrised the app but i dont get why not  cos as soon as you click connect with fb it authorise the user

some thing you could check is you server error logs and smf error log
Title: Re: SA Facebook Integration
Post by: shorepower on August 24, 2011, 05:53:38 AM
Quote from: jdcogmon on August 23, 2011, 11:17:28 PM
Can anyone here please help me?
When I try to register new people onto the forum I get the following code:

Fatal error: Uncaught OAuthException: (#200) The user hasn't authorized the application to perform this action thrown in

Am I to authorize this on the facebook app or of the SMF settings for Facebook?
As it stands new people cannot sign up rendering our forum useless.
Do you have any suggestions?
Thank you

It's key that the application type of the Facebook application is set as "Web", not Native/Desktop. I attached my settings that works as a reference (my language is Swedish but I think it will translate anyway) Hope this will help (I had to tweak the FB side slightly as it seems like FB is doing a lot of changes)

Also one side comment, and it could be a typo, you write When I try to register new people. It will not work that you register people in SMF for Facebook. The user have to use Facebook Login and accept the authorization request from Facebook.




Title: Re: SA Facebook Integration
Post by: jdcogmon on August 24, 2011, 06:15:00 AM
One of your Settings was different than my own. Thank you! That did the trick...I hope. When I registered as someone else it worked! [applause]
Title: Re: SA Facebook Integration
Post by: shorepower on August 24, 2011, 07:07:36 AM
Quote from: jdcogmon on August 24, 2011, 06:15:00 AM
One of your Settings was different than my own. Thank you! That did the trick...I hope. When I registered as someone else it worked! [applause]
Great, glad I could help. I have now had this mod installed at my forum for a while and  some of the challenges I have had is on the Facebook side (besides language problems which has been 50% caused by me  :) )

Overall, its a great mod which I really like so thx again to SA for pulling it together.
Title: Re: SA Facebook Integration
Post by: dakotaroar on August 25, 2011, 06:53:57 PM
Okay, I'm excited for this to be work ing(marginally for our site because we have some weird stuff going on), but the registration process is definitely confusing.

If you ask people to pick a username and password in addition to logging in with Facebook, and then give them a link to click that says "Click here if you've already logged in," they're going to click that link and not bother with the username and password.

I would suggest that you make that username/password screen much more simple to follow, something like:
Quote
You're almost registered with Facebook!
You still need to create a username and password.
You will NOT have to remember these, because you can sign in with Facebook.


(If you've gone through this already, click here)

Thoughts?
Title: Re: SA Facebook Integration
Post by: SA™ on August 26, 2011, 03:42:46 AM
no you have to pick or register if not allready if already regisrtd but not synced with fb then you click the already registerd link
Title: Re: SA Facebook Integration
Post by: dakotaroar on August 26, 2011, 08:18:04 AM
Quote from: SA™ on August 26, 2011, 03:42:46 AM
no you have to pick or register if not allready if already regisrtd but not synced with fb then you click the already registerd link

My point is that, like your response, the registration process is confusing.
Title: Re: SA Facebook Integration
Post by: ~DS~ on August 26, 2011, 09:44:13 AM
Quote from: dakotaroar on August 26, 2011, 08:18:04 AM
Quote from: SA™ on August 26, 2011, 03:42:46 AM
no you have to pick or register if not allready if already regisrtd but not synced with fb then you click the already registerd link

My point is that, like your response, the registration process is confusing.
It's not, not at least to me to be honest. Some we can fix some wording on it, but we will see...
Title: Re: SA Facebook Integration
Post by: Adrek on August 26, 2011, 03:08:42 PM
How can i add different buttons for login and register page?
Title: Re: SA Facebook Integration
Post by: andyac on August 26, 2011, 10:24:21 PM
how can i change the width of the comment box? it looks really big on my mobile theme...   whats the code for it for the css
Title: Re: SA Facebook Integration
Post by: shorepower on August 27, 2011, 05:49:34 AM
Quote from: ~DS~ on August 26, 2011, 09:44:13 AM
Quote from: dakotaroar on August 26, 2011, 08:18:04 AM
Quote from: SA™ on August 26, 2011, 03:42:46 AM
no you have to pick or register if not allready if already regisrtd but not synced with fb then you click the already registerd link

My point is that, like your response, the registration process is confusing.
It's not, not at least to me to be honest. Some we can fix some wording on it, but we will see...
I would agree that it's slightly confusing. As I translated SA Facebook to Swedish for my site I made some minor modifications of the text that at least for me made it a bit clearer

From:
$txt['fb_reg44'] = 'Required information';
$txt['fb_regallready1'] ='Already registered? Click';
$txt['fb_regallready2'] ='here';
$txt['fb_regallready3'] ='to login';


To:
$txt['fb_reg44'] = 'Required information for a new user';
$txt['fb_regallready1'] ='If you already have a username at this forum? Click';
$txt['fb_regallready2'] ='here';
$txt['fb_regallready3'] ='to login';


Title: Re: SA Facebook Integration
Post by: !RFAN on August 28, 2011, 02:07:13 AM
whenever i try to go to Admin> Modification Settings>> Miscellaneous
i am getting this error:

Fatal error: Cannot redeclare class Facebook in /home/####/public_html/facebookauth/facebook.php on line 93

how to resolve it??
Title: Re: SA Facebook Integration
Post by: ~DS~ on August 28, 2011, 11:23:24 AM
Hadn't has this issue.
Title: Re: SA Facebook Integration
Post by: Kindred on August 28, 2011, 06:19:44 PM
You have installed twice... You will have to manually remove the duplicate code from that , and possibly other files
Title: Re: SA Facebook Integration
Post by: shorepower on August 29, 2011, 08:12:24 AM
Quote from: ph4ntom on August 26, 2011, 03:08:42 PM
How can i add different buttons for login and register page?
From REV34 you have the option to change the logon button (the image) at the main page of Facebook Settings (under the admin page). Works very well
Title: Re: SA Facebook Integration
Post by: SA™ on August 29, 2011, 01:47:39 PM
Quote from: !RFAN on August 28, 2011, 02:07:13 AM
whenever i try to go to Admin> Modification Settings>> Miscellaneous
i am getting this error:

Fatal error: Cannot redeclare class Facebook in /home/####/public_html/facebookauth/facebook.php on line 93

how to resolve it??

do you have any other fb mods installed?
this mod dont touch Admin> Modification Settings>> Miscellaneous settings
Title: Re: SA Facebook Integration
Post by: SA™ on August 29, 2011, 02:10:38 PM
Quote from: shorepower on August 27, 2011, 05:49:34 AM
Quote from: ~DS~ on August 26, 2011, 09:44:13 AM
Quote from: dakotaroar on August 26, 2011, 08:18:04 AM
Quote from: SA™ on August 26, 2011, 03:42:46 AM
no you have to pick or register if not allready if already regisrtd but not synced with fb then you click the already registerd link

My point is that, like your response, the registration process is confusing.
It's not, not at least to me to be honest. Some we can fix some wording on it, but we will see...
I would agree that it's slightly confusing. As I translated SA Facebook to Swedish for my site I made some minor modifications of the text that at least for me made it a bit clearer

From:
$txt['fb_reg44'] = 'Required information';
$txt['fb_regallready1'] ='Already registered? Click';
$txt['fb_regallready2'] ='here';
$txt['fb_regallready3'] ='to login';


To:
$txt['fb_reg44'] = 'Required information for a new user';
$txt['fb_regallready1'] ='If you already have a username at this forum? Click';
$txt['fb_regallready2'] ='here';
$txt['fb_regallready3'] ='to login';




thanks shorepower i added this to the next version
Title: Re: SA Facebook Integration
Post by: Biology Forums on August 31, 2011, 10:49:46 PM
cool
Title: Re: SA Facebook Integration
Post by: awolexpat on August 31, 2011, 11:58:04 PM
Quote from: !RFAN on August 28, 2011, 02:07:13 AM
whenever i try to go to Admin> Modification Settings>> Miscellaneous
i am getting this error:

Fatal error: Cannot redeclare class Facebook in /home/####/public_html/facebookauth/facebook.php on line 93

how to resolve it??

I am getting exactly the same error; I have checked and I don't have any other Facebook mods. When I uninstall SA Facebook Integration I can access Admin> Modification Settings>> Miscellaneous. When I reinstall it I get the Fatal Error. I had FB Connect mod installed before updating to SMF 2 and I can only think there is still some trace of that left in the files somewhere, but I have removed everything I can find - unfortunately though that Mod and the Parse for it has now been removed so i can't check if there is something lingering somewhere (I had it installed on the last version of SMF 1). If anyone has a list of the files that were installed and the alterations made by that mod I would be very grateful if they could share that information on here so I can see if that is the problem. Otherwise can the creators of this Mod please have a look and make suggestions - this is a great mod but not being able to access the Miscellaneous Mod settings is rather irritating!
Title: Re: SA Facebook Integration
Post by: SA™ on September 01, 2011, 07:32:29 PM
do you have fbc and facebookauth directory in your forum root?

if so yr removing fbc one but make a back up before doing this tho
Title: Re: SA Facebook Integration
Post by: awolexpat on September 01, 2011, 09:54:57 PM
Yes I did but had already backed up and removed fbc before I posted; the problem persists. I removed (and backed up in case it was needed)) whatever I could find relating to SA FB Connect which also included the FB_Connect folder (I think that was in the default theme folder) and from the Sources folder the FB_Connect.template.php and FB_Connect_admin.template.php files. I think there must be some code on another file somewhere or another file that needs to be removed but without the Parse info I'm stuck - any chance of reproducing that on here? I must admit I would be a bit surprised if there was still some code in an SMF 2 file as I never attempted to install SA FB_Connect once I had upgraded, but as there were old files still in existence that is more likely. The only other thing I am thinking is if deleting my old Facebook app and creating a new one would fix it, but I would rather deal with it from the SMF side first from a 'keeping my files tidy' perspective! Any help is most appreciated.
Title: Re: SA Facebook Integration
Post by: babalola olasehinde on September 02, 2011, 04:04:44 AM
pls after sucessfully installation of SA facebook in my smf 2.0 forum i am seeing this error

Fatal error: Cannot redeclare class Facebook in /home/seeker/
public_html/facebookauth/facebook.php on line 93

what could be wrong?
Title: Re: SA Facebook Integration
Post by: olufemo on September 02, 2011, 12:04:52 PM
Hi all.

Pls help with solution to this error

http://shareonnet.com/index.php?action=facebookintegrate;area=fbbp
8: Undefined variable: modSettingsFile: /public_html/shareonnet.com/Themes/default/Facebook.template.php (fbbp sub template - eval?)
Line: 178
Title: Re: SA Facebook Integration
Post by: bigger on September 03, 2011, 09:56:26 PM
Hello,

I think this mod is very very useful, but i cannot install it :( i was try 2 times.. but the results is the same, starting good i upload the mod, click on install, put the ftp username and password, check the connection, everything is good and when i click on install mod.. i have big problem. Give me screen like when you not have rights, the permission when the chmod of directories is other and cannot use the forum. The first time i reinstall all forum files + database and result is the same. I use hostgator account, contact with the support and they fixed the problem. But i really want to install this mod and try to download other version, oldest version and the results is the same.. again hostgator support, and they fixed the account.. what to do, why i have this problems when i install the mod? If i try to install the mod manually what will be the difference? I don't want to ask to fix my account for third time...
Title: Re: SA Facebook Integration
Post by: Smoerble on September 04, 2011, 06:43:33 PM
Couldn't find a solution to the error:

I don't add an application key -> No connection to facebook found

I add the App NameSpace as "application key": -> No connection to facebook found

I add the App Name as "application key": -> No connection to facebook found

Tha pp is registered (at FN/Advanced as "web").

Can you please tell me what I need to enter there?

I installed:
2.0 RC Rev34

I had no /forum/fbc/ folder
But I had a /forum/facebookauth/ folder. When I removed that one I got the following error:
QuoteFatal error: require_once() [function.require]: Failed opening required '/var/www/vhosts/bombrat.com/httpdocs/forum/facebookauth/facebook_canvas.js.php' (include_path='.:') in /var/www/vhosts/bombrat.com/httpdocs/forum/Sources/Facebook/FacebookHooks.php on line 91
Title: Re: SA Facebook Integration
Post by: awolexpat on September 05, 2011, 12:07:11 AM
Smoerble,
As far as I am aware, you need the facebookauth folder for this mod to work. However the fbc one comes from a previous version of the mod (Facebook Connect) as far as I know. It is a little confusing reading this thread from the start, because the mod has changed significantly from it's inception, so a lot of the advice on it is totally irrelevant to the current version. The problems I am having I think stem from the fact that the parse information from the old versions are now no longer available on SMF, which means I (and others) are unable to check by ourselves if there is some erroneous code, and I wish someone from the SA team would react to this - great mods but so far awful support. I know I can't really complain as it is free, but it does seem as if no one from the SA team is interested in dealing with problems.

You need your Application Key, Application ID and your Application Secret from Facebook entered correctly for this mod to work. I have no idea what you mean by "Tha pp is registered (at FN/Advanced as "web")." but I assume you are talking about your Facebook Application?
Title: Re: SA Facebook Integration
Post by: SA™ on September 05, 2011, 10:55:54 AM
hmm im the only developer of this mod and do try to anser all the questions that get thrown at me just im realy busy in rl at the moment

i still have the old version if you realy need it?
Title: Re: SA Facebook Integration
Post by: awolexpat on September 05, 2011, 11:51:31 AM
Hi SA,
Thanks for replying. I have now managed to find the original package from when I installed on SMF 1 and it doesn't look as though there were any edits to files (please correct me and list them if that is wrong though!). In the process though I discovered that I may have installed or tried to install on SMF 2 the REV21 version of Integration, so I am now going to check the parse for that one to see if there is some code somewhere from that causing a problem. I will post here when I have done so.
Title: Re: SA Facebook Integration
Post by: awolexpat on September 05, 2011, 09:20:20 PM
I have now carried out the check above, and can find no erroneous bits of code, so I am now looking at a possible conflict between the mods installed that appear in the Admin>Configuration>Modification Settings>Miscellaneous menu, which when clicked is what causes the message "Fatal error: Cannot redeclare class Facebook in /home/xxxxxxx/public_html/forum/facebookauth/facebook.php on line 93" to appear. As far as I can establish, this is the only menu item that causes this problem; the rest of that contextual menu items there when clicked on do not throw it up. If anyone has any help on this (as in they have come across this problem or something similar) I would really appreciate it. The mods I have installed that appear in that menu are:

Recent Topics On "Recent Posts" Page    1.2
Default Avatar    2.1
Custom Copyright    1.0.1
Country Flags    1.1.2
Force Topic Read On Login Mod    2.1

As far as I can tell, none of these have any Facebook connections, and the forum was working fine before installing SA Facebook Integration. I don't think it is these mods but will try uninstalling each one by one to see if the problem disappears. The other option I have to try is getting someone who knows the code to look at the Sources/ManageSettings.php file, as I believe it is this one that is getting called when I click that menu item. Again though, someone please correct me if that is wrong.
Title: Re: SA Facebook Integration
Post by: darcysarto on September 14, 2011, 03:43:15 PM
I've recently changed to the Vertex theme and the Connect with Facebook button no longer shows on the main forum screen.  Could you advise the code I need to add it manually.  Thank you.
Title: Re: SA Facebook Integration
Post by: Kindred on September 14, 2011, 04:17:38 PM
see the "Parse" mod option on the mod download page for manual installation instructions.
Title: Re: SA Facebook Integration
Post by: darcysarto on September 14, 2011, 05:54:23 PM
Quote from: Kindred on September 14, 2011, 04:17:38 PM
see the "Parse" mod option on the mod download page for manual installation instructions.

Ok I've tried that but I'm confused.  I know where I want the Connect With Facebook button I just need the code and it's not clear from the parse.  The mod is working from he login screen just not the main forum page.
Title: Re: SA Facebook Integration
Post by: Biology Forums on September 14, 2011, 11:39:18 PM
Quote from: darcysarto on September 14, 2011, 05:54:23 PM
Quote from: Kindred on September 14, 2011, 04:17:38 PM
see the "Parse" mod option on the mod download page for manual installation instructions.

Ok I've tried that but I'm confused.  I know where I want the Connect With Facebook button I just need the code and it's not clear from the parse.  The mod is working from he login screen just not the main forum page.

This is a difficult mod to parse, even though I'm an expert at parsing ;)
Title: Re: SA Facebook Integration
Post by: SA™ on September 15, 2011, 01:21:15 PM
you wouldent find the code by parsing the mod it uses hooks to show that so there is no edits for it tho you theme will still need

sprintf($txt['welcome_guest'], $txt['guest_title']);

for it to show

to add it manualy goto social hooks in facebook admin and use the Hook - facebook login your just need to add that code where you want the button to show
Title: Re: SA Facebook Integration
Post by: darcysarto on September 15, 2011, 06:11:55 PM
Great thanks for that.
Title: Re: SA Facebook Integration
Post by: Nikhil P Naik on September 16, 2011, 08:40:29 AM
how to show facebook connect on the index page of the smf...! help... 
Title: Re: SA Facebook Integration
Post by: awolexpat on September 16, 2011, 10:50:12 AM
Quote from: awolexpat on September 05, 2011, 09:20:20 PM
I have now carried out the check above, and can find no erroneous bits of code, so I am now looking at a possible conflict between the mods installed that appear in the Admin>Configuration>Modification Settings>Miscellaneous menu, which when clicked is what causes the message "Fatal error: Cannot redeclare class Facebook in /home/xxxxxxx/public_html/forum/facebookauth/facebook.php on line 93" to appear. As far as I can establish, this is the only menu item that causes this problem; the rest of that contextual menu items there when clicked on do not throw it up. If anyone has any help on this (as in they have come across this problem or something similar) I would really appreciate it. The mods I have installed that appear in that menu are:

Recent Topics On "Recent Posts" Page    1.2
Default Avatar    2.1
Custom Copyright    1.0.1
Country Flags    1.1.2
Force Topic Read On Login Mod    2.1

As far as I can tell, none of these have any Facebook connections, and the forum was working fine before installing SA Facebook Integration. I don't think it is these mods but will try uninstalling each one by one to see if the problem disappears. The other option I have to try is getting someone who knows the code to look at the Sources/ManageSettings.php file, as I believe it is this one that is getting called when I click that menu item. Again though, someone please correct me if that is wrong.

I have now removed all the other mods (listed above) that are in the section Admin>Configuration>Modification Settings>Miscellaneous menu, and the problem persists. I really do not want to get rid of the Facebook mod, but will now try uninstalling, deleting and then getting a fresh new package and installing.  Wish me luck...
Title: Re: SA Facebook Integration
Post by: awolexpat on September 16, 2011, 11:07:57 AM
OK, I'm a fast worker, but after uninstalling SA Facebook (but not deleting it) I checked the relevant menu now that I could and found one other mod - Users Online Today, which I also uninstalled. I then reinstalled the existing mod package for SA Facebook (it was the most up to date anyway) and it installed fine and that menu is still visible, even though there is nothing now in it!

I have to conclude that the Users Online Today was the mod causing the problem, but I am now going to reinstall some of the mods I had before (not all, as a couple I didn't really use) to see what happens, one by one. I will report back on here once I have. I hope this helps someone else anyway. If anyone who knows the code wants to delve deeper into why the Users Online Today mod causes the problem then i would be interested to know!

Edit: I have just realised that I had an older version of Users Online Today installed before - I have now installed the latest version and so far so good.
Title: Re: SA Facebook Integration
Post by: SA™ on September 16, 2011, 11:20:04 AM
interesting find awolexpat ill take a look at thatjust now to see
Title: Re: SA Facebook Integration
Post by: awolexpat on September 16, 2011, 11:33:57 AM
OK thanks. I have now reinstalled all the previous mods except for Force Topic Read On Login Mod    2.1 which isn't one I have used and hasn't been updated for SMF 2 anyway, and no problems, no more Fatal Error! I guess it might have something to do with the order the mods are installed, but probably due to the Users Online Today older version I had. Thankfully the reinstalling didn't require much work, although the uninstalls all required manual edits!
Title: Re: SA Facebook Integration
Post by: Adrek on September 17, 2011, 06:39:35 AM
Quote from: shorepower on August 29, 2011, 08:12:24 AM
Quote from: ph4ntom on August 26, 2011, 03:08:42 PM
How can i add different buttons for login and register page?
From REV34 you have the option to change the logon button (the image) at the main page of Facebook Settings (under the admin page). Works very well

Yes, i know, but i would like to have Login with FB at login page and Register with FB at register page ;)
Title: Re: SA Facebook Integration
Post by: Nikhil P Naik on September 18, 2011, 12:08:56 AM
Quote from: funforum on September 16, 2011, 08:40:29 AM
how to show facebook connect on the index page of the smf...! help...


any1???
Title: Re: SA Facebook Integration
Post by: SA™ on September 18, 2011, 01:07:08 AM
you can use the social hooks in fb admin todo this

rev 36 realsed

updated fb logs feature to use create_list() function
fixed problem with charctors when publishing post [thanks shorepower]
removed api key wasnt needed any more
updated  mod text strings [thakns shorepower]
fixed duplicate class Facebook renamed to SAFacebook
Title: Re: SA Facebook Integration
Post by: Danni_X on September 18, 2011, 01:49:28 AM
I want to add the button facebook register in frontpage of my theme but i do not how  :(
My themes is FacebookSMF.
Thx for help.
Title: Re: SA Facebook Integration
Post by: SA™ on September 18, 2011, 01:51:51 AM
Quote from: SA™ on September 18, 2011, 01:07:08 AM
you can use the social hooks in fb admin todo this

grab the code from social hooks in fb admin and add it where you want it to show in the index.template.php for that theme
Title: Re: SA Facebook Integration
Post by: shorepower on September 20, 2011, 06:07:33 AM
REV36, what does it do  :)

Also, anyone tried installing REV34 on 2.01 of SMF, should I expect any problems.

Thx
Title: Re: SA Facebook Integration
Post by: Nikhil P Naik on September 20, 2011, 10:59:51 AM
thnks~!
Title: Re: SA Facebook Integration
Post by: SA™ on September 20, 2011, 02:54:57 PM
@shorepower

Quote from: SA™ on September 18, 2011, 01:07:08 AM

rev 36 realsed

updated fb logs feature to use create_list() function
fixed problem with charctors when publishing post [thanks shorepower]
removed api key wasnt needed any more
updated  mod text strings [thakns shorepower]
fixed duplicate class Facebook renamed to SAFacebook

not tryed it on 2.0.1 yet but will update as nessary at the week end when i have more time todo so
Title: Re: SA Facebook Integration
Post by: shorepower on September 20, 2011, 03:27:57 PM
Quote from: SA™ on September 20, 2011, 02:54:57 PM
@shorepower

Quote from: SA™ on September 18, 2011, 01:07:08 AM

rev 36 realsed

updated fb logs feature to use create_list() function
fixed problem with charctors when publishing post [thanks shorepower]
removed api key wasnt needed any more
updated  mod text strings [thakns shorepower]
fixed duplicate class Facebook renamed to SAFacebook

not tryed it on 2.0.1 yet but will update as nessary at the week end when i have more time todo so
Ah, missed that and thanks for your credits (look a bit stupid that I ask  ;D ). Keep up the good work.
Title: Re: SA Facebook Integration
Post by: SA™ on September 21, 2011, 10:46:20 PM
mod updated for smf 2.0.1
Title: Re: SA Facebook Integration
Post by: NeobeatIKK on September 22, 2011, 12:25:33 PM
Hi SA, thanks for this awesome mod, I'm having a little problem if anyone can help please.

When I go to my "Facebook" tab in my forum (with any account) and try to send invitations to my forum, the 'delivered' invitation on Facebook sends you to a error page saying it wasn't found. I think this is a config mistake either on the Facebook App or the Forum Facebook config.
Another problem is when a new user tries to register with his/her Facebook in the register page says "(you only need to do this once) Already registered? Click here to login".

I need help with the invitation problem please.
Thanks in advance.
Title: Re: SA Facebook Integration
Post by: katsbits on September 23, 2011, 12:01:04 AM
Quote from: NeobeatIKK on September 22, 2011, 12:25:33 PM
...Another problem is when a new user tries to register with his/her Facebook in the register page says "(you only need to do this once) Already registered? Click here to login"...
I'm slightly puzzled by this as well as I though the purpose of the mod was to allow Facebook users to log in with their FB 'credentials' rather than having to create, in their eyes, yet another log-in account for something. Is there a setting missing or config that needs to be set somewhere? (Facebook app setup went ok so far as I can tell, various connections for me worked OK with no errors or issues cropping up, other than the above).
Title: Re: SA Facebook Integration
Post by: SA™ on September 23, 2011, 12:25:53 AM
that isnt an error
if the user has aredy synced there account with fb then it will just login and you wont see that page

if the user is already registerd but has not synced there accounts with fb your see that page cos smf doesnt know facebook users id with out syncing there accounts

if you click click here to login it will show you a form to enter username and pass then it will login in and sync your account normaly

Title: Re: SA Facebook Integration
Post by: katsbits on September 23, 2011, 01:36:15 AM
Ah cheers for the clarification.. I misunderstand the general purpose behind the mod in that case  ;) . I didn't think it was an error by the way, was just a little confused over what was going on. *up*
Title: Re: SA Facebook Integration
Post by: NeobeatIKK on September 23, 2011, 09:49:47 AM
Thanks for the clarification and help but if you can help me with the config of the "invitation feature" from Facebook please

Quote from: NeobeatIKK
...When I go to my "Facebook" tab in my forum (with any account) and try to send invitations to my friends to visit my forum, the 'delivered' invitation on Facebook sends you to a error page saying it wasn't found. I think this is a config mistake either on the Facebook App or the Forum Facebook config. ... I need help with the invitation problem please.
(Corrected.)

I really don't know what's wrong, the facebook app config or the facebook config on the forum. Help please, I need this feature to send invitations faster.
Thanks again for replying.
Title: Re: SA Facebook Integration
Post by: buzzybee on September 23, 2011, 12:55:51 PM
Nice Mod. It's helping my users connect with my forum.

I'm currently running SMF 2.0.1 with the OmegaPinkRC4 curve theme variation (http://custom.simplemachines.org/themes/index.php?lemma=2108)

With this theme I do not get a FacebookConnect button on my index page or Facebook icons next to the publish buttons in topics.

The SMF Default Curve theme works fine. Can you advise how I can get the missing features to work in the Omegapink theme that I'm using?

Thanks
Title: Re: SA Facebook Integration
Post by: shorepower on September 23, 2011, 03:33:22 PM
Quote from: NeobeatIKK on September 23, 2011, 09:49:47 AM
Thanks for the clarification and help but if you can help me with the config of the "invitation feature" from Facebook please

Quote from: NeobeatIKK
...When I go to my "Facebook" tab in my forum (with any account) and try to send invitations to my friends to visit my forum, the 'delivered' invitation on Facebook sends you to a error page saying it wasn't found. I think this is a config mistake either on the Facebook App or the Forum Facebook config. ... I need help with the invitation problem please.
(Corrected.)

I really don't know what's wrong, the facebook app config or the facebook config on the forum. Help please, I need this feature to send invitations faster.
Thanks again for replying.
It would help if you could be more precise. Is it an SMF or Facebook error message you get. Write the full error message. I had some initial challenges that I manged to solve but a more comprehensive error description will be of use.
Title: Re: SA Facebook Integration
Post by: NeobeatIKK on September 23, 2011, 07:52:40 PM
Quote from: shorepower on September 23, 2011, 03:33:22 PM
It would help if you could be more precise. Is it an SMF or Facebook error message you get. Write the full error message. I had some initial challenges that I manged to solve but a more comprehensive error description will be of use.

Ok, the invitation is sent from the forum with the Facebook linked account (via Facebook (tab) > Invite Friends tab, then i select some friends and send the invitations to my forum, but when my friends open the notification i sent, they get a Facebook error saying that the link wasn't found.
Title: Re: SA Facebook Integration
Post by: katsbits on September 24, 2011, 01:49:35 PM
Do FB registrations bypass the forums administration of new accounts?
Title: Re: SA Facebook Integration
Post by: NeobeatIKK on September 24, 2011, 06:32:58 PM
better try it for yourself and see what i was saying:

www.nextstageteam.com

then you can delete the account.
Thanks again for the help.
Title: Re: SA Facebook Integration
Post by: Kindred on September 25, 2011, 10:32:05 AM
Why did you reinstall? The 2.0.1 update should not require a reinstall of mods.  As it stands, you wil, have to manually remove the duplicated code
Title: Re: SA Facebook Integration
Post by: cosmicxxx on September 25, 2011, 01:41:09 PM
Quote from: Kaitlyn on September 25, 2011, 11:05:59 AM
because when we upgraded all the mods didn't work or show up as being installed but package section of the forum showed them as all installed

i've experience this too... after installing the 2.0.1 update, some installed mods, but not all, had become under not-installed status. and new member registration fails.

i tried to disable this mod but still, id did'nt help. until now, i don't know what causes the error. but the new member registration issue is not occuring when the "Emulate Version" menu is set to SMF 2.0

Title: Re: SA Facebook Integration
Post by: Kindred on September 25, 2011, 02:43:19 PM
Emulate version has absolutely ZERO effect on a running forum. It only affects the installation of mods
Title: Re: SA Facebook Integration
Post by: shorepower on September 25, 2011, 03:28:22 PM
Quote from: NeobeatIKK on September 24, 2011, 06:32:58 PM
better try it for yourself and see what i was saying:

www.nextstageteam.com

then you can delete the account.
Thanks again for the help.
Your invite is pointing to a non-exisiting page. You need to update your Facebook application with the page you want the invites to land at. Change the Canvas page

Your currently pointing to http://www.facebook.com/4oh4.php but this page do not exist.
Title: Re: SA Facebook Integration
Post by: Gunpoint on September 26, 2011, 05:30:14 AM
I am using Argentum Enhanced theme for smf 2.0 , so please how can i install your mod. i really need it very badly
Title: Re: SA Facebook Integration
Post by: SA™ on September 26, 2011, 03:04:06 PM
install using the package manager?
Title: Re: SA Facebook Integration
Post by: Gunpoint on September 26, 2011, 04:36:46 PM
I should just upload the file via package manager in the admin. thats all
Title: Re: SA Facebook Integration
Post by: Gunpoint on September 26, 2011, 04:51:54 PM
Okay, it works fine now, but the register with facebook brings error, try again later

check it www.naijaempireforum.com
Title: Re: SA Facebook Integration
Post by: SA™ on September 26, 2011, 05:30:56 PM
did you setup an application on facebook?
Title: Re: SA Facebook Integration
Post by: Gunpoint on September 26, 2011, 06:29:09 PM
No, i didnt, i just installed the mod, as you said i should do via package manager, how can i create app on facebook, havent done that before
Title: Re: SA Facebook Integration
Post by: SA™ on September 26, 2011, 06:52:08 PM
Creating your facebook application (http://www.sa-smf.com/community/index.php?action=kb;area=article;cont=28)
Title: Re: SA Facebook Integration
Post by: Gunpoint on September 26, 2011, 08:03:08 PM
am still getting errors like

An error occurred with Naija Empire Forum. Please try later

and this


API Error Code: 191
API Error Description: The specified URL is not owned by the application
Error Message: Invalid redirect_uri: Given URL is not allowed by the Application configuration.

due to the new facebook interface, they dont match. Help needed
Title: Re: SA Facebook Integration
Post by: SA™ on September 26, 2011, 08:06:05 PM
pm me the settings you have in you app so i can see whats what and match it with mine
Title: Re: SA Facebook Integration
Post by: Gunpoint on September 26, 2011, 08:23:03 PM
PM SENT
Title: Re: SA Facebook Integration
Post by: SA™ on September 26, 2011, 08:33:18 PM
pmd back
Title: Re: SA Facebook Integration
Post by: Gunpoint on September 27, 2011, 02:55:17 AM
replied
Title: Re: SA Facebook Integration
Post by: Gunpoint on September 27, 2011, 07:33:27 AM
or can you give me the settings, let me just apply to my forum
Title: Re: SA Facebook Integration
Post by: trekkie2444 on September 29, 2011, 04:40:02 AM
I've just got the white screen after install after installing the Facebook mod on SMF 2.0.1. Not really sure what to do now...white screen on all pages. I have no other mods reinstalled yet, but when I remove the /Sources/Facebook folder the white screen goes away. Ideas? I downloaded the REV36.
Title: Re: SA Facebook Integration
Post by: awolexpat on September 29, 2011, 08:46:17 AM
I don't really know but was this on the default theme? And were there any errors on installation (I am guessing not as you don't mention it)? These things will help anyone attempting to diagnose the problem.
Title: Re: SA Facebook Integration
Post by: Gunpoint on September 29, 2011, 10:50:43 AM
i tried making the app on facebook. but it doest work. cause people cant login or register with facebook. can any one help me with his settings.... so the mod would work perfectly well for me.
Title: Re: SA Facebook Integration
Post by: awolexpat on September 29, 2011, 11:29:39 AM
Well, I managed to set mine up by following the instructions given by the mod author here (http://www.sa-smf.com/community/index.php?topic=734.0), so I would suggest you do the same. That thread may also be somewhere that you can get help - I'm no expert but I am good at RTFM ("Reading The Flippin' Manual") so just give it another try with the guidelines in that topic and good luck. The link in the first post of this topic is wrong I should hasten to add!
Title: Re: SA Facebook Integration
Post by: Gunpoint on September 29, 2011, 04:10:20 PM
because of the new facebook interface i need help making the app. cause the pics dont match any more.
Title: Re: SA Facebook Integration
Post by: SA™ on September 30, 2011, 09:27:08 AM
Quote from: trekkie2444 on September 29, 2011, 04:40:02 AM
I've just got the white screen after install after installing the Facebook mod on SMF 2.0.1. Not really sure what to do now...white screen on all pages. I have no other mods reinstalled yet, but when I remove the /Sources/Facebook folder the white screen goes away. Ideas? I downloaded the REV36.
check your server error logs usaly when that happens it  means you dont have json or curl functions on your server


Quote from: Gunpoint on September 29, 2011, 04:10:20 PM
because of the new facebook interface i need help making the app. cause the pics dont match any more.

yes the pics maybe different but what you have to fill in is still the same cant realy help now as im just here for lunch then im back to college

the error your getting  usaly mean that your urls are wrong as a reasult of not reading the manual many people have had this error if you search this topic or my site im sure your find the anser

Title: Re: SA Facebook Integration
Post by: notjustok on September 30, 2011, 11:49:12 AM
I installed your mod and everything seems to be working on the smf, but the login and register is not working
so users cant register with facebook, have already created the application

Title: Re: SA Facebook Integration
Post by: Gunpoint on September 30, 2011, 04:50:56 PM
when posting a topic on my forum,here is what came up even thou, the topic later showed up after refreshing the page
Fatal error: Uncaught OAuthException: Error validating application. thrown in /home/naijaemp/public_html/facebookauth/base_facebook.php on line 1028
Title: Re: SA Facebook Integration
Post by: trekkie2444 on September 30, 2011, 11:11:24 PM
Quote from: SA™ on September 30, 2011, 09:27:08 AM
Quote from: trekkie2444 on September 29, 2011, 04:40:02 AM
I've just got the white screen after install after installing the Facebook mod on SMF 2.0.1. Not really sure what to do now...white screen on all pages. I have no other mods reinstalled yet, but when I remove the /Sources/Facebook folder the white screen goes away. Ideas? I downloaded the REV36.
check your server error logs usaly when that happens it  means you dont have json or curl functions on your server

What would the logs show as errors? I'm told that my server does support those functions. I'm not sure what else it might be though.
Title: Re: SA Facebook Integration
Post by: Aegis Bearing Mel on October 02, 2011, 09:00:54 AM
Hi bud, wonder if you can shed some light on the following error for me?
We set up a test forum to trial things one a time before installing them on the board proper, just in case anything goes horribly wrong.
Means I can break things and it's not TOO bad.
:lol
Anyway, when we moved a post from one board to another then the following message pops up;

Fatal error: Uncaught OAuthException: (#803) Some of the aliases you requested do not exist: 120024808103196/feed thrown in /xx/xx/xx/test2/facebookauth/base_facebook.php on line 1028

We thought that everything was running well, our test guinea pigs are REALLY happy with the mod, as am I.
Once I'd finished arsing about with the FB side of it that is.
:/

Anyway, any suggestions as to what we can do befor ewe roll this out live on our forum proper?
Cheers.
Andy
Title: Re: SA Facebook Integration
Post by: WF22 on October 04, 2011, 02:41:55 PM
Hi guys,

I have installed the facebook mod on my forum in hope to get it to work, but its just not working.
I have asked for help on the SA forum hxxp:www.sa-smf.com [nonactive] but it looks like the guys I very busy  :'(
The Mod its not connecting to facebook but now I can not register normally to, can anyone give some tips in what to look for on the normal setup that may be causing the problem?
or could be the Mod it self?

Any help is very welcome.

All the Best
Title: Re: SA Facebook Integration
Post by: trekkie2444 on October 10, 2011, 06:56:28 PM
Anyone?
Title: Re: SA Facebook Integration
Post by: awolexpat on October 10, 2011, 09:48:07 PM
WF22,
I'm not expert enough to determine what might be wrong, but it will help those who are if you give more detail, such as version of SMF, any errors on installation, anything in the error log, possibly a screenshot of the mod's admin screen, that sort of thing. It may also help to detail the steps you have taken so far to see if you missed anything along the way. I have the mod running but as it stands your query does not have enough information to even begin looking; for example did you set up the Facebook application correctly? You don't mention this at all.
Title: Re: SA Facebook Integration
Post by: aditya.deore on October 11, 2011, 02:59:30 PM
Hi all,
I am facing an error when I try to login through facebook. when I click on connect to facebook it takes me to the facebook login after inserting id pwd, it takes me back to the forum but there I see an error saying :  AN ERROR OCCURRED      No connection found to Facebook.    but  when I refresh the page it is already logged in. As I am new to smf I have no idea how to deal with this error. If some One can help me out with the steps and any code that would be a great help.
Thanks,
Title: Re: SA Facebook Integration
Post by: aditya.deore on October 13, 2011, 01:04:44 PM
hi anybody can you help me out with the facebook problem ?
Title: Re: SA Facebook Integration
Post by: Iomega0318 on October 16, 2011, 10:52:31 PM
I am getting the following error when trying to register through the facebook app:
CurlException: 77: error setting certificate verify locations: CAfile: /usr/local/share/certs/ca-root-nss.crt CApath: none

I am on a Yahoo! shared hosting plan if that helps.
Title: Re: SA Facebook Integration
Post by: shanobi on October 17, 2011, 12:28:00 AM
Quote from: aditya.deore on October 11, 2011, 02:59:30 PM
Hi all,
I am facing an error when I try to login through facebook. when I click on connect to facebook it takes me to the facebook login after inserting id pwd, it takes me back to the forum but there I see an error saying :  AN ERROR OCCURRED      No connection found to Facebook.    but  when I refresh the page it is already logged in. As I am new to smf I have no idea how to deal with this error. If some One can help me out with the steps and any code that would be a great help.
Thanks,

I have the same problem as you. I didn't figure out how to fix it. I think the problem is in fb_main() in facebookintergrate.php. I tried messing around with the code like removing the error message or making the page refresh on hitting that error message but it didn't work  :P. Maybe someone better at this can shed some light on it.

EDIT: I only get this problem when I tried to use a link I created for SA's facebook connect feature. If I use the social hook, it is fine.
Title: Re: SA Facebook Integration
Post by: cmic on October 20, 2011, 03:55:20 AM
Install went smooth on SMF 2.0.1

Uploaded package, went to *facebook developers* made an app, adjusted settings in admin, signed in and published perfectly.

Facebook now requires ssl connection for apps so I'm not quite sure how this will affect the mod....

Title: Re: SA Facebook Integration
Post by: itchymon on October 22, 2011, 11:40:58 AM
Need some help, I'm using SA_FBConnect_0.2_smf11x.zip - I need to manually edit the index.template.php and i can not fine the code.
SMF version: SMF 1.1.15
someone please help....
Title: Re: SA Facebook Integration
Post by: !RFAN on October 23, 2011, 02:49:49 AM
i dont know whether anyone else has reported it or not.
after installing this mod whenever i go to http://www.amigozone.com/index.php?action=admin;area=modsettings;sa=general

i am getting this error: http://www.amigozone.com/index.php?action=admin;area=modsettings;sa=general

can i have ANY solution?
Title: Re: SA Facebook Integration
Post by: Mark S on October 23, 2011, 07:56:06 PM
I'm sure that the recent changes facebook has made had an effect on this mod.  I set up the app and the forum appears within the facebook canvas as it should and the forum functions fine so long as registration is set to normal mode.

I also get a pop-up for the SSI certificate.  The first two checks are okay, the last one is that the name on the certificate is invalid or doesn't match.  I'm using a sub-domain for this at the moment. 

I have this same problem as well:  the facebook registration doesn't work.  All you get is an error without definition.  I'm not getting anything on it in the error log either.

When logged-in, I get log-in pop-ups to access admin, member list, even the forum.

Is there anyone still working this mod or is it destined for the trash?  I can't believe that a mod for something as huge as integration with facebook would be left to whither.  Their community set-ups rot and they were made even worse with the last round of facebook changes.  Integrating a forum as good as SMF is like a canteen of water to a person in the desert.

SMF 2.0.1
Title: Re: SA Facebook Integration
Post by: WF22 on October 23, 2011, 10:25:05 PM
Quote from: awolexpat on October 10, 2011, 09:48:07 PM
WF22,
I'm not expert enough to determine what might be wrong, but it will help those who are if you give more detail, such as version of SMF, any errors on installation, anything in the error log, possibly a screenshot of the Mord's admin screen, that sort of thing. It may also help to detail the steps you have taken so far to see if you missed anything along the way. I have the mod running but as it stands your query does not have enough information to even begin looking; for example did you set up the Facebook application correctly? You don't mention this at all.

Hi awolexpat,

Thank you for your message I now have installed SMF from scratch  :-\
I guess I am willing to give it one more go.
Today I went on (SA smf) site and the site is gone, dose anyone know whats going on?
One more thing, is there anyone that has the mod running correctly on there site, dose the mod really work?
If so can we get a volunteer to make a youtube tutorial?

To all, all the best

Title: Re: SA Facebook Integration
Post by: awolexpat on October 23, 2011, 11:01:22 PM
Hi WF22,
Sorry to hear about your problems with this mod, but you still haven't given any details! Please indicate the following:
What version of SMF are you using?
What browser(s) have you been using?
When you install the mod are there any errors in installation (highlighted in red before the installation takes place)?
If yes to the above are you then making manual edits to the relevant files using the parse information on the mods page?
If yes to that, are you sure you are making the correct edits?
If no errors on installation, are there any errors in your error log when you try to test the mod?
If yes to that, what errors are you getting?
Can you access the mod's configuration panel in admin? If yes, please attach a screenshot of it (with any sensitive info masked).
Have you set up the Facebook application? If yes, please attach a screenshot of it (with any sensitive info masked).
Finally, can you give a blow by blow account of what happens on your site after installation of the mod, to explain the problem more clearly. For example is the Facebook menu item visible? What happens when you click on it? Have you checked your permissions? etc etc.

All the above info will assist anyone trying to help you and may actually help you find the problem yourself. It will also help if one of your members can give you feedback on what happens when they try to log in or register using Facebook, or if the option even appears. Also it may be worth trying your site in a different browser as this sometimes can be the problem (particularly IE, and particularly the older versions).

The disappearance of the SA site I have no idea about, but I do know that they have had problems in the past with either a host or a server, so maybe this is the same thing again? I imagine SA will be on here soon to explain but you could always drop him a PM.

I hope that helps but you really do need to give more information before anyone can help you properly. Just saying 'it doesn't work' will not get you anywhere.
Title: Re: SA Facebook Integration
Post by: BPLive on October 24, 2011, 07:09:47 AM
well I have asked for valid help for similar errors in my forum log for both SA Twitter and FB.  On here and in their forum. That was a month ago.  The only answer I got was that the creator is busy at school I think.  and yes their site is down, not that it has been updated sadly.

Being this and t. is such an important mod for SMF, extremely useful for large forums, somebody should pick it up and continue.  That's my vote.
Developer can't log in and give a status update all this time? my site is non-profit and a huge community... for over 10 years that I always give updates through thick and thin. 

@wf22

I have it working correctly on 2.0.1 with the latest version but I have errors in my log with both this one and twitter one.  Twitter one also has a cpu hogging issue that brought my vps to a halt. See twitter thread here for that as I see others had issues.

http://www.mysite.com/index.php/topic,25794.0.html
The database value you're trying to insert does not exist: current_board
Function: get_boardsfb
File: /home/xx/public_html/forum/Sources/Facebook/FacebookHooks.php
Line: 834


is the FB error.  notice the file url seems correct but the topic link on the first line does NOT include my forum's directory /forum.  not sure why and if this is because of simple portal or something else.  Error says 'critical'.    Twitter I get the same error in the error log for twiterhooks.php.  also a couple other twitter errors but thats for that thread.

Title: Re: SA Facebook Integration
Post by: awolexpat on October 24, 2011, 11:16:01 AM
BPLive,
I agree this is an important mod for SMF, but equally the creator of this and all the other free goodies available have put in a lot of work to bring them to us; while it is good when they are able to help us fix any problems, others in the SMF community will also step in if there is enough information provided to allow them to do so. Obviously some real life issues are affecting SA's ability to help, and clearly one of these has something to do with the website. I don't think SA has dropped this or other mods but that is just a guess as I don't know, but it seems highly unlikely given how active SA has been in the past; I think you are being a little premature in voting that someone else takes over the mod.

I was having issues with the mod previously, and it was pretty clear that there was some sort of conflict with another mod, although I never managed to work out which one - however I uninstalled, deleted and then reinstalled the latest version of the mod and all my previous problems disappeared. Whether this would fix anyone else's problems I don't know, but it works perfectly now. Sometimes the order that mods are installed affects how well they work I think. I also have some problems with the Twitter Integration mod but as far as I can tell these are just entries in the error log that don't actually interfere with the mod's operation. Irritating but not crucial so I am just waiting patiently until the author is able to address them.

As regards your error, I have never had that as I think it is because I don't have any boards being published by the mod, because I use another mod (Simple Twitter) which publishes posts to Twitter, and then an app (TwitterFeed) that then publishes those to Facebook - I already had this set up so never enabled the publishing of the boards in SA Facebook Integration (or SA Twitter for that matter). While it would be a convoluted way around your errors, it might be worth a try, or at least turn off the board publishing to see if it stops the errors, which then tells us where the errors lie. I am only guessing here though but the function: get_boardsfb seems to suggest that is the area causing the problem.

Let us know how you get on as obviously someone else may be having the same issue. I am no expert so please be gentle if it doesn't work!
Title: Re: SA Facebook Integration
Post by: SA™ on October 24, 2011, 01:01:09 PM
pls be paptient with me i have been too busy with college and work at nights so you can imagin why i havent been active here or my site tomorrow ill be finished @ work  so ill be more active here by next week

SA Mods aint going noware :P

my site will be back up in a few days just waiting for my check to clear

for your error bplive you can try this

in that file

  if(!empty($_GET['topic'])){
      get_boardsfb('com_enable',$board);
    }


replace with

if(!empty($board)){
      get_boardsfb('com_enable',$board);
    }


find

if(!empty($_GET['topic'])){
   get_boardsfb('like_enable',$board);
    }


replace with

if(!empty($board)){
   get_boardsfb('like_enable',$board);
    }


Title: Re: SA Facebook Integration
Post by: nend on October 24, 2011, 02:58:56 PM
I was wondering what happened to the site. I am currently using your Facebook and Twitter Connect, haven't had a problem with any of them. If there was something I could fix about it, you know I will tell you. lol
Title: Re: SA Facebook Integration
Post by: ~DS~ on October 24, 2011, 03:01:07 PM
Quote from: SA™ on October 24, 2011, 01:01:09 PM
pls be paptient with me i have been too busy with college and work at nights so you can imagin why i havent been active here or my site tomorrow ill be finished @ work  so ill be more active here by next week

SA Mods aint going noware :P

my site will be back up in a few days just waiting for my check to clear
You are alive? How can you? :P
Title: Re: SA Facebook Integration
Post by: pariofdreamz on October 24, 2011, 03:49:40 PM
Hello

   I m using facebook integration mod on my smf site version 2.0.1. My problem is that members who are coming from facebook use connect with facebook button but they are not able to login on smf ... can any one help me in  this .... what m i missing ????

:'( :'( :'(
Title: Re: SA Facebook Integration
Post by: trekkie2444 on October 24, 2011, 09:59:19 PM
Can someone please help me out with my previous post? I'm getting the white page when I click on the redirect now after I install the mod on 2.0.1, and I was told that my server has json and curl functions, so I'm not sure what else could be causing this.
Title: Re: SA Facebook Integration
Post by: !RFAN on October 25, 2011, 01:16:14 AM
Quote from: !RFAN on October 23, 2011, 02:49:49 AM
i dont know whether anyone else has reported it or not.
after installing this mod whenever i go to http://www.amigozone.com/index.php?action=admin;area=modsettings;sa=general

i am getting this error: http://www.amigozone.com/index.php?action=admin;area=modsettings;sa=general

can i have ANY solution?
Title: Re: SA Facebook Integration
Post by: BPLive on October 29, 2011, 03:37:36 PM
awolexpat  thanks for the suggestions and yea I understand.   I don't understand too much about history of SA, don't worry about my vote.  :)   looks like some of us run around TOO busy, me included

SA thanks man... I will try that out.  Glad to know that SA isn't going anywhere  :)  and for the first time a powerful mod such as yours got me in a frenzy ;)

Was pullin' many hours & had worries is all.   I'll post a detailed report if this work
Title: Re: SA Facebook Integration
Post by: kenng on October 29, 2011, 10:11:15 PM
managed to install and working. Head over the facebook menubar, what's on your mind button doesnt work?
Title: Re: SA Facebook Integration
Post by: Spoogs on October 30, 2011, 01:42:22 AM
Quote from: !RFAN on October 23, 2011, 02:49:49 AM
i dont know whether anyone else has reported it or not.
after installing this mod whenever i go to http://www.amigozone.com/index.php?action=admin;area=modsettings;sa=general

i am getting this error: http://www.amigozone.com/index.php?action=admin;area=modsettings;sa=general

can i have ANY solution?

What is the error?
Title: Re: SA Facebook Integration
Post by: Spoogs on October 30, 2011, 01:44:16 AM
Quote from: kenng on October 29, 2011, 10:11:15 PM
managed to install and working. Head over the facebook menubar, what's on your mind button doesnt work?
Just saying is doesn't work is so vague... what is it doing or not doing? It is working just fine for me.
Title: Re: SA Facebook Integration
Post by: Spoogs on October 30, 2011, 01:47:43 AM
Quote from: pariofdreamz on October 24, 2011, 03:49:40 PM
Hello

   I m using facebook integration mod on my smf site version 2.0.1. My problem is that members who are coming from facebook use connect with facebook button but they are not able to login on smf ... can any one help me in  this .... what m i missing ????

:'( :'( :'(

Have they actually registered on your site... just clicking the connect with facebook button wont get them right in... the info to complete the registration is right there after the click the button... A little more info would be helpful as well. A link to your site to try and test would be helpful also.
Title: Re: SA Facebook Integration
Post by: !RFAN on October 30, 2011, 03:07:00 PM
Quote from: Spoogs on October 30, 2011, 01:42:22 AM
Quote from: !RFAN on October 23, 2011, 02:49:49 AM
i dont know whether anyone else has reported it or not.
after installing this mod whenever i go to http://www.amigozone.com/index.php?action=admin;area=modsettings;sa=general

i am getting this error: http://www.amigozone.com/index.php?action=admin;area=modsettings;sa=general

can i have ANY solution?

What is the error?

Fatal error: Cannot redeclare class SAFacebook in /home/amigozon/public_html/facebookauth/facebook.php on line 93
Title: Re: SA Facebook Integration
Post by: trekkie2444 on November 01, 2011, 04:12:08 AM
Well, someday someone might respond to me.
Title: Re: SA Facebook Integration
Post by: Iomega0318 on November 01, 2011, 04:41:34 AM
Quote from: trekkie2444 on November 01, 2011, 04:12:08 AM
Well, someday someone might respond to me.
I know the feeling.. but patience is a virtue... or was :P
Title: Re: SA Facebook Integration
Post by: SA™ on November 01, 2011, 11:46:51 AM
Quote from: trekkie2444 on November 01, 2011, 04:12:08 AM
Well, someday someone might respond to me.

what php version you using?
Title: Re: SA Facebook Integration
Post by: trekkie2444 on November 01, 2011, 08:46:14 PM
Quote from: SA™ on November 01, 2011, 11:46:51 AM
Quote from: trekkie2444 on November 01, 2011, 04:12:08 AM
Well, someday someone might respond to me.

what php version you using?

phpMyAdmin - 2.11.9.6

MySQL client version: 5.0.77
Title: Re: SA Facebook Integration
Post by: SA™ on November 02, 2011, 10:28:57 AM
that isnt your php version if you are unsure speak to your host
Title: Re: SA Facebook Integration
Post by: SA™ on November 03, 2011, 02:31:53 AM
Quote from: !RFAN on October 30, 2011, 03:07:00 PM
Quote from: Spoogs on October 30, 2011, 01:42:22 AM
Quote from: !RFAN on October 23, 2011, 02:49:49 AM
i dont know whether anyone else has reported it or not.
after installing this mod whenever i go to http://www.amigozone.com/index.php?action=admin;area=modsettings;sa=general

i am getting this error: http://www.amigozone.com/index.php?action=admin;area=modsettings;sa=general

can i have ANY solution?

What is the error?

Fatal error: Cannot redeclare class SAFacebook in /home/amigozon/public_html/facebookauth/facebook.php on line 93

there is a post a few back about this it is the users online today mod that causes this issue tho i can not replicate it with the newest version of that  mod
Title: Re: SA Facebook Integration
Post by: Alex4108 on November 04, 2011, 12:14:35 AM
Im having a bit of trouble with this mod, but in the past I haven't

I'm using a completely fresh SMF 2.0.1, the only thing I've done is add some forums and a theme.  For debugging purposes, I uninstalled the custom theme and reverted back to curve.

Here's my issue:
I download the package from the mods site, no problem
Upload it in package manager, no problem
All tests are cleared, install!
I hit the go to admin panel link on the final page where it says successfully installed, and that brings me back to the main facebook page
The F Connect button isn't anywhere, and I can't find a trace of the mod

To confirm, the link to the facebook acp is http://www.url.tld/index.php?action=admin;area=facebook

If that's wrong, please correct me.

I'm using REV 36 on SMF 2.0.1
PHPInfo @ http://www.sjclan.net/phpinfo.php
Title: Re: SA Facebook Integration
Post by: SA™ on November 04, 2011, 12:54:04 AM
after install that link should take you to the fb admin panel is that where it takes you?
can you pls veryfi the mod is actualy installed properly?
link to site?
theme?
Title: Re: SA Facebook Integration
Post by: trekkie2444 on November 06, 2011, 03:20:37 AM
Quote from: SA™ on November 02, 2011, 10:28:57 AM
that isnt your php version if you are unsure speak to your host

5.1.16
Title: Re: SA Facebook Integration
Post by: Alex4108 on November 07, 2011, 12:06:40 AM
Quote from: SA™ on November 04, 2011, 12:54:04 AM
after install that link should take you to the fb admin panel is that where it takes you
can you pls veryfi the mod is actualy installed properly?
link to site?
theme?

It takes me to the start page of the admin panel
How am I supposed to verify?  SMF Says it's installed and functioning.  All tests passed before I installed
Link to: www.teamfear.tk
theme: Astonished
Title: Re: SA Facebook Integration
Post by: SA™ on November 07, 2011, 12:24:42 AM
Quote from: Alex4108 on November 07, 2011, 12:06:40 AM
Quote from: SA™ on November 04, 2011, 12:54:04 AM
after install that link should take you to the fb admin panel is that where it takes you
can you pls veryfi the mod is actualy installed properly?
link to site?
theme?

It takes me to the start page of the admin panel
How am I supposed to verify?  SMF Says it's installed and functioning.  All tests passed before I installed
Link to: www.teamfear.tk
theme: Astonished

you can see from viewing you page soucre or open the install.xml and check the edits there

i can see now from you page source that it isnt installed or installed properly


Quote from: trekkie2444 on November 06, 2011, 03:20:37 AM
Quote from: SA™ on November 02, 2011, 10:28:57 AM
that isnt your php version if you are unsure speak to your host

5.1.16

that is fine you get any errors in your error logs?
Title: Re: SA Facebook Integration
Post by: trekkie2444 on November 07, 2011, 04:24:08 AM
Quote from: SA™ on November 07, 2011, 12:24:42 AM
Quote from: Alex4108 on November 07, 2011, 12:06:40 AM
Quote from: SA™ on November 04, 2011, 12:54:04 AM
after install that link should take you to the fb admin panel is that where it takes you
can you pls veryfi the mod is actualy installed properly?
link to site?
theme?

It takes me to the start page of the admin panel
How am I supposed to verify?  SMF Says it's installed and functioning.  All tests passed before I installed
Link to: www.teamfear.tk
theme: Astonished

you can see from viewing you page soucre or open the install.xml and check the edits there

i can see now from you page source that it isnt installed or installed properly


Quote from: trekkie2444 on November 06, 2011, 03:20:37 AM
Quote from: SA™ on November 02, 2011, 10:28:57 AM
that isnt your php version if you are unsure speak to your host

5.1.16

that is fine you get any errors in your error logs?

I get the blank white page so I can't do anything with my forum until I literally go in through FTP and delete the Facebook directory. I suppose I can try it again and see if any new errors pop up afterwards.
Title: Re: SA Facebook Integration
Post by: trekkie2444 on November 07, 2011, 05:07:32 AM
Well that was fun! It installed as the Apache user instead of my server admin user so I had to go through FTP as the root and remove all the files to get my forum to work again. I got a nice error log though.

Guest
207.46.194.106   
Today at 02:05:13 AM
7c1054921c959d224d98341906d8c089
Type of error: General
http://e-p1.net/index.php?action=media;sa=media;id=4933;thumb2: require_once(/home/onerinconhill/public_html/facebookauth/facebook_canvas.js.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directoryFile: /home/onerinconhill/public_html/Sources/Facebook/FacebookHooks.php
Line: 91
Guest
65.52.109.152   
Today at 02:05:13 AM
190bb5758ebf3acab4dc782cd03953a3
Type of error: General
http://e-p1.net/index.php?pretty;action=media&amp;sort=0;asc;nw;start=16402: require_once(/home/onerinconhill/public_html/facebookauth/facebook_canvas.js.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directoryFile: /home/onerinconhill/public_html/Sources/Facebook/FacebookHooks.php
Line: 91
Guest
180.76.5.156   
Today at 02:05:12 AM
585728d4737ed4b40a6a21bb0705dca3
Type of error: General
http://e-p1.net/index.php?pretty;action=profile&amp;area=summary;u=35602: require_once(/home/onerinconhill/public_html/facebookauth/facebook_canvas.js.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directoryFile: /home/onerinconhill/public_html/Sources/Facebook/FacebookHooks.php
Line: 91
Guest
65.52.109.152   
Today at 02:05:10 AM
b5738fa44db2afe25d24c36fafaf96c6
Type of error: General
http://e-p1.net/index.php?pretty;action=media&amp;sa=item;in=28sort=3;asc2: require_once(/home/onerinconhill/public_html/facebookauth/facebook_canvas.js.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directoryFile: /home/onerinconhill/public_html/Sources/Facebook/FacebookHooks.php
Line: 91
Guest
66.249.68.164   
Today at 02:05:07 AM
f680f50c994ceb39557cb0391b20dcd2
Type of error: General
http://e-p1.net/index.php?action=media;sa=media;in=469;preview2: require_once(/home/onerinconhill/public_html/facebookauth/facebook_canvas.js.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directoryFile: /home/onerinconhill/public_html/Sources/Facebook/FacebookHooks.php
Line: 91
Guest
65.52.109.152   
Today at 02:05:06 AM
cf1681dddabebc1aadeee173d17dc3b2
Type of error: General
http://e-p1.net/index.php?pretty;action=media&amp;sa=item;in=602sort=4;desc2: require_once(/home/onerinconhill/public_html/facebookauth/facebook_canvas.js.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directoryFile: /home/onerinconhill/public_html/Sources/Facebook/FacebookHooks.php
Line: 91
Guest
65.52.109.152   
Today at 02:05:05 AM
b5a6dfaebaa5791226ec1249eba36717
Type of error: General
http://e-p1.net/index.php?pretty;board=non-native-(adapted)-lenses;topic=jupiter-12-is-it-possible.msg473712: require_once(/home/onerinconhill/public_html/facebookauth/facebook_canvas.js.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directoryFile: /home/onerinconhill/public_html/Sources/Facebook/FacebookHooks.php
Line: 91
autgard
80.89.35.50   
Today at 02:05:01 AM
458140589feca933f6694dd67cb4bf73
Type of error: General
http://e-p1.net/index.php?pretty;action=.xml&amp;type=rss2: require_once(/home/onerinconhill/public_html/facebookauth/facebook_canvas.js.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directoryFile: /home/onerinconhill/public_html/Sources/Facebook/FacebookHooks.php
Line: 91
Guest
66.249.67.213   
Today at 02:05:00 AM
e411932fa243d7268f3eadc6962c3c28
Type of error: General
http://e-p1.net/index.php?pretty;action=media&amp;sa=item;in=3875sort=0;asc2: require_once(/home/onerinconhill/public_html/facebookauth/facebook_canvas.js.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directoryFile: /home/onerinconhill/public_html/Sources/Facebook/FacebookHooks.php
Line: 91
Guest
180.76.5.151   
Today at 02:04:55 AM
8ca13bc8ff91c0479646bc18c37bddd5
Type of error: General
http://e-p1.net/index.php?pretty;action=profile&amp;area=summary;u=38362: require_once(/home/onerinconhill/public_html/facebookauth/facebook_canvas.js.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directoryFile: /home/onerinconhill/public_html/Sources/Facebook/FacebookHooks.php
Line: 91
Guest
65.52.109.152   
Today at 02:04:55 AM
c0d4e7390216f17a4bd4720117f94e4b
Type of error: General
http://e-p1.net/index.php?pretty;action=media&amp;sa=album;in=78;sort=1;desc;fw2: require_once(/home/onerinconhill/public_html/facebookauth/facebook_canvas.js.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directoryFile: /home/onerinconhill/public_html/Sources/Facebook/FacebookHooks.php
Line: 91
Guest
65.52.109.152   
Today at 02:04:55 AM
234160b5153dcc71bf54bb6f264c6309
Type of error: General
http://e-p1.net/index.php?pretty;action=media&amp;sa=album;in=25;sort=1;nw2: require_once(/home/onerinconhill/public_html/facebookauth/facebook_canvas.js.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directoryFile: /home/onerinconhill/public_html/Sources/Facebook/FacebookHooks.php
Line: 91
Guest
66.249.67.213   
Today at 02:04:52 AM
ff4e4e524eb602307ea393a8a1f1460a
Type of error: General
http://e-p1.net/index.php?pretty;action=media&amp;sa=item;in=3706sort=0;desc2: require_once(/home/onerinconhill/public_html/facebookauth/facebook_canvas.js.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directoryFile: /home/onerinconhill/public_html/Sources/Facebook/FacebookHooks.php
Line: 91
Guest
207.46.194.89   
Today at 02:04:52 AM
4906d293a1b3e901c5ab58c5512f0e72
Type of error: General
http://e-p1.net/index.php?pretty;board=lenses;topic=lens-test-olympus-om-schneider-olympus-mft-panasonic-mft.02: require_once(/home/onerinconhill/public_html/facebookauth/facebook_canvas.js.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directoryFile: /home/onerinconhill/public_html/Sources/Facebook/FacebookHooks.php
Line: 91
asterinex
81.83.16.90   
Today at 02:04:52 AM
5f3ca141020df2766a10c1095ce10670
Type of error: General
http://e-p1.net/index.php?http://e-p1.net/2: require_once(/home/onerinconhill/public_html/facebookauth/facebook_canvas.js.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directoryFile: /home/onerinconhill/public_html/Sources/Facebook/FacebookHooks.php
Line: 91
Guest
207.46.194.89   
Today at 02:04:52 AM
245c8e23fe352b67ad487fc1faf5a738
Type of error: General
http://e-p1.net/index.php?action=media;sa=media;id=4933;thumb2: require_once(/home/onerinconhill/public_html/facebookauth/facebook_canvas.js.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directoryFile: /home/onerinconhill/public_html/Sources/Facebook/FacebookHooks.php
Line: 91
Guest
66.249.67.213   
Today at 02:04:51 AM
9a64b41a6c0f73c4e176a078ed51ee68
Type of error: General
http://e-p1.net/index.php?pretty;action=media&amp;sa=item;in=2717;desc2: require_once(/home/onerinconhill/public_html/facebookauth/facebook_canvas.js.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directoryFile: /home/onerinconhill/public_html/Sources/Facebook/FacebookHooks.php
Line: 91
Guest
180.76.5.185   
Today at 02:04:50 AM
17f8c352858232d325bd0c0f56c9d8f4
Type of error: General
http://e-p1.net/index.php?pretty;board=non-native-(adapted)-lenses;topic=(c)ine-lenses-2-usefull-links.msg219662: require_once(/home/onerinconhill/public_html/facebookauth/facebook_canvas.js.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directoryFile: /home/onerinconhill/public_html/Sources/Facebook/FacebookHooks.php
Line: 91
Guest
66.249.68.164   
Today at 02:04:44 AM
be0cf5131067dc0a0609855cf1a2a5d7
Type of error: General
http://e-p1.net/index.php?pretty;board=olympus-digital-pen-and-pen-cameras;topic=olympus-e-p2-kit-(17mm-or-14-42mm)-for-$699-99!.02: require_once(/home/onerinconhill/public_html/facebookauth/facebook_canvas.js.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directoryFile: /home/onerinconhill/public_html/Sources/Facebook/FacebookHooks.php
Line: 91
Guest
180.76.5.95   
Today at 02:04:43 AM
9219e437c85acd63b4ac5176f1441423
Type of error: General
http://e-p1.net/index.php?pretty;action=profile&amp;area=summary;u=42002: require_once(/home/onerinconhill/public_html/facebookauth/facebook_canvas.js.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directoryFile: /home/onerinconhill/public_html/Sources/Facebook/FacebookHooks.php
Line: 91
Guest
66.249.68.164   
Today at 02:04:37 AM
ae125b06483fbc92c426c52a456c4033
Type of error: General
http://e-p1.net/index.php?pretty;board=olympus-digital-pen-and-pen-cameras;topic=my-thoughts-on-using-the-e-p3-first-model-shoot.02: require_once(/home/onerinconhill/public_html/facebookauth/facebook_canvas.js.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directoryFile: /home/onerinconhill/public_html/Sources/Facebook/FacebookHooks.php
Line: 91
Guest
180.76.5.67   
Today at 02:04:32 AM
ddcabcea6482804d4aca58ef53870d15
Type of error: General
http://e-p1.net/index.php?pretty;action=profile;user=ace22202&amp;area=showposts;sa=attach;sort=downloads;asc2: require_once(/home/onerinconhill/public_html/facebookauth/facebook_canvas.js.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directoryFile: /home/onerinconhill/public_html/Sources/Facebook/FacebookHooks.php
Line: 91
Guest
66.249.67.213   
Today at 02:04:29 AM
bef640d7c26dca383261d2f35e5023f9
Type of error: General
http://e-p1.net/index.php?pretty;action=media&amp;sa=item;in=2534sort=1;desc2: require_once(/home/onerinconhill/public_html/facebookauth/facebook_canvas.js.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directoryFile: /home/onerinconhill/public_html/Sources/Facebook/FacebookHooks.php
Line: 91
Guest
207.46.199.213   
Today at 02:04:28 AM
10462f47141a402fbb50f91eb17dec3b
Type of error: General
http://e-p1.net/index.php?pretty;board=panasonic-micro-four-thirds-cameras;topic=g1-and-gh1-hidden-menu.02: require_once(/home/onerinconhill/public_html/facebookauth/facebook_canvas.js.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directoryFile: /home/onerinconhill/public_html/Sources/Facebook/FacebookHooks.php
Line: 91
Guest
66.249.67.213   
Today at 02:04:28 AM
3e9b4b3bd0ae9279d8b25bae9f99a1b0
Type of error: General
http://e-p1.net/index.php?pretty;action=media&amp;sa=item;in=2716;desc2: require_once(/home/onerinconhill/public_html/facebookauth/facebook_canvas.js.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directoryFile: /home/onerinconhill/public_html/Sources/Facebook/FacebookHooks.php
Line: 91


59 of these.
Title: Re: SA Facebook Integration
Post by: SA™ on November 07, 2011, 08:25:49 PM
ok seem like it isnt uploading the files right once it is installed is facebookauth/facebook_canvas.js.php on your server?
Title: Re: SA Facebook Integration
Post by: trekkie2444 on November 07, 2011, 08:56:34 PM
Yeah, it installs the /facebookauth folder with all the files along with /Sources/Facebook, but it installs them under the Apache user for some reason instead of the server admin.
Title: Re: SA Facebook Integration
Post by: Alex4108 on November 07, 2011, 10:02:19 PM
Quote from: SA™ on November 07, 2011, 12:24:42 AM
Quote from: Alex4108 on November 07, 2011, 12:06:40 AM
Quote from: SA™ on November 04, 2011, 12:54:04 AM
after install that link should take you to the fb admin panel is that where it takes you
can you pls veryfi the mod is actualy installed properly?
link to site?
theme?

It takes me to the start page of the admin panel
How am I supposed to verify?  SMF Says it's installed and functioning.  All tests passed before I installed
Link to: www.teamfear.tk
theme: Astonished

you can see from viewing you page soucre or open the install.xml and check the edits there

i can see now from you page source that it isnt installed or installed properly


Well thanks.  Error log says some files aren't writeable, even though the entire dir of the website is 777

chmod -R 777 /path/to/root/dir

That should be the command right?
Title: Re: SA Facebook Integration
Post by: SA™ on November 07, 2011, 10:25:40 PM
maybe you've lost ownership of the files?

maybe this might help you?

http://www.sa-smf.com/community/index.php?action=kb;area=article;cont=23
Title: Re: SA Facebook Integration
Post by: Alex4108 on November 07, 2011, 10:55:06 PM
Quote from: SA™ on November 07, 2011, 10:25:40 PM
maybe you've lost ownership of the files?

maybe this might help you?

http://www.sa-smf.com/community/index.php?action=kb;area=article;cont=23

Got it fixed
chown -R www /dir/to/root
chmod -R 774 /dir/to/root

Thanks :)
Title: Re: SA Facebook Integration
Post by: SA™ on November 07, 2011, 10:57:32 PM
your welcome :)
Title: Re: SA Facebook Integration
Post by: trekkie2444 on November 08, 2011, 02:25:10 AM
Was that response to me, or to him?
Title: Re: SA Facebook Integration
Post by: Dblog on November 09, 2011, 06:40:48 AM
is there anyway of integrating with FB without having to create https:// links to our forums
Title: Re: SA Facebook Integration
Post by: Kindred on November 09, 2011, 07:43:12 AM
No. Facebook requires https now
Title: Re: SA Facebook Integration
Post by: trekkie2444 on November 10, 2011, 06:55:15 PM
SA...help please?
Title: Re: SA Facebook Integration
Post by: SA™ on November 11, 2011, 11:21:05 PM
hi trekkie

i have a feeling you issues is to do with you server
http://www.simplemachines.org/community/index.php?topic=458933.0;topicseen
going by your post here
Title: Re: SA Facebook Integration
Post by: trekkie2444 on November 12, 2011, 03:34:39 AM
I know you're probably very busy, but can you take a few minutes to just look at it real quick? Please?
Title: Re: SA Facebook Integration
Post by: SA™ on November 12, 2011, 04:03:37 AM
sure can but not till tonight going to work in a min
Title: Re: SA Facebook Integration
Post by: Ascot on November 12, 2011, 11:41:49 PM
Hi there. A question
How to add Hooks?
I want to add a login button next to my quick login panel on the header of whole forum.
help please
Title: Re: SA Facebook Integration
Post by: SA™ on November 13, 2011, 12:06:40 AM
just goto social hooks in fb admin copy the facebook login hook code

call_facebook_hook('show_facebook_login',array());

and add it in index.template.php where you want it i cant say where cos i dont know the theme you are using if you can attach the index.template.php from your theme?
Title: Re: SA Facebook Integration
Post by: Ascot on November 13, 2011, 12:57:10 AM
Thanks, this is my Index.template of my custom theme.
:)
Title: Re: SA Facebook Integration
Post by: SA™ on November 13, 2011, 04:46:23 PM
find in that file

echo '
<input type="hidden" name="hash_passwrd" value="" />
</form>';


add after

call_facebook_hook('show_facebook_login',array());
Title: Re: SA Facebook Integration
Post by: projectnaija on November 13, 2011, 07:48:05 PM
i need help with creating facebook app pls help. sa site is down now
Title: Re: SA Facebook Integration
Post by: SA™ on November 13, 2011, 10:09:56 PM
goto the creat app page

fill in app name and name space
continue to next step
verify your human
continue to next step
scoll down to
Website   I want to allow people to log in to my website using Facebook.
click it then enter your site url
then save it

then grab your app id and secret and enter this in fb admin panel on your site

do not copy and past these as it can add extra spaces in the keys wich will cause the mod not to function prperly

that should get you up and running as this is how i do it with my dev site
Title: Re: SA Facebook Integration
Post by: projectnaija on November 14, 2011, 07:20:08 AM
Thank u mate, can i pm u if i need more info?
Title: Re: SA Facebook Integration
Post by: Ascot on November 14, 2011, 08:58:48 PM
Thank you. It worked perfectly :]
Title: Re: SA Facebook Integration
Post by: jaypreet on November 19, 2011, 07:46:26 AM
Dear Sa,

I am hosting my website on a multiple website hosting plan. and my URL is redirected, so which URL i should enter in the url option.

Thanks in advance

jayy
Title: Re: SA Facebook Integration
Post by: jaypreet on November 19, 2011, 08:29:37 AM
is it necessary to have a url with https or i can use http also ?
Title: Re: SA Facebook Integration
Post by: SA™ on November 19, 2011, 03:32:35 PM
what url option?
what you mean my url is reditected?

i guess you can use http aswell as i do on sa mods
Title: Re: SA Facebook Integration
Post by: Kindred on November 19, 2011, 04:39:34 PM
as far as I know, all connections to facebook must be https at this point...
Title: Re: SA Facebook Integration
Post by: SA™ on November 19, 2011, 04:46:08 PM
oh your are right but http seems to still work
Title: Re: SA Facebook Integration
Post by: trekkie2444 on November 19, 2011, 07:36:43 PM
Have you had a chance to check my issue? I sent you another PM.
Title: Re: SA Facebook Integration
Post by: ~DS~ on November 19, 2011, 08:31:13 PM
I am going to active ironing out any bugs I encounter with SA...
Title: Re: SA Facebook Integration
Post by: projectnaija on November 19, 2011, 08:49:16 PM
pls someone tell me how to create fb apps for sa mod
Title: Re: SA Facebook Integration
Post by: ~DS~ on November 19, 2011, 08:56:34 PM
Quote from: projectnaija on November 19, 2011, 08:49:16 PM
pls someone tell me how to create fb apps for sa mod

http://www.sa-smf.com/community/index.php?action=kb;area=article;cont=28
Title: Re: SA Facebook Integration
Post by: nend on November 19, 2011, 09:14:15 PM
Quote from: Kindred on November 19, 2011, 04:39:34 PM
as far as I know, all connections to facebook must be https at this point...

It matters how they interact with members, canvas requires https, these are Facebook apps. Other services that work externally from FB do not.

Server to server also needs https(ssl wrappers), this is different from https on the website and really matters on the host.

*edited, didn't make any sense, hope that is clearer. lol.
Title: Re: SA Facebook Integration
Post by: jaypreet on November 20, 2011, 12:38:21 AM
Dear Sa,

Thanks for the beautiful mod, I was able to use it with http.

but I encountered one small issue, the moment i use facebook connect button it takes me to face book page where in I have to use my facebook user id and password and then it takes back me to my forum where i have to fill in the user details but ideally it should automatically take my facebook user name and password but i have to register again as facebook user.

Same issue with ur twitter mod to.

you can check this on my forum that is www.allaboutphilately.com

thanks in advance

Jayy
Title: Re: SA Facebook Integration
Post by: SA™ on November 20, 2011, 12:41:19 AM
it is supposed todo this you cant get the users password from facebook plus it prevent two people signing up with the same name
Title: Re: SA Facebook Integration
Post by: projectnaija on November 20, 2011, 07:00:52 PM
Quote from: ~DS~ on November 19, 2011, 08:56:34 PM
Quote from: projectnaija on November 19, 2011, 08:49:16 PM
pls someone tell me how to create fb apps for sa mod

http://www.sa-smf.com/community/index.php?action=kb;area=article;cont=28

that tutorial is old it should be updated
Title: Re: SA Facebook Integration
Post by: SA™ on November 20, 2011, 09:53:56 PM
Change Log:





21 Nov, 2011 [2.0 Fixes several bugs]

  • fixed database value you're trying to insert does not exist: current_board error
  • begining adding supprt for auto reauth
  • added supprt for open graph for likes and shares
  • fixed issue unable to redeclare class facebook
  • social hook now use classes [your need to update your codes if you use the social hooks]
  • added option to disable invite friends
  • added option to disable your friends page
  • moved around admin settings
  • fixed issue hook functions not declared public static
  • fixed issue with post to wall promt when loggin in
  • fixed isue importing friends resulting in blank page
  • fixed issue pwp showing intermiterly

             
Left blank intentionally:

  • minor code refactor to use oop
  • used proper constructer methods to create objects
  • chnaged $facebook = $facebook = new to $facebook = new many places
  • optimised face_init function to only ping fb if needed instead of each page load
  • updated js sdk
  • added option to disable whats on your mind
  • added option to disable facebook page
  • fixed issue with open graph breaking profile with dogy chars
  • some new settings where back to front
  • fixed undefined errors
  • public staic was defined twice on faceload function
  • fixed issue with portal installed

Title: Re: SA Facebook Integration
Post by: trekkie2444 on November 21, 2011, 12:15:26 AM
So it looks like I'm still having the issue with it installing as the Apache user and not the root, but when I delete the /facebookauth folder, I still get the white page, it's only when I delete the /Sources/Facebook folder that I can use my forum again.
Title: Re: SA Facebook Integration
Post by: Ascot on November 21, 2011, 12:05:54 PM
I wonder how can i turn my "Connect with Facebook" hook button into spanish?
My language is set to spanish and works ok with other buttons and boxes by default.
Title: Re: SA Facebook Integration
Post by: SA™ on November 21, 2011, 01:41:32 PM
@trekkie2444
im a little confused here why woudl you want to remove the facebookauth folder anyway it there for a reason you know?

@Ascot
you can change the connect with facebook button in fb admin
Title: Re: SA Facebook Integration
Post by: trekkie2444 on November 22, 2011, 02:22:35 AM
Quote from: SA™ on November 21, 2011, 01:41:32 PM
@trekkie2444
im a little confused here why woudl you want to remove the facebookauth folder anyway it there for a reason you know?

@Ascot
you can change the connect with facebook button in fb admin

I removed everything that the mod installed because of the white page problem on all pages after installing it. I apparently don't need to delete that folder, as the issue is in the /Sources/Facebook folder.
Title: Re: SA Facebook Integration
Post by: SA™ on November 22, 2011, 02:40:57 AM
check you server error logs there should be a clue in there about it
not the forum error logs
Title: Re: SA Facebook Integration
Post by: Dron_ on November 22, 2011, 06:00:31 AM
+1 ;D
Title: Re: SA Facebook Integration
Post by: Qzi on November 22, 2011, 06:27:19 AM
Hi, I have BIG problem.
After installing the modified facebook page gives me the message:
Fatal error: Cannot redeclare facebook_array_insert() in /home/kobi123d/domains/sekrety-kobiety.pl/public_html/Sources/Facebook/FacebookHooks.php on line 28

I checked the file and unfortunately I do not know what could be wrong :(

line: 25-51
if (!defined('SMF'))
die('Hacking attempt...');

function facebook_array_insert(&$input, $key, $insert, $where = 'before', $strict = false)
{
$position = array_search($key, array_keys($input), $strict);

// Key not found -> insert as last
if ($position === false)
{
$input = array_merge($input, $insert);
return;
}

if ($where === 'after')
$position += 1;

// Insert as first
if ($position === 0)
$input = array_merge($insert, $input);
else
$input = array_merge(
array_slice($input, 0, $position),
$insert,
array_slice($input, $position)
);
}


edit
-------------------------------------

after update rev46 - another problem:
Fatal error: Cannot redeclare template_facebook_above() in /home/kobi123d/domains/sekrety-kobiety.pl/public_html/Sources/Facebook/FacebookHooks.php on line 870


Please help
Title: Re: SA Facebook Integration
Post by: Adrek on November 22, 2011, 01:26:49 PM
After update from rev36 I'm getting this errors in my log:

index.php?action=facebookintegrate;area=logsync
8: Array to string conversion
File: /public_html/Sources/Subs-Shoutbox.php
Line: 28


And 28 line is:
if (!in_array(strtolower($action), explode(',', $show)))

But honestly... I didn't know where to post this message, but all this started after update SA Facebook from rev36 to rev46 so I think that this is appropriate topic.

I'm using SMF Packs Shoutbox.
Title: Re: SA Facebook Integration
Post by: SA™ on November 22, 2011, 04:48:50 PM
@phantomm

ill have to install that to see whats going on wich i will do later

@Qzi
sound like it hasnt uninstaledl properly
grab the remove_hooks.php file from rev36 and upload it to your server the same place as your SSI.php is and run it in your brouser
Title: Re: SA Facebook Integration
Post by: David111567 on November 22, 2011, 08:55:49 PM
I'm still trying to figure out how to solve the Ajax Chat errors that I get when I install this mod.  I love the mod and it works in every other way with no issues.  But I need my chat rooms and my members are screaming about the errors when I install the facebook mod. It renders the Ajax Chat useless.

I've tried the suggested fixes but with no luck.

Wonderful mod, by the way.  Wish I could use it on my forums.
Title: Re: SA Facebook Integration
Post by: SA™ on November 22, 2011, 09:04:26 PM
what ajax chat issues?
Title: Re: SA Facebook Integration
Post by: SA™ on November 22, 2011, 10:31:44 PM
Quote from: phantomm on November 22, 2011, 01:26:49 PM
After update from rev36 I'm getting this errors in my log:

index.php?action=facebookintegrate;area=logsync
8: Array to string conversion
File: /public_html/Sources/Subs-Shoutbox.php
Line: 28


And 28 line is:
if (!in_array(strtolower($action), explode(',', $show)))

But honestly... I didn't know where to post this message, but all this started after update SA Facebook from rev36 to rev46 so I think that this is appropriate topic.

I'm using SMF Packs Shoutbox.

im not realy sure if it is a issue with this mod or the shoutbox but you can disable to the shout box for the facebook mod

Subs-Shoutbox.php find

if (Shoutbox_Settings('disable') != '')
    return $action;

add after
if($context['current_action'] == 'facebook')
    return $action;
if($context['current_action'] == 'facebookintegrate')
    return $action;


Title: Re: SA Facebook Integration
Post by: SA™ on November 22, 2011, 10:46:00 PM
@David111567
Quoteenders the Ajax Chat useless.

can you tell me what happens cos that doesnt realy help  i just install ajax chat mod and didnt find any issues with this?
Title: Re: SA Facebook Integration
Post by: Adrek on November 23, 2011, 01:55:47 PM
@SA, yes, this works, but then I get Undefined index: current_action... I think that I have to change shoutbox...
Title: Re: SA Facebook Integration
Post by: trekkie2444 on November 24, 2011, 05:34:54 AM
I don't see anything in my server's error log about the Facebook integration, I'm not sure where to go from there.
Title: Re: SA Facebook Integration
Post by: SA™ on November 24, 2011, 05:27:42 PM
sending you a pm trerkkie
Title: Re: SA Facebook Integration
Post by: mdj on November 25, 2011, 10:42:20 AM
Hi-I just uploaded the latest mod version, and I am on 2.0.1, basically the program loaded fine, but I cannot gain access now to my admin panel, it keeps saying session timed out, I cannot admin my site from the panel, I will have to go into my cpanel and deal with this, any Ideas why this happened?

thank you.

Mike
Title: Re: SA Facebook Integration
Post by: David111567 on November 25, 2011, 07:39:09 PM
Quote from: SA™ on November 22, 2011, 10:46:00 PM
@David111567
Quoteenders the Ajax Chat useless.

can you tell me what happens cos that doesnt realy help  i just install ajax chat mod and didnt find any issues with this?


Sorry it took so long to reply.

These are the errors I get in Ajax Chat when I install ANY version of the Facebook mod:




207

Warning: Invalid argument supplied for foreach() in G:\Abyss Web Server\htdocs\hogwarts\Sources\Facebook\FacebookHooks.php on line 207

Notice: Undefined index: profile in G:\Abyss Web Server\htdocs\hogwarts\Sources\Facebook\FacebookHooks.php on line 212

Warning: array_slice() [function.array-slice]: The first argument should be an array in G:\Abyss Web Server\htdocs\hogwarts\Sources\Facebook\FacebookHooks.php on line 212

Notice: Undefined index: profile in G:\Abyss Web Server\htdocs\hogwarts\Sources\Facebook\FacebookHooks.php on line 222

Warning: array_slice() [function.array-slice]: The first argument should be an array in G:\Abyss Web Server\htdocs\hogwarts\Sources\Facebook\FacebookHooks.php on line 222

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in G:\Abyss Web Server\htdocs\hogwarts\Sources\Facebook\FacebookHooks.php on line 224

Warning: array_merge() [function.array-merge]: Argument #3 is not an array in G:\Abyss Web Server\htdocs\hogwarts\Sources\Facebook\FacebookHooks.php on line 224




I would LOVE to use this mod. It works WONDERFULLY in all other areas. My members love it. But we need the chat rooms more than the mod.

Can you help me make this work?

Thanks!

David
Title: Re: SA Facebook Integration
Post by: SA™ on November 25, 2011, 08:35:43 PM
just to make sure is it this ajax chat you use?

http://custom.simplemachines.org/mods/index.php?mod=1319

them error come from the profile sub menu item

you could remove it if you wanted

Sources\Facebook\FacebookHooks.php

find and remove

        if(!empty($context['fbname']) && !empty($modSettings['fb_app_enabled'])){
       
    $counter = 0;

    foreach ($menu_buttons['profile']['sub_buttons'] as $area => $dummy)
    if (++$counter && $area == 'account')
    break;

            $menu_buttons['profile']['sub_buttons'] = array_merge(
        array_slice($menu_buttons['profile']['sub_buttons'], 0, $counter, TRUE),

    array(
        'fb' => array(
    'title' => $txt['fb_main5'],
    'href' => $scripturl . '?action=profile;area=fsettings;u='.$user_info['id'].'',
    'show' => true,
    ),
    ),

      array_slice($menu_buttons['profile']['sub_buttons'], $counter, NULL, TRUE)

            );
        }


and yes they still can get to that area thru the profile screen
Title: Re: SA Facebook Integration
Post by: David111567 on November 25, 2011, 09:13:39 PM
Quote from: SA™ on November 25, 2011, 08:35:43 PM
just to make sure is it this ajax chat you use?

http://custom.simplemachines.org/mods/index.php?mod=1319

them error come from the profile sub menu item

you could remove it if you wanted

Sources\Facebook\FacebookHooks.php

find and remove

        if(!empty($context['fbname']) && !empty($modSettings['fb_app_enabled'])){
       
    $counter = 0;

    foreach ($menu_buttons['profile']['sub_buttons'] as $area => $dummy)
    if (++$counter && $area == 'account')
    break;

            $menu_buttons['profile']['sub_buttons'] = array_merge(
        array_slice($menu_buttons['profile']['sub_buttons'], 0, $counter, TRUE),

    array(
        'fb' => array(
    'title' => $txt['fb_main5'],
    'href' => $scripturl . '?action=profile;area=fsettings;u='.$user_info['id'].'',
    'show' => true,
    ),
    ),

      array_slice($menu_buttons['profile']['sub_buttons'], $counter, NULL, TRUE)

            );
        }


and yes they still can get to that area thru the profile screen

Dude!  You saved the day!  Thank you very much....all is well.  Everything works fine, now.

Much appreciated!

David
Title: Re: SA Facebook Integration
Post by: littleone on November 26, 2011, 10:52:47 AM
I was using 46 on my test site before I upgraded and it was working fine.  Now that I use 47 on my live site, it doesnt appear to be working.  All I get is the ability to associate fb to my forum, but the "recommend button" and the "Comment" area all show without anything.  And as I said it was working fine before, I checked all the keys and stuff in the fb app.  All is well but still not working.


Correction....
I cant see the like button or the Comment box, however other people can... and Im the admin ?  I have tried linking my account and leaving it unlinked... nothing...   Also there is a message below the plugin...
(http://img714.imageshack.us/img714/5043/fbatbottomofthread.jpg)

Additional info... apparently its an IE issues.  Appears to be working in FF and Chrome... just not IE....
Title: Re: SA Facebook Integration
Post by: SA™ on November 26, 2011, 08:55:23 PM
indeed there is an issue in ie 8 with fb plugins not showing

sources/facebook/facebookhooks.php

find
fb_call_js_sdk();
add after

echo'<script src="http://connect.facebook.net/'.$modSettings['fb_admin_intern1'].'/all.js#xfbml=1"></script>';
Title: Re: SA Facebook Integration
Post by: emery on November 27, 2011, 04:45:25 PM
How would you get the regerstration, or find from facebook, to ask for the users birthday?

i am using the

QuoteSA Facebook Intergration 2.0 RC Rev36
© 2009 - 2011 SA Mods

Modification and only allowing regerstration through that mod.

Thanks,
Emery
Title: Re: SA Facebook Integration
Post by: !RFAN on November 28, 2011, 05:16:31 AM
Thanks for adding facebook publisher for pages

i have a request that when post is published i should not show BBC codes used in the text of post on facebook

attached a photo to explain it..

Title: Re: SA Facebook Integration
Post by: SA™ on November 28, 2011, 06:06:08 AM
please try the attachec facebookhooks.php file upload it to sources/facebook

i only tested it on a few bbcodes but it should remove all of them leaving the text inside them there
Title: Re: SA Facebook Integration
Post by: trekkie2444 on November 28, 2011, 06:39:02 AM
Any luck with my issue, SA?
Title: Re: SA Facebook Integration
Post by: !RFAN on November 28, 2011, 09:21:16 AM
Quote from: SA™ on November 28, 2011, 06:06:08 AM
please try the attachec facebookhooks.php file upload it to sources/facebook

i only tested it on a few bbcodes but it should remove all of them leaving the text inside them there
Yeah it is working fine now
Thanks for the quick help. you are awesome :)
Title: Re: SA Facebook Integration
Post by: littleone on November 28, 2011, 09:09:28 PM
Quote from: SA™ on November 26, 2011, 08:55:23 PM
indeed there is an issue in ie 8 with fb plugins not showing

sources/facebook/facebookhooks.php

find
fb_call_js_sdk();
add after

echo'<script src="http://connect.facebook.net/'.$modSettings['fb_admin_intern1'].'/all.js#xfbml=1"></script>';


Made this change but it did not resolve the IE issues :(
Title: Re: SA Facebook Integration
Post by: SA™ on November 29, 2011, 05:16:56 PM
it works with ie 8 what version of ie you using?
Title: Re: SA Facebook Integration
Post by: littleone on November 29, 2011, 07:50:17 PM
I'm using IE 8, but the "Comment Box" on threads and the "Like" or "Recommend" button does not show.  It did fix the "Facebook" tab showing on the menu bar, but it just shows the user info and picture, no entry box for posts or whatever on FB
Title: Re: SA Facebook Integration
Post by: SA™ on November 29, 2011, 11:22:40 PM
have you enabled them? in fb admin and chosed the boards where the comments nd like willl show?

that fixed i listed elayer woldent of made no dfference to the fb menu tab
Title: Re: SA Facebook Integration
Post by: littleone on December 01, 2011, 07:45:54 PM
Quote from: SA™ on November 29, 2011, 11:22:40 PM
have you enabled them? in fb admin and chosed the boards where the comments nd like willl show?

that fixed i listed elayer woldent of made no dfference to the fb menu tab

Yes they are enabled.  Other browsers see them, just not IE
Title: Re: SA Facebook Integration
Post by: SA™ on December 01, 2011, 08:58:32 PM
that fix sure works for me on my site so i dont know tho i did have todo it another way cos it conflicted with other stuff

your have to wait for the next version now with the fix
Title: Re: SA Facebook Integration
Post by: ~DS~ on December 01, 2011, 09:55:01 PM
Quote from: littleone on November 29, 2011, 07:50:17 PM
I'm using IE 8, but the "Comment Box" on threads and the "Like" or "Recommend" button does not show.  It did fix the "Facebook" tab showing on the menu bar, but it just shows the user info and picture, no entry box for posts or whatever on FB
Only if I have IE8 to test which is never gonna happen in a Mac. :P
Title: Re: SA Facebook Integration
Post by: Nitesh Kunnath on December 04, 2011, 04:06:59 PM
Unable to integrate "sa facebook connect" plugin and "Enotify" plugin both at a forum. It clashes or give errors after integration.

This is the error:

({ "title": "Notification Feed", "generator": "ENotify Modification for Simple Machines Forum", "items": [ ] })


Please help me install both this plugin as I need it much !!!

Where might be the issue ?
If anyone guide me which file should be modified, I will do it and try :)
Title: Re: SA Facebook Integration
Post by: SA™ on December 04, 2011, 04:59:27 PM
please see this regarding enotify

http://www.sa-smf.com/community/index.php?action=kb;area=article;cont=38
Title: Re: SA Facebook Integration
Post by: Nitesh Kunnath on December 04, 2011, 05:13:07 PM
Quote from: SA™ on December 04, 2011, 04:59:27 PM
please see this regarding enotify

http://www.sa-smf.com/community/index.php?action=kb;area=article;cont=38
this only applies to rev46 and onwards

What do rev46 mean here ?
Title: Re: SA Facebook Integration
Post by: SA™ on December 04, 2011, 05:22:11 PM
yes rev47 is the latest one so it applies to that aswell

rev is short for revision
Title: Re: SA Facebook Integration
Post by: Kindred on December 04, 2011, 05:48:04 PM
That is not an error, this is just a line of code... From the other mod, I might add...   What is the actual error?
Title: Re: SA Facebook Integration
Post by: SA™ on December 04, 2011, 06:02:58 PM
the error is this with enotfy

this is what you get when loggin in with facebook
({ "title": "Notification Feed", "generator": "ENotify Modification for Simple Machines Forum", "items": [ ] })

user is unable to login with fb with enotfy
Title: Re: SA Facebook Integration
Post by: Nitesh Kunnath on December 05, 2011, 01:45:53 AM
Thanks a lot SA for providing the solution and clarifying my doubts in timely manner.
You are great !!!

I will try it out and will report you back if whether the provided solution working or not !!! :)
Title: Re: SA Facebook Integration problem
Post by: zoopark on December 05, 2011, 03:41:26 AM
hello i have a question . i install the packet facebook integrate in my smf 2.1.1 and i have the problem when i unistall the pack my forum lost , no page no posts nothing, only with the pack instaled works again, the second problem is ,with unistalled the pack facebook i make a buck up my data base from my control panel because the forum have lost ,and i install a new forum in new folder with new data base name ,so i need my users buck and all the posts and i make buck up the data base to the new forum, and all ok but here is the problem it is coming with all facebook integrate data without the pack installed, how can clean this? and why my forum lost whithout the pack
? thanks.
ps: for the smf admins please change that verification code is to hard you need change more than 15 pictures to post or register.
Title: Re: SA Facebook Integration
Post by: SA™ on December 05, 2011, 03:52:51 AM
what happens white page?
anything in your error logs

Title: Re: SA Facebook Integration
Post by: zoopark on December 05, 2011, 04:50:37 AM
error 404 no page found , i try everything no logs error
Title: Re: SA Facebook Integration
Post by: SA™ on December 05, 2011, 04:29:59 PM
what about your server error logs

link to site?
Title: Re: SA Facebook Integration
Post by: zoopark on December 05, 2011, 06:40:59 PM
no any wrong log from server all look works good but the problem is the smf dont have conect with the data base ,some times you can see the smf but you cant see any post all pages is empty and i have to install again the facebook integration to solve the problem .this problem start when i unistall the old revision and i install the new 47 .. and thats it i lost my smf for 2 days my site close . i instaled from the package manager and unistaled from the same way.
Title: Re: SA Facebook Integration
Post by: SA™ on December 05, 2011, 06:49:38 PM
did you use any of the social hooks before updating?

your need to remove them before updating cos there handeld different now

i find it hard to belive there is no errors in server error logs realy with out any clues it like looking for a needle in a haystack
Title: Re: SA Facebook Integration
Post by: zoopark on December 06, 2011, 01:05:41 AM
I UNCHEK ALL HOOKS I DEACTIVATE IT AND AFTER I UNISTALL IT THEN I LOAD THE NEW PACK AND I INSTALL IT AND MY FORUM LOST .AFTER THE PROBLEM I UNISTALL AGAIN I CLEAN ALL FILES FROM THIS PACK IN THE FOLDERS OF THE FORUM BUT THIS PACK SOMEWHERE IN THE DATA BASE INSTALL SOMETHING AND I MUST DELETE FROM THERE I THINK TO SOLVE THIS BUT I DONT KNOW WHERE IS THIS AND WHAT NAME HAVE . maby is the only way to clean my data base fron any of the pack but i cant find it.
Title: Re: SA Facebook Integration
Post by: TheDel on December 06, 2011, 11:46:01 AM
Love this mod but did notice that when installed I cannot update my blocks in Tiny Portal. The screen is just blank. I do realize that Tiny Portal is just a mod like this one and not part of the basic SMF. I have updated versions of all 3- SMF, TP and SAFB and once I uninstall SAFB, I can pull up the modify page but once its back, its a nogo.

Any ideas since many people DO use TP and this mod has been very useful? The work around is fine- but would be easier if I didnt have to constantly install/uninstall it all the time.
Title: Re: SA Facebook Integration
Post by: Nitesh Kunnath on December 06, 2011, 02:07:16 PM
@Author of the mod:

I tried with this code inorder for Enotify+SA Facebook to work :


if ((!empty($_SESSION['login_url']) && strpos($_SESSION['login_url'], 'enotify')) || empty($_SESSION['login_url'])){


Now, the login issue has been solved. But I am getting a strange error of 503 Service Unavailable at certain pages/urls like in moderator panel, admin features, Profile edit page, etc

I have attached the screenshot for more info (You can see the URL too where I am getting this error)
Title: Re: SA Facebook Integration
Post by: Ian Holl on December 07, 2011, 11:28:40 AM
I've so say successfully installed Facebook Integration, although when I go to it via its tab on the left it just states my name, username, email adress user ID, and location - with my Facebook profile pic on the right.  I've got the options "invite your friends, your friends what's on your mind?"

This is no interaction etc...  Has Facebook Integration installed properly?  My other problem is when I log out I'm taken back to the forum which is still visible when it's a private forum.  But if I select the Simple Portal's home tab it takes me to the correct logged out log in page.

Can someone please advise me


Cheers Ian
Title: Re: SA Facebook Integration
Post by: SA™ on December 07, 2011, 04:55:56 PM
@TheDel im not finding any issues with tp my end is there anything iin the error logs and server error logs?

@die2mrw007 the code change wouldent of caused this cos that file edited has nothing todo with them actions
the 503 service unavailable error is an HTTP status code that means the web sites server is simply not available right now Most of the time this is because the server is too busy or because there's maintenance being performed on it is this still happening?

@Ian Holl you have to configar the mode in the admin panel for the mod
Title: Re: SA Facebook Integration
Post by: thecoo1est on December 07, 2011, 05:19:53 PM
I installed sa facebook on my forum and it all seemed to work well or okay for me. However, when I signed in on my regular user account for test I encountered problems accessing the forum page, it will be all white, The home page shows up though, I use adk portal, not sure if it conflicts with it or not, but Im confused because signed in as administrator I dont have a problem its only regular user accounts, when I uninstall sa facebook there is no problems. I also have a question, is there not a way to use facebook account info so that the user doesnt need to fill in a user name or password? Just curious, because it seems like this doesnt make it any easier. Thanks in advance and thanks for your hard work!
Title: Re: SA Facebook Integration
Post by: SA™ on December 07, 2011, 05:33:16 PM
if the user doesnt fill in a password they wouldnt no what there pass is so if facebook was down they wouldnt be able to login or they wanted to udate there profile or somthing they wouldnt be able to do so

need more info like errors? in site error logs and server error logs? a white page mean a php fatal error so there should be a clue in your server error logs
is this the site in your sig?
Title: Re: SA Facebook Integration
Post by: thecoo1est on December 07, 2011, 05:40:30 PM
yea, I get no errors, and I dont understand, sometimes as a "regular user" if I refresh the page a few times sometimes it will load, but it can take 1 refresh or sometimes 20, but it only happens with my regular user test accounts.
Title: Re: SA Facebook Integration
Post by: SA™ on December 07, 2011, 06:05:24 PM
QuoteI get no errors
not even in the server error logs? these are the error logs in your hosting control panel not smf
Title: Re: SA Facebook Integration
Post by: TheDel on December 07, 2011, 10:03:47 PM
Quote from: SA™ on December 07, 2011, 04:55:56 PM
@TheDel im not finding any issues with tp my end is there anything iin the error logs and server error logs?

SA- Ill check-
Also just noticed that it wont update profiles. Made a change, clicked to save and screen went blank. Uninstalled SAFB and was able to save.
UPDATE
No log errors on SMF or server. However when I was installing it again, this error popped up in the log
2: copy(/home/type1par/public_html/Packages/temp/lang/Facebook.portuguese_pt-utf8.php) [<a href='function.copy'>function.copy</a>]: failed to open stream: No such file or directory
and
2: file_get_contents(/home/type1par/public_html/Packages/temp/lang/Facebook.portuguese_pt-utf8.php) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: No such file or directory
Title: Re: SA Facebook Integration
Post by: thecoo1est on December 07, 2011, 10:13:41 PM
Quote from: SA™ on December 07, 2011, 06:05:24 PM
QuoteI get no errors
not even in the server error logs? these are the error logs in your hosting control panel not smf
hmm, I dont know, I use godaddy and filezilla for my ftp, btw I seen you on my psvita site :D, Im not using the facebook on that site, the site Im having problems with is mydebateblog.com, I have facebook uninstalled atm so that if peole do go there they wont have problems, I will try to find the error logs at godaddy and get back to you.
Title: Re: SA Facebook Integration
Post by: Nitesh Kunnath on December 08, 2011, 03:41:58 AM
Quote from: SA™ on December 07, 2011, 04:55:56 PM
@TheDel im not finding any issues with tp my end is there anything iin the error logs and server error logs?

@die2mrw007 the code change wouldent of caused this cos that file edited has nothing todo with them actions
the 503 service unavailable error is an HTTP status code that means the web sites server is simply not available right now Most of the time this is because the server is too busy or because there's maintenance being performed on it is this still happening?

@Ian Holl you have to configar the mode in the admin panel for the mod
Mate, when I uninstalled the SA Facebook mod, everything working fine..... Whenever I install SA Facebook mod, I have that issue....
And I strongly suppose, Its something due to conflicts with Enotify mod.... Please make SA Facebook completely compatible with Enotify mod !!!
Title: Longer post
Post by: dematrix2571 on December 10, 2011, 03:41:49 PM
Is there a way to tease the amount of post to the Facebook page?  I want to set the tease to at least 2 paragraph.
Title: Re: SA Facebook Integration
Post by: qubbah on December 11, 2011, 02:36:28 PM
still got a blank page after install. hope anybody can help. tq
Title: Re: SA Facebook Integration
Post by: ~DS~ on December 11, 2011, 02:45:50 PM
Quote from: qubbah on December 11, 2011, 02:36:28 PM
still got a blank page after install. hope anybody can help. tq
You need to be more specific.
Title: Re: SA Facebook Integration
Post by: qubbah on December 11, 2011, 03:00:25 PM
Quote from: ~DS~ on December 11, 2011, 02:45:50 PM
Quote from: qubbah on December 11, 2011, 02:36:28 PM
still got a blank page after install. hope anybody can help. tq
You need to be more specific.

After install this through package manager, its bring me to a white page. i cant go to other page because my forum is off. i have check all the file like in install.xml. now i can't reisntall this package because my forum is down.

but

when i rename FacebookHooks.php i have back my forum running and can reisntall this package.
hope anybody can help me to install this nice mod. tq
Title: Re: SA Facebook Integration
Post by: SA™ on December 11, 2011, 03:55:14 PM
tq can you check your server error logs pls this isnt smf error logs these will be in cpanel
somtines there will be a file called error or somthing in public_html folder
Title: Re: SA Facebook Integration
Post by: qubbah on December 12, 2011, 09:35:24 AM
Quote from: SA™ on December 11, 2011, 03:55:14 PM
tq can you check your server error logs pls this isnt smf error logs these will be in cpanel
somtines there will be a file called error or somthing in public_html folder

i have no cpanel. but can access my server through tightvnc. what file must i open to check that?
Title: Re: SA Facebook Integration
Post by: ~DS~ on December 12, 2011, 10:24:55 AM
Quote from: qubbah on December 12, 2011, 09:35:24 AM
Quote from: SA™ on December 11, 2011, 03:55:14 PM
tq can you check your server error logs pls this isnt smf error logs these will be in cpanel
somtines there will be a file called error or somthing in public_html folder

i have no cpanel. but can access my server through tightvnc. what file must i open to check that?
You can't access the server error log via FTP. :P
Most host have cpanel, ask your host for access to server log. Unless I am wrong...
Title: Re: SA Facebook Integration
Post by: SA™ on December 13, 2011, 04:38:59 AM
QuoteYou can't access the server error log via FTP.

you can on my server i get a file called error_log in my public_html folder
Title: Re: SA Facebook Integration
Post by: ~DS~ on December 13, 2011, 12:47:55 PM
Quote from: SA™ on December 13, 2011, 04:38:59 AM
QuoteYou can't access the server error log via FTP.

you can on my server i get a file called error_log in my public_html folder
I don't have that file. :/
Title: Re: SA Facebook Integration
Post by: snadge on December 14, 2011, 07:02:08 PM
I have made an app and got it working to some extent:

some issues:

1st the login seems to be a wasted effort as users still have to create a username & give email and password...this renders the whole "login via facebook" thing a waste of time, the real purpose behind these features are that they allow users to log into a website without ANY sort of 'signing up' - users could simply allow the APP and be logged in, ive used this on many sites before exactly like that - it meant that users could log into many sites without the need to continually sign up to each one.

2nd the PUBLISHER section of config - whenever i 'save' it i just get a white screen and nothing is saved

other than that it seems like its a good plug in, but only feature im getting from it right now is like buttons at top of topics
Title: Re: SA Facebook Integration
Post by: jekwumoore on December 15, 2011, 04:10:56 PM
invite friends not working(stops at xd proxy), no invitation is sent
Title: Re: SA Facebook Integration
Post by: SA™ on December 16, 2011, 12:37:49 AM
@snadge
1:
well after they have registerd initily it just one click login but most forum/blogs i know like wordpress and xenforrow do the registstration the same we have to rember forums/blogs are different to normal static sites and reqire more information so no it isnt a wast of time realy

2:
do you get any error in the error logs or in the server error logs? this has been happening a lot with the new version but no one has given me a real clue on why it happens specily cos i cant replicate these issue my end

@ jekwumoore
thanks ill fix this in next realse
Title: Re: SA Facebook Integration
Post by: snadge on December 16, 2011, 06:34:29 AM
I will have a look in logs, at moment im getting hundreds of errors per day from other mods so will be hard to sift through threm all
Title: Re: SA Facebook Integration
Post by: TheShowWillGoOn on December 26, 2011, 08:04:38 PM
I am wondering about member registration settings. I set my forum to only approve registered accounts via Admin Approval. Now with  FB Int., it immediately approves them without my approval?

I double checked my settings and it is still set to: Admin Approval and FB Int. is set to only allow FB registrations.

Is there anyway to fix this?
Title: Re: SA Facebook Integration
Post by: SA™ on December 28, 2011, 10:29:47 AM
this was done with approvals in the 1.0 version of the mod but after discussion we decided to remove that in 2.0 version of the mod as we know people coming from facebook are not bots or spiders or spammers
Title: Re: SA Facebook Integration
Post by: TheShowWillGoOn on December 28, 2011, 08:46:14 PM
I see. I see. That's very true. For us, we're a small organization so we use it to make sure that we only allow our own people to join. But I get immediate notification of any registrations so we should be good.
Title: Re: SA Facebook Integration
Post by: jekwumoore on December 29, 2011, 02:58:30 PM
why this errors below?

http://nameofmysite/index.php?/topic,8.msg8.html#msg8?utm_source=twitterfeed&amp;utm_medium=twitter

on file   /public_html/facebookauth/base_facebook.php

and

http://nameofsite/index.php?action=movetopic2;topic=9.0

on File: /public_html/Sources/Facebook/FacebookHooks.php

Title: Re: SA Facebook Integration
Post by: SA™ on December 29, 2011, 03:41:38 PM
why not post the actual error instead of link that dont tell me much
Title: Re: SA Facebook Integration
Post by: kingkingston on December 29, 2011, 03:42:20 PM
I have noticed that the Facebook menu word doesn't show in the menu and that the "invite friends and what's on your mind buttons don't work
Title: Re: SA Facebook Integration
Post by: SA™ on December 29, 2011, 03:45:42 PM
you have to enabel to menu option in fb admin

the whats on your mind and invite is aknown issues in ie tho they do work on other brousers for me
Title: Re: SA Facebook Integration
Post by: guddone on December 30, 2011, 03:33:13 AM
I used sa facebook on an old forum (can't remember the release of sa facebook though)and i remember i used to see options such as Face pile , facebook comments , invite facebook friends to name a few on the profile of users who integrated their facebook with the forum profile but now i can't find these options again , Has these options been discarded or have they been made stand alone plugins now ?
Title: Re: SA Facebook Integration
Post by: SA™ on December 30, 2011, 04:07:40 PM
they were removed in the 2.0 version of the mod cos 2.0 was a recode
Title: Re: SA Facebook Integration
Post by: guddone on December 30, 2011, 05:52:06 PM
Quote from: SA™ on December 30, 2011, 04:07:40 PM
they were removed in the 2.0 version of the mod cos 2.0 was a recode


:( so what now do i get  most of the social plugin options missing from the new sa facebook mod particularly invite facebook friend and update status
Title: Re: SA Facebook Integration
Post by: jekwumoore on December 30, 2011, 07:40:52 PM
Here are the errors once more



   
http://nameofsite./index.php?/topic,11.msg11.html#msg11?utm_source=twitterfeed&amp;utm_medium=twitter

8: Undefined index: path

File: /home/public_html/facebookauth/base_facebook.php
Line: 1006




   
http://nameofsite/index.php?action=post2;start=0;board=1

8: Undefined index: fb_postto

File: /home/public_html/Sources/Facebook/FacebookHooks.php
Line: 488
Title: Re: SA Facebook Integration
Post by: SA™ on December 31, 2011, 06:49:34 AM
Quote from: guddone on December 30, 2011, 05:52:06 PM
Quote from: SA™ on December 30, 2011, 04:07:40 PM
they were removed in the 2.0 version of the mod cos 2.0 was a recode


:( so what now do i get  most of the social plugin options missing from the new sa facebook mod particularly invite facebook friend and update status

them two option are still there in the mod you just have to enable them in fb admin

@jekwumoore

for this error
Undefined index: fb_postto

in fb admin/publisher/Publish to facebook?

selecte one of the other option save it then you can put it back to what it was this only happens cos there isnt any default setting for this part of the mod
Title: Re: SA Facebook Integration
Post by: TheDel on January 04, 2012, 02:53:51 AM
SA- Im still getting the blank page when I edit a profile
But heres another snag..........
I recently installed you G+ mod too. So, what Ive been doing since I LOVE the FB (and now G+) mods, I'm keeping them up.
If someone wants to change something, they will just PM me and I would uninstall the mod, then make the changes and then renstall the mod- but heres where it gets crazy- got one of these since I installed G+. So went and took down FB and it didnt work. So then I remembered that I just did G+ so uninstalled that and it worked fine. So something in these mods in the profiles is messing up the ability to edit them.

Also- off topic....on the Twitter Mod please fix the text for the Tweet button, it says Tweer This not Tweet this.
Thanks for your hardwork on these mods.
Title: Re: SA Facebook Integration
Post by: SA™ on January 04, 2012, 03:41:18 AM
hmmmm again im not getting this issue on sevaral test servers

any chnace of access to your server and a temp admin account so i can debug the issue would this be possible?

QuoteAlso- off topic....on the Twitter Mod please fix the text for the Tweet button, it says Tweer This not Tweet this.
Thanks for your hardwork on these mods.

thats the new tweer button from twiiter :P

Title: Re: SA Facebook Integration
Post by: TheDel on January 04, 2012, 08:56:53 AM
Quote from: SA™ on January 04, 2012, 03:41:18 AM
hmmmm again im not getting this issue on sevaral test servers

any chnace of access to your server and a temp admin account so i can debug the issue would this be possible?

QuoteAlso- off topic....on the Twitter Mod please fix the text for the Tweet button, it says Tweer This not Tweet this.
Thanks for your hardwork on these mods.

thats the new tweer button from twiiter :P


Sure- you would need one for SMF and the other for the server?
Title: Re: SA Facebook Integration
Post by: Kindred on January 05, 2012, 07:19:00 AM
no
Title: Re: SA Facebook Integration
Post by: SA™ on January 05, 2012, 03:12:24 PM
Quote from: TheDel on January 04, 2012, 08:56:53 AM
Quote from: SA™ on January 04, 2012, 03:41:18 AM
hmmmm again im not getting this issue on sevaral test servers

any chnace of access to your server and a temp admin account so i can debug the issue would this be possible?

QuoteAlso- off topic....on the Twitter Mod please fix the text for the Tweet button, it says Tweer This not Tweet this.
Thanks for your hardwork on these mods.

thats the new tweer button from twiiter :P


Sure- you would need one for SMF and the other for the server?

yeah if you could
Title: Re: SA Facebook Integration
Post by: dwd2000 on January 07, 2012, 11:52:59 AM
Facebook is asking me to verify my account with either a credit card number or mobile (cell) phone number, in order to register an app. Has anyone had this asked of them, and if so, does Facebook charge you anything? I have neither a credit card nor cell phone, so this makes things a little difficult for me.
Title: Re: SA Facebook Integration
Post by: SA™ on January 07, 2012, 12:25:50 PM
not much i can do about this unfortanatly it just the way fb do things
Title: Re: SA Facebook Integration
Post by: dwd2000 on January 07, 2012, 12:39:43 PM
I understand that. Just wondering if fb charges money, or if it just their way of verifying your account.

Quote from: SA™ on January 07, 2012, 12:25:50 PM
not much i can do about this unfortanatly it just the way fb do things
Title: Re: SA Facebook Integration
Post by: SA™ on January 07, 2012, 01:06:50 PM
no they dont charge you nothing just for verifaction
Title: Re: SA Facebook Integration
Post by: dwd2000 on January 07, 2012, 01:20:46 PM
Thanks.
(maybe others may have the same question later)

Quote from: SA™ on January 07, 2012, 01:06:50 PM
no they dont charge you nothing just for verifaction
Title: Re: SA Facebook Integration
Post by: krash661 on January 07, 2012, 03:28:56 PM
I'm still wondering what this mod actually does?
Title: Re: SA Facebook Integration
Post by: SA™ on January 07, 2012, 05:28:50 PM
it does many things look at the info on the mods download page
Title: Re: SA Facebook Integration
Post by: krash661 on January 08, 2012, 12:51:17 PM
Quote from: SA™ on January 07, 2012, 05:28:50 PM
it does many things look at the info on the mods download page
so basically, It links my site with Facebook?Where's the info on it,all I have found was just a page describing the bug fixes?
Title: Re: SA Facebook Integration
Post by: SA™ on January 08, 2012, 01:05:12 PM
it is there

Quote10 June, 2011 [2.0 Initial Release]
Register with facebook (new members)
Integrate forum account with facebook (existing members)
Disassociate forum account from facebook
Update your Status on facebook
Import your facebook avatar
Invite your facebook friends
Like/Recommend your site to friends on facebook
Share, Like, and Publish topics to your facebook wall
Facebook Comment Box
Facebook Fan Page
Friends... View all your facebook friends
                
Left blank intentionally:
Left blank intentionally:
ACP - this mod has its own admin control panel for easy use
Supports Standard and Advanced Profile Fields [SMF 2.0 only]
Facebook admin logs (see all register/Integrated fb users)
Membergroup (default membergroup for new facebook registered members)
Buddy list integration (users can sync their forum and fb friends)
Title: Re: SA Facebook Integration
Post by: TheDel on January 13, 2012, 12:31:23 PM
SA,
I PM'd you my information. Thanks for taking a look at this. Again- its not allowing the users to edit their profiles. Getting a blank screen when clicking the edit links. Also, I cant even view my profile when its on. And was looking for a way to login as my page account and figured I would try and diassociate my account and reassociate as the page but after disassociating, the Facebook link is gone from the menu.

I havent tried G+ stuff yet

I hope ya can figure something- mods are great.

oh and for whatever reason I need to go in as SMF 2.0.1 to be able to install/uninstall


ooops its just you G+ mod
Title: Re: SA Facebook Integration
Post by: Molten Bear on January 15, 2012, 11:08:04 AM
Where can I find details on the new setup for Facebook app side settings?

I have not updated the Facebook application side settings in some time and am seeing the 8: Undefined index: fb_postto errors.

The link to sa-smf.com instructions is not working.

Thank You
Title: Re: SA Facebook Integration
Post by: SA™ on January 15, 2012, 01:52:14 PM
for this error Undefined index: fb_postto errors  in fb admin >publisher you can select one of the settings there and save it

the setting is

post to facebook app
                            profile
                            page

select profile or page and just save it will clear this errror

i have added checks in the next rev for this just got some niggly error that need tobe sorted first befor realsing it
Title: Re: SA Facebook Integration
Post by: Ascot on January 15, 2012, 08:00:09 PM
Hi :), i wonder if there's a way to set facebook and twitter tags into one tag on the admin nav menu, something as Social plugins.
Same at user nav menu. I want to save some space because my menu is too long.
Thanks in advance
regards ~
Title: Re: SA Facebook Integration
Post by: ssboforum on January 16, 2012, 01:32:13 PM
Hi.
I've just installed SMF and my only mod is SA Facebook Integration and I have two questions.

1) The registration form says that user doesn't need to write his email, if he wants to use the facebook mail. But, if the field is left blank, i get this error:

"The database value you're trying to insert does not exist: email_address"

What should I do?

2) The app asks for two kinds of permissions: at first it asks for email permission, than some extended permissions to publish things etc..
I'm only interested in login feature. Can I avoid the extended permissions? How?
Title: Re: SA Facebook Integration
Post by: SA™ on January 16, 2012, 02:25:14 PM
in sources/facebook/facebookhooks.php

$FaceBookEmail = $user_info['email'];

change to

$FaceBookEmail = !empty($user_info['email']) ? $user_info['email'] : $_SESSION['safbpemail'];

for the permission thing

'scope' => 'offline_access,email,status_update,publish_stream'

is in the same file it is there sevaral times just take out what you dont need tho i dont know how it will affect the mod :/
Title: Re: SA Facebook Integration
Post by: ssboforum on January 17, 2012, 05:58:52 AM
Thank you for the quick reply.

The permission thing seems to work: the fb app now only asks for email permission, not the extended ones. I also tried using the publish button to publish a topic on fb: publish permissions are asked at that moment, and if I accept, publish feature works.

The other problem hasn't been solved yet. I changed
$FaceBookEmail = $user_info['email'];
to 
$FaceBookEmail = !empty($user_info['email']) ? $user_info['email'] : $_SESSION['safbpemail'];

but I get the same error. Any idea?

(I changed the single file and uploaded it by ftp, i hope i didn't have to reinstall the mod)
Title: Re: SA Facebook Integration
Post by: SA™ on January 17, 2012, 09:05:43 AM
can you opost the full error pls?
Title: Re: SA Facebook Integration
Post by: ssboforum on January 17, 2012, 09:16:27 AM
"The database value you're trying to insert does not exist: email_address"
Title: Re: SA Facebook Integration
Post by: SA™ on January 17, 2012, 11:25:29 AM
yes i know that :P

what file is is comming from and what line?

past the full error from you error logs pls im not playing the guessing game :D
Title: Re: SA Facebook Integration
Post by: SA™ on January 17, 2012, 11:33:35 AM
ok i thinjk i found the issue

sources/facebook/facebookintergrate.php

$newEmail = !empty($_POST['email']) ? $_POST['email'] : $fb_hook_object->user_info_fbemail;

should be

$newEmail = !empty($_POST['email']) ? $_POST['email'] : $fb_object->user_info_fbemail;
Title: Re: SA Facebook Integration
Post by: ssboforum on January 17, 2012, 11:51:40 AM
I'm glad to tell you that this works! Thank you very much and sorry for the misunderstanding, I didn't know there was a log error.

(OT: By the way, you're the fastest free support service I've ever seen. I'd like to reciprocate... and I think I could share with the community the italian translation of your mod I've just done. If you think it's useful, tell me, even by mp, how could I send you the language file.)
Title: Re: SA Facebook Integration
Post by: SA™ on January 17, 2012, 11:54:56 AM
in your forum error logs there wouldor should be an error entry glad it works tho  ;)

for the translation you can attach it in your post but could you wait for the next realse? as it has many chnages to the language strings and more added
Title: Re: SA Facebook Integration
Post by: ssboforum on January 17, 2012, 12:11:09 PM
Ok, I will wait (and if i forget to make the translation... you can remind me :) )

Now I'm dealing with a problem in auto-publishing new topics on pages, i don't know if it depends on fb settings or mod's.
I set access token, page id and user id. Publishing on my profile works, but doesn't work on the page.
I think it had worked at first, once, but then stopped... i don't know if I messed up with settings but I've checked all and tried several times. Any idea?
Title: Re: SA Facebook Integration
Post by: SA™ on January 17, 2012, 12:13:40 PM
to publish to you page reqires a separate token click the grant permissions button to run thru the auth prosess again it will not get the token befor now if you just put the page id in admin cos it needs the page id to get the correct token
Title: Re: SA Facebook Integration
Post by: ssboforum on January 17, 2012, 12:23:28 PM
Mmm, ok, I clicked on grant permission button again and immediately opened the popup "grant permission?", i clicked ok again, and saw the access token - exactly the same of before. Then I put the page ID in the field just below.
Nothing changed.
Title: Re: SA Facebook Integration
Post by: SA™ on January 17, 2012, 12:38:49 PM
you need to have the page id in before you run thru the auth process the actual key you will not see as it just goes strait in to the database
Title: Re: SA Facebook Integration
Post by: ssboforum on January 17, 2012, 12:52:11 PM
The page id was already there, anyway I started the process again: I removed my app from my fb profile, set Publish to Disabled, saved, and started everything again.
First I set page id, as you said; then my Profile id; then i clicked on grant permission, a fb window opened, i accepted to grant permissions, popup "grant permissions?" opened, I clicked ok, then I could see access token, I copied it in the field and saved.
Then I opened a new topic.
But nothing happened on my page.
Title: Re: SA Facebook Integration
Post by: ssboforum on January 17, 2012, 01:41:29 PM
I found a solution: in Sources/Facebook/FacebookHooks.php I changed

$atoken = $modSettings['fb_app_atokenpage']

to

$atoken = $modSettings['fb_app_atoken']

and now auto publishing on facebook page works.

Honestly I don't know anything about php, I worked empirically, so I don't know if this code will damage something else. Do you think this change is ok? It works for me (and i'm sure it depends on this change, because I tried coming back to the previous file and it didn't work anymore, then I changed the file again and it worked again).
Title: Re: SA Facebook Integration
Post by: SA™ on January 17, 2012, 03:06:40 PM
ya it should be ok like that way as there the only places that use then settings
Title: Re: SA Facebook Integration
Post by: Molten Bear on January 20, 2012, 08:56:49 AM
Thank you for the reply, that change worked.

However, we are now seeing a couple of new errors:

http://[site url]index.php?action=register2

8: Undefined index: fb_app_atokenpage

File: /[forum folder]/Sources/Facebook/FacebookHooks.php
Line: 432

AND

[forum URL]/index.php?action=register2

8: Undefined index: fb_admin_pid

File: /[forum folder]/Sources/Facebook/FacebookHooks.php
Line: 431

In Publisher, the access token and page id are entered

Thank You

Quote from: SA™ on January 15, 2012, 01:52:14 PM
for this error Undefined index: fb_postto errors  in fb admin >publisher you can select one of the settings there and save it

the setting is

post to facebook app
                            profile
                            page

select profile or page and just save it will clear this errror

i have added checks in the next rev for this just got some niggly error that need tobe sorted first befor realsing it
Title: Re: SA Facebook Integration
Post by: SA™ on January 20, 2012, 12:17:13 PM
try the updated version i just realsed pls has many fixes and imporovments you will need to setup the publisher again keys are now automated so just make sure you have your id's in pplace before going thru the auth proses

Quotepublisher can aslo post replys to published comment
fixed issue plugins not showing in ie
hitting the login page when accounts are synced will now just log you in
fixed issuse publisher posting bbcode
auto mated publisher token request to make things a little easyer
fixed issue with emails var spelt wrong
depreciated app publishing app wall are going
fixed undefined errors
per post publisher now uses fb.ui in favour of less edits and better perfomance
added some compat for servers with out json installed
changed file_get_contents to fetch_web_data
reduced edits to core files
fixed issue with facebook invite and status updated js not working


please rember this update is leway for the app chnaes in feb 1st so you can post to your app wall anymore see here for more details http://www.sa-smf.com/community/index.php?topic=1463.0 (http://www.sa-smf.com/community/index.php?topic=1463.0)  and rember you onl  get one chnace at migrating your app to a page so read carfuly
Title: Re: SA Facebook Integration
Post by: Biology Forums on January 20, 2012, 08:10:47 PM
Is there a possibility that those who sign-up using Facebook connect get x amount of shop credits? In regular registration, members get x number of credits to being with.
Title: Re: SA Facebook Integration
Post by: SA™ on January 20, 2012, 08:17:44 PM
yes it's possible cant tell you how tho as i dont have the 1.1x code anymore
Title: Re: SA Facebook Integration
Post by: Biology Forums on January 20, 2012, 10:53:56 PM
Quote from: SA™ on January 20, 2012, 08:17:44 PM
yes it's possible cant tell you how tho as i dont have the 1.1x code anymore

I figured it out! Let me know if anyone needs it!! O:)
Title: Re: SA Facebook Integration
Post by: !RFAN on January 21, 2012, 01:00:50 AM
Quote from: shuban on January 20, 2012, 10:53:56 PM
Quote from: SA™ on January 20, 2012, 08:17:44 PM
yes it's possible cant tell you how tho as i dont have the 1.1x code anymore

I figured it out! Let me know if anyone needs it!! O:)
yeah i need it please :)
Title: Re: SA Facebook Integration
Post by: !RFAN on January 21, 2012, 01:02:00 AM
i'm facing a problem..
whenever i click on "Grant Permissions" it takes me to the index page..
Title: Re: SA Facebook Integration
Post by: Biology Forums on January 21, 2012, 02:00:37 AM
Quote from: !RFAN on January 21, 2012, 01:00:50 AM
Quote from: shuban on January 20, 2012, 10:53:56 PM
Quote from: SA™ on January 20, 2012, 08:17:44 PM
yes it's possible cant tell you how tho as i dont have the 1.1x code anymore

I figured it out! Let me know if anyone needs it!! O:)
yeah i need it please :)

In DB_Functions.php, find:

'lngfile' => '',

Add before:

'money' => $modSettings['shopRegAmount'],

Enjoy :)
Title: Re: SA Facebook Integration
Post by: !RFAN on January 21, 2012, 03:26:14 AM
i cant locate DB_Functions.php?
Title: Re: SA Facebook Integration
Post by: Texan78 on January 21, 2012, 05:08:47 AM
I am not sure if this has been brought up or not but I installed this and it is conflicting with the highslide mod. So instead of pics sliding out to a pop out page it opens pics on a new page. It is Js related but not sure which one. I am use it is the part with the publish button on each post. I uninstall this mod and it goes away. Any ideas?

-Thanks
Title: Re: SA Facebook Integration
Post by: Texan78 on January 21, 2012, 05:46:22 AM
Disregard my last post after further research and testing I have discovered the problems I am having isn't related to this mod.
Title: Re: SA Facebook Integration
Post by: SA™ on January 21, 2012, 09:13:56 AM
Quote from: !RFAN on January 21, 2012, 03:26:14 AM
i cant locate DB_Functions.php?

that file is only in the old 1.1x version of the mod
Title: Re: SA Facebook Integration
Post by: Texan78 on January 21, 2012, 02:36:33 PM
I have a quick question, when you uninstall this mod does it remove all traces of it?
Title: Re: SA Facebook Integration
Post by: SA™ on January 21, 2012, 02:47:16 PM
it will just remove any edits and the hooks all the other stuff like the settings stay
Title: Re: SA Facebook Integration
Post by: Biology Forums on January 21, 2012, 04:53:29 PM
Quote from: !RFAN on January 21, 2012, 03:26:14 AM
i cant locate DB_Functions.php?

Then locate the equivalent file in the 2.x version and make the same edits.
Title: Re: SA Facebook Integration
Post by: Texan78 on January 21, 2012, 04:58:15 PM
This mod is definitely causing conflicts with Highslide and vice versa. Does this mod modify the index.template and display.template?
Title: Re: SA Facebook Integration
Post by: Biology Forums on January 21, 2012, 05:47:17 PM
Quote from: Texan78 on January 21, 2012, 04:58:15 PM
This mod is definitely causing conflicts with Highslide and vice versa. Does this mod modify the index.template and display.template?

It shouldnt at all, only to display.template/
Title: Re: SA Facebook Integration
Post by: Texan78 on January 21, 2012, 06:12:12 PM
Something with the Js is causing conflicts in the display.template. Those are the two files they have the same edits in it. With this mod installed it doesn't allow Highslide to work. It just opens images in a new blank page. If I uninstall them both, then install Highslide back then Highslide works with no problem. I install the SA Facebook mod then it stops working, but will work as soon as I uninstall the SA Facebook mod. Has anyone had issues with these two installed or have them installed and working together? Nothing wrong with this mod other then the Js conflicts that both mods use, any suggestions?

-Thanks
Title: Re: SA Facebook Integration
Post by: !RFAN on January 21, 2012, 06:32:07 PM
but i have latest version of SA Shop and SA Facebook integration :s
Title: Re: SA Facebook Integration
Post by: SA™ on January 21, 2012, 11:32:56 PM
Quote from: Texan78 on January 21, 2012, 06:12:12 PM
Something with the Js is causing conflicts in the display.template. Those are the two files they have the same edits in it. With this mod installed it doesn't allow Highslide to work. It just opens images in a new blank page. If I uninstall them both, then install Highslide back then Highslide works with no problem. I install the SA Facebook mod then it stops working, but will work as soon as I uninstall the SA Facebook mod. Has anyone had issues with these two installed or have them installed and working together? Nothing wrong with this mod other then the Js conflicts that both mods use, any suggestions?

-Thanks

link me to the mod pls

Quote from: !RFAN on January 21, 2012, 06:32:07 PM
but i have latest version of SA Shop and SA Facebook integration :s

FacebookIntergrate.php

updateMemberData($memberID,
            array(
        'fbname' => $fb_object->user_info_fbname,
               'fbid' => $fb_object->user_info_fbid,
        )
        );


replace with
updateMemberData($memberID,
            array(
        'fbname' => $fb_object->user_info_fbname,
            'fbid' => $fb_object->user_info_fbid,
'money' => $fb_hook_object->modSettings['shopRegAmount'],
        )
        );


Title: Re: SA Facebook Integration
Post by: !RFAN on January 22, 2012, 01:39:51 AM
Thanks :)
can we have this for other integrations??
Title: Re: SA Facebook Integration
Post by: Biology Forums on January 22, 2012, 11:27:21 AM
Quote from: !RFAN on January 22, 2012, 01:39:51 AM
Thanks :)
can we have this for other integrations??
Such as what?
Title: Re: SA Facebook Integration
Post by: SA™ on January 22, 2012, 01:45:53 PM
Quote from: !RFAN on January 22, 2012, 01:39:51 AM
Thanks :)
can we have this for other integrations??

you mean for the twitter and gplus intergrations?
Title: Re: SA Facebook Integration
Post by: Texan78 on January 22, 2012, 09:36:43 PM
Quote from: SA™ on January 21, 2012, 11:32:56 PM
link me to the mod pls

I have uninstalled it until I can get the Js conflict sorted since it is conflicting with the highslide mod.
Title: Re: SA Facebook Integration
Post by: OSU Searles on January 22, 2012, 09:41:07 PM
I'm receiving the following error everywhere on my site now...

Fatal error: Cannot redeclare class FacebookApiException in /......../fbc/facebook.php on line 70

Unfortunately I didn't read through all 100+ pages of this topic to see if there was already a response (and search didn't turn any up).  The only way to make my forum work is to rename the fbmain.php file in the fbc directory.  Unfortunately some things are still broken when I do that. 

There is a chance I didn't uninstall the previous version before upgrading but now I can't tell (as when I uninstall this version the previous version appears as though it is uninstalled too). 

I appreciate any help!
Thank you.
Title: Re: SA Facebook Integration
Post by: OSU Searles on January 22, 2012, 09:48:32 PM
Quote from: OSU Searles on January 22, 2012, 09:41:07 PM
I'm receiving the following error everywhere on my site now...

Fatal error: Cannot redeclare class FacebookApiException in /......../fbc/facebook.php on line 70

Unfortunately I didn't read through all 100+ pages of this topic to see if there was already a response (and search didn't turn any up).  The only way to make my forum work is to rename the fbmain.php file in the fbc directory.  Unfortunately some things are still broken when I do that. 

There is a chance I didn't uninstall the previous version before upgrading but now I can't tell (as when I uninstall this version the previous version appears as though it is uninstalled too). 

I appreciate any help!
Thank you.

Okay I figured it out.  Sorry for the dbl post.  Perhaps it will help someone else. 

I uninstalled the latest.  I "re-installed" the old version.  I uninstalled the old version.  I reinstalled the latest.  SUCCESS! 

Thanks.
Title: Re: SA Facebook Integration
Post by: OSU Searles on January 22, 2012, 10:05:11 PM
OK... now my forum posts don't show.  It shows the first post and just underneath the post it says:

Fatal error: Call to undefined function db_select_member_settings() in /home/klrow3/public_html/exquisite/Sources/Load.php(2168) : eval()'d code on line 721

Unfortunately now I'm really in trouble as I have no idea what to do with it and no posts beyond the first in a topic show. 

I can take my support case afterward but it was a problem after resolving my SA Facebook problems above. 

Thanks again!
Title: Re: SA Facebook Integration
Post by: SA™ on January 22, 2012, 10:14:08 PM
db_select_member_settings isnt from this mod
Title: Re: SA Facebook Integration
Post by: OSU Searles on January 22, 2012, 11:09:19 PM
Thank you!  That helped me find the problem... along with a few other forums on here. 

Great mod BTW!
Title: Re: SA Facebook Integration
Post by: Texan78 on January 23, 2012, 01:45:44 AM
Here is a page you can see it on that has the highslide too. I think it may be conflicting with the publish button.

http://www.weather-connection.com/index.php/topic,11.0.html
Title: Re: SA Facebook Integration
Post by: !RFAN on January 23, 2012, 04:15:46 AM
Quote from: SA™ on January 22, 2012, 01:45:53 PM
Quote from: !RFAN on January 22, 2012, 01:39:51 AM
Thanks :)
can we have this for other integrations??

you mean for the twitter and gplus intergrations?
Yes :)
Title: Re: SA Facebook Integration
Post by: ssboforum on January 23, 2012, 06:52:36 AM
Topic auto publish on FB page has been working well for some days, but now stopped. At first, there was a little delay in publishing, now topic haven't been published in hours.
I can't figure out what happened.

The solution I had suggested here (http://www.simplemachines.org/community/index.php?topic=365503.msg3254486#msg3254486) doesn't work anymore, and actually I think it was completely nonsense, because 'fb_app_atoken' doesn't refer to anything. It must have been a coincidence that it worked at that time.
Title: Re: SA Facebook Integration
Post by: Texan78 on January 23, 2012, 03:57:13 PM
Quote from: Texan78 on January 23, 2012, 01:45:44 AM
Here is a page you can see it on that has the highslide too. I think it may be conflicting with the publish button.

http://www.weather-connection.com/index.php/topic,11.0.html

Anyone else have a problem using this mod with Highslide?
Title: Re: SA Facebook Integration
Post by: SA™ on January 23, 2012, 04:01:14 PM
@ssboforum
fb_app_atoken was used in the last rev but since facebook are doing away with app walls it was particly removed in the newer version

thats is most likly a fb problem with post not going to fb cos this mod checks to see it there is errors if there is it wont post nothing and just retuns; i could fetch the error and display it or even better log in the error logs as  not to interupt posting
just let me know if it keeps happening

@Texan78
thanks give me a few days to get a new version out
Title: Re: SA Facebook Integration
Post by: Texan78 on January 23, 2012, 06:57:19 PM
Quote from: SA™ on January 23, 2012, 04:01:14 PM
@Texan78
thanks give me a few days to get a new version out

Thank you, if I can be of any assistance with debugging or trouble shooting this feel free to send me a PM. 
Title: Re: SA Facebook Integration
Post by: ssboforum on January 23, 2012, 07:32:34 PM
Quote from: SA™ on January 23, 2012, 04:01:14 PM
@ssboforum
fb_app_atoken was used in the last rev but since facebook are doing away with app walls it was particly removed in the newer version

thats is most likly a fb problem with post not going to fb cos this mod checks to see it there is errors if there is it wont post nothing and just retuns; i could fetch the error and display it or even better log in the error logs as  not to interupt posting
just let me know if it keeps happening


Thank you for your reply. I have not fully understood what do you mean with  "i could fetch the error and display it or even better log in the error logs as not to interupt posting", what should I do? Should i check an error log? Where is it?
However yes, it keeps happening :(
Title: Re: SA Facebook Integration
Post by: SA™ on January 23, 2012, 08:18:13 PM
ah hang on a minute was you using the last version? if so run thru the auth prcess again

admin>facebook>publisher

then click the blue button to reauthorise
Title: Re: SA Facebook Integration
Post by: rans2011 on January 23, 2012, 11:06:28 PM
I  installed the new    SA_Facebook_Integration_2.0_RC2-1_REV49.zip mod then while viewing a thread I had this problem Fatal error: Call to undefined function face_usettings() in /home/xxxx/public_html/Sources/Display.php on line 91. Before I installed the    SA_Facebook_Integration_2.0_RC2-1_REV49 I uninstalled the SA_Facebook_Integration_2.0_RC_REV36.

I read this thread http://www.simplemachines.org/community/index.php?topic=443334.0 and I un-installed the mod 'SA Facebook' then re-installed it but no luck.

On line 91 it shows $context['fbname'] = face_USettings($user_info['id'],'fbname','id_member');

Here's the url of my site: www.thewedding.ph

Any help? Thanks!
Title: Re: SA Facebook Integration
Post by: SA™ on January 24, 2012, 12:33:48 AM
remove that code on line 91 isnt used any more
Title: Re: SA Facebook Integration
Post by: SA™ on January 24, 2012, 01:04:22 AM
Quote from: Texan78 on January 23, 2012, 06:57:19 PM
Quote from: SA™ on January 23, 2012, 04:01:14 PM
@Texan78
thanks give me a few days to get a new version out

Thank you, if I can be of any assistance with debugging or trouble shooting this feel free to send me a PM. 

you could try the updated package pls?
Title: Re: SA Facebook Integration
Post by: rans2011 on January 24, 2012, 01:36:55 AM
Quote from: SA™ on January 24, 2012, 12:33:48 AM
remove that code on line 91 isnt used any more

thanks! the site is working now? I also delete the SA Facebook Integration. What about I want to use this mod again? Will re-installing the mod with the latest version wont hurt my site?
Title: Re: SA Facebook Integration
Post by: SA™ on January 24, 2012, 01:38:37 AM
no
Title: Re: SA Facebook Integration
Post by: rans2011 on January 24, 2012, 01:50:37 AM
Quote from: SA™ on January 24, 2012, 01:38:37 AM
no

I got an error again /home/xxx/public_html/Sources/Load.php(2222) : eval()'d code on line 441

I re-installed it but I got the error

/home/xxx/public_html/Sources/Load.php(2222) : eval()'d code on line 441

this is the code shown at line 441 explode(',', $user_settings['additional_groups'])
Title: Re: SA Facebook Integration
Post by: Texan78 on January 24, 2012, 02:06:41 AM
Quote from: SA™ on January 24, 2012, 01:04:22 AM
Quote from: Texan78 on January 23, 2012, 06:57:19 PM
Quote from: SA™ on January 23, 2012, 04:01:14 PM
@Texan78
thanks give me a few days to get a new version out

Thank you, if I can be of any assistance with debugging or trouble shooting this feel free to send me a PM. 

you could try the updated package pls?

I just updated to the new package and it still interferes with the highslide. When you click on a pic it opens the pic on its own new page.  One positive thing I notice is the publish button works now which it didn't work before.

Title: Re: SA Facebook Integration
Post by: rans2011 on January 24, 2012, 04:08:57 AM
Quote from: rans2011 on January 24, 2012, 01:50:37 AM
Quote from: SA™ on January 24, 2012, 01:38:37 AM
no

I got an error again /home/xxx/public_html/Sources/Load.php(2222) : eval()'d code on line 441

I re-installed it but I got the error

/home/xxx/public_html/Sources/Load.php(2222) : eval()'d code on line 441

this is the code shown at line 441 explode(',', $user_settings['additional_groups'])

Any help for this?
Title: Re: SA Facebook Integration
Post by: ssboforum on January 24, 2012, 10:26:07 AM
Quote from: SA™ on January 23, 2012, 08:18:13 PM
ah hang on a minute was you using the last version? if so run thru the auth prcess again

admin>facebook>publisher

then click the blue button to reauthorise

I'm using REV47.
Should I update? My forum is active and already has a lot of members... what if the last version causes problems? Could members have problem with log in or subscription? What's new in REV49?
Title: Re: SA Facebook Integration
Post by: rans2011 on January 24, 2012, 11:31:46 AM
Quote from: rans2011 on January 24, 2012, 04:08:57 AM
Quote from: rans2011 on January 24, 2012, 01:50:37 AM
Quote from: SA™ on January 24, 2012, 01:38:37 AM
no

I got an error again /home/xxx/public_html/Sources/Load.php(2222) : eval()'d code on line 441

I re-installed it but I got the error

/home/xxx/public_html/Sources/Load.php(2222) : eval()'d code on line 441

this is the code shown at line 441 explode(',', $user_settings['additional_groups'])

Any help for this?

I just want to clear the error im receiving right now.

Below is the exact error

Fatal error: Class 'SAFacebook' not found in /home/xxxxx/public_html/Sources/Load.php(2222) : eval()'d code on line 441

I un-installed and re-installed but still getting the above error.
Title: Re: SA Facebook Integration
Post by: SA™ on January 24, 2012, 12:02:02 PM
@rans2011
be a bit more pationt pls i cant be here every second of the day just to anser your post you know
you got that error cos you faild to uninstall the last version properly your have to goto server setting > disable evalation of templates and populate the errror again to show the true error


@Texan78 cos you didnt tell me the hs mod your using so im assuming you used
http://custom.simplemachines.org/mods/index.php?mod=2518 wich works for me on my test site is this the one your using?
Title: Re: SA Facebook Integration
Post by: modifiyeli.org on January 24, 2012, 12:49:59 PM
Please help me... I tried to try. But not connect finaly web page. Why? Please try our web site; www.modifiyeli.org

Thanks!
Title: Re: SA Facebook Integration
Post by: SA™ on January 24, 2012, 01:20:50 PM
keep trying it maybe just fb playing up as usal tho i get this

503 Service Unavailable
Title: Re: SA Facebook Integration
Post by: Texan78 on January 24, 2012, 04:18:42 PM
Quote from: SA™ on January 24, 2012, 12:02:02 PM
@Texan78 cos you didnt tell me the hs mod your using so im assuming you used
http://custom.simplemachines.org/mods/index.php?mod=2518 wich works for me on my test site is this the one your using?

Yes that is the one I am using. I just uninstalled and downloaded and installed it again to make sure I have the most recent and it doesn't work when the FB integration is installed. Here is a page you can see the example, just click on any of the images.

http://www.weather-connection.com/index.php/topic,11.0.html

Title: Re: SA Facebook Integration
Post by: Texan78 on January 24, 2012, 05:33:52 PM
I have taken some screenshots. It works in IE but not FF, only problem with it in IE is the publish, modify, quote, etc. doesn't display correctly as highlighted in red and as you can see in the screen shot. In FF it doesn't work at all but the publish, modify, quote etc displays correct. See below...

Internet Explorer

(http://www.mesquiteweather.net/screenshots/FB_IE.bmp)

FireFox

(http://www.mesquiteweather.net/screenshots/FB_FF.bmp)

I think the conflict is with the Js in the publish link.

Title: Re: SA Facebook Integration
Post by: Texan78 on January 24, 2012, 05:41:41 PM
Another update, I got to thinking about something since that I saw in IE that I didn't see in FF. So I created a new post with just a image only. In both IE and FF the highslide works, but I noticed in IE the publish, modify, quote, etc doesn't display correct even in posts that contain no media at all. It displays as the screen shot above. Here is a thread with no media in it that you can view in IE and see if you see the same problem as in the screenshot.

-Thanks
Title: Re: SA Facebook Integration
Post by: SA™ on January 24, 2012, 09:50:18 PM
i think your issue is you have stuff before your <head> tag wich will most likly break js stuff

move this code

<script type="text/javascript">

  twttr.anywhere(function (T) {

    T(".section").hovercards({
      username: function(node) {
        return node.alt;
      }
     });
     });

     twttr.anywhere(function(twitter) {
              twitter.hovercards();
     });

  </script>


and put it after this code
echo $context['html_headers'];
Title: Re: SA Facebook Integration
Post by: Texan78 on January 25, 2012, 02:42:38 AM
Quote from: SA™ on January 24, 2012, 09:50:18 PM
i think your issue is you have stuff before your <head> tag wich will most likly break js stuff

move this code

<script type="text/javascript">

  twttr.anywhere(function (T) {

    T(".section").hovercards({
      username: function(node) {
        return node.alt;
      }
     });
     });

     twttr.anywhere(function(twitter) {
              twitter.hovercards();
     });

  </script>


and put it after this code
echo $context['html_headers'];

I thought that as well at first so I removed it and I still had the problems. If I move it after echo $context['html_headers']; it throws errors and won't load the page. I have removed it for the meantime as it isn't important at the moment.

A couple of observations I have made while trying to debug this. From my previous screenshot where it just shows a bullet and publish, that seems to only happen when you're logged out and viewing as a guest. Is that suppose to be like that or be viewed the same way as when you're logged in?

Second observation I made is the publish button didn't work in the first post. Then after some other debugging I have come to the conclusion it's because of the Aeva Lite Mod that embeds videos from URL's. You can't publish that first post with the video, and with that video on that page Highslide doesn't work and the publish button doesn't work on the post with embedded videos.. You make a post with no videos both the publish button and Highslide work perfectly, even first post.

So it's Aeva that isn't playing nice, but is it with the publish button or just Aeva itself when the two are mixed together?

Title: Re: SA Facebook Integration
Post by: SA™ on January 25, 2012, 07:16:48 AM
thanks for that Texan78 ill have to install them to see ill try to gt to it before the weekend for you ill pm you if you want to test it?
Title: Re: SA Facebook Integration
Post by: !RFAN on January 25, 2012, 02:05:18 PM
Quote from: !RFAN on January 21, 2012, 01:02:00 AM
i'm facing a problem..
whenever i click on "Grant Permissions" it takes me to the index page..
Title: Re: SA Facebook Integration
Post by: Texan78 on January 25, 2012, 06:49:36 PM
Quote from: SA™ on January 25, 2012, 07:16:48 AM
thanks for that Texan78 ill have to install them to see ill try to gt to it before the weekend for you ill pm you if you want to test it?

Yea that will be great just shoot me a PM and I will give it a test.
Title: Re: SA Facebook Integration
Post by: Stanyy on January 25, 2012, 07:31:24 PM
Hi SA, when i am logged into my admin account i cannot see the Facebook link at the menu bar. But when i am logged as a regular member i can see it. Do you know why?
Title: Re: SA Facebook Integration
Post by: netesy on January 26, 2012, 02:06:53 AM
my sa facebook  mod are not working this is my facebook error
An error occurred with WebMajix. Please try again later.

API Error Code: 191
API Error Description: The specified URL is not owned by the application
Error Message: Invalid redirect_uri: Given URL is not allowed by the Application configuration.
and the twitter is asking me to put a code on my site which i cant find
Title: Re: SA Facebook Integration
Post by: modifiyeli.org on January 26, 2012, 04:48:14 AM
Quote from: SA™ on January 24, 2012, 01:20:50 PM
keep trying it maybe just fb playing up as usal tho i get this

503 Service Unavailable

Thanks... But not working yet. I noticed that the first attempt to connect, the second attempt fails (litespeed). Do not have a solution?
Title: Re: SA Facebook Integration
Post by: ssboforum on January 26, 2012, 06:08:27 AM
I inform you that I couldn't solve the auto publishing problem on FB pages, but I found an external service, http://dlvr.it, which uses rss to publish new topics on a FB Page. Setting SMF rss I can also decide if publish all new posts, or only new topic, etc. I think it works well, new topics are published on page every 15 minutes.
Title: Re: SA Facebook Integration
Post by: SA™ on January 26, 2012, 03:13:43 PM
Quote from: !RFAN on January 25, 2012, 02:05:18 PM
Quote from: !RFAN on January 21, 2012, 01:02:00 AM
i'm facing a problem..
whenever i click on "Grant Permissions" it takes me to the index page..

can you try removing && isset($_SESSION['is_admin_action']) from facebookhooks.php

Quote from: stanyy on January 25, 2012, 07:31:24 PM
Hi SA, when i am logged into my admin account i cannot see the Facebook link at the menu bar. But when i am logged as a regular member i can see it. Do you know why?

it should show but you need to be synced with facebook

Quote from: netesy on January 26, 2012, 02:06:53 AM
my sa facebook  mod are not working this is my facebook error
An error occurred with WebMajix. Please try again later.

API Error Code: 191
API Error Description: The specified URL is not owned by the application
Error Message: Invalid redirect_uri: Given URL is not allowed by the Application configuration.
and the twitter is asking me to put a code on my site which i cant find

configar you applications properly
http://www.sa-smf.com/community/index.php?action=kb;area=article;cont=41

Quote from: modifiyeli.org on January 26, 2012, 04:48:14 AM
Quote from: SA™ on January 24, 2012, 01:20:50 PM
keep trying it maybe just fb playing up as usal tho i get this

503 Service Unavailable

Thanks... But not working yet. I noticed that the first attempt to connect, the second attempt fails (litespeed). Do not have a solution?

anything in your server errror logs? or forum error logs?
Title: Re: SA Facebook Integration
Post by: char39 on January 29, 2012, 08:20:01 PM
Where are the directions on how to set this up on my forum like the configuration, publisher, open graph, etc.,?  I don't mean the application I already did that.
Title: Re: SA Facebook Integration
Post by: SA™ on January 30, 2012, 02:29:41 PM
what do you want to know? i genaraly dont write documentation cos my punctuation suks  but i will try to explain if needed  ;)
Title: Re: SA Facebook Integration
Post by: char39 on January 30, 2012, 02:39:17 PM
A lot!  For instance what does Facebook User ID mean?  Facebook Page ID?  Is this my page url or can it be for FB group?  what about Facebook Access Tokens?  Show faces, Show header, show stream....show where?  How should these be set?

I have more!
Title: Re: SA Facebook Integration
Post by: SA™ on January 30, 2012, 02:53:30 PM
facebook user id  is you facebook user id  isnt needed if you aint publishing post to you profile

facebook page id is your page id it cant be a group  it is the id of the page you created http://www.facebook.com/pages/create.php?ref_type=sitefooter if any the id will be seen in your url again it isnt neeeded if you not using the publsiher

facebook acesse tokens these are needed for publishing to your profile/page to obtain these fill in your page id or profile id
save it then click the blue fb button to grant permissions after grating permissions the page should reload and save your access token automaticly

Show faces, Show header, show stream....show where
these are shown on the facebook action site.com/index.php?action=facebook if enabled they are used for the facebook plugins

the easyest way would be to just play around with on test site or somthing
Title: Re: SA Facebook Integration
Post by: char39 on January 30, 2012, 06:25:14 PM
Thank you so much for your help!

On the Page ID, if I put my Facebook address in it, won't everyone be going to my page then?
Title: Re: SA Facebook Integration
Post by: SA™ on January 31, 2012, 04:47:15 PM
no cos you dont put your fb address in it you put your page id if you have one
Title: Re: SA Facebook Integration
Post by: char39 on February 01, 2012, 09:12:19 AM
Hi is there someone I can pay to look and make sure I have configured SA Facebook correctly.  I already created an application and think most things are correct, however I don't see anything in the posting area.
Title: Re: SA Facebook Integration
Post by: Texan78 on February 01, 2012, 01:03:29 PM
Any updates on compatibility with the Aeva Lite mod?
Title: Re: SA Facebook Integration
Post by: SA™ on February 01, 2012, 03:15:54 PM
no not yet sry wanteed to get it done this week but it has been a busy week so far
Title: Re: SA Facebook Integration
Post by: SA™ on February 01, 2012, 03:51:44 PM
whers Aeva Lite mod?
Title: Re: SA Facebook Integration
Post by: Kindred on February 01, 2012, 03:52:51 PM
I honestly don't think that the aeva mod would be conflicting with this one...   I had aeva media (2.10) running with the FB mod for several moths with no problems.
Title: Re: SA Facebook Integration
Post by: Fiskelust on February 01, 2012, 04:48:37 PM
Hi,

at first i would like to thank you for a great mod, which seem to have many good uses.

However, i have some serious issues with it:
I have tried to configure so that when a new thread is created (on certain boards) a new post is placed on the facebook page.
Sometimes this works, but most often it does not. I guess that i have the configuration properly since it sometimes works...
Do i every time have to click the "grant permissions" button? (By the way it does not appear in IE9)

As stated earlier i think there are quite a few good features with this mod, but is there any user guide on how to use and configure it?
Now i'm doing trial and error, and since it only works every now and then its very hard to tell if its me doing something wrong or the mod just isnt working as expected...

Title: Re: SA Facebook Integration
Post by: Decade4434 on February 02, 2012, 02:42:16 PM
I just upgraded our forums to version 2.0.2 and have installed this mod. Unfortunately, when trying to use Facebook connect to register, I get this message on what appears to be a facebook page:

Sorry, something went wrong.

We're working on getting this fixed as soon as we can.

Is this a problem with the mod being set up incorrectly or just a problem on the facebook end that might need some time before we try again?
Title: Re: SA Facebook Integration
Post by: SA™ on February 02, 2012, 03:00:02 PM
QuoteSorry, something went wrong.

We're working on getting this fixed as soon as we can.

did that error come from the fb i mean in the popup box?
Title: Re: SA Facebook Integration
Post by: Decade4434 on February 02, 2012, 03:00:55 PM
Quote from: Decade4434 on February 02, 2012, 02:42:16 PM
I just upgraded our forums to version 2.0.2 and have installed this mod. Unfortunately, when trying to use Facebook connect to register, I get this message on what appears to be a facebook page:

Sorry, something went wrong.

We're working on getting this fixed as soon as we can.

Is this a problem with the mod being set up incorrectly or just a problem on the facebook end that might need some time before we try again?

That error did come from Facebook, so I assumed it was their end. And just for the heck of it, I tried again after changing themes on the forums and got further. This time, I got an error message on the forums:

An Error Has Occurred!
No connection to facebook found

Any suggestions would be appreciated since it's probably something silly I'm missing. Thanks!
Title: Re: SA Facebook Integration
Post by: SA™ on February 02, 2012, 03:10:48 PM
did you setup your app correct? see the article below

http://www.sa-smf.com/community/index.php?action=kb;area=article;cont=41
Title: Re: SA Facebook Integration
Post by: Decade4434 on February 02, 2012, 03:16:13 PM
Quote from: SA™ on February 02, 2012, 03:10:48 PM
did you setup your app correct? see the article below

http://www.sa-smf.com/community/index.php?action=kb;area=article;cont=41

I followed those instructions and input the API Key and App Secret in the configuration menu. When I chose the URL, I pointed it to the URL of the forums and since it shows when I try to register with it, I'm guessing that part was done correctly. I did go back through and double check both the API key and the app secret to ensure they're input correctly and they are.
Title: Re: SA Facebook Integration
Post by: SA™ on February 02, 2012, 03:24:39 PM
can i have a link to you site pls? you can pm it if you want
Title: Re: SA Facebook Integration
Post by: Meriadoc on February 02, 2012, 04:37:22 PM
I'm having the same issue that is described above with the error (on SMF)
QuoteAn Error Has Occurred!
No connection to facebook found


Thanks for the help
Title: Re: SA Facebook Integration
Post by: Meriadoc on February 02, 2012, 05:54:47 PM
Gah, it appears that something wasn't quite right with my test FB app. I switched IDs to the real app my client gave me and it works fine. Maybe the test app was too new.

Anyway, it connects beautifully now. The only (minor) problem is if I click the "register" link, I'm sent to the agreement, accepting that brings me to the registration form. If I click Connect with Facebook I'm walked through the connection and then sent BACK to the Agreement again. Clicking that will take me to the last step, but is there a way to avoid duplicating that agreement showing? Users are going to get a little freaked out by that I can be sure.

Thank you.
Title: Re: SA Facebook Integration
Post by: Biology Forums on February 02, 2012, 10:49:01 PM
Is it possible to configure this mod so that as soon as the member signs up, he/she automatically "Likes" the website?
Title: Re: SA Facebook Integration
Post by: Fiskelust on February 03, 2012, 02:10:03 AM
Quote from: Fiskelust on February 01, 2012, 04:48:37 PM
Hi,

at first i would like to thank you for a great mod, which seem to have many good uses.

However, i have some serious issues with it:
I have tried to configure so that when a new thread is created (on certain boards) a new post is placed on the facebook page.
Sometimes this works, but most often it does not. I guess that i have the configuration properly since it sometimes works...
Do i every time have to click the "grant permissions" button? (By the way it does not appear in IE9)

As stated earlier i think there are quite a few good features with this mod, but is there any user guide on how to use and configure it?
Now i'm doing trial and error, and since it only works every now and then its very hard to tell if its me doing something wrong or the mod just isnt working as expected...



Comments?
Title: Re: SA Facebook Integration
Post by: Vlada87 on February 03, 2012, 05:15:31 PM
First of all thank you for this great application...

However i have some strange error:

------------------------------------------------------------------------------------
http:/XXXXXXXXXXXXcom/index.php?pretty;action=register2

Undefined index: fb_app_atokenpage

/home/content/08/8814308/html/XXXXXXXXX/forum/Sources/Facebook/FacebookHooks.php

Line: 488
---------------------------------------------------------------------

On that 488 line is this string:    $atoken = $modSettings['fb_app_atokenpage'];

Can you tell me more about this error!?
Title: Re: SA Facebook Integration
Post by: SA™ on February 03, 2012, 05:49:17 PM
@Meriadoc
it should only do the reg agreement once?


@Vlada87
replace that line with
$atoken = !empty($modSettings['fb_app_atokenpage']) ? $modSettings['fb_app_atokenpage'] : '';
Title: Re: SA Facebook Integration
Post by: Vlada87 on February 03, 2012, 06:18:17 PM
Can you tell me more about that error why it happen!?

Error only show when someone star new theard...
Title: Re: SA Facebook Integration
Post by: SA™ on February 03, 2012, 06:38:32 PM
you get that co $modSettings['fb_app_atokenpage'] was never defined
Title: Re: SA Facebook Integration
Post by: dwd2000 on February 04, 2012, 09:21:44 PM
Quote from: SA™ on January 30, 2012, 02:29:41 PM
what do you want to know? i genaraly dont write documentation cos my punctuation suks  but i will try to explain if needed  ;)

I can help here.
If you can explain every admin step to me,  the best way you can, I'll do the documentation for you.
I can add it to the language files, so we can get the explanations as we go through the initial setup.
It wouldn't hurt to have examples too.
It might save you a lot of time.
Title: Re: SA Facebook Integration
Post by: neyola on February 06, 2012, 06:24:52 AM
Hi, Thanks for this app. I just noticed that the Facebook page on my SMF only displays for Guest and not registered members. It was displaying previously but I just noticed it stopped displaying for users only display for guests.

Expecting a prompt response
Title: Re: SA Facebook Integration
Post by: distante on February 06, 2012, 10:33:49 AM
Hello!

I have a question.

This mod can make a facebook user post directly into the forum, or register in the forum with the facebook account?
Title: Re: SA Facebook Integration
Post by: neyola on February 06, 2012, 02:21:13 PM
Quote from: distante on February 06, 2012, 10:33:49 AM
Hello!

I have a question.

This mod can make a facebook user post directly into the forum, or register in the forum with the facebook account?

Both!

But the facebook post is more like a comment so it doesn't add to the board thread's replies!
Title: Re: SA Facebook Integration
Post by: SA™ on February 06, 2012, 02:27:47 PM
QuoteBut the facebook post is more like a comment so it doesn't add to the board thread's replies!

this is somthing i wanted to build in the mod kinda like how replys to post can goto the published topic on fb
Title: Re: SA Facebook Integration
Post by: SA™ on February 06, 2012, 02:30:52 PM
Quote from: neyola on February 06, 2012, 06:24:52 AM
Hi, Thanks for this app. I just noticed that the Facebook page on my SMF only displays for Guest and not registered members. It was displaying previously but I just noticed it stopped displaying for users only display for guests.

Expecting a prompt response

it will only show if users are synced with fb i want to change this cos it doesnt make much sense to allow guest to see it yet registerd userrs have to be synced with fb i dont know why i did it like this :P
Title: Re: SA Facebook Integration
Post by: neyola on February 06, 2012, 05:18:32 PM
Quote from: SA™ on February 06, 2012, 02:27:47 PM
QuoteBut the facebook post is more like a comment so it doesn't add to the board thread's replies!

this is somthing i wanted to build in the mod kinda like how replys to post can goto the published topic on fb

If you manage to do this, Then its gonna be the bomb!
Title: Re: SA Facebook Integration
Post by: distante on February 06, 2012, 06:12:54 PM
Quote from: SA™ on February 06, 2012, 02:27:47 PM
QuoteBut the facebook post is more like a comment so it doesn't add to the board thread's replies!

this is somthing i wanted to build in the mod kinda like how replys to post can goto the published topic on fb

I remind saw the Facebook developers page something about obtain the content of the comment with the graph API, butI can't find where is it!
Title: Re: SA Facebook Integration
Post by: DanielJLewis on February 06, 2012, 10:55:34 PM
I love what this plugin is supposed to do, but it seems pointless to offer a Facebook login if the user still has to create a username and password. That's the whole point of social logins—that you don't have to create a new username and password.

I'm testing between phpBB and SMF. phpBB has a plugin that can register a user with Facebook without requiring an extra username and password. I've been to many other sites and web apps that work the same.

Is this on the roadmap for this mod?
Title: Re: SA Facebook Integration
Post by: DanielJLewis on February 06, 2012, 11:16:10 PM
By the way, I also have the "no connection to facebook" error. I've quadruple-checked my app ID and secret (which work for other apps).

Site is currently http://ONCEpodcast.com/oncesmf/ (may redirect to /forums/ with some htaccess magic).
Title: Re: SA Facebook Integration
Post by: distante on February 07, 2012, 12:47:37 AM
Quote from: DanielJLewis on February 06, 2012, 11:16:10 PM
By the way, I also have the "no connection to facebook" error. I've quadruple-checked my app ID and secret (which work for other apps).

Site is currently http://ONCEpodcast.com/oncesmf/ (may redirect to /forums/ with some htaccess magic).

Check your AP's URL, if you use your forum without www, and put the url with www in facebook, it will not work

Quote from: DanielJLewis on February 06, 2012, 10:55:34 PM
I love what this plugin is supposed to do, but it seems pointless to offer a Facebook login if the user still has to create a username and password. That's the whole point of social logins—that you don't have to create a new username and password.

That's what SA is try to accomplish, I'm doing some research in the facebook api (although I'm just a rookie)
Title: Re: SA Facebook Integration
Post by: neyola on February 07, 2012, 07:46:54 AM
Hi SA,

I just noticed that the facebook mod doesn't feed new posts to facebook. It did feed this before and all of a sudden, it has stopped feeding this. Any reason for this...
Title: Re: SA Facebook Integration
Post by: SA™ on February 07, 2012, 01:58:54 PM
was you publishing to your app before? if so this isnt possible anymore

see
http://www.sa-smf.com/community/index.php?topic=1463.0
Title: Re: SA Facebook Integration
Post by: neyola on February 07, 2012, 03:28:09 PM
I mean it worked yesterday then it later stopped...
Title: Re: SA Facebook Integration
Post by: distante on February 07, 2012, 07:04:25 PM
SA™, what is your approach concert a the auto integration of A FB user in a SMF forum?

I mean, in some FB developers forums there are people talking about the info that FB sends using the api, this if FB id and credentials info, would be very difficult auto assign this credentials to the DB in the forum so the user don't need to put any other info? Maybe using the hooks of the "register users" in the admin panel in smf.

(sorry for my poor english!)
Title: Re: SA Facebook Integration
Post by: SA™ on February 08, 2012, 07:16:24 AM
QuoteSA™, what is your approach concert a the auto integration of A FB user in a SMF forum?

it can be done pretty easy just the reason wh it i slike it is is cos having auto register WILL lead to problems in the long run like bouced emails duplicate names i could go on but i wont :P
Title: Re: SA Facebook Integration
Post by: distante on February 08, 2012, 09:55:04 AM
I would (In my opinion) very useful if at least put the option in the mod, and the user can enable or disable it; there's a fix for everyproblem :P Ie, use the numId of the FBuser in the registername, call for the email from FB (this is always ok) and so on :P

In my case, the truth is that most my ex-members went  to FB, and some potential ones just don't want to "take extra steps". In a wordpress site that I have and allows comments directly from FB I have more interaction that in my forum right now (the forum have more Guests though)
Title: Re: SA Facebook Integration
Post by: SA™ on February 08, 2012, 03:45:33 PM
Quote from: distante on February 08, 2012, 09:55:04 AM
call for the email from FB (this is always ok)
it already does this reqirement for email was removed in the last version

what about password?

Quotecomments directly from FB

this somthing i wanted to do in the futer
Title: Re: SA Facebook Integration
Post by: distante on February 08, 2012, 04:49:24 PM
Quote from: SA™ on February 08, 2012, 03:45:33 PM
Quote from: distante on February 08, 2012, 09:55:04 AM
call for the email from FB (this is always ok)
it already does this reqirement for email was removed in the last version
what about password?

mmm. A random password generated by a script? If the user log's always with FB he will no need other password, in any case a simple "If you want to log without FB" message telling him that he needs to set the pass in his profile.

Too silly?

Title: Re: SA Facebook Integration
Post by: Texan78 on February 08, 2012, 10:42:16 PM
Quote from: Kindred on February 01, 2012, 03:52:51 PM
I honestly don't think that the aeva mod would be conflicting with this one...   I had aeva media (2.10) running with the FB mod for several moths with no problems.

It indeed is conflicting with it though. I am using Aeva Lite, you can find the download for it inside the Aeva Media from a second link for just the lite version. I have done indepth testing and debugging and it all points back to the Aeva Light mod. You can look back at my previous posts where I have outlined this.

In short the FB mod has problems working on posts that use the Aeva Lite Mod where video is embedded. On posts with videos that are embedded the FB mod doesn't work and it effects highslide. You uninstall the FB Mod and they both work fine.

I have uninstalled the FB mod until it can be more stable to work with the Aeva Media Lite Mod.
Title: Re: SA Facebook Integration
Post by: Kindred on February 08, 2012, 11:13:41 PM
So, after some additional testings, it would appearf that the embedding does cause issues...

actually, I don't think it ever will be.


every facebook "script" that I have seen chokes if there is ANY other javascript on the page.
This included embedding, highslide, jquery or just about anything that affects the content of the page.

It's a facebook problem, no a problem with the rest.
Title: Re: SA Facebook Integration
Post by: Fiskelust on February 09, 2012, 05:17:45 AM
Quote from: ssboforum on January 26, 2012, 06:08:27 AM
I inform you that I couldn't solve the auto publishing problem on FB pages, but I found an external service, http://dlvr.it, which uses rss to publish new topics on a FB Page. Setting SMF rss I can also decide if publish all new posts, or only new topic, etc. I think it works well, new topics are published on page every 15 minutes.

Thanks! Dlvr.it really works well and as expected :)
Title: Re: SA Facebook Integration
Post by: distante on February 09, 2012, 09:03:12 AM
Quote from: Fiskelust on February 09, 2012, 05:17:45 AM
Quote from: ssboforum on January 26, 2012, 06:08:27 AM
I inform you that I couldn't solve the auto publishing problem on FB pages, but I found an external service, http://dlvr.it, which uses rss to publish new topics on a FB Page. Setting SMF rss I can also decide if publish all new posts, or only new topic, etc. I think it works well, new topics are published on page every 15 minutes.

Thanks! Dlvr.it really works well and as expected :)

You can do this also with tweeterfeed.com
Title: Re: SA Facebook Integration
Post by: distante on February 09, 2012, 09:14:22 AM
SA, I installed the mod in a fresh smf 2.0.2 install, with no other mods, and I got this errors in the log:


/index.php?action=facebookintegrate;area=connect;register8: Undefined index: fb_app_atokenpageArchivo: /Sources/Facebook/FacebookHooks.php
Line: 488

/index.php?action=facebookintegrate;area=connect;register
8: Undefined index: fb_admin_pidArchivo: /Sources/Facebook/FacebookHooks.php
Line: 487


Everytime that I log with FB that errors appears
Title: Re: SA Facebook Integration
Post by: L.Bento on February 09, 2012, 10:22:26 PM
Can someone please tell me where is the menu with the options to insert the Facebook App codes? Where is the admin panel? Please post a print screen
I cant seem to find them!
Can someone please post their file structure of the packages folder? It looks like a installation problem.

Title: Re: SA Facebook Integration
Post by: haroot on February 10, 2012, 04:24:26 AM
When I try to connect with facebook, I get the same error you get on your website SA... Look at attachment.
Title: Re: SA Facebook Integration
Post by: SA™ on February 10, 2012, 02:34:30 PM
@distante

yes i know about this error it will be fixed in the next version


@L.Bento

it is in facebook admin

admin>facebook

@haroot
i see the issue now wasnt sure before but i think may know why now can you post up your facebook/facebookhooks.php pls
Title: Re: SA Facebook Integration
Post by: distante on February 10, 2012, 04:58:55 PM
Quote from: SA™ on February 10, 2012, 02:34:30 PM
@distante

yes i know about this error it will be fixed in the next version

Cool ;)

Quote from: SA™ on February 10, 2012, 02:34:30 PM
@haroot
i see the issue now wasnt sure before but i think may know why now can you post up your facebook/facebookhooks.php pls

(I think I wrote this before) I was having this problem in my test site too, I found that the problem was my  FB App's URL, it says www.site.com and I was using just site.com (without the www), I machet the two (putting a redirection www) and the problem disappear.



@SA™

The next version will have the option to enable/disable autoregister (user and random pass)?
Title: Re: SA Facebook Integration
Post by: ketchup on February 10, 2012, 08:26:33 PM
Hello I get an error "No connection to facebook found" after the page asks me to login to facebook it takes me back to a page saying "No connection to facebook found" then if I click again to facebook login it will take me straight to terms and agreement

any help please
Title: Re: SA Facebook Integration
Post by: distante on February 10, 2012, 08:56:38 PM
Quote from: ketchup on February 10, 2012, 08:26:33 PM
Hello I get an error "No connection to facebook found" after the page asks me to login to facebook it takes me back to a page saying "No connection to facebook found" then if I click again to facebook login it will take me straight to terms and agreement

any help please


Quote from: distante on February 10, 2012, 04:58:55 PM
Quote from: SA™ on February 10, 2012, 02:34:30 PM
@haroot
i see the issue now wasnt sure before but i think may know why now can you post up your facebook/facebookhooks.php pls

(I think I wrote this before) I was having this problem in my test site too, I found that the problem was my  FB App's URL, it says www.site.com (http://www.site.com) and I was using just site.com (without the www), I machet the two (putting a redirection www) and the problem disappear.
Title: Re: SA Facebook Integration
Post by: ketchup on February 10, 2012, 09:17:51 PM
Quote from: distante on February 10, 2012, 08:56:38 PM
Quote from: ketchup on February 10, 2012, 08:26:33 PM
Hello I get an error "No connection to facebook found" after the page asks me to login to facebook it takes me back to a page saying "No connection to facebook found" then if I click again to facebook login it will take me straight to terms and agreement

any help please


Quote from: distante on February 10, 2012, 04:58:55 PM
Quote from: SA™ on February 10, 2012, 02:34:30 PM
@haroot
i see the issue now wasnt sure before but i think may know why now can you post up your facebook/facebookhooks.php pls

(I think I wrote this before) I was having this problem in my test site too, I found that the problem was my  FB App's URL, it says www.site.com (http://www.site.com) and I was using just site.com (without the www), I machet the two (putting a redirection www) and the problem disappear.


My url is          site.com/forum/index.php
My App url is   site.com

I just put the url as site.com and that didn't work either

Thanks for any help
Title: Re: SA Facebook Integration
Post by: distante on February 10, 2012, 11:40:45 PM
Your site (the one in your profile) uses vBulletin...
Title: Re: SA Facebook Integration
Post by: ketchup on February 11, 2012, 12:09:54 AM
Hi thats not the site i am talking about I will pm you thanks
Title: Re: SA Facebook Integration
Post by: SA™ on February 11, 2012, 02:31:12 AM
out of interest do you get this error in your error logs at the same time

8: Undefined index: username

if so possible fix would be

sources/facebookhook.php

$_SESSION['safbusername'] = $user_profile['username'];
replace with
$_SESSION['safbusername'] = !empty($user_profile['username']) ? $user_profile['username'] : $user_profile['name'];

for some reason it doesnt always fetch the users username wich will cause this error cos it would be empty i only put it down to ome people not setting up there user name on fb ? could be wrong try the fix

QuoteThe next version will have the option to enable/disable autoregister (user and random pass)?

no most likly it will be in 2.1 im not adding any more to this now just bug fixes untill 2.1
Title: Re: SA Facebook Integration
Post by: SA™ on February 11, 2012, 02:34:51 AM
Quote from: Kindred on February 08, 2012, 11:13:41 PM
So, after some additional testings, it would appearf that the embedding does cause issues...

actually, I don't think it ever will be.


every facebook "script" that I have seen chokes if there is ANY other javascript on the page.
This included embedding, highslide, jquery or just about anything that affects the content of the page.

It's a facebook problem, no a problem with the rest.


to be shore of this can you remove the edit to display.template.php and see if that fixes it as i cant replicate this on my local server
Title: Re: SA Facebook Integration
Post by: ketchup on February 11, 2012, 09:27:49 AM
Quote from: SA™ on February 11, 2012, 02:31:12 AM
out of interest do you get this error in your error logs at the same time

8: Undefined index: username

if so possible fix would be

sources/facebookhook.php

$_SESSION['safbusername'] = $user_profile['username'];
replace with
$_SESSION['safbusername'] = !empty($user_profile['username']) ? $user_profile['username'] : $user_profile['name'];

for some reason it doesnt always fetch the users username wich will cause this error cos it would be empty i only put it down to ome people not setting up there user name on fb ? could be wrong try the fix




Hi I just tried that and gave the same error "no connection"

Here is the log
http://site.com/forums/index.php?action=register2
Apply Filter: Only show the errors with the same message
8: Undefined index: fb_app_atokenpage
Apply Filter: Only show the errors from this file
File: /home/user/public_html/forums/Sources/Facebook/FacebookHooks.php
Line: 488
Title: Re: SA Facebook Integration
Post by: SA™ on February 11, 2012, 01:46:01 PM
ok thanks for trying that not sure what else to suggest at the moment can you pm me a link to your site?
Title: Re: SA Facebook Integration
Post by: distante on February 11, 2012, 03:03:12 PM
Could be maybe the protocol? http https...?
Title: Re: SA Facebook Integration
Post by: SA™ on February 11, 2012, 03:13:12 PM
aha yes could well be
in your facebook profile> account settings> secrity> Secure browsing
is that checked if so try unchecking it? i rember that being a problem before with the old php sdk
Title: Re: SA Facebook Integration
Post by: nicowilh on February 11, 2012, 04:49:00 PM
Hey,

I have installed the mod, and created a Facebook page where i want new topics to be published automatically (Publisher/Enable post publisher). Everything is working fine until I log out of my forum. Then it stops publishing posts automatically.

Does somebody know how i can make the app publish posts automatically PERMANENTLY?

Nico
Title: Re: SA Facebook Integration
Post by: SA™ on February 12, 2012, 01:33:48 PM
it already should b permanent?
Title: Re: SA Facebook Integration
Post by: nicowilh on February 12, 2012, 01:54:34 PM
Yes, but it is not. Do you know what can be wrong?
Title: Re: SA Facebook Integration
Post by: SA™ on February 12, 2012, 02:33:55 PM
no i dont tis mod has a few things to pass before it publishes

firtst it checks if it is enabled
then it check whats boards to publish
then it checks for api errorsif thereis any api errors it will just return; <<< is mostlikly the problem just it doesnt log any errors at the moemtn to it is hard to tell why

you could try running thru the athorisation again if that fails remove you app from your fb profile and reauthorise again if that fails im not sure without looking into it more
Title: Re: SA Facebook Integration
Post by: Molten Bear on February 12, 2012, 03:16:13 PM
Ok, now I am lost.  I appreciate the feedback and hope to be clear describing my issue.

I upgraded the old version 47 to 49 today.

I want to understand what Publisher does.  Can that post to a Facebook Fan page?

My problem:  The Facebook App I originally created is NOT the same name as the fan page we created last year.

Do I need to crate a new app?  How will the many people previously connected via Facebook now see the fan page?

The old app still seems to work (except there is no Secure URL for Facebook to use the other way)

My concerns:

What SMF settings and what FB settings do I now need to get right?  ("ONLY one shot at migrating" users has me concerned)

Thank You for all you do and also for your great modifications.


Quote from: SA™ on January 20, 2012, 12:17:13 PM
try the updated version  ......  you will need to setup the publisher again keys are now automated so just make sure you have your id's in pplace before going thru the auth proses


please remember this update is ready for the app changes on feb 1st so you can post to your app wall anymore see here for more details http://www.sa-smf.com/community/index.php?topic=1463.0 (http://www.sa-smf.com/community/index.php?topic=1463.0)  and rember you onl  get one chnace at migrating your app to a page so read carfuly
Title: Re: SA Facebook Integration
Post by: SA™ on February 12, 2012, 03:28:44 PM
QuoteI want to understand what Publisher does.  Can that post to a Facebook Fan page?

no you cant publish to fanpages as fan page walls are now depricated you can however publish to your facebook page or profile
instead

QuoteMy problem:  The Facebook App I originally created is NOT the same name as the fan page we created last year.

not sure on this one it think your need a new page to import likes from your app
http://www.sa-smf.com/community/index.php?topic=1463.0

QuoteWhat SMF settings and what FB settings do I now need to get right?  ("ONLY one shot at migrating" users has me concerned)

no need to be concerned this proceder doesnt touch the forum the worst thing that can happen is your likes will not get tranfered from you app to you page that all that proceder does it a pain realy that facebook depriciated app walls
Title: Re: SA Facebook Integration
Post by: Molten Bear on February 12, 2012, 03:50:03 PM
That link is what generated my questions.

1. Create a new Fan Page in the Brands/Product -> App category


Our Fan Page was already created under Organization.  Do I create a NEW App? 


2. Give it the same name as your App (exactly the same)

Our old app name was  [domain]_forums , our existing fan page has a one-word name.

If the old app allows people to post to FB (their wall), is a new app really needed if we can't publish to the fan page?

It WOULD be great if we could carry over the likes to the fan page (either the existing or the new I would create above)

I wish I understood the FB process better so I could explain my issues better.

Thank You for your patience and assistance!
Title: Re: SA Facebook Integration
Post by: SA™ on February 12, 2012, 04:11:52 PM
Quote1. Create a new Fan Page in the Brands/Product -> App category

Our Fan Page was already created under Organization.  Do I create a NEW App? 

2. Give it the same name as your App (exactly the same)

you are confusing apps and pages they are two different things

you do not need a new app if you have not got a fb page yet create one here
http://www.facebook.com/pages/create.php?ref_type=sitefooter
if you have a facebook page already you can edit the catagory by editing in the pages settings >basic information
Title: Re: SA Facebook Integration
Post by: Molten Bear on February 12, 2012, 04:47:50 PM
Yes, I am confused about page / app.... especially when a page is set to an App category.

If I change our current FB Fan Page to an app catagory what happens to:

- the 3 page moderators who post directly from FB?  They should remain

- will the admin still see insights?  Events?

- can others still post the the fan page?

Is there any problem with just creating another "Fan Page" as an app and name it what my old FB app was called?


To learn more, I tried to "go to app" on your facebook.com/devsamods app but received an error:

SSL connection error
Unable to make a secure connection to the server. This may be a problem with the server, or it may be requiring a client authentication certificate that you don't have.
Error 107 (net::ERR_SSL_PROTOCOL_ERROR): SSL protocol error.
Title: Re: SA Facebook Integration
Post by: nicowilh on February 12, 2012, 06:28:48 PM
Hi,

I have trouble writing with the letters æ, ø, å in my forum. When topics with these letters are published on Facebook the letters turn up as question marks ??

Somebody know how i can change this?

Nicolai
Title: Re: SA Facebook Integration
Post by: shorepower on February 13, 2012, 12:19:05 PM
Quote from: trekkie2444 on November 07, 2011, 04:24:08 AM
Quote from: SA™ on November 07, 2011, 12:24:42 AM
Quote from: Alex4108 on November 07, 2011, 12:06:40 AM
Quote from: SA™ on November 04, 2011, 12:54:04 AM
after install that link should take you to the fb admin panel is that where it takes you
can you pls veryfi the mod is actualy installed properly?
link to site?
theme?

It takes me to the start page of the admin panel
How am I supposed to verify?  SMF Says it's installed and functioning.  All tests passed before I installed
Link to: www.teamfear.tk
theme: Astonished

you can see from viewing you page soucre or open the install.xml and check the edits there

i can see now from you page source that it isnt installed or installed properly


Quote from: trekkie2444 on November 06, 2011, 03:20:37 AM
Quote from: SA™ on November 02, 2011, 10:28:57 AM
that isnt your php version if you are unsure speak to your host

5.1.16

that is fine you get any errors in your error logs?

I get the blank white page so I can't do anything with my forum until I literally go in through FTP and delete the Facebook directory. I suppose I can try it again and see if any new errors pop up afterwards.

Hello SA

I have the exact same problem as described above with one difference. For a longer period of time I have happily been running REV36 (with my Swedish language file) but now decided to upgrade.

After uninstalling REV36 (uninstall runs with no errors) I install REV49 (latest patch) and after installation the screen comes up with, no error messages, nothing. Can not access admin , main page or any other page. Follows the advice and deletes the whole source/facebook directory and the forum is back online.

No error message in the error log.

Strange thing is the REV36 worked just perfect.

This is on my test forum so can play around as I want. SMF Forum is 2.0.2 and the server is running the following configuration
MySQL-version: 5.1.55
PHP: 5.3.3
Server-version: Apache/2.2.20 (FreeBSD) PHP/5.3.3 with Suhosin-Patch mod_ssl/2.2.20 OpenSSL/0.9.8q

Any help appreciated, thx
Title: Re: SA Facebook Integration
Post by: SA™ on February 13, 2012, 04:40:10 PM
anything in your server error logs
Title: Re: SA Facebook Integration
Post by: leratg on February 15, 2012, 03:55:01 PM
Hello,

I have a problem with Facebook connect fonctionnality.
When I test to connect with an account, I get this error :
The page you requested could not be found. Please contact the site administrator if you believe you have reached this page in error.

The page requested is this one :
http://www.alille.com/facebookintegrate/state.[...]/

[...] has replaced a some generated key

Have you any idea?
Title: Re: SA Facebook Integration
Post by: !RFAN on February 17, 2012, 12:37:43 PM
edited
Title: Re: SA Facebook Integration
Post by: littleone on February 17, 2012, 01:16:22 PM
Since I updated January 27 or 28th, I have not had a single post get published to Facebook and I have triple checked all of my settings.  Everything appears to be set up right.  Any ideas?
Title: Re: SA Facebook Integration
Post by: nicowilh on February 17, 2012, 06:29:34 PM
Hi littleone,

I have the same problem. It works for a while, and than it stops auto publishing.

I found somebody else asking for the same: http://www.simplemachines.org/community/index.php?topic=365503.msg3254444#msg3254444

I have already asked once: http://www.simplemachines.org/community/index.php?topic=365503.msg3273276#msg3273276

Nico
Title: Re: SA Facebook Integration
Post by: distante on February 17, 2012, 09:25:06 PM
Facebook don't allow post into aplication profile walls anymore...
Title: Re: SA Facebook Integration
Post by: nicowilh on February 18, 2012, 02:14:00 AM
Thanks for your reply!

I have created a page which the app is supposed to publish on. Is this the same as a application profile wall?

Nico
Title: Re: SA Facebook Integration
Post by: distante on February 18, 2012, 04:41:28 AM
I think so, because now the "apps" don't have an own page.
Title: Re: SA Facebook Integration
Post by: SA™ on February 18, 2012, 01:57:42 PM
you have to resetup the publisher now re run thru the auth proses but eneter you fb page id first other wise it wont work correct
Title: Re: SA Facebook Integration
Post by: shorepower on February 21, 2012, 12:53:03 PM
Quote from: shorepower on February 13, 2012, 12:19:05 PM
Quote from: trekkie2444 on November 07, 2011, 04:24:08 AM
Quote from: SA™ on November 07, 2011, 12:24:42 AM
Quote from: Alex4108 on November 07, 2011, 12:06:40 AM
Quote from: SA™ on November 04, 2011, 12:54:04 AM
after install that link should take you to the fb admin panel is that where it takes you
can you pls veryfi the mod is actualy installed properly?
link to site?
theme?

It takes me to the start page of the admin panel
How am I supposed to verify?  SMF Says it's installed and functioning.  All tests passed before I installed
Link to: www.teamfear.tk
theme: Astonished

you can see from viewing you page soucre or open the install.xml and check the edits there

i can see now from you page source that it isnt installed or installed properly


Quote from: trekkie2444 on November 06, 2011, 03:20:37 AM
Quote from: SA™ on November 02, 2011, 10:28:57 AM
that isnt your php version if you are unsure speak to your host

5.1.16

that is fine you get any errors in your error logs?

I get the blank white page so I can't do anything with my forum until I literally go in through FTP and delete the Facebook directory. I suppose I can try it again and see if any new errors pop up afterwards.

Hello SA

I have the exact same problem as described above with one difference. For a longer period of time I have happily been running REV36 (with my Swedish language file) but now decided to upgrade.

After uninstalling REV36 (uninstall runs with no errors) I install REV49 (latest patch) and after installation the screen comes up with, no error messages, nothing. Can not access admin , main page or any other page. Follows the advice and deletes the whole source/facebook directory and the forum is back online.

No error message in the error log.

Strange thing is the REV36 worked just perfect.

This is on my test forum so can play around as I want. SMF Forum is 2.0.2 and the server is running the following configuration
MySQL-version: 5.1.55
PHP: 5.3.3
Server-version: Apache/2.2.20 (FreeBSD) PHP/5.3.3 with Suhosin-Patch mod_ssl/2.2.20 OpenSSL/0.9.8q

Any help appreciated, thx

Quote from: SA™ on February 13, 2012, 04:40:10 PM
anything in your server error logs
My ISP did not provide errorlogs but after a while I managed to get them Seems like there is parts of the REV36 installation still left. Do you know in which file this template? is declared so I can start checking.  I only get this error. Thx in advance

PHP Fatal error:  Cannot redeclare template_facebook_above() (previously declared in /www/webvol1/le/6vbqwak4dlpmvqx/xxx.se/public_html/Sources/Facebook/FacebookHooks.php:247) in /www/webvol1/le/6vbqwak4dlpmvqx/xxx.se/public_html/Sources/Facebook/FacebookHooks.php on line 1203
Title: Re: SA Facebook Integration
Post by: distante on February 21, 2012, 03:16:32 PM
Quote from: shorepower on February 21, 2012, 12:53:03 PM
My ISP did not provide errorlogs but after a while I managed to get them Seems like there is parts of the REV36 installation still left. Do you know in which file this template? is declared so I can start checking.  I only get this error. Thx in advance

PHP Fatal error:  Cannot redeclare template_facebook_above() (previously declared in /www/webvol1/le/6vbqwak4dlpmvqx/xxx.se/public_html/Sources/Facebook/FacebookHooks.php:247) in /www/webvol1/le/6vbqwak4dlpmvqx/xxx.se/public_html/Sources/Facebook/FacebookHooks.php on line 1203

If yo have Cpanel, you can see the error logs there.
Title: Re: SA Facebook Integration
Post by: shorepower on February 21, 2012, 04:11:31 PM
Quote from: distante on February 21, 2012, 03:16:32 PM
Quote from: shorepower on February 21, 2012, 12:53:03 PM
My ISP did not provide errorlogs but after a while I managed to get them Seems like there is parts of the REV36 installation still left. Do you know in which file this template? is declared so I can start checking.  I only get this error. Thx in advance

PHP Fatal error:  Cannot redeclare template_facebook_above() (previously declared in /www/webvol1/le/6vbqwak4dlpmvqx/xxx.se/public_html/Sources/Facebook/FacebookHooks.php:247) in /www/webvol1/le/6vbqwak4dlpmvqx/xxx.se/public_html/Sources/Facebook/FacebookHooks.php on line 1203

If yo have Cpanel, you can see the error logs there.
My ISP have limited functions and surely nothing like Cpanel. Plan to move but the error code is the one attached
Title: Re: SA Facebook Integration
Post by: SA™ on February 22, 2012, 04:01:09 PM
well that function is controled by the load_theme hook can you check in the smf_settings table in phpmyadmin for integrate_load_theme and tell me what is in there ?
Title: Re: SA Facebook Integration
Post by: distante on February 22, 2012, 11:53:50 PM
SA™, a question, do you plant have a new version/patch for the SA Facebook Integration soon?

I want to put it in my live site but if you plant a revision anytime soon, I could wait, thanks!
Title: Re: SA Facebook Integration
Post by: SA™ on February 23, 2012, 02:29:27 PM
no there wont be aleast for a few weeks now got a lot on right now
Title: Re: SA Facebook Integration
Post by: distante on February 23, 2012, 02:38:30 PM
Okas, a last question, your fb, google, and twitter integration mods are compatible between them?
Title: Re: SA Facebook Integration
Post by: shorepower on February 23, 2012, 03:27:41 PM
Quote from: SA™ on February 22, 2012, 04:01:09 PM
well that function is controled by the load_theme hook can you check in the smf_settings table in phpmyadmin for integrate_load_theme and tell me what is in there ?

Fixed the problem , the entry in the DB was corrupt.  Edited the address in the DB and the system was then up running.
Thx SA
Title: Re: SA Facebook Integration
Post by: jon@han on February 24, 2012, 08:43:35 AM
Hi,
Anyone knows if it's possible to use the Facebook integration only with a certain "group" in Facebook?

In our situation we created a closed FB Group as a means to discuss things in a protected environment. With the current setup of the Facebook mod, each comment/like/etc will be placed to a FB profile or FB page, both of which are publicly available. Which is not a desired thing in our situation.

Or is this a feature that can become available in the near future?
Title: Re: SA Facebook Integration
Post by: Zuća on February 24, 2012, 05:17:29 PM
how to change image at register and login  ?
I asked for a picture and in the index.template.php facebookhooks.php, i failed to find the
Title: Re: SA Facebook Integration
Post by: SA™ on February 25, 2012, 02:56:50 AM
@jon@han this isnt possible right now

@Zuca you can change this in facebook admin
Title: Re: SA Facebook Integration
Post by: Biology Forums on February 26, 2012, 02:07:24 PM
Cool
Title: Re: SA Facebook Integration
Post by: SA™ on February 26, 2012, 02:31:35 PM
yes it does seem to work for me tho im not sure why i dont see my copyrights there?
Title: Re: SA Facebook Integration
Post by: distante on February 26, 2012, 03:07:00 PM
There's no copyrigth of nothing there, no even the portal.
Title: Re: SA Facebook Integration
Post by: Biology Forums on February 26, 2012, 04:30:11 PM
Quote from: SA™ on February 26, 2012, 02:31:35 PM
yes it does seem to work for me tho im not sure why i dont see my copyrights there?

That's so strange, it never works whenever I try it! :-\
Title: Re: SA Facebook Integration
Post by: Kindred on February 26, 2012, 06:07:22 PM
hmmmm... he appears to be running smf 1.1.x, has removed the smf version and the copyrights for the any mod that he has installed including the gallery, arcade, staff page, Knowledge Base and facebook mods...
Title: Re: SA Facebook Integration
Post by: Cyber™ on February 26, 2012, 06:20:29 PM
Hello,

can you tell me where should I make the changes to make the mod working with specific characters (UTF-8). I have made changes in Facebook.template.php (4 replacements), but it still doesn't fix the problem with serbian letters.

Btw, great mod and thank you for making it! :)

The board: http://forum.cyber.rs/

Title: Re: SA Facebook Integration
Post by: Joseph H on February 27, 2012, 03:08:23 AM
Guys, i installed the mod and created a facebook app, i put the app id and secret in the mod. But when someone clicks on facebook loging it says error please try again latter, or the uri doesnt belong to the application. So what do i do now?
Title: Re: SA Facebook Integration
Post by: Joseph H on February 27, 2012, 03:38:45 AM
How can i i post status on behalf of those who accepted on the terms? And is it possible that when a user press allow the app will post a link on his wall like ''Donn is ____ on darforums''
Title: Re: SA Facebook Integration
Post by: littleone on February 27, 2012, 08:08:43 PM
Quote from: SA™ on February 18, 2012, 01:57:42 PM
you have to resetup the publisher now re run thru the auth proses but eneter you fb page id first other wise it wont work correct

Do we still use the App Id and the Application Secret on the configuration page?

I also did the grant permissions and put my Fanpage Id in, and thats the only thing on the page, nothing is in the access tokens.  Is that right?  when I click to grant permission, it just clicks over the my forum index.

I did a test post, but it did not post on my fan page :(  Argh... frustrating!
Title: Re: SA Facebook Integration
Post by: distante on February 27, 2012, 08:10:19 PM
Quote from: distante on February 17, 2012, 09:25:06 PM
Facebook don't allow post into aplication profile walls anymore...
Title: Re: SA Facebook Integration
Post by: littleone on February 27, 2012, 08:33:00 PM
Yea I am throughly lost and confused on fixing this.  Can we can an updated how to guide.  The one you link to in the first post, is soooo outdated and I can't even make anything out on that.  I loved this app, but I can't do anything with it and I dont know where to start or what to do.
Title: Re: SA Facebook Integration
Post by: SA™ on February 28, 2012, 12:17:19 AM
Quote from: littleone on February 27, 2012, 08:33:00 PM
Yea I am throughly lost and confused on fixing this.  Can we can an updated how to guide.  The one you link to in the first post, is soooo outdated and I can't even make anything out on that.  I loved this app, but I can't do anything with it and I dont know where to start or what to do.

http://www.sa-smf.com/community/index.php?action=kb;area=article;cont=41

Quote from: littleone on February 27, 2012, 08:08:43 PM
Quote from: SA™ on February 18, 2012, 01:57:42 PM
you have to resetup the publisher now re run thru the auth proses but eneter you fb page id first other wise it wont work correct

Do we still use the App Id and the Application Secret on the configuration page?

I also did the grant permissions and put my Fanpage Id in, and thats the only thing on the page, nothing is in the access tokens.  Is that right?  when I click to grant permission, it just clicks over the my forum index.

I did a test post, but it did not post on my fan page :(  Argh... frustrating!

ypu have to add your page id first and save it then grant permissions
Title: Re: SA Facebook Integration
Post by: littleone on February 28, 2012, 09:07:22 PM
Quote from: SA™ on February 28, 2012, 12:17:19 AM
Quote from: littleone on February 27, 2012, 08:33:00 PM
Yea I am throughly lost and confused on fixing this.  Can we can an updated how to guide.  The one you link to in the first post, is soooo outdated and I can't even make anything out on that.  I loved this app, but I can't do anything with it and I dont know where to start or what to do.

http://www.sa-smf.com/community/index.php?action=kb;area=article;cont=41

Quote from: littleone on February 27, 2012, 08:08:43 PM
Quote from: SA™ on February 18, 2012, 01:57:42 PM
you have to resetup the publisher now re run thru the auth proses but eneter you fb page id first other wise it wont work correct

Do we still use the App Id and the Application Secret on the configuration page?

I also did the grant permissions and put my Fanpage Id in, and thats the only thing on the page, nothing is in the access tokens.  Is that right?  when I click to grant permission, it just clicks over the my forum index.

I did a test post, but it did not post on my fan page :(  Argh... frustrating!

ypu have to add your page id first and save it then grant permissions

My set up is as it is indicated in your tutorial.  Have the app namespace in there.  Set to my website.

On the Configuration page I have entered the App ID and the Secret Password.  On the Publisher page I have entered the "Fan Pages" ID.  Saved.  Then hit Grant permission.  I get a pop up that ask to grant, I hit ok, it refreshes the page and I am taken to the board index.  Thats it.  Nothing has changed, and my posts still doesn't publish to FB.  If I go to the Publisher page again, the only thing listed there is my fanpage Id #

What am I missing?
Title: Re: SA Facebook Integration
Post by: SA™ on February 28, 2012, 11:23:22 PM
hmmm try removing $_SESSION['is_admin_action'] = false; from sources/facebook/facebookadmin.php
Title: Re: SA Facebook Integration
Post by: Cyber™ on February 29, 2012, 04:34:31 AM
Quote from: Cyber™ on February 26, 2012, 06:20:29 PM
Hello,

can you tell me where should I make the changes to make the mod working with specific characters (UTF-8). I have made changes in Facebook.template.php (4 replacements), but it still doesn't fix the problem with serbian letters.

Btw, great mod and thank you for making it! :)

The board: http://forum.cyber.rs/
Title: Re: SA Facebook Integration
Post by: Joseph H on February 29, 2012, 05:18:12 AM
Im having problem with the mod... it always tells me the url doesnt belong to the app...
Title: Re: SA Facebook Integration
Post by: shorepower on February 29, 2012, 09:23:21 AM
Quote from: Cyber™ on February 29, 2012, 04:34:31 AM
Quote from: Cyber™ on February 26, 2012, 06:20:29 PM
Hello,

can you tell me where should I make the changes to make the mod working with specific characters (UTF-8). I have made changes in Facebook.template.php (4 replacements), but it still doesn't fix the problem with serbian letters.

Btw, great mod and thank you for making it! :)

The board: http://forum.cyber.rs/
Have you updated the the settings for language on the Facebook control page in SMF. I had to change that for Swedish.
Believe Serbian is  SR_SP. This fixes the locale settings.

Also, I have not tried rev49 yet but had problems on earlier revisions. Think SA implemented them for later revisions but I have not checked rev49 yet and the code has been changed dramatically

This is the problems I had and the solution at the time

http://www.simplemachines.org/community/index.php?topic=365503.msg3140534#msg3140534
Title: Re: SA Facebook Integration
Post by: SA™ on February 29, 2012, 05:06:12 PM
@Cyber™ what part doesnt work with urf-8 ? the your friends part?

@Donnxxl whats you site url and what did you use in your app for the url?
http://www.sa-smf.com/community/index.php?action=kb;area=article;cont=41 may help you
Title: Re: SA Facebook Integration
Post by: shorepower on February 29, 2012, 05:36:04 PM
I have done some tests and for me, the function  were the local swedish characters do not work is "publish" (all other functions seems to work)

This is a similar problem to the one I had before on Rev 3x but instead of blanks, other characters are replacing swedish characters.

So the original sentence:

Tråden där vi drägglar på grymma vinkällare

is in Facebook converted to

Tråden där vi drägglar på grymma vinkällare

Its seems like the conversation is done through some sort of stream converter (and changed from rev3X). Perhaps SA, you could point out were this conversation for the "Publish" function is made so I could start some digging.

My system is set up with UTF-8
Title: Re: SA Facebook Integration
Post by: SA™ on February 29, 2012, 05:51:55 PM
the publish button? or when you post a topic and it goes to your fb page?
Title: Re: SA Facebook Integration
Post by: shorepower on February 29, 2012, 05:57:54 PM
Quote from: SA™ on February 29, 2012, 05:51:55 PM
the publish button? or when you post a topic and it goes to your fb page?
The publish button, I never used the auto-publish function
Title: Re: SA Facebook Integration
Post by: SA™ on February 29, 2012, 06:00:59 PM
i fault so in sources/facebook/facebookhooks.php
i already had issues with this function breaking the fb_ui publish function with special charactors


public static function facebook_showPub($data){
   
global $txt, $modSettings, $context, $board;
   
self::get_boardsfb('pub_enable',$board);
$doit = false;
 
if(empty($modSettings['fb_app_enabled']))
            return $doit;
   
$cleaned[] = array_map(array("SAFacebookhooks","facebook_htmlspecialchars"), $data);

$cleaned[0]['body'] = preg_replace('~&#x([0-9a-f]+);~ei', 'chr(hexdec("\\1"))', $cleaned[0]['body']);
        $cleaned[0]['body'] = preg_replace('~&#([0-9]+);~e', 'chr("\\1")', $cleaned[0]['body']);
        $trans_tbl = get_html_translation_table(HTML_ENTITIES);
        $trans_tbl = array_flip($trans_tbl);

$cleaned[0]['body'] = strtr($cleaned[0]['body'], $trans_tbl);

$context['fb_publish_subject'] = $cleaned[0]['subject'];
$context['fb_publish_body'] = $cleaned[0]['body'];
$context['fb_publish_href'] = $cleaned[0]['href'];

if(!empty($data['txt_label']))
    $dtxt = $data['txt_label'];
else
    $dtxt = $txt['fb_apub'];
   
if(!empty($data['isPost']) && !empty($context['pub_enable'])){
    $doit = '
    <li class="fbpub_button">
            <a href="javascript:void(0)" onclick="publishStream(\''.$context['fb_publish_subject'].'\',\''.$context['fb_publish_body'].'\',\''.$context['fb_publish_href'].'\');">'.$dtxt.'</a>
        </li>';
    }else{
    $doit = '<a href="javascript:void(0)" onclick="publishStream(\''.$context['fb_publish_subject'].'\',\''.$context['fb_publish_body'].'\',\''.$context['fb_publish_href'].'\'); return false;"><span>'.$dtxt.'</span></a>';
}

return $doit;
}
Title: Re: SA Facebook Integration
Post by: littleone on February 29, 2012, 07:56:43 PM
Quote from: SA™ on February 28, 2012, 11:23:22 PM
hmmm try removing $_SESSION['is_admin_action'] = false; from sources/facebook/facebookadmin.php

No difference.  I click the "Grant Permissions" button, then "OK" and it clicks over to the board index.  No change on the Publisher page at all.  No clue whats up.
Title: Re: SA Facebook Integration
Post by: SA™ on February 29, 2012, 08:32:19 PM
ok gimmie a day or two and ill try to sort it
Title: Re: SA Facebook Integration
Post by: Joseph H on March 01, 2012, 06:45:39 AM
Guys, is there any way that when a use clicks allow a link then is posted to his wall automaticaly? 
Title: Re: SA Facebook Integration
Post by: jimv8673 on March 01, 2012, 07:43:15 AM
Trying to use this mod on 2.0.2 with the Box-It theme and it runs completely off the page and only shows half the block ???:(
any ideas???
Title: Re: SA Facebook Integration
Post by: distante on March 01, 2012, 09:49:28 AM
Quote from: jimv8673 on March 01, 2012, 07:43:15 AM
Trying to use this mod on 2.0.2 with the Box-It theme and it runs completely off the page and only shows half the block ???:(
any ideas???

Yo need to edit the index.template of your theme manually so it can fit where you want.
Title: Re: SA Facebook Integration
Post by: Cyber™ on March 02, 2012, 08:12:00 AM
Quote from: SA™ on February 29, 2012, 05:06:12 PM
@Cyber™ what part doesnt work with urf-8 ? the your friends part?

Both parts. But the one that concerns me more is my part. Is there any solution?
Title: Re: SA Facebook Integration
Post by: Joseph H on March 02, 2012, 04:13:27 PM
Hi, it worked. But i wonder if there is a possibility that when a use click allow then a link is automatically posted to his/her wall @SA
Title: Re: SA Facebook Integration
Post by: SA™ on March 02, 2012, 04:56:55 PM
Quote from: Cyber™ on March 02, 2012, 08:12:00 AM
Quote from: SA™ on February 29, 2012, 05:06:12 PM
@Cyber™ what part doesnt work with urf-8 ? the your friends part?

Both parts. But the one that concerns me more is my part. Is there any solution?

well if you tell me what my part is i maybe able to help untill then im not playing the guessing game

Quote from: Donnxxl on March 02, 2012, 04:13:27 PM
Hi, it worked. But i wonder if there is a possibility that when a use click allow then a link is automatically posted to his/her wall @SA

it is possible tho it isnt never going to be in the mod
Title: Re: SA Facebook Integration
Post by: Cyber™ on March 02, 2012, 06:01:21 PM
Quote from: SA™ on March 02, 2012, 04:56:55 PM
well if you tell me what my part is i maybe able to help untill then im not playing the guessing game

My part means that when I (as forum admin) want to publish certain post to the Facebook, I click on Publish link. Everything works fine, except UTF-8 characters. The same thing happens for regular users who use Serbian as the boart default langugage (I'm using English, but there is no difference, I've tried to switch to Serbian).
Title: Re: SA Facebook Integration
Post by: shorepower on March 03, 2012, 05:28:28 AM
Quote from: SA™ on February 29, 2012, 06:00:59 PM
i fault so in sources/facebook/facebookhooks.php
i already had issues with this function breaking the fb_ui publish function with special charactors


public static function facebook_showPub($data){
   
global $txt, $modSettings, $context, $board;
   
self::get_boardsfb('pub_enable',$board);
$doit = false;
 
if(empty($modSettings['fb_app_enabled']))
            return $doit;
   
$cleaned[] = array_map(array("SAFacebookhooks","facebook_htmlspecialchars"), $data);

$cleaned[0]['body'] = preg_replace('~&#x([0-9a-f]+);~ei', 'chr(hexdec("\\1"))', $cleaned[0]['body']);
        $cleaned[0]['body'] = preg_replace('~&#([0-9]+);~e', 'chr("\\1")', $cleaned[0]['body']);
        $trans_tbl = get_html_translation_table(HTML_ENTITIES);
        $trans_tbl = array_flip($trans_tbl);

$cleaned[0]['body'] = strtr($cleaned[0]['body'], $trans_tbl);

$context['fb_publish_subject'] = $cleaned[0]['subject'];
$context['fb_publish_body'] = $cleaned[0]['body'];
$context['fb_publish_href'] = $cleaned[0]['href'];

if(!empty($data['txt_label']))
    $dtxt = $data['txt_label'];
else
    $dtxt = $txt['fb_apub'];
   
if(!empty($data['isPost']) && !empty($context['pub_enable'])){
    $doit = '
    <li class="fbpub_button">
            <a href="javascript:void(0)" onclick="publishStream(\''.$context['fb_publish_subject'].'\',\''.$context['fb_publish_body'].'\',\''.$context['fb_publish_href'].'\');">'.$dtxt.'</a>
        </li>';
    }else{
    $doit = '<a href="javascript:void(0)" onclick="publishStream(\''.$context['fb_publish_subject'].'\',\''.$context['fb_publish_body'].'\',\''.$context['fb_publish_href'].'\'); return false;"><span>'.$dtxt.'</span></a>';
}

return $doit;
}

I have been looking into this and have not found a solution to the problem. I do understand the problem which is that somewhere it the program the byte stream is believed to be ISO-8859-1 instead of UTF-8 and the conversation is wrong (think this is the problem that Cyber has as well)

One thing I have been trying is to add the UTF-8 flag to HTML_ENTITIES as the the default value for PHP versions prior to 5.4 is ISO-8859-1. I'm running PHP 5.3.3 so I thought this was the problem but I have not managed to get it to work.

(for reference see under encoding in the PHP manual http://www.php.net/manual/en/function.htmlentities.php)

Changed two places and added the UTF-8 flag. If I have tried with quotes,without quotes. Not being an PHP coder I have some problems with the semantic of the language.

static function facebook_htmlspecialchars($data){
   
$data = strip_tags($data);
$data = htmlspecialchars(htmlentities($data, ENT_QUOTES, "UTF-8"), ENT_QUOTES, "UTF-8");
return $data;


and once in the code you pointed out earlier

$cleaned[0]['body'] = preg_replace('~&#x([0-9a-f]+);~ei', 'chr(hexdec("\\1"))', $cleaned[0]['body']);
        $cleaned[0]['body'] = preg_replace('~&#([0-9]+);~e', 'chr("\\1")', $cleaned[0]['body']);
        $trans_tbl = get_html_translation_table(HTML_ENTITIES,"UTF-8");
        $trans_tbl = array_flip($trans_tbl);
");


First, any comments on the coding, perhaps I entered the UTF-8 flag incorrectly. If this does not solve the problem there must be another place in the code were the program belives the stream is ISO-8859-1.
Title: Re: SA Facebook Integration
Post by: SA™ on March 03, 2012, 05:46:55 AM
i have a feeling it is this part get_html_translation_table(HTML_ENTITIES); that is the issue

try this find
get_html_translation_table(HTML_ENTITIES);
replace with
self::translation_table_to_utf8(HTML_ENTITIES);

find
public static function facebook_showPub($data){
before add
static function translation_table_to_utf8($arTranslationtable)
    {
        //loop through the array and convert everything both keys and values
        foreach($arTranslationtable as $charkey => $char)
        {
            $charkey = utf8_encode($charkey);
            $arUTFchars[$charkey]= utf8_encode($char);
        }
        return $arUTFchars;
    }


this is untested though so pls back up before trying ill look into it more after work
Title: Re: SA Facebook Integration
Post by: shorepower on March 03, 2012, 12:50:29 PM
Quote from: SA™ on March 03, 2012, 05:46:55 AM
i have a feeling it is this part get_html_translation_table(HTML_ENTITIES); that is the issue

try this find
get_html_translation_table(HTML_ENTITIES);
replace with
self::translation_table_to_utf8(HTML_ENTITIES);

find
public static function facebook_showPub($data){
before add
static function translation_table_to_utf8($arTranslationtable)
    {
        //loop through the array and convert everything both keys and values
        foreach($arTranslationtable as $charkey => $char)
        {
            $charkey = utf8_encode($charkey);
            $arUTFchars[$charkey]= utf8_encode($char);
        }
        return $arUTFchars;
    }


this is untested though so pls back up before trying ill look into it more after work
Thx SA, I will test this tomorrow.  I have a complete setup with a test site, FB etc for test that I use before I take any modification into my main site. Still running rev36 on the main site :)
Title: Re: SA Facebook Integration
Post by: Joseph H on March 03, 2012, 01:47:55 PM
Thnx SA, I hope u dont mind giving me the knowledge on how to have an app which post a link automatically to a persons wall even if its out of the mod
Title: Re: SA Facebook Integration
Post by: nfh on March 04, 2012, 01:30:53 AM
Hi,
I just finished setting up a website using SMF for the first time. I also installed this SA Facebook Integration addon, hoping to get a seamless integration between Facebook and my forum.

I thought that the "Connect with Facebook" provided a straightforward way to use Facebook authentication for loggin in on the SMF site. Nonetheless, when I click on the "Connect with Facebook" button, after complying with the agreement text, I'm redirected to a registration form which has my username set as "firstname.lastname" and two fields for a password (password + confirmation).

Wasn't is suppose to logon imediately? Or is this registration procedure really necessary while using Connect with Facebook?

Best regards.
Title: Re: SA Facebook Integration
Post by: SA™ on March 04, 2012, 02:20:37 AM
Quote from: shorepower on March 03, 2012, 12:50:29 PM
Quote from: SA™ on March 03, 2012, 05:46:55 AM
i have a feeling it is this part get_html_translation_table(HTML_ENTITIES); that is the issue

try this find
get_html_translation_table(HTML_ENTITIES);
replace with
self::translation_table_to_utf8(HTML_ENTITIES);

find
public static function facebook_showPub($data){
before add
static function translation_table_to_utf8($arTranslationtable)
    {
        //loop through the array and convert everything both keys and values
        foreach($arTranslationtable as $charkey => $char)
        {
            $charkey = utf8_encode($charkey);
            $arUTFchars[$charkey]= utf8_encode($char);
        }
        return $arUTFchars;
    }


this is untested though so pls back up before trying ill look into it more after work
Thx SA, I will test this tomorrow.  I have a complete setup with a test site, FB etc for test that I use before I take any modification into my main site. Still running rev36 on the main site :)

ok it seems just changing

static function facebook_htmlspecialchars($data){
   
$data = strip_tags($data);
$data = htmlspecialchars(htmlentities($data, ENT_QUOTES), ENT_QUOTES);
return $data;
}


to

static function facebook_htmlspecialchars($data){
   
$data = strip_tags($data);
$data = htmlspecialchars(htmlentities($data, ENT_QUOTES, "UTF-8"), ENT_QUOTES, "UTF-8");
return $data;
}


works for me

Quote from: nfh on March 04, 2012, 01:30:53 AM
Hi,
I just finished setting up a website using SMF for the first time. I also installed this SA Facebook Integration addon, hoping to get a seamless integration between Facebook and my forum.

I thought that the "Connect with Facebook" provided a straightforward way to use Facebook authentication for loggin in on the SMF site. Nonetheless, when I click on the "Connect with Facebook" button, after complying with the agreement text, I'm redirected to a registration form which has my username set as "firstname.lastname" and two fields for a password (password + confirmation).

Wasn't is suppose to logon imediately? Or is this registration procedure really necessary while using Connect with Facebook?

Best regards.

what you see if the first register if you ajint synces to fb you only see that part once
Title: Re: SA Facebook Integration
Post by: shorepower on March 04, 2012, 08:38:52 AM
Quote from: SA™ on March 04, 2012, 02:20:37 AM
Quote from: shorepower on March 03, 2012, 12:50:29 PM
Quote from: SA™ on March 03, 2012, 05:46:55 AM
i have a feeling it is this part get_html_translation_table(HTML_ENTITIES); that is the issue

try this find
get_html_translation_table(HTML_ENTITIES);
replace with
self::translation_table_to_utf8(HTML_ENTITIES);

find
public static function facebook_showPub($data){
before add
static function translation_table_to_utf8($arTranslationtable)
    {
        //loop through the array and convert everything both keys and values
        foreach($arTranslationtable as $charkey => $char)
        {
            $charkey = utf8_encode($charkey);
            $arUTFchars[$charkey]= utf8_encode($char);
        }
        return $arUTFchars;
    }


this is untested though so pls back up before trying ill look into it more after work
Thx SA, I will test this tomorrow.  I have a complete setup with a test site, FB etc for test that I use before I take any modification into my main site. Still running rev36 on the main site :)

ok it seems just changing

static function facebook_htmlspecialchars($data){
   
$data = strip_tags($data);
$data = htmlspecialchars(htmlentities($data, ENT_QUOTES), ENT_QUOTES);
return $data;
}


to

static function facebook_htmlspecialchars($data){
   
$data = strip_tags($data);
$data = htmlspecialchars(htmlentities($data, ENT_QUOTES, "UTF-8"), ENT_QUOTES, "UTF-8");
return $data;
}


works for me

Works for me as well, perfekt. Fixed the UTF-8 problem and Swedish characters are now correct. Perhaps it's the same problem Cyber had.

Thx SA, good support as always
Title: Re: SA Facebook Integration
Post by: SA™ on March 04, 2012, 02:35:35 PM
great thanks for testing ill push this to the next update
Title: Re: SA Facebook Integration
Post by: Joseph H on March 05, 2012, 12:41:51 AM
There is something i don't realy understand...  the part for the publisher, and the tokens.

1. Is it possible to post on behalf of my fans from the mod?

2. Whose profile ID is required before the access tokens part in the mod (publisher)

please help me on this small issue of understanding....
Title: Re: SA Facebook Integration
Post by: SA™ on March 05, 2012, 11:54:54 AM
1. no the publisher only publishes to you fb page or profile
2.you facebbook profile id
Title: Re: SA Facebook Integration
Post by: distante on March 07, 2012, 12:46:22 AM
SA™  I have a couple of doubts, see,

Title: Re: SA Facebook Integration
Post by: gafai on March 07, 2012, 02:28:59 AM
Hi
when try "connect with facebook" or "profile - facebook"
CurlException: 6: Could not resolve host: graph.facebook.com; Connection timed out
or "profile - facebook"
CurlException: 6: Could not resolve host: graph.facebook.com; Cannot allocate memory







Technical:
SA Facebook    2.0 RC2-1 Rev49
SMF: SMF 2.0.2
www.ja.citam.info
Title: Re: SA Facebook Integration - Problem with og:image tags
Post by: Skyflash on March 07, 2012, 03:15:47 AM
Hi. Sorry for my horrible english :(

i'm using your great plugin, and i think it have a trouble on the publishing system. The FB is correctly created, every opengraph is inserted in post (oh, yesterday i manually edited FacebookHooks.php ad added og:app_id to the tags :) )

But, when i press "Publish" link on a post, the post is published on FB without the picture i set in the options for og:image tag. Pls, look the attached picture.

Similar problem is the auto publishing function (i set tu auto publish on the fb fanpage), with the only difference that the grabbed picture is one of posting-related standard smf icons  :o (second attached image)
Title: Re: SA Facebook Integration
Post by: distante on March 07, 2012, 11:44:21 AM
Quote from: Kindred on February 08, 2012, 11:13:41 PM
So, after some additional testings, it would appearf that the embedding does cause issues...

actually, I don't think it ever will be.


every facebook "script" that I have seen chokes if there is ANY other javascript on the page.
This included embedding, highslide, jquery or just about anything that affects the content of the page.

It's a facebook problem, no a problem with the rest.


I fixed some of this problems with the (radical) option of delete a couple of references to .js files, and copy the content into the scripts.js file in the default_theme/scripts dir
Title: Re: SA Facebook Integration
Post by: distante on March 07, 2012, 12:15:05 PM
Quote from: shorepower on March 04, 2012, 08:38:52 AM
Quote from: SA™ on March 04, 2012, 02:20:37 AM
Quote from: shorepower on March 03, 2012, 12:50:29 PM
Quote from: SA™ on March 03, 2012, 05:46:55 AM
i have a feeling it is this part get_html_translation_table(HTML_ENTITIES); that is the issue

try this find
get_html_translation_table(HTML_ENTITIES);
replace with
self::translation_table_to_utf8(HTML_ENTITIES);

find
public static function facebook_showPub($data){
before add
static function translation_table_to_utf8($arTranslationtable)
    {
        //loop through the array and convert everything both keys and values
        foreach($arTranslationtable as $charkey => $char)
        {
            $charkey = utf8_encode($charkey);
            $arUTFchars[$charkey]= utf8_encode($char);
        }
        return $arUTFchars;
    }


this is untested though so pls back up before trying ill look into it more after work
Thx SA, I will test this tomorrow.  I have a complete setup with a test site, FB etc for test that I use before I take any modification into my main site. Still running rev36 on the main site :)

ok it seems just changing

static function facebook_htmlspecialchars($data){
   
$data = strip_tags($data);
$data = htmlspecialchars(htmlentities($data, ENT_QUOTES), ENT_QUOTES);
return $data;
}


to

static function facebook_htmlspecialchars($data){
   
$data = strip_tags($data);
$data = htmlspecialchars(htmlentities($data, ENT_QUOTES, "UTF-8"), ENT_QUOTES, "UTF-8");
return $data;
}


works for me

Works for me as well, perfekt. Fixed the UTF-8 problem and Swedish characters are now correct. Perhaps it's the same problem Cyber had.

Thx SA, good support as always

This wasn't working for me (spanish forum with utf) so I add an extra line, so the code become this:


static function facebook_htmlspecialchars($data){

   

$data = strip_tags($data);

$data = htmlspecialchars(htmlentities($data, ENT_QUOTES), ENT_QUOTES);
$data = htmlspecialchars_decode($data);
return $data;

}
Title: Re: SA Facebook Integration
Post by: shorepower on March 07, 2012, 12:43:46 PM
Quote from: distante on March 07, 2012, 12:15:05 PM
Quote from: shorepower on March 04, 2012, 08:38:52 AM
Quote from: SA™ on March 04, 2012, 02:20:37 AM
Quote from: shorepower on March 03, 2012, 12:50:29 PM
Quote from: SA™ on March 03, 2012, 05:46:55 AM
i have a feeling it is this part get_html_translation_table(HTML_ENTITIES); that is the issue

try this find
get_html_translation_table(HTML_ENTITIES);
replace with
self::translation_table_to_utf8(HTML_ENTITIES);

find
public static function facebook_showPub($data){
before add
static function translation_table_to_utf8($arTranslationtable)
    {
        //loop through the array and convert everything both keys and values
        foreach($arTranslationtable as $charkey => $char)
        {
            $charkey = utf8_encode($charkey);
            $arUTFchars[$charkey]= utf8_encode($char);
        }
        return $arUTFchars;
    }


this is untested though so pls back up before trying ill look into it more after work
Thx SA, I will test this tomorrow.  I have a complete setup with a test site, FB etc for test that I use before I take any modification into my main site. Still running rev36 on the main site :)

ok it seems just changing

static function facebook_htmlspecialchars($data){
   
$data = strip_tags($data);
$data = htmlspecialchars(htmlentities($data, ENT_QUOTES), ENT_QUOTES);
return $data;
}


to

static function facebook_htmlspecialchars($data){
   
$data = strip_tags($data);
$data = htmlspecialchars(htmlentities($data, ENT_QUOTES, "UTF-8"), ENT_QUOTES, "UTF-8");
return $data;
}


works for me

Works for me as well, perfekt. Fixed the UTF-8 problem and Swedish characters are now correct. Perhaps it's the same problem Cyber had.

Thx SA, good support as always

This wasn't working for me (spanish forum with utf) so I add an extra line, so the code become this:


static function facebook_htmlspecialchars($data){

   

$data = strip_tags($data);

$data = htmlspecialchars(htmlentities($data, ENT_QUOTES), ENT_QUOTES);
$data = htmlspecialchars_decode($data);
return $data;

}

Which PHP version are you running? I understand the from 5.4 UTF-8 is the standard decoding value and as the host I'm on is running 5.3.3 the UTF-8 flag that do be set
Title: Re: SA Facebook Integration
Post by: distante on March 07, 2012, 12:53:36 PM
I have 5.3.10
Title: Re: SA Facebook Integration
Post by: SA™ on March 07, 2012, 01:13:42 PM
@Skyflash

the auto publishing function only grabs an image from the post if there isnt one it uses the topic icon instead
the publish button should use the og image tag as that uses the fb_ui funtions to publish

@distante
you can use the social hooks in fb admin to show the login button on other themes
QuoteIf I already have a FB page, do you know if its possible to link this page to the application?
yes you can edit you page to make it link to you app
Quotewhere Can I change the word "publish" in the topic's messages?
facebook.english.php



Title: Re: SA Facebook Integration
Post by: distante on March 07, 2012, 01:27:46 PM
Thanks, I will look the hooks

Also I'm translating the file into spanish, I will post it here later when I finish

Other thing I remember in a few pages back in this topic that someone post something about sharing post with youtube videos, Did you know how to fix this?

Because, for example, I can't publish anything before this post (http://www.desadaptados.net/zona-de-trafico/desahogate-v-2/msg82892/#msg82892) but with the ones after there's no problem.
Title: Re: SA Facebook Integration
Post by: Skyflash on March 07, 2012, 01:30:25 PM
Quote from: SA™ on March 07, 2012, 01:13:42 PM
@Skyflash
the auto publishing function only grabs an image from the post if there isnt one it uses the topic icon instead
the publish button should use the og image tag as that uses the fb_ui funtions to publish
But the fact is that the publish button don't uses the og:image specified :)
It grabs the first image found in the post, that is one of standard icons of SMF :(

How can i "fix" this?
Title: Re: SA Facebook Integration
Post by: Skyflash on March 07, 2012, 01:34:47 PM
Quote from: SA™ on March 07, 2012, 01:13:42 PM
@Skyflash
the auto publishing function only grabs an image from the post if there isnt one it uses the topic icon instead
the publish button should use the og image tag as that uses the fb_ui funtions to publish
You may test it, for example, in this post (http://www.doaitalia.it/novita-e-annunci/aggiunta-licona-rss-su-ogni-forum-t30.0.html)

Reading the source code:

<title>Aggiunta l'icona RSS su ogni forum</title>
<meta property="fb:app_id" content="305374082858920" />
<meta property="og:type" content="article" />
<meta property="og:image" content="http://www.doaitalia.it/fblogo_150x150.png" />
<meta property="og:site_name" content="Dragons of Atlantis Italia" />
<meta property="og:title" content="Aggiunta l'icona RSS su ogni forum" />
  <meta property="fb:admins" content="682839815" />
<meta property="og:url" content="http://www.doaitalia.it/novita-e-annunci/aggiunta-licona-rss-su-ogni-forum-t30.0.html" />


But when you click on Publish button, no image is added to the post :(
Title: Re: SA Facebook Integration
Post by: SA™ on March 07, 2012, 01:38:06 PM
@Skyflash
yes cos it never has :D the publish auto publish doesnt use the og:image tag it works different the og:image tage is for like and share

you can search for in sources/facebook/facebookhooks.php
$attachment['picture'] = $context['fb_pub_img']; and chnage  $context['fb_pub_img'] to your own image


@distante
not sure yet im lookin into theese issue
Title: Re: SA Facebook Integration
Post by: distante on March 07, 2012, 01:44:36 PM
Quote from: SA™ on March 07, 2012, 01:38:06 PM
@Skyflash
yes cos it never has :D the publish auto publish doesnt use the og:image tag it works different the og:image tage is for like and share

you can search for in sources/facebook/facebookhooks.php
$attachment['picture'] = $context['fb_pub_img']; and chnage  $context['fb_pub_img'] to your own image

If there's no image in the post, $context['fb_pub_img'] returns null? or empty? because if that is how it works, then a If sentence will be better, like

Quote from:  "seudo code"
IF [there's no $context['fb_pub_img']
      then
$attachment['picture'] = whatever I want

Quote from: SA™ on March 07, 2012, 01:38:06 PM
@distante
not sure yet im lookin into theese issue

I just saw the forum of Skyflash and he have a youtube video there... so the problem will be with the AEVA lite mod?
Title: Re: SA Facebook Integration
Post by: Skyflash on March 07, 2012, 01:45:13 PM
Quote from: SA™ on March 07, 2012, 01:38:06 PM
@Skyflash
yes cos it never has :D the publish auto publish doesnt use the og:image tag it works different the og:image tage is for like and share
Sorry for my bad english, but i don't understood :(
Try explaining me like i'm a lamer :D

Quote
you can search for in sources/facebook/facebookhooks.php
$attachment['picture'] = $context['fb_pub_img']; and chnage  $context['fb_pub_img'] to your own image
This is understood. I have to change your code and set my image. Yes?

Other question: i'm a blogger and i use Wordpress from maaaaaany years (was 2005 :) )
FB plugins for WP grabs the first image is found, or the og:image set in preferences, or the default image of the post. So i can "play" with images, and set now in one post a picture, and in another post other picture.

Is possible to create something similar for a forum like SMF?
Title: Re: SA Facebook Integration
Post by: Skyflash on March 07, 2012, 01:48:36 PM
Quote from: distante on March 07, 2012, 01:44:36 PM
I just saw the forum of Skyflash and he have a youtube video there... so the problem will be with the AEVA lite mod?
No, same thing on all the posts in any section :)

But... probably i'm new that i'm SMF newbie :) ... but... HOW i have to "add" images in posts?
Now i'm using ILA mod, that permits me "embedding" images in fullsize in the location i want, with simple shortcodes.
There's any other methods?
Title: Re: SA Facebook Integration
Post by: SA™ on March 07, 2012, 02:07:15 PM
QuoteIf there's no image in the post, $context['fb_pub_img'] returns null? or empty? because if that is how it works, then a If sentence will be better, like

no that check for an image in the post using the img tags if there isnt one it will use the topic ican instead this is still subject to chnage tho as i wanted it to also grab yt vids aswell
Title: Re: SA Facebook Integration
Post by: distante on March 07, 2012, 04:14:51 PM
Quote from: SA™ on March 07, 2012, 01:13:42 PM
QuoteIf I already have a FB page, do you know if its possible to link this page to the application?
yes you can edit you page to make it link to you app

SA, this have to be set in the apps facebook page or in the mod?, because the app page just give me the option to "create a community page for your app", and If I click that, the page is created, but I can't changed to my facebook fans page.

see:
(http://i43.tinypic.com/110k9bs.png)

I know this is not directly mod related, but maybe you know where can I point the app to my Fans Page.

;) Thanks!
Title: Re: SA Facebook Integration
Post by: Skyflash on March 07, 2012, 04:18:11 PM
Quote from: distante on March 07, 2012, 04:14:51 PM
SA, this have to be set in the apps facebook page or in the mod?, because the app page just give me the option to "create a community page for your app", and If I click that, the page is created, but I can't changed to my facebook fans page.
The page will not be "changed", but "redirected :)
After the linking, if a user clicks on "Go to the application" he'll be redirected to the fan page :)
Title: Re: SA Facebook Integration
Post by: Skyflash on March 07, 2012, 04:24:03 PM
Quote from: distante on March 07, 2012, 04:14:51 PM

(http://i43.tinypic.com/110k9bs.png)

I know this is not directly mod related, but maybe you know where can I point the app to my Fans Page.
In this box, you can create a new page OR link an existent page :D
Title: Re: SA Facebook Integration
Post by: distante on March 07, 2012, 04:45:33 PM
Quote from: Skyflash on March 07, 2012, 04:24:03 PM
Quote from: distante on March 07, 2012, 04:14:51 PM

(http://i43.tinypic.com/110k9bs.png)

I know this is not directly mod related, but maybe you know where can I point the app to my Fans Page.
In this box, you can create a new page OR link an existent page :D

I can't find the way to link, because, if I click in the name, it take's me to a new created page. And If a Click the X button, just erase that page, and show me a "create a page" buttom, and then it create a new one... it's an infinite loop!
Title: Re: SA Facebook Integration
Post by: Skyflash on March 07, 2012, 04:55:34 PM
Quote from: distante on March 07, 2012, 04:45:33 PM
I can't find the way to link, because, if I click in the name, it take's me to a new created page. And If a Click the X button, just erase that page, and show me a "create a page" buttom, and then it create a new one... it's an infinite loop!
Ummmh... probably i'm telling something wrong, but... your page is updated to the new journal, or has the old style?
My page (created BEFORE the link; i've made the link this morning, but the page was created last week) has the new journal style, and i'm sure it's linked to the app
Title: Re: SA Facebook Integration
Post by: distante on March 07, 2012, 05:17:51 PM
My page have a month or so, and I don't have the new layout yet... that could be the reason?
Title: Re: SA Facebook Integration
Post by: SA™ on March 07, 2012, 06:39:06 PM
http://www.sa-smf.com/community/index.php?topic=1463.0

see that
Title: Re: SA Facebook Integration
Post by: distante on March 07, 2012, 06:50:26 PM
Thanks, I changed the name of my fan page to the same as my app (desadaptados.net), my facebook page name (the one in ww.face/blalbal is different but I think this doesn't matter, don't?)

Now wait until facebook ask me for the migration, thank you SA!
Title: Re: SA Facebook Integration
Post by: distante on March 07, 2012, 07:22:03 PM
SA, the bbc tags are been cleanead in the mod before send the post content to facebook?
Title: Re: SA Facebook Integration
Post by: SA™ on March 07, 2012, 07:37:34 PM
yes they should be removed before going to fb
Title: Re: SA Facebook Integration
Post by: nfh on March 08, 2012, 12:05:25 PM
Quote from: SA™ on March 04, 2012, 02:20:37 AM
Quote from: nfh on March 04, 2012, 01:30:53 AM
Hi,
I just finished setting up a website using SMF for the first time. I also installed this SA Facebook Integration addon, hoping to get a seamless integration between Facebook and my forum.

I thought that the "Connect with Facebook" provided a straightforward way to use Facebook authentication for loggin in on the SMF site. Nonetheless, when I click on the "Connect with Facebook" button, after complying with the agreement text, I'm redirected to a registration form which has my username set as "firstname.lastname" and two fields for a password (password + confirmation).

Wasn't is suppose to logon imediately? Or is this registration procedure really necessary while using Connect with Facebook?

Best regards.

what you see if the first register if you ajint synces to fb you only see that part once

I'm sorry, but I didn't fully understand what you mean... is that registration step normal? Or am I doing something wrong?
Do you have any live demo of a SMF forum where you're using this plugin for registering, so that I can check out how it is supposed to work?
Title: Re: SA Facebook Integration
Post by: distante on March 08, 2012, 12:29:05 PM
Hey SA™!

I have a problem with the login,

see, The mod is working fine, BUT since I use Pretty URLs, for some reason, when I login with FB instead of keeping me in the same place, after I log the mod is kicking me out to the index...

Any Ideas what can I do?


Also, Im using The ILA mod (in Line Attachemenst) and it use a code like [attach=1] (for the 1st attach) and this isn't filtered when I share a post in facebook.


Thanks!
Title: Re: SA Facebook Integration
Post by: SA™ on March 08, 2012, 03:37:30 PM
@nfh http://www.sa-smf.com/ you can try it there
what you see there you only see once when registering via fb

@distante
Quotesee, The mod is working fine, BUT since I use Pretty URLs, for some reason, when I login with FB instead of keeping me in the same place, after I log the mod is kicking me out to the index...
have you tryed to disbale purls for the fb mod mod?

QuoteAlso, Im using The ILA mod (in Line Attachemenst) and it use a code like [attach=1] (for the 1st attach) and this isn't filtered when I share a post in facebook.

not sure yet have to look into this one
Title: Re: SA Facebook Integration
Post by: Skyflash on March 08, 2012, 04:00:51 PM
Quote from: SA™ on March 08, 2012, 03:37:30 PM
QuoteAlso, Im using The ILA mod (in Line Attachemenst) and it use a code like [attach=1] (for the 1st attach) and this isn't filtered when I share a post in facebook.
not sure yet have to look into this one
I confirm, @distante is right :)
I'm using ILA too, and the "problem" is the same. Look
Title: Re: SA Facebook Integration
Post by: distante on March 08, 2012, 04:09:28 PM
@LA ™
Quote from: SA™ on March 08, 2012, 03:37:30 PM
@distante
Quotesee, The mod is working fine, BUT since I use Pretty URLs, for some reason, when I login with FB instead of keeping me in the same place, after I log the mod is kicking me out to the index...
have you tryed to disbale purls for the fb mod mod?

I tryied now, skipping the facebook action, but still kicks me to the index, exactly to: http://www.desadaptados.net/#_=_ (http://www.desadaptados.net/#_=_)

There's another action involved in the login process?
Title: Re: SA Facebook Integration
Post by: SA™ on March 08, 2012, 04:13:43 PM
yes theres two actions facebookintegrate and facebook
Title: Re: SA Facebook Integration
Post by: distante on March 08, 2012, 04:30:13 PM
Nothing, I added
facebook,facebookintegrate
And nothing :(
Title: Re: SA Facebook Integration
Post by: distante on March 08, 2012, 09:03:45 PM
/me messing around with the code.

So far, I find that this lines where the redirect path is config in the FacebookIntegrate.php file


if (empty($_SESSION['login_url']) && isset($_SESSION['old_url']) && strpos($_SESSION['old_url'], 'dlattach') === false && preg_match('~(board|topic)[=,]~', $_SESSION['old_url']) != 0)

$_SESSION['login_url'] = $_SESSION['old_url'];


/me obsessed with find the solution

Let's see,  there you are checking for the board|topic strings, but since I use PrettyUrls, I don't have board/topic info, so i used part of code that I used in my (very simple, awful but yet useful) mod:  Remember Position After Login/Logout (http://custom.simplemachines.org/mods/index.php?mod=2714), and change a little bit the way that SA Facebook obtain the login_url


//distante's modification for SA Facebook correct redirect in www.desadaptados.nets
  if (!empty($_SERVER['HTTP_REFERER'])) // The server Nows where I am!
{
$_SESSION['old_url'] = $_SERVER['HTTP_REFERER']; // Tell to SA Facebook Mod, where I am!!
}
 
        //if (empty($_SESSION['login_url']) && isset($_SESSION['old_url']) && strpos($_SESSION['old_url'], 'dlattach') === false && preg_match('~(board|topic)[=,]~', $_SESSION['old_url']) != 0)

// Now I don't Need to check for board|topic preg_match
if (empty($_SESSION['login_url']) && isset($_SESSION['old_url'])$)

        $_SESSION['login_url'] = $_SESSION['old_url'];


Works with or without PrettyUrls enable and no need to disable prettyUrls of facebook actions for login.





/me banging his head against the table

Now I have the problem that, If I clic "login with facebook" and I'm not Log in facebook yet (so I the SA Face mod sends me to facebook to login) when I log into facebook and return to the forum, It kick's me to the index!!!

I can't find the way to fix this.
Title: Re: SA Facebook Integration
Post by: nfh on March 08, 2012, 09:33:28 PM
Now I ran onto another problem: I have one board on my forum that has permissions enabled for publishing, likes and comments. Nonetheless, when someone posts a new topic on that board, the plugin doesn't post on my Facebook as expected.
I have the Facebook app authorized on my profile and I have the proper Facebook Page ID configured on the Publisher settings page. Furthermore, it already functioned properly, but for some reason it stopped working (I didn't do anything special with my forum). It had already happen before, but I solved it by unauthorizing the Facebook App on my Facebook profile and reauthorizing it through the Facebook Integration admin panel.

I am aware that this might be a shot in the dark for you, but I suppose that someone else already had this problem before. Any suggestion of what might be causing this?

EDIT: after some fiddling, I got it to work again. I didn't do anything special, I just unauthorized it on my Facebook, authorized it again on SMF and that's it. Nonetheless, that's strange.
Title: Re: SA Facebook Integration
Post by: netpaydays on March 09, 2012, 06:34:32 AM
I am constantly getting this error:
You Are not Connected With Facebook!

--------------------------------------------------------------------------------
Integrate forum account with Facebook.

anything i can do about that?
Title: Re: SA Facebook Integration
Post by: distante on March 09, 2012, 05:41:07 PM
/me bothering again

When I publish a comment that have an IMG tag, the tag is stripped but the image doesn't get showed in FA.
Title: Re: SA Facebook Integration
Post by: SA™ on March 09, 2012, 06:18:59 PM
@nfh
yeah this happens from time to time not sure why but reauthorisaation usaly does the trick

@netpaydays
yep im aware of this error it should be fixed in the next version

@distante
yes that how it supposed to work it removes bbc tags and anything inside them

Title: Re: SA Facebook Integration
Post by: distante on March 09, 2012, 07:14:15 PM
oh, and never shows any pic when I post "publish to fb" ?

also did you looked here? : http://www.simplemachines.org/community/index.php?topic=365503.msg3289933#msg3289933
Title: Re: SA Facebook Integration
Post by: distante on March 09, 2012, 09:43:56 PM
After the fix for the UTF-8 content in the post I was having a problem with The titles
(http://i39.tinypic.com/346udnc.png)

So I was messing around with the code, and add a simple function in the file FacebookHooks.php
Code (Find) Select

$context['fb_publish_subject'] = $cleaned[0]['subject'];


Code (Replace) Select
$context['fb_publish_subject'] = html_entity_decode($cleaned[0]['subject']);


Result :
(http://i44.tinypic.com/261z40o.png)

Now I'm still on the search of
Title: Re: SA Facebook Integration
Post by: shorepower on March 10, 2012, 03:33:12 AM
Quote from: distante on March 09, 2012, 09:43:56 PM
After the fix for the UTF-8 content in the post I was having a problem with The titles
(http://i39.tinypic.com/346udnc.png)

So I was messing around with the code, and add a simple function in the file FacebookHooks.php
Code (Find) Select

$context['fb_publish_subject'] = $cleaned[0]['subject'];


Code (Replace) Select
$context['fb_publish_subject'] = html_entity_decode($cleaned[0]['subject']);


Result :
(http://i44.tinypic.com/261z40o.png)

Now I'm still on the search of
  • How to remember my log position when the forum send me to FB to log in order to log in the forum.
  • How to publish posts where I have pictures added, with [nobb][img][/nobbc] tag or [attach] tag (of the ILA mod)
It's interesting that the first fix SA did for me did not work for you. I will try your changes to the UTF-8 and see if it work if my system
Title: Re: SA Facebook Integration
Post by: SA™ on March 10, 2012, 04:13:39 AM
distante is correct $context['fb_publish_subject'] = $cleaned[0]['subject']; was never cleaned poperly i missed this:D
Title: Re: SA Facebook Integration
Post by: distante on March 10, 2012, 10:09:00 AM
To be added to the next realease! hehe :P




SA™, when I try to log into my forum and I'm no logged into facebook, witch function is used? because I still can't figure it out how to grab the page where I am to get back to there after go to the facebook page to login.
Title: Re: SA Facebook Integration
Post by: SA™ on March 10, 2012, 03:28:27 PM
sources/facebook/facebookintergrate.php

this function handals the login part

public function fb_log(){
       
global $fb_hook_object, $smcFunc, $fb_object, $user_info, $scripturl, $modSettings, $sourcedir;

$face_userid['id_member'] = $fb_hook_object->face_USettings($fb_object->user_info_fbid,'id_member','fbid');
        $face_pass['passwd'] = $fb_hook_object->face_USettings($face_userid['id_member'],'passwd','id_member');
        $face_passsalt['password_salt'] = $fb_hook_object->face_USettings($face_userid['id_member'],'password_salt','id_member');
 
        $modSettings['cookieTime'] = 3153600;
 
        require_once($sourcedir.'/Subs-Auth.php');
        include_once($sourcedir.'/LogInOut.php');
        setLoginCookie(60 * $modSettings['cookieTime'], $face_userid['id_member'], sha1($face_pass['passwd'].$face_passsalt['password_salt']));
 
        $face_pwp['fbpw'] = $fb_hook_object->face_USettings($face_userid['id_member'],'fbpw','id_member');
 
        if(!empty($face_pwp['fbpw'])){setcookie("pwdone", 1);}else{setcookie("pwdone", 0);}
       
if (empty($_SESSION['login_url'])){
           
    $fb_log_url = !empty($fb_hook_object->modSettings['fb_log_url']) ? $fb_hook_object->modSettings['fb_log_url'] : $fb_hook_object->scripturl;
header('Location: '.$fb_log_url.'');
            }
    else{
           
      $temp = $_SESSION['login_url'];
    $fb_log_url = !empty($fb_hook_object->modSettings['fb_log_url']) ? $fb_hook_object->modSettings['fb_log_url'] : $temp;
            unset($_SESSION['login_url']);
header('Location: '.$fb_log_url.'');
            }

    }
Title: Re: SA Facebook Integration
Post by: distante on March 10, 2012, 03:45:04 PM
I'm trying to do some test, but I'm getting this error:
QuoteThe database value you're trying to insert does not exist: mem

Any Idea what it is?
Title: Re: SA Facebook Integration
Post by: distante on March 11, 2012, 12:16:21 AM
Other thing (sorry for been so annoying)

When I put in the Publisher admin panel "New topics" for publish, it supposed to auto publish in my fan page the news of the new topic don't?

Because I have no automatic posts into facebook when a new topic is created. I configured the Facebook page ID, and my Facebook user ID, establish grand permissions and the Access tokens are filled.

What I'm doing wrong?
Title: Re: SA Facebook Integration
Post by: SA™ on March 11, 2012, 05:55:53 PM
did you leave this
Publish to facebook?
to the default value? if so chnage it to profile and save it then put it back to page save it should work then

QuoteI'm trying to do some test, but I'm getting this error:
Quote
The database value you're trying to insert does not exist: mem

Any Idea what it is?

if you are changing the function i posted yesterday it ill be once if these

$face_userid['id_member'] = $fb_hook_object->face_USettings($fb_object->user_info_fbid,'id_member','fbid');
$face_pass['passwd'] = $fb_hook_object->face_USettings($face_userid['id_member'],'passwd','id_member');
$face_passsalt['password_salt'] = $fb_hook_object->face_USettings($face_userid['id_member'],'password_salt','id_member');
 
$face_pwp['fbpw'] = $fb_hook_object->face_USettings($face_userid['id_member'],'fbpw','id_member');

Title: Re: SA Facebook Integration
Post by: distante on March 11, 2012, 10:55:30 PM
Quote from: SA™ on March 11, 2012, 05:55:53 PM
did you leave this
Publish to facebook?
to the default value? if so chnage it to profile and save it then put it back to page save it should work then

Yeap, now that is working, thanks! And it is taking the image that I use in the post with the img tag, but I still have the problem that when I use the "publish" button, no Image is showing in fb.

I will continue looking up for the redirect login problem with Pretty Urls. How do you catch the actual URL where The user clicks "login with facebook" ?
Title: Re: SA Facebook Integration
Post by: distante on March 12, 2012, 12:36:11 AM
This is a little fix for the FB icon in the "publish" link

Problem: When you see a forum with SA Facebook Integration installed, you saw the publish link in this way:

(http://i39.tinypic.com/120r11l.png)

But, when you are logged, you see this:

(http://i39.tinypic.com/z30n7.png)

So, the fix it's very simple, just add this in the index.css of your theme:

li.fbpub_button  {
display: inline;
font-weight: bold;
background: url(../images/facebook.png) no-repeat left;
padding-left: 18px;
}


Live example: http://www.desadaptados.net/chicas-hot/zahia-dehar-de-prostituta-vip-a-las-paginas-de-vanity-fair/
(sorry the example is in spanish!)
Title: Re: SA Facebook Integration
Post by: SA™ on March 12, 2012, 01:16:23 AM
new version

Quotefixed issue unable to connect
fixed undefined index: fb_admin_pid
fixed undefined index: fb_admin_uid
fixed issue with publish button image not showing for guest [thanks distante]
fixed issue with publishing topic not working correct with utf-8
fixed issue with logic when getting keys
fixed issue publish button showing where it shouldent be
Title: Re: SA Facebook Integration
Post by: distante on March 12, 2012, 02:12:22 AM
Do I have to uninstall the previous version first?
Title: Re: SA Facebook Integration
Post by: SA™ on March 12, 2012, 02:14:26 AM
yes
Title: Re: SA Facebook Integration
Post by: distante on March 12, 2012, 02:38:04 AM
I installed the new version but now the reference for the publish icon (when I'm a guest) I can't see the facebook icon in the publish button, since I'm using pretty Urls is the icon is been searching in forum/topicname/images/facebook.png

Where can I changed this?
Title: Re: SA Facebook Integration
Post by: distante on March 12, 2012, 02:54:25 AM
/me other personality takes over.

Search in FacebookHooks.php

Code (Search) Select
background: url(../images/facebook.png) no-repeat left;


Code (Replace) Select
background: url('.$settings['images_url'].'/facebook.png) no-repeat 0 0;

It work without any additional css files edits ;)




SA, I'm still not able to recognize where the "back url" is generated or saved when I have to go to the FB page to log, also, maybe an IF statement will be good in the facebookhooks.php to check if the url have the board.topic form, or the /forum/topicname prettyUrls form (because I had to make the change in the file again for the login)

And One more thing, In the hooks, is a possibility to put or create a button "what are you thinking" in a specific place?
Title: Re: SA Facebook Integration
Post by: SA™ on March 12, 2012, 03:14:18 AM
QuoteSearch in FacebookHooks.php

Code: (Search) [Select]
background: url(../images/facebook.png) no-repeat left;



Code: (Replace) [Select]
background: url('.$settings['images_url'].'/facebook.png) no-repeat 0 0;

It work without any additional css files edits

just fixed this and updated the package

QuoteAnd One more thing, In the hooks, is a possibility to put or create a button "what are you thinking" in a specific place?

yes you can use the facebook_showPub function

example

if (class_exists('SAFacebookhooks')) {
    echo
SAFacebookhooks::facebook_showPub(
    array(
'subject' =>'subject',
'body' => 'body',
'href' =>href,
'isPost' => false,
        )
);
    }
Title: Re: SA Facebook Integration
Post by: distante on March 12, 2012, 03:24:39 AM
But that is for "publish" don't?

I want to put a floating button of "what are you thinking", like the button in the facebook action
Title: Re: SA Facebook Integration
Post by: SA™ on March 12, 2012, 04:05:38 AM
yes that button in th facebook action is using the above function it can be used for both
Title: Re: SA Facebook Integration
Post by: distante on March 12, 2012, 04:41:28 AM
well I will dig into that tomorrow then, Now is 3.41 am in my country! ZzZZZz
Title: Re: SA Facebook Integration
Post by: trekkie2444 on March 12, 2012, 05:05:49 AM
I've got an issue with REV49...

When someone is logged out of Facebook and they use the connect to Facebook button (I linked the button and code for it from the register button to the top of my forum), it has them login on Facebook, and then when redirected back to my forum, I get this:

An Error Has Occurred!
The database value you're trying to insert does not exist: mem

Interestingly it only happened the first time I tested it, the second time it just worked as it should.

Title: Re: SA Facebook Integration
Post by: trekkie2444 on March 12, 2012, 05:07:36 AM
This error popped up in my error log as critical:

http://e-p1.net/index.php?action=facebookintegrate;area=connectlog
The database value you're trying to insert does not exist: mem
Function: face_USettings
File: [...]/Facebook/FacebookHooks.php
Line: 872
Title: Re: SA Facebook Integration
Post by: Zuća on March 12, 2012, 06:54:42 AM
what is new after update ?
Title: Re: SA Facebook Integration
Post by: distante on March 12, 2012, 11:14:01 AM
Quote from: Zuća on March 12, 2012, 06:54:42 AM
what is new after update ?
some bug fixes:
http://www.simplemachines.org/community/index.php?topic=365503.msg3290562#msg3290562
http://www.simplemachines.org/community/index.php?topic=365503.msg3291880#msg3291880
http://www.simplemachines.org/community/index.php?topic=365503.msg3291917#msg3291917
http://www.simplemachines.org/community/index.php?topic=365503.msg3291890#msg3291890
Title: Re: SA Facebook Integration
Post by: trekkie2444 on March 12, 2012, 12:47:16 PM
Ah, I see that's the same issue you had, but mine is with login, not publish...

So it's pretty URLs that is causing this? Does the new version fix this?
Title: Re: SA Facebook Integration
Post by: distante on March 12, 2012, 04:35:36 PM
Quote from: trekkie2444 on March 12, 2012, 12:47:16 PM
Ah, I see that's the same issue you had, but mine is with login, not publish...

So it's pretty URLs that is causing this? Does the new version fix this?

witch problem exactly?
Title: Re: SA Facebook Integration
Post by: trekkie2444 on March 12, 2012, 11:45:05 PM
The mem error.
Title: Re: SA Facebook Integration
Post by: joelstoner on March 13, 2012, 01:53:45 AM
Installed mod, got an error in two files, had to remove mod to get forum to work again. Is there a more detailed install instructions? This mod is the whole reason i spent 3 hours uploading SMF forum to replace phpBB, as there is no currently supported facebook mod for phpBB. If i can not get this mod to work there is no point in keeping SMF. Has someone successfully installed this mod on SMF 2.0.2?
Title: Re: SA Facebook Integration
Post by: Kindred on March 13, 2012, 07:58:48 AM
it installs fine into 2.0.2.

If you had file errors during the installation, that pretty much explains your problem.... those errors mean than the package manager could not automatically update those files.

http://wiki.simplemachines.org/smf/Error_in_mod_installation
Title: Re: SA Facebook Integration
Post by: Rowdy on March 13, 2012, 09:25:57 AM
When I try to grant the permissions to the publisher, I get the following error. When I go back to the page, one of the three access tokens is there but not the other two. I'm using latest smf- 2.02. Any help, please?:

Fatal error: Uncaught OAuthException: (#100) Unknown fields: access_token thrown in /home/xxxxxx/public_html/smf/facebookauth/base_facebook.php on line 1039


Problem solved by using just the FB page title instead of the page url in the publisher settings. Thanks!
Title: Re: SA Facebook Integration
Post by: joelstoner on March 13, 2012, 10:54:09 AM
Ok i looked at that site, and have a better idea of how to install mods manually. But i have an issue, the parse instructions option from the website, it says to add the code before the text to find. I found the text, but after looking at the install.xml file the install file says to add the code after the text to find. Which is right?
Title: Re: SA Facebook Integration
Post by: Kindred on March 13, 2012, 11:00:41 AM
the XML is "reversed" form what you think it says - the parsed mod explains it correctly.
Title: Re: SA Facebook Integration
Post by: nfh on March 13, 2012, 03:41:34 PM
I installed this new update but it seems that both 'subject' and 'body' indexes of the $cleaned array (on function facebook_showPub, FacebookHooks.php file) aren't getting any string whatsoever, which leads to an facebook error when someone tries to use the Publish button.

By the way, by checking the "Publish" checkbox on the Boards configuration page (under Facebook Integration settings), posts on checked boards are automatically published to Facebook, right? And the "publish" link is activated for each message, am I right? Is it possible to make these two features independent? I mean, I would like to have the "Publish" link available in nearly every board, but just a few boards with automatic publishing.
Title: Re: SA Facebook Integration
Post by: distante on March 13, 2012, 03:49:51 PM
Quote from: nfh on March 13, 2012, 03:41:34 PM
I installed this new update but it seems that both 'subject' and 'body' indexes of the $cleaned array (on function facebook_showPub, FacebookHooks.php file) aren't getting any string whatsoever, which leads to an facebook error when someone tries to use the Publish button.

Witch language are you using? It's working just fine in my spanish-utf based forum
http://www.desadaptados.net/chicas-hot/nueva-miss-reef-peru-2011/
Title: Re: SA Facebook Integration
Post by: distante on March 13, 2012, 04:39:42 PM
@SA
When a person creates a topic, in the facebook fan page says "XXXX created the topic YYYY", but the responses don't say "ZZZZ response: bla bla bla"

where can I add this?
Title: Re: SA Facebook Integration
Post by: nfh on March 13, 2012, 05:07:38 PM
Quote from: distante on March 13, 2012, 03:49:51 PM
Quote from: nfh on March 13, 2012, 03:41:34 PM
I installed this new update but it seems that both 'subject' and 'body' indexes of the $cleaned array (on function facebook_showPub, FacebookHooks.php file) aren't getting any string whatsoever, which leads to an facebook error when someone tries to use the Publish button.

Witch language are you using? It's working just fine in my spanish-utf based forum
http://www.desadaptados.net/chicas-hot/nueva-miss-reef-peru-2011/

I'm using Portuguese, with ISO-8859-1 encoding.

It seems that the facebook_htmlspecialchars is causing this. By commenting the line that encodes the string with UTF-8 encoding the problem seems to be solved, although portuguese characters from posts aren't showing up properly on the facebook popup (even by replacing UTF-8 by ISO-8859-1 on those PHP function parameters).

static function facebook_htmlspecialchars($data){
   
$data = strip_tags($data);
//$data = htmlspecialchars(htmlentities($data, ENT_QUOTES, "UTF-8"), ENT_QUOTES, "UTF-8");
return $data;
}
Title: Re: SA Facebook Integration
Post by: distante on March 13, 2012, 05:59:01 PM
Quote from: distante on March 13, 2012, 04:39:42 PM
@SA
When a person creates a topic, in the facebook fan page says "XXXX created the topic YYYY", but the responses don't say "ZZZZ response: bla bla bla"

where can I add this?
Also, When some comment is made in the comments box (in the bottom of the forum, this isn't publish into their wall.  or nowhere), even when the "publish in facebook" box is ticked

And I was having some messages saying that "the page *topic* can't be found", So I edit in the FacebookHook.php file this:

echo'<fb:comments href="'.$context['current_topic'].'" num_posts="'.$numpost.'" width="'.$width.'" colorscheme="'.$colour.'"></fb:comments>';
And replaced with this:

echo'<fb:comments href="'.$scripturl .'?topic='.$context['current_topic'].'.0" num_posts="'.$numpost.'" width="'.$width.'" colorscheme="'.$colour.'"></fb:comments>';


also added in the globals in that function $context, and $scripturl.
Title: Re: SA Facebook Integration
Post by: distante on March 13, 2012, 06:18:02 PM
/me doing their multiple personality thing
Quote from: distante on March 13, 2012, 04:39:42 PM
@SA
When a person creates a topic, in the facebook fan page says "XXXX created the topic YYYY", but the responses don't say "ZZZZ response: bla bla bla"

where can I add this?

Search in FacebookHooks.php
$attachment['message'] = $nobbc_body;
replace with
$attachment['message'] = $user_info['name'].': '.$nobbc_body;

and Add $userinfo in the globals of that function.

The result will be something like

Quote
distante: this is a reply of a topic
Title: Re: SA Facebook Integration
Post by: joelstoner on March 13, 2012, 10:22:06 PM
Ok i have it installed again, but i see no difference on the forum, even after clearing the cache. Do i have to run install.php? If so where should it be during the install, packages, or root?
Title: Re: SA Facebook Integration
Post by: distante on March 13, 2012, 10:56:33 PM
Quote from: joelstoner on March 13, 2012, 10:22:06 PM
Ok i have it installed again, but i see no difference on the forum, even after clearing the cache. Do i have to run install.php? If so where should it be during the install, packages, or root?

Exactly what problem do you have with the mod?
Title: Re: SA Facebook Integration
Post by: joelstoner on March 13, 2012, 11:58:48 PM
I can not install it with the package manager, i'm trying to manually install it. I've uploaded and moved the files to their respective spots. I've altered the correct code in the display.template.php file. But i can not find the settings to add the app ID from facebook, or see anything related to facebook on the forum.
Title: Re: SA Facebook Integration
Post by: distante on March 14, 2012, 01:31:16 AM
Version of smf?

did you tried to emulate the version of your forum?
Title: Re: SA Facebook Integration
Post by: wole8029 on March 14, 2012, 01:56:52 AM
hello please i need help, i have installed the facebook mod, successfully and other facebook features work well, except facebook, connect, i think its the apps i created, the new process of creating the apps is different from the one in the first post..i have tried evrytin for the past two weeks and i kip etter facebook app error..please i need omeone to help create a facebbok app for me..please please...
Title: Re: SA Facebook Integration
Post by: distante on March 14, 2012, 02:57:44 AM
http://www.sa-smf.com/community/index.php?action=kb;area=article;cont=41
Title: Re: SA Facebook Integration
Post by: cookiesandcream on March 14, 2012, 03:10:17 AM
Quote from: joelstoner on March 13, 2012, 10:22:06 PM
Ok i have it installed again, but i see no difference on the forum, even after clearing the cache. Do i have to run install.php? If so where should it be during the install, packages, or root?

I'm having the exact same problem (smf 2.02 / v55). It looks like it's not installing the files (since there is nothing in the sources/themes folder related to Facebook, and from looking at other people's comments/log it seems like there should be?) I'm not getting any error messages when I install it, so it's difficult to know where it's going wrong?
Title: Re: SA Facebook Integration
Post by: wole8029 on March 14, 2012, 03:28:28 AM
Quote from: distante on March 14, 2012, 02:57:44 AM
http://www.sa-smf.com/community/index.php?action=kb;area=article;cont=41

@smf hero thanx for your reply, but i have tried that and it didnt work, it kips givn me an error.. i need someone to help me create the app on my fbook account. i will give you my usernm and passwd...please
Title: Re: SA Facebook Integration
Post by: distante on March 14, 2012, 10:12:15 AM
I can help you with that but, in the night (my night) about 9pm (GMT -5)
Title: Re: SA Facebook Integration
Post by: distante on March 14, 2012, 11:08:05 AM
If I'm correct, this is the code that takes and strip the BBC codes from the post:

//grab the first img in the post
if (preg_match_all('~(\[img.*?\])(.+?)\[/img\]~eis', $msgOptions['body'], $matches)){
    foreach ($matches as $val) {
        $val[0] = str_replace('[img]','',$val[0]);
$val[0] = str_replace('[/img]','',$val[0]);
$context['fb_pub_img'] = $val[0];
$context['body_rid_img'] = preg_replace('~(\[img.*?\])(.+?)\[/img\]~eis','',$msgOptions['body']);
    }
}
else{//no img use the post icon
    $context['fb_pub_img'] = $settings['default_images_url'] . '/post/' . $msgOptions['icon'] . '.gif';
$context['body_rid_img'] = $msgOptions['body'];
}


don't?

Since I'm using ILA, I have a bbc code like this [Attach=1]  with no closing, and that is calling to my attach image in the post, how can I obtain that Image so the Publisher don't write "[attach=1] bla bla bla[/b] but just [bla bla bla] and get the image for FB?

I added this $context['body_rid_img'] = preg_replace('~(\[att.*?\])','',$context['body_rid_img']);
to the end of the first IF for cleaned the body, but I'm not sure if that ok (i'm really bad with regular expressions).

Also, if that works, there's no url in the bbc, because that mod shows the img when the html is converted... so, I'm stuck
Title: Re: SA Facebook Integration
Post by: !RFAN on March 14, 2012, 12:48:49 PM
how to add comment box in aeva media for individual items?
Title: Re: SA Facebook Integration
Post by: trekkie2444 on March 14, 2012, 06:16:49 PM
Still getting this error...

Guest
72.30.161.249   
    Today at 01:18:25 AM
2a80a29f34e60522ea4ea1d229e36e3e
Type of error: Critical
http://e-p1.net/index.php?action=facebookintegrate;area=connectlog
The database value you're trying to insert does not exist: mem
Function: face_USettingsFile: [...]Facebook/FacebookHooks.php
Line: 876
Title: Re: SA Facebook Integration
Post by: joelstoner on March 14, 2012, 06:18:52 PM
Thank you to everyone who tried to help me, i was able to install this by switching my forum to a better host. One quick question, is there a way to hide the facebook profile link from guests?
Title: Re: SA Facebook Integration
Post by: distante on March 14, 2012, 06:38:34 PM
The profile link is a Custom Profile Field, you can set te permission for it in the admin panel (search profile and the link will appear, I don't remember the direct route now)
Title: Re: SA Facebook Integration
Post by: joelstoner on March 14, 2012, 06:48:22 PM
I found it, for those who have the same issue here is how to keep guests from seeing member's facebook links.
Admin->Permissions->Click modify on the Guests selection->Uncheck "View other people's profiles"->Save Changes
Title: Re: SA Facebook Integration
Post by: nfh on March 14, 2012, 07:13:35 PM
Quote from: SA™ on March 09, 2012, 06:18:59 PM
@nfh
yeah this happens from time to time not sure why but reauthorisaation usaly does the trick
[...]

Did you find the source for this problem? I reauthorized the app yesterday and it was working ok after that. Nonetheless, today automatic posts aren't working again.

It seems that the authorization lifespan is only a few hours long... at least on my forum.
Title: Re: SA Facebook Integration
Post by: distante on March 14, 2012, 07:33:47 PM
Quote from: nfh on March 14, 2012, 07:13:35 PM
Quote from: SA™ on March 09, 2012, 06:18:59 PM
@nfh
yeah this happens from time to time not sure why but reauthorisaation usaly does the trick
[...]

Did you find the source for this problem? I reauthorized the app yesterday and it was working ok after that. Nonetheless, today automatic posts aren't working again.

It seems that the authorization lifespan is only a few hours long... at least on my forum.

Happend to me also. Maybe is a facebook thing?
Title: Re: SA Facebook Integration
Post by: SA™ on March 15, 2012, 02:38:47 AM
Quote from: distante on March 14, 2012, 11:08:05 AM
If I'm correct, this is the code that takes and strip the BBC codes from the post:

//grab the first img in the post
if (preg_match_all('~(\[img.*?\])(.+?)\[/img\]~eis', $msgOptions['body'], $matches)){
    foreach ($matches as $val) {
        $val[0] = str_replace('[img]','',$val[0]);
$val[0] = str_replace('[/img]','',$val[0]);
$context['fb_pub_img'] = $val[0];
$context['body_rid_img'] = preg_replace('~(\[img.*?\])(.+?)\[/img\]~eis','',$msgOptions['body']);
    }
}
else{//no img use the post icon
    $context['fb_pub_img'] = $settings['default_images_url'] . '/post/' . $msgOptions['icon'] . '.gif';
$context['body_rid_img'] = $msgOptions['body'];
}


don't?

Since I'm using ILA, I have a bbc code like this [Attach=1]  with no closing, and that is calling to my attach image in the post, how can I obtain that Image so the Publisher don't write "[attach=1] bla bla bla[/b] but just [bla bla bla] and get the image for FB?

I added this $context['body_rid_img'] = preg_replace('~(\[att.*?\])','',$context['body_rid_img']);
to the end of the first IF for cleaned the body, but I'm not sure if that ok (i'm really bad with regular expressions).

Also, if that works, there's no url in the bbc, because that mod shows the img when the html is converted... so, I'm stuck

your regex if a bit off :P

$shortened = substr($context['body_rid_img'],0,strpos($context['body_rid_img'] ," ",$length));
add after
$nobbc_body = preg_replace('~\[attach\=([0-9]+)\]~iU','',$nobbc_body);
$nobbc_body = preg_replace('~\[attachimg\=([0-9]+)\]~iU','',$nobbc_body);
$nobbc_body = preg_replace('~\[attachurl\=([0-9]+)\]~iU','',$nobbc_body);
$nobbc_body = preg_replace('~\[attachmini\=([0-9]+)\]~iU','',$nobbc_body);
Title: Re: SA Facebook Integration
Post by: distante on March 15, 2012, 10:06:34 AM
As I said, my regex sucks :P
Title: Re: SA Facebook Integration
Post by: distante on March 15, 2012, 01:31:26 PM
Quote
$shortened = substr($context['body_rid_img'],0,strpos($context['body_rid_img'] ," ",$length));
add after
$nobbc_body = preg_replace('~\[attach\=([0-9]+)\]~iU','',$nobbc_body);
$nobbc_body = preg_replace('~\[attachimg\=([0-9]+)\]~iU','',$nobbc_body);
$nobbc_body = preg_replace('~\[attachurl\=([0-9]+)\]~iU','',$nobbc_body);
$nobbc_body = preg_replace('~\[attachmini\=([0-9]+)\]~iU','',$nobbc_body);

Should it be the fist line:
$nobbc_body = preg_replace('~\[attach\=([0-9]+)\]~iU','',$shortened);

Because there's no $nobbc_body defined before! or must be after
$shortened = substr($context['body_rid_img'],0,strpos($context['body_rid_img'] ," ",$length));
$nobbc_body = preg_replace('|[[\/\!]*?[^\[\]]*?]|si', '', $shortened);

?
Title: Re: SA Facebook Integration
Post by: SA™ on March 15, 2012, 05:15:59 PM
new version added

added user name to replys posted on facebook [thanks distante]
fixed issue the page *topic* can't be found with comments error [thanks distante]
publisher now removes ila tags
publishe button now uses the image specyfied in fb admin for og tags
fixed hardcoded text
Title: Re: SA Facebook Integration
Post by: distante on March 15, 2012, 05:43:15 PM
SA™ the publish don't will be retrieve any img now? like this:

(http://i42.tinypic.com/2h7dlc4.png)

Just the main image (the one defined in the admin page? )

(off topic, that image is for a topic about a girls selling her farts in ebay :S )
Title: Re: SA Facebook Integration
Post by: nfh on March 15, 2012, 06:02:29 PM
Quote from: distante on March 14, 2012, 07:33:47 PM
Quote from: nfh on March 14, 2012, 07:13:35 PM
Quote from: SA™ on March 09, 2012, 06:18:59 PM
@nfh
yeah this happens from time to time not sure why but reauthorisaation usaly does the trick
[...]

Did you find the source for this problem? I reauthorized the app yesterday and it was working ok after that. Nonetheless, today automatic posts aren't working again.

It seems that the authorization lifespan is only a few hours long... at least on my forum.

Happend to me also. Maybe is a facebook thing?

Well, today it seems that even the reauthorization method isn't working. I even installed the latest version (after uninstalling the previous one), but no luck whatsoever.

I also noticed that the "Publish" link does not work as well, so this isn't specific to the automatic Facebook posting, it isn't posting to Facebook at all, no matter the method.
Title: Re: SA Facebook Integration
Post by: distante on March 15, 2012, 06:03:34 PM
That image in my last post was maked today, with the automatic post method.
Title: Re: SA Facebook Integration
Post by: nfh on March 15, 2012, 06:18:11 PM
Well, nevermind about what I said about the "Publish" link... I was expecting to have it posting on my Facebook page, but posts were made on my Timeline. I got a bunch of them over my Timeline during some trial tests :).

Nonetheless, I can't get the automatic posting to work. Did you do anything special to solve it?
Title: Re: SA Facebook Integration
Post by: distante on March 15, 2012, 06:23:19 PM
Just what SA said, changed to profile, save, and change back to page and save.
Title: Re: SA Facebook Integration
Post by: nfh on March 15, 2012, 06:58:19 PM
Well, I guess I did that in the meantime, although unaware of it, because it is working again  ???.

Another issue: I noticed that Facebook debug tool (https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fforum.rumoasantiago.com%2Findex.php%2Ftopic%2C58.0.html) is complaining about the "Like" button:

QuoteLike Button Warnings That Should Be Fixed
Admins And App ID Missing:   fb:admins and fb:app_id tags are missing. These tags are necessary for Facebook to render a News Feed story that generates a high clickthrough rate.

As a matter of fact, the Like button doesn't seem to communicate with Facebook, as no Like is generated on my FB profile and as soon as I reload my SMF forum topic page, the Like button goes back to its original state (clicable and without the like count).
Title: Re: SA Facebook Integration
Post by: distante on March 15, 2012, 07:14:49 PM
You have to fill the fb admin Id in the facebook administrator panel in your forum
Title: Re: SA Facebook Integration
Post by: trekkie2444 on March 15, 2012, 07:45:53 PM
Still getting the same error...anyone? Interestingly when I test it out, it works fine...but the error keeps popping up.
Title: Re: SA Facebook Integration
Post by: SA™ on March 16, 2012, 12:16:15 AM
Quote from: distante on March 15, 2012, 05:43:15 PM
SA™ the publish don't will be retrieve any img now? like this:

(http://i42.tinypic.com/2h7dlc4.png)

Just the main image (the one defined in the admin page? )

(off topic, that image is for a topic about a girls selling her farts in ebay :S )

what one? auto or button??????????????????????

Quote from: nfh on March 15, 2012, 06:58:19 PM
Well, I guess I did that in the meantime, although unaware of it, because it is working again  ???.

Another issue: I noticed that Facebook debug tool (https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fforum.rumoasantiago.com%2Findex.php%2Ftopic%2C58.0.html) is complaining about the "Like" button:

QuoteLike Button Warnings That Should Be Fixed
Admins And App ID Missing:   fb:admins and fb:app_id tags are missing. These tags are necessary for Facebook to render a News Feed story that generates a high clickthrough rate.

As a matter of fact, the Like button doesn't seem to communicate with Facebook, as no Like is generated on my FB profile and as soon as I reload my SMF forum topic page, the Like button goes back to its original state (clicable and without the like count).

facebook chnaged the og tags

sources/facebook/facebookhooks.php

$open_graph = '
<meta property="og:type" content="article" />
<meta property="og:image" content="'.(!empty($modSettings['fb_app_image']) ? $modSettings['fb_app_image'] : $settings['default_theme_url'].'/images/topic/veryhot_post.gif').'" />
<meta property="og:site_name" content="'.$context['forum_name'].'" />
<meta property="og:title" content="'.$context['page_title_html_safe']. '" />
  <meta property="fb:admins" content="'.(!empty($modSettings['fb_app_admin']) ? $modSettings['fb_app_admin'] : '').'" />
<meta property="og:url" content="'.(empty($context['current_topic']) ? $scripturl : $scripturl .'?topic='.$context['current_topic'].'.0').'" />';


replace with

$open_graph = '
    <meta property="fb:app_id" content="'.$modSettings['fb_app_id'].'" />
                <meta property="og:type" content="article" />
<meta property="og:locale" content="'.(empty($modSettings['fb_admin_intern1']) ? $modSettings['fb_admin_intern1'] : 'en_US').'" />
                <meta property="og:title" content="'.$context['page_title_html_safe']. '" />
                <meta property="og:image" content="'.(!empty($modSettings['fb_app_image']) ? $modSettings['fb_app_image'] : $settings['default_theme_url'].'/images/topic/veryhot_post.gif').'" />
                <meta property="og:description" content="'.$context['page_title_html_safe'].'" />
                <meta property="og:url" content="'.(empty($context['current_topic']) ? $scripturl : $scripturl .'?topic='.$context['current_topic'].'.0').'" />';


Quote from: trekkie2444 on March 15, 2012, 07:45:53 PM
Still getting the same error...anyone? Interestingly when I test it out, it works fine...but the error keeps popping up.

sound like it hasnt uninstalled and or installed properly pls try a manual install
Title: Re: SA Facebook Integration
Post by: distante on March 16, 2012, 01:08:38 AM
Quote from: SA™ on March 16, 2012, 12:16:15 AM
Quote from: distante on March 15, 2012, 05:43:15 PM
SA™ the publish don't will be retrieve any img now? like this:

(http://i42.tinypic.com/2h7dlc4.png)

Just the main image (the one defined in the admin page? )

(off topic, that image is for a topic about a girls selling her farts in ebay :S )

what one? auto or button??????????????????????

Auto (also will be great if the button catch the img if is avariable)
Title: Re: SA Facebook Integration
Post by: SA™ on March 16, 2012, 01:27:46 AM
currently not pissible with the button as that is a different setup but the auto pub should grab the first image i the post and use that
Title: Re: SA Facebook Integration
Post by: distante on March 16, 2012, 02:27:17 AM
Ah ok!
I will try to find how to catch the ILA image before update
Title: Re: SA Facebook Integration
Post by: Skyflash on March 16, 2012, 03:20:56 AM
Quote from: SA™ on March 15, 2012, 05:15:59 PM
new version added

added user name to replys posted on facebook [thanks distante]
fixed issue the page *topic* can't be found with comments error [thanks distante]
publisher now removes ila tags
publishe button now uses the image specyfied in fb admin for og tags
fixed hardcoded text
Great! But... another little problem :)
I have the Share This Topic Mod (http://www.simplemachines.org/community/index.php?topic=334955.new;topicseen#new) too, and the text your plugin grabs during the Publishing process, is execessive and includes part of jQuery code used by the other mod :)

Share This buttons are placed "Above" the post, placed immediatly below your Publish button. If i place Share This buttons BELOW the post, your mod grabs the correct text
Title: Re: SA Facebook Integration
Post by: SA™ on March 16, 2012, 03:53:47 AM
hmm i dont think there is much i can do about this as this is the way the share this mod is coded it injects the share this stuff into the  $message['body'] var
Title: Re: SA Facebook Integration
Post by: Skyflash on March 16, 2012, 03:55:09 AM
Quote from: SA™ on March 16, 2012, 03:53:47 AM
hmm i dont think there is much i can do about this as this is the way the share this mod is coded it injects the share this stuff into the  $message['body'] var
Ok, no problem. Share This mod uninstalled :)
Title: Re: SA Facebook Integration
Post by: Skyflash on March 16, 2012, 08:19:54 AM
Quote from: SA™ on March 15, 2012, 05:15:59 PM
new version added
publishe button now uses the image specyfied in fb admin for og tags
Tried this function and i confirm it works :)

Only a little question, for future releases: is possible to extend this functionality to the auto publishing function too? Now, the auto publishing still using an icon grabbed in the board, not the default og:image set in preferences.

Other related question: as many fb publishing plugins for Wordpress, can you set the autopublishing (or the publish button) for grabbing first image attached to the post or, if there's no image, the og:image set?
Title: Re: SA Facebook Integration
Post by: distante on March 16, 2012, 01:29:02 PM
SA I'm having problem with other forum with the autopost in page (with the latest version)

Since I have a ú in my forum title; "Música y Sonido" is been posted in facebook in this way: "distante posted a new topic : Música y Sonido"

I tried change this

$mes = $user_info['name'].' '.$txt['fb_postpostt'].' '.htmlspecialchars($context['forum_name']).'';


for$mes = $user_info['name'].' '.$txt['fb_postpostt'].' '.$context['forum_name'].'';

in the public static function Facebook_Post_topic() function, but nothing :(

I deleted all reference to forum_name until find the fix.

In the other hand, I don't know why but the "Facebook Access Tokens" isn't filled fully. just 2 of the 3 fields are filled, the last one is empty. The autopublic of new topics is working, but no the topic responses

And Finally, I want to remove the "login with facebook" that shows in the regular login box, how can I do this? see: www.musicaysonido.com/foro/

I have it duplicated.
Title: Re: SA Facebook Integration
Post by: SA™ on March 16, 2012, 02:53:02 PM
Quote from: Skyflash on March 16, 2012, 08:19:54 AM
Quote from: SA™ on March 15, 2012, 05:15:59 PM
new version added
publishe button now uses the image specyfied in fb admin for og tags
Tried this function and i confirm it works :)

Only a little question, for future releases: is possible to extend this functionality to the auto publishing function too? Now, the auto publishing still using an icon grabbed in the board, not the default og:image set in preferences.

Other related question: as many fb publishing plugins for Wordpress, can you set the autopublishing (or the publish button) for grabbing first image attached to the post or, if there's no image, the og:image set?

this is the way it is etup it looks for an image in the post if it finds one it uses it if not it ses the topic icon instead will chnage thisin the next version to use the og image if none found in the piost

QuoteIn the other hand, I don't know why but the "Facebook Access Tokens" isn't filled fully. just 2 of the 3 fields are filled, the last one is empty. The autopublic of new topics is working, but no the topic responses
yea there is a bug in that now ill rease a new version later with a few fixes

Title: Re: SA Facebook Integration
Post by: distante on March 16, 2012, 03:50:23 PM
great, If I can help in something give a yell
Title: Re: SA Facebook Integration
Post by: Skyflash on March 16, 2012, 04:25:37 PM
Quote from: SA™ on March 16, 2012, 02:53:02 PM
Quote from: Skyflash on March 16, 2012, 08:19:54 AM
Only a little question, for future releases: is possible to extend this functionality to the auto publishing function too? Now, the auto publishing still using an icon grabbed in the board, not the default og:image set in preferences.

Other related question: as many fb publishing plugins for Wordpress, can you set the autopublishing (or the publish button) for grabbing first image attached to the post or, if there's no image, the og:image set?

this is the way it is etup it looks for an image in the post if it finds one it uses it if not it ses the topic icon instead will chnage thisin the next version to use the og image if none found in the piost
I'm sorry, but it seems don't work :)
I.e.: http://www.doaitalia.it/primi-passi/alleanze-e-gradi-t44.0.html
First image embedded (using ILA mod) in post, is this: http://www.doaitalia.it/index.php?action=dlattach;topic=44.0;attach=127;image

But the autopublishing function published that: http://www.facebook.com/doaitalia/posts/319692581418288
Look the image, that isn't the first embedded image, but one of standard "topic-related" images

Using the Publish button, instead the auto publishing function, the result is better. Image is standard og:image defined in your mod preferences, and more text is grabbed: http://www.facebook.com/doaitalia/posts/368481823173944
Title: Re: SA Facebook Integration
Post by: distante on March 16, 2012, 04:40:34 PM
I think the Facebook mod don't catch ILA images yet
Title: Re: SA Facebook Integration
Post by: SA™ on March 16, 2012, 05:27:21 PM
correct it only catches  images in the img tags it a bit harder to catch the images from attachments and ila tags
Title: Re: SA Facebook Integration
Post by: SA™ on March 17, 2012, 06:23:25 AM
new version added

Quoteupdated open grath tag tags
bought the auto login setting to admin panel to enable disable featrue
fixed more hardcoded text
fixed issue with publisher reply tokens[now requires user to save the pub settings before granting permissions to get set the session var to be able to get the access tokens]
fixed error htmlentities() Invalid multibyte sequence in argument
publisher use ogtag for image now if no image in post
added checcks for valide local set in admin
added sceduled task to try and ensure fb tokens dont expire [runs every hour ca be changed in admin sceduled task]
added support for auto registration can be set in admin>facebook>registration method> AUTO or MANUAL

i did start playing with the attachment images but it seems it not possible todo so facebook doesnt seem to like image like
http://site.com/index.php?action=dlattach;topic=58.0;attach=82;image wich is a shame realy :( there maybe a way around it but ill have todo more digging the mod is still  setup up todo this tho [commented out in fb hooks file] just need to find a way around that
Title: Re: SA Facebook Integration
Post by: Nitesh Kunnath on March 17, 2012, 01:32:28 PM
Great work SA :)
Title: Re: SA Facebook Integration
Post by: Nitesh Kunnath on March 17, 2012, 04:05:56 PM
I have been getting a lot errors in logs.

http://yoursite.com/index.php?action=facebookintegrate;area=connectlog
8: Undefined index: username
File: (server path)/Sources/Facebook/FacebookHooks.php
Line: 834

http://yoursite.com/index.php?action=facebookintegrate&amp;state=5bc1ddb6090c64ee1ef8aa2322c9df8a&amp;code=AQBUKmoPtfqJ_wNMgFkDA09oA6OJdTFiCyeqRzIgzhmBfbpEVgLmn7PYgonKs9NVzo3UgrP73WVoF8j7ACCPcMAuNLCUjpSVGAdCw4sChL48GNm7LqtY7BZ5Zg6Q48PM8oPyLS_y5yFWjMSls48fnlmI2Qlqm85F3nlzH9Os1grA2IuIDkWzZ1pF7okVK2zhE20
8: Undefined index: access_token
File: (server path)/Sources/Facebook/FacebookHooks.php
Line: 715
Title: Re: SA Facebook Integration
Post by: SA™ on March 17, 2012, 04:44:56 PM
Quotehttp://yoursite.com/index.php?action=facebookintegrate;area=connectlog
8: Undefined index: username
File: (server path)/Sources/Facebook/FacebookHooks.php
Line: 834

have you got a a username on fb ?this mod looks for this

Quotehttp://yoursite.com/index.php?action=facebookintegrate&amp;state=5bc1ddb6090c64ee1ef8aa2322c9df8a&amp;code=AQBUKmoPtfqJ_wNMgFkDA09oA6OJdTFiCyeqRzIgzhmBfbpEVgLmn7PYgonKs9NVzo3UgrP73WVoF8j7ACCPcMAuNLCUjpSVGAdCw4sChL48GNm7LqtY7BZ5Zg6Q48PM8oPyLS_y5yFWjMSls48fnlmI2Qlqm85F3nlzH9Os1grA2IuIDkWzZ1pF7okVK2zhE20
8: Undefined index: access_token
File: (server path)/Sources/Facebook/FacebookHooks.php
Line: 715

this one should be fixed in latest version
Title: Re: SA Facebook Integration
Post by: Nitesh Kunnath on March 17, 2012, 05:10:00 PM
Quote from: SA™ on March 17, 2012, 04:44:56 PM
Quotehttp://yoursite.com/index.php?action=facebookintegrate;area=connectlog
8: Undefined index: username
File: (server path)/Sources/Facebook/FacebookHooks.php
Line: 834

have you got a a username on fb ?this mod looks for this

Quotehttp://yoursite.com/index.php?action=facebookintegrate&amp;state=5bc1ddb6090c64ee1ef8aa2322c9df8a&amp;code=AQBUKmoPtfqJ_wNMgFkDA09oA6OJdTFiCyeqRzIgzhmBfbpEVgLmn7PYgonKs9NVzo3UgrP73WVoF8j7ACCPcMAuNLCUjpSVGAdCw4sChL48GNm7LqtY7BZ5Zg6Q48PM8oPyLS_y5yFWjMSls48fnlmI2Qlqm85F3nlzH9Os1grA2IuIDkWzZ1pF7okVK2zhE20
8: Undefined index: access_token
File: (server path)/Sources/Facebook/FacebookHooks.php
Line: 715

this one should be fixed in latest version
Yup, I have a username set in Facebook
and I am using the latest version itself.... Actually, I downloaded this mod again today and installed it fresh.
Everything is working good. But I see many errors in log !!!

please help !!
Title: Re: SA Facebook Integration
Post by: SA™ on March 17, 2012, 05:17:37 PM
hmmm i am unsure at the moment i dont know why it wont fetch your user name from fb i need to look into this more
Title: Re: SA Facebook Integration
Post by: Nitesh Kunnath on March 17, 2012, 05:27:18 PM
Quote from: SA™ on March 17, 2012, 05:17:37 PM
hmmm i am unsure at the moment i dont know why it wont fetch your user name from fb i need to look into this more
it fetch my username or the user who is trying to register ?
and what about the next error ?
8: Undefined index: access_token
File: (server path)/Sources/Facebook/FacebookHooks.php
Line: 715
Title: Re: SA Facebook Integration
Post by: SA™ on March 17, 2012, 05:29:13 PM
Quoteit fetch my username or the user who is trying to register ?
user who is trying to register

Quoteand what about the next error ?
8: Undefined index: access_token
File: (server path)/Sources/Facebook/FacebookHooks.php
Line: 715

im looking into it
Title: Re: SA Facebook Integration
Post by: SA™ on March 18, 2012, 12:32:46 AM
Quote from: die2mrw007 on March 17, 2012, 05:27:18 PM
Quote from: SA™ on March 17, 2012, 05:17:37 PM
hmmm i am unsure at the moment i dont know why it wont fetch your user name from fb i need to look into this more
it fetch my username or the user who is trying to register ?
and what about the next error ?
8: Undefined index: access_token
File: (server path)/Sources/Facebook/FacebookHooks.php
Line: 715

pls try the updated packag
Title: Re: SA Facebook Integration
Post by: Nitesh Kunnath on March 18, 2012, 01:39:33 AM
Quote from: SA™ on March 17, 2012, 05:29:13 PM
Quoteit fetch my username or the user who is trying to register ?
user who is trying to register
Oooh, then I guess, the user might not have the username aka nickname set. So this throws out an error ? This should be skipped. I mean, this condition shouldnt throw an error.
Title: Re: SA Facebook Integration
Post by: Nitesh Kunnath on March 18, 2012, 01:40:05 AM
Quote from: SA™ on March 18, 2012, 12:32:46 AM
Quote from: die2mrw007 on March 17, 2012, 05:27:18 PM
Quote from: SA™ on March 17, 2012, 05:17:37 PM
hmmm i am unsure at the moment i dont know why it wont fetch your user name from fb i need to look into this more
it fetch my username or the user who is trying to register ?
and what about the next error ?
8: Undefined index: access_token
File: (server path)/Sources/Facebook/FacebookHooks.php
Line: 715

pls try the updated packag
Thanks a lot, I am trying it now :)
Title: Re: SA Facebook Integration
Post by: SA™ on March 18, 2012, 01:47:45 AM
Quote from: die2mrw007 on March 18, 2012, 01:39:33 AM
Quote from: SA™ on March 17, 2012, 05:29:13 PM
Quoteit fetch my username or the user who is trying to register ?
user who is trying to register
Oooh, then I guess, the user might not have the username aka nickname set. So this throws out an error ? This should be skipped. I mean, this condition shouldnt throw an error.

i added checks in if not there it should use real fb name it was just an oversite by me :P
Title: Re: SA Facebook Integration
Post by: Nitesh Kunnath on March 18, 2012, 02:10:01 AM
Quote from: SA™ on March 18, 2012, 01:47:45 AM
Quote from: die2mrw007 on March 18, 2012, 01:39:33 AM
Quote from: SA™ on March 17, 2012, 05:29:13 PM
Quoteit fetch my username or the user who is trying to register ?
user who is trying to register
Oooh, then I guess, the user might not have the username aka nickname set. So this throws out an error ? This should be skipped. I mean, this condition shouldnt throw an error.

i added checks in if not there it should use real fb name it was just an oversite by me :P
just installed the latest update...waiting for the logs to generate...I will report it here with my observations and logs :)

BTW, the auto-login feature is awesome... I am loving it !!!
Overall the mod is just purely great !!! Thumbs up to you for this great mod :)
Title: Re: SA Facebook Integration
Post by: SA™ on March 18, 2012, 02:30:58 AM
thanks
Title: Re: SA Facebook Integration
Post by: Nitesh Kunnath on March 18, 2012, 02:58:46 AM
hey thatz great...I am not getting any facebook errors in logs :)

But twitter errors :(
I have mentioned it in appropriate topic: http://www.simplemachines.org/community/index.php?topic=446987.new#new
Title: Re: SA Facebook Integration
Post by: SA™ on March 18, 2012, 03:19:14 AM
Quote from: die2mrw007 on March 18, 2012, 02:58:46 AM
hey thatz great...I am not getting any facebook errors in logs :)

But twitter errors :(
I have mentioned it in appropriate topic: http://www.simplemachines.org/community/index.php?topic=446987.new#new

lol wait a but there still might be one or two errors tho i have been using this new version since yesterday and no errors touch wood lol
Title: Re: SA Facebook Integration
Post by: clothahump on March 18, 2012, 12:06:01 PM
Not working for me, error page shows.

The server can not find the requested page:

    /index.php?action=forum&fb_source=bookmarks_apps&ref=bookmarks&count=0&fb_bmpos=3_0 (port 443)

Please forward this error screen to www.tropicalfishforums.co.uk's WebMaster.
Title: Re: SA Facebook Integration
Post by: distante on March 18, 2012, 12:09:08 PM
I have this error a lot now (didn't happen with the version rev49... or 48 one of those)

Quote
Undefined index: access_token
desadaptados.net/Sources/Facebook/FacebookHooks.php

this line:

updateSettings(array('fb_app_atokenpage' => $page_info['access_token']));   


and I'm not sure of this
QuoteThe database value you're trying to insert does not exist: value
Function: updateSettings
Title: Re: SA Facebook Integration
Post by: distante on March 18, 2012, 02:11:22 PM
Also, I can't figure out why the "publish" button doesn't work here:
http://www.desadaptados.net/software-y-hardware/como-se-escribe-la-letra-''n''/
Title: Re: SA Facebook Integration
Post by: Nitesh Kunnath on March 18, 2012, 03:30:35 PM
Quote from: distante on March 18, 2012, 02:11:22 PM
Also, I can't figure out why the "publish" button doesn't work here:
http://www.desadaptados.net/software-y-hardware/como-se-escribe-la-letra-''n''/
Uninstall and then re-install it....this did work for me well !!!
Title: Re: SA Facebook Integration
Post by: SA™ on March 18, 2012, 03:49:22 PM
Undefined index: access_token yeo it seem the auto task causes this it seems only the person who admin the page can get acesss tokens so ill have to remove the auto task in the next version
Title: Re: SA Facebook Integration
Post by: distante on March 18, 2012, 03:52:59 PM
Quote from: die2mrw007 on March 18, 2012, 03:30:35 PM
Quote from: distante on March 18, 2012, 02:11:22 PM
Also, I can't figure out why the "publish" button doesn't work here:
http://www.desadaptados.net/software-y-hardware/como-se-escribe-la-letra-''n''/
Uninstall and then re-install it....this did work for me well !!!

Yestarday I uninstalled the old version, and install the new one

Quote from: SA™ on March 18, 2012, 03:49:22 PM
Undefined index: access_token yeo it seem the auto task causes this it seems only the person who admin the page can get acesss tokens so ill have to remove the auto task in the next version

=\ That's bad
Title: Re: SA Facebook Integration
Post by: SA™ on March 18, 2012, 03:58:25 PM
Quote from: distante on March 18, 2012, 02:11:22 PM
Also, I can't figure out why the "publish" button doesn't work here:
http://www.desadaptados.net/software-y-hardware/como-se-escribe-la-letra-''n''/

cant you try removing  ''ñ''? from that pst and then try it pls have a feeelin itis that
Title: Re: SA Facebook Integration
Post by: distante on March 18, 2012, 04:54:06 PM
Quote from: SA™ on March 18, 2012, 03:58:25 PM
Quote from: distante on March 18, 2012, 02:11:22 PM
Also, I can't figure out why the "publish" button doesn't work here:
http://www.desadaptados.net/software-y-hardware/como-se-escribe-la-letra-''n''/

cant you try removing  ''ñ''? from that pst and then try it pls have a feeelin itis that

No, I tried that and it worked BUT, see all the replys since this one: http://www.desadaptados.net/software-y-hardware/como-se-escribe-la-letra-''n''/msg83681/#msg83681

I have ñ, ", "ñ" and all works...
Title: Re: SA Facebook Integration
Post by: clothahump on March 18, 2012, 04:58:02 PM
Quote from: clothahump on March 18, 2012, 12:06:01 PM
Not working for me, error page shows.

The server can not find the requested page:

    /index.php?action=forum&fb_source=bookmarks_apps&ref=bookmarks&count=0&fb_bmpos=3_0 (port 443)

Please forward this error screen to www.tropicalfishforums.co.uk's WebMaster.

No need to worry about this problem, mod removed from my site.
Title: Re: SA Facebook Integration
Post by: Nitesh Kunnath on March 18, 2012, 05:42:12 PM
Quote from: clothahump on March 18, 2012, 04:58:02 PM
Quote from: clothahump on March 18, 2012, 12:06:01 PM
Not working for me, error page shows.

The server can not find the requested page:

    /index.php?action=forum&fb_source=bookmarks_apps&ref=bookmarks&count=0&fb_bmpos=3_0 (port 443)

Please forward this error screen to www.tropicalfishforums.co.uk's WebMaster.

No need to worry about this problem, mod removed from my site.
LOL...you should have digged out the solution and make it work....its a fantastic mod by SA :)
Title: Re: SA Facebook Integration
Post by: Nitesh Kunnath on March 18, 2012, 05:42:38 PM
Quote from: SA™ on March 18, 2012, 03:58:25 PM
Quote from: distante on March 18, 2012, 02:11:22 PM
Also, I can't figure out why the "publish" button doesn't work here:
http://www.desadaptados.net/software-y-hardware/como-se-escribe-la-letra-''n''/

cant you try removing  ''ñ''? from that pst and then try it pls have a feeelin itis that
Do url too contribute to errors ? :o

@SA: Please help me here (Google+ Integration): http://www.simplemachines.org/community/index.php?topic=468660.msg3295802#msg3295802
Title: Re: SA Facebook Integration
Post by: clothahump on March 18, 2012, 05:47:45 PM
Quote from: die2mrw007 on March 18, 2012, 05:42:12 PM
Quote from: clothahump on March 18, 2012, 04:58:02 PM
Quote from: clothahump on March 18, 2012, 12:06:01 PM
Not working for me, error page shows.

The server can not find the requested page:

    /index.php?action=forum&fb_source=bookmarks_apps&ref=bookmarks&count=0&fb_bmpos=3_0 (port 443)

Please forward this error screen to www.tropicalfishforums.co.uk's WebMaster.

No need to worry about this problem, mod removed from my site.
LOL...you should have digged out the solution and make it work....its a fantastic mod by SA :)

If I want to mess around going HTTPS yes it probably is, forum is quite large and I can almost guarantee something would go wrong with re-naming all the files.
Title: Re: SA Facebook Integration
Post by: Nitesh Kunnath on March 18, 2012, 05:50:14 PM
Quote from: clothahump on March 18, 2012, 05:47:45 PM
If I want to mess around going HTTPS yes it probably is, forum is quite large and I can almost guarantee something would go wrong with re-naming all the files.
you can try it out in a test forum set in different folder with different sub-domain of your server :)
I do the same before applying it to main forum !!!
Title: Re: SA Facebook Integration
Post by: clothahump on March 18, 2012, 05:52:53 PM
Have you got an example of site working?
Title: Re: SA Facebook Integration
Post by: Nitesh Kunnath on March 18, 2012, 05:56:08 PM
Quote from: clothahump on March 18, 2012, 05:52:53 PM
Have you got an example of site working?
yup, my own forum :)
Click on the forum link provided in my signature !!!
Title: Re: SA Facebook Integration
Post by: clothahump on March 18, 2012, 05:59:35 PM
Just signed in and I see it does not work for you either, Facebook page does not load.
Title: Re: SA Facebook Integration
Post by: Nitesh Kunnath on March 18, 2012, 06:01:28 PM
Quote from: clothahump on March 18, 2012, 05:59:35 PM
Just signed in and I see it does not work for you either, Facebook page does not load.
I guess you are registered as TimBeer666, am I right ?
What you mean by Facebook Page here ? please explain a little more !!!
Title: Re: SA Facebook Integration
Post by: clothahump on March 18, 2012, 06:07:40 PM
http://forum.gizmolord.com/index.php?action=facebook also no sign of the app on your Facebook page.
Title: Re: SA Facebook Integration
Post by: Nitesh Kunnath on March 18, 2012, 06:12:02 PM
Quote from: clothahump on March 18, 2012, 06:07:40 PM
http://forum.gizmolord.com/index.php?action=facebook also no sign of the app on your Facebook page.
lol...wasnt that meant to be blank ? haha, I was at wrong impression then..... So, what should appear there instead of blank ?

hmmm...BTW, the main purpose of this mod was to sign up via facebook (one click signup) and its pretty fine with that. And yes, this said thing might be a bug, but I am not bothered much about this said feature by you as it isnt of much important to me infact !!! Though, if its fixed, then its good :)
Title: Re: SA Facebook Integration
Post by: distante on March 18, 2012, 06:13:10 PM
Quote from: clothahump on March 18, 2012, 06:07:40 PM
http://forum.gizmolord.com/index.php?action=facebook (http://forum.gizmolord.com/index.php?action=facebook) also no sign of the app on your Facebook page.

take a look to my site. www.desadaptados.net (http://www.desadaptados.net)
Title: Re: SA Facebook Integration
Post by: clothahump on March 18, 2012, 06:17:25 PM
Quote from: distante on March 18, 2012, 06:13:10 PM
Quote from: clothahump on March 18, 2012, 06:07:40 PM
http://forum.gizmolord.com/index.php?action=facebook (http://forum.gizmolord.com/index.php?action=facebook) also no sign of the app on your Facebook page.

take a look to my site. www.desadaptados.net (http://www.desadaptados.net)

Yours is the same, I take it there should be content from your Forum showing in the app on Facebook and Facebook content showing in your Forum, perhaps I am wrong.
Title: Re: SA Facebook Integration
Post by: distante on March 18, 2012, 06:18:14 PM
https://www.facebook.com/LosDesadaptados <--
Title: Re: SA Facebook Integration
Post by: clothahump on March 18, 2012, 06:20:02 PM
http://www.sa-smf.com/community/index.php?action=facebook
Title: Re: SA Facebook Integration
Post by: Nitesh Kunnath on March 18, 2012, 06:22:14 PM
Quote from: clothahump on March 18, 2012, 06:17:25 PM
Quote from: distante on March 18, 2012, 06:13:10 PM
Quote from: clothahump on March 18, 2012, 06:07:40 PM
http://forum.gizmolord.com/index.php?action=facebook (http://forum.gizmolord.com/index.php?action=facebook) also no sign of the app on your Facebook page.

take a look to my site. www.desadaptados.net (http://www.desadaptados.net)

Yours is the same, I take it there should be content from your Forum showing in the app on Facebook and Facebook content showing in your Forum, perhaps I am wrong.
I guess you are right.... but to say, this ain't working... Hope SA will provide a fix soon..he is a great guy :)
Title: Re: SA Facebook Integration
Post by: SA™ on March 18, 2012, 06:23:57 PM
this is not a bug i guess you can say its a design flaw  :D

you can enable/disable that page in admin and if you click on the social tab in fb admin you can enable/disable the comments and like box from there

Title: Re: SA Facebook Integration
Post by: distante on March 18, 2012, 06:27:54 PM
Quote from: SA™ on March 18, 2012, 06:23:57 PM
this is not a bug i guess you can say its a design flaw  :D

you can enable/disable that page in admin and if you click on the social tab in fb admin you can enable/disable the comments and like box from there



SA to moderate comments in the facebook action, do I have to be the forum admin or have been logued with the fb:admin account?
Title: Re: SA Facebook Integration
Post by: Nitesh Kunnath on March 18, 2012, 06:29:49 PM
Quote from: SA™ on March 18, 2012, 06:23:57 PM
this is not a bug i guess you can say its a design flaw  :D

you can enable/disable that page in admin and if you click on the social tab in fb admin you can enable/disable the comments and like box from there


we need to have a tab assigned in facebook ? ok, I will check and report :)
Title: Re: SA Facebook Integration
Post by: SA™ on March 18, 2012, 06:30:47 PM
Quote from: distante on March 18, 2012, 06:27:54 PM
Quote from: SA™ on March 18, 2012, 06:23:57 PM
this is not a bug i guess you can say its a design flaw  :D

you can enable/disable that page in admin and if you click on the social tab in fb admin you can enable/disable the comments and like box from there



SA to moderate comments in the facebook action, do I have to be the forum admin or have been logued with the fb:admin account?

i think any admin of your app/page should be able to
Title: Re: SA Facebook Integration
Post by: distante on March 18, 2012, 06:33:53 PM
When I tryed to "ban" an user , the comment box told me "fb:admin needed to moderate" or something like that
Title: Re: SA Facebook Integration
Post by: SA™ on March 19, 2012, 03:03:50 AM
your need to add
<meta property="fb:admins" content="{YOUR_FACEBOOK_USER_ID}"/>
after
<meta property="og:description" content="'.$context['page_title_html_safe'].'" />
in facebookhooks.php
Title: Re: SA Facebook Integration
Post by: distante on March 19, 2012, 05:55:13 PM
Quote from: SA™ on March 19, 2012, 03:03:50 AM
your need to add
<meta property="fb:admins" content="{YOUR_FACEBOOK_USER_ID}"/>
after
<meta property="og:description" content="'.$context['page_title_html_safe'].'" />
in facebookhooks.php
Thank you SA,

Do you know where Can I see ALL the comments maded in the comment box arround the forum?
Title: Re: SA Facebook Integration
Post by: SA™ on March 20, 2012, 12:20:38 AM
https://graph.facebook.com/comments/?ids=url_of_your_page

will get all the comments on the url you enter
Title: Re: SA Facebook Integration
Post by: distante on March 20, 2012, 06:54:29 AM
tried https://graph.facebook.com/comments/?ids=http://www.desadaptados.net

But no info showed (and I posted first some comments to try)
Title: Re: SA Facebook Integration
Post by: clothahump on March 20, 2012, 11:02:01 AM
Try your facebook URL
Title: Re: SA Facebook Integration
Post by: clothahump on March 20, 2012, 11:05:29 AM
https://graph.facebook.com/MarshwoodValeCider  :D

https://developers.facebook.com/docs/reference/api/
Title: Re: SA Facebook Integration
Post by: distante on March 20, 2012, 03:40:19 PM
Looks like I need an access token
Title: Re: SA Facebook Integration
Post by: SA™ on March 20, 2012, 04:44:51 PM
you dont have no comments box on the root of your site thats why try atopic url where the comments box shows with comments

example
https://graph.facebook.com/comments/?ids=http://www.sa-smf.com/community/index.php?topic=1551.0
http://www.sa-smf.com/community/index.php?topic=1551.msg9257;topicseen#new show the comments from that url if you scroll to the botton you see the same comments
Title: Re: SA Facebook Integration
Post by: distante on March 20, 2012, 05:29:25 PM
ohhhhhhhhhhhhhhhhhhhhhhhh
Title: Re: SA Facebook Integration
Post by: distante on March 21, 2012, 06:55:21 AM
The "post reply to same plublish in facebook" have conflict with the Drafts mod: http://custom.simplemachines.org/mods/index.php?mod=2621 (http://custom.simplemachines.org/mods/index.php?mod=2621)

When I Save my post as a draft (for finish later) the FB integration still post this in facebook, and when I finally publish the post/topic, it gets posted in facebook also (without stripping the html tags)

(http://www.simplemachines.org/community/index.php?action=dlattach;topic=365503.0;attach=199629)
Title: Re: SA Facebook Integration
Post by: SA™ on March 23, 2012, 05:26:46 AM
will look into this later
Title: Re: SA Facebook Integration
Post by: distante on March 23, 2012, 08:46:00 PM
;) when ever you have the chance.

The next realease of FACEBOOK INTEGRATION will be a huge success :P
Title: Re: SA Facebook Integration
Post by: SA™ on March 24, 2012, 12:09:03 PM
lol that will teach me for not reading properly i was try to replicate this with the auto publisher :D no wonder i couldent replicate this now i know it is the replys

Quote from: distante on March 21, 2012, 06:55:21 AM
The "post reply to same plublish in facebook" have conflict with the Drafts mod: http://custom.simplemachines.org/mods/index.php?mod=2621 (http://custom.simplemachines.org/mods/index.php?mod=2621)

When I Save my post as a draft (for finish later) the FB integration still post this in facebook, and when I finally publish the post/topic, it gets posted in facebook also (without stripping the html tags)

(http://www.simplemachines.org/community/index.php?action=dlattach;topic=365503.0;attach=199629)
Title: Re: SA Facebook Integration
Post by: distante on March 24, 2012, 12:50:38 PM
hahaha :P
Title: Re: SA Facebook Integration
Post by: David111567 on March 25, 2012, 07:41:44 PM
Invite friends does not work.. There is no popup message...

any advice?
Title: Re: SA Facebook Integration
Post by: mageguild on March 26, 2012, 08:31:39 AM
The Facebook Like button is at the top/outside the topic container itself.  Is there anyway to move the like button so that it can sit within div that contains the h3 for the topic header?  I have attached a screen grab of what I mean. 

Thanks
Title: Re: SA Facebook Integration
Post by: Kindred on March 26, 2012, 09:52:15 AM
not easily.... (and you don't want the like button inside an h3 anyway. that would be bad coding.)
Title: Re: SA Facebook Integration
Post by: SA™ on March 26, 2012, 01:57:40 PM
Quote from: David111567 on March 25, 2012, 07:41:44 PM
Invite friends does not work.. There is no popup message...

any advice?

im still not entirly sure as to why it works for some but not others it somthing im still looking into

Quote from: mageguild on March 26, 2012, 08:31:39 AM
The Facebook Like button is at the top/outside the topic container itself.  Is there anyway to move the like button so that it can sit within div that contains the h3 for the topic header?  I have attached a screen grab of what I mean. 

Thanks


kindred hit the nail on the head there it done like this so it doesnt use templte edits wich means less support :P
Title: Re: SA Facebook Integration
Post by: David111567 on March 26, 2012, 08:59:33 PM
Quote from: SA™ on March 26, 2012, 01:57:40 PM
Quote from: David111567 on March 25, 2012, 07:41:44 PM
Invite friends does not work.. There is no popup message...

any advice?

im still not entirly sure as to why it works for some but not others it somthing im still looking into


I don't know if this helps...but...

I installed a fresh copy of SMF 2.0.2 with all my mods and the Facebook Integration mod. It worked fine...all the way around...it worked just great.

However... my live sites are all SMF 2.0 ...UPGRADED to 2.0.2.  And on these sites...Invite does not function, along with "What's on your Mind".

I'm wondering....is there a difference between a clean install of 2.0.2 and an upgrade from 2.0....that might be causing this problem?

The only other thing I can think of is a conflict with another mod.  I would be interested in comparing my mod list with the others who are having this issue....perhaps there's a common mod that we all have that could be verified as a conflict with Facebook Connect.

Hope this helps. I might be barking up the wrong tree entirely...but I figured it might help if I reported what I'm seeing.  Any insights would be appreciated.

Finally...you work pretty hard to maintain this mod...and I really enjoy using it.  My members like it as well.  So even with the issues I'm seeing...I would still give this mod 5 stars!  Thanks for your hard work!

David

Title: Re: SA Facebook Integration
Post by: Smasher on March 27, 2012, 11:39:03 AM
Anyone else having problem with session when trying to log out? or is this due to a modification I made and I am not realizing it?
Title: Re: SA Facebook Integration
Post by: David111567 on March 27, 2012, 05:33:25 PM
Quote from: Smasher on March 27, 2012, 11:39:03 AM
Anyone else having problem with session when trying to log out? or is this due to a modification I made and I am not realizing it?

never encountered a session log-out error...except when I loaded Ajax Chat a long while ago...but that problem now has a fix to it and I've had no such issues since.
Title: Re: SA Facebook Integration
Post by: Smasher on March 27, 2012, 10:12:31 PM
Does this mod change the "normal" way of logging out? If so that is where my problem is...
Title: Re: SA Facebook Integration
Post by: David111567 on March 27, 2012, 10:53:34 PM
Quote from: Smasher on March 27, 2012, 10:12:31 PM
Does this mod change the "normal" way of logging out? If so that is where my problem is...

No, not at all.  Members should be able to log out as they always do, in the usual way.
Title: Re: SA Facebook Integration
Post by: SA™ on March 28, 2012, 10:17:19 AM
Quote from: Smasher on March 27, 2012, 10:12:31 PM
Does this mod change the "normal" way of logging out? If so that is where my problem is...

no  this mod dont efect users logging out at least it shouldent do any way does it still do this with out the mod installed?

@David111567
out of interest what other mods you have installed?
Title: Re: SA Facebook Integration
Post by: clothahump on March 28, 2012, 02:58:47 PM
Now got https set up on my site, tried to set up app and have part of it working but not all, could somebody point me to the problem.

https://apps.facebook.com/tropicalfishforums/

https://www.tropicalfishforums.co.uk/index.php?action=facebook;area=main shows my problem, where do I change the URL in the app settings.
Title: Re: SA Facebook Integration
Post by: clothahump on March 28, 2012, 03:28:17 PM
App Namespace
tropicalfishforums
   
Site URL
http://www.tropicalfishforums.co.uk/

Site Domain
tropicalfishforums.co.uk
   
Canvas Page
https://apps.facebook.com/tropicalfishforums/

Canvas URL
http://www.tropicalfishforums.co.uk/index.php?action=forum
   
Secure Canvas URL
https://www.tropicalfishforums.co.uk/index.php?action=forum

Canvas FBML/iframe
iframe
Title: Re: SA Facebook Integration
Post by: distante on March 28, 2012, 06:43:47 PM
You SSL certificated is ...mmm ..invalid? at least that is what my browser tell me when I tried to access your site.
Title: Re: SA Facebook Integration
Post by: David111567 on March 28, 2012, 07:22:00 PM
Quote from: SA™ on March 28, 2012, 10:17:19 AM
Quote from: Smasher on March 27, 2012, 10:12:31 PM
Does this mod change the "normal" way of logging out? If so that is where my problem is...

no  this mod dont efect users logging out at least it shouldent do any way does it still do this with out the mod installed?

@David111567
out of interest what other mods you have installed?

Are you SURE you want to know? <lol>  Ok...here's the list:

Activity_Bar    1.0.1.3    
Adk Blog    3.0    
Aeva Media    1.4w    
AjaxChat Integration    
audiblepm 1.5
Arcadeworld Template    
Avatar Optimization    1.0.1    
AW Arcade Users Online    2.1    
Board-color-and-icons    1.1
Bookmarks    2.3
Drafts    1.1.1    
Dynamic_Memberlist    2.0.6
E-Arcade    Beta4-SMF2rc1
Email Template Editor    1.0
FAQ Mod    1.0.1
Join date and Location in Posts    1.1
Join Reason    1.3
Last Active On MemberList    1.4
New Topic in Seperate Color    1.2
notCaptcha    1.06
Online Users Area    1.1.1    
PM Auto Responder    1.0
Pm_Informer    3.0    
PM to New Members    1.2
Profile Statuses    2.0
Quick Indication Change    1.4
Quick Reply Permission    1.0    
SA Chat    Beta 3 Rev41
SA Facebook    2.0 RC4 Rev58    
SimpleAds    1.0.1
SimplePortal    2.3.5
Smart Pagination    0.6
SMF Activity Stream PRO
Birthday on Profile Summary v2    2.1
Ultimate Profile    0.9.1    
VB Style Board Index    1.7
vNES Integration    2.5
Weather In Posts v.1    1.0
Welcome Topic Mod    2.1    
Yandex.Speller for SMF
Title: Re: SA Facebook Integration
Post by: SA™ on March 29, 2012, 02:22:13 PM
can you pls try it without SA Chat  mod installed?
Title: Re: SA Facebook Integration
Post by: David111567 on March 31, 2012, 05:00:02 PM
Quote from: SA™ on March 29, 2012, 02:22:13 PM
can you pls try it without SA Chat  mod installed?

No difference. Same issue.

*UPDATE*

ok...everything is working flawlessly.  Including SA Chat. Here's how I did it.

1. Uninstall SA Chat
2. Uninstall SA Facebook Integration
3. Re-Install SA Facebook Integration
4. Re-Install SA Chat

Do this...in the exact order I have....and BOTH will work.

Thanks!
David
Title: Re: SA Facebook Integration
Post by: littleone on March 31, 2012, 11:28:03 PM
I am still having the same issue.  When I hit the "Grant Permission" it just reloads to my forum index page.  I just upgraded to the most recent version.  I have no idea what I am doing wrong.  This mod worked perfectly before all the fanpage/developer stuff changed.  What can I do to get some help on this.  Its truly frustrating.  I want this mod to work!
Title: Re: SA Facebook Integration
Post by: SA™ on April 01, 2012, 12:30:31 PM
you have to save the settings in the publisher admin then click the grant permissions button
in other words hit save on the publisher page then click grant permissions
Title: Re: SA Facebook Integration
Post by: Nitesh Kunnath on April 01, 2012, 05:52:50 PM
same issue...when we click on Grant permission, it redirects to index page
Title: Re: SA Facebook Integration
Post by: SA™ on April 01, 2012, 08:30:36 PM
Quote from: SA™ on April 01, 2012, 12:30:31 PM
you have to save the settings in the publisher admin then click the grant permissions button
in other words hit save on the publisher page then click grant permissions
Title: Re: SA Facebook Integration
Post by: distante on April 02, 2012, 11:02:21 PM
Quote from: SA™ on March 12, 2012, 03:14:18 AM

QuoteAnd One more thing, In the hooks, is a possibility to put or create a button "what are you thinking" in a specific place?

yes you can use the facebook_showPub function

example

if (class_exists('SAFacebookhooks')) {
                echo
               SAFacebookhooks::facebook_showPub(
                   array(
                     'subject' =>'subject',
                     'body' => 'body',
                     'href' =>href,
                     'isPost' => false,
                    )
               );
             }


When I try to put that so I can have a "what's on your mind" buttom, a get a link of "publish in fB" and If I clic it this error is showed:

Quote
Ocurrió un error con desadaptados.net. Por favor intenta de nuevo más tarde.

API Error Code: 100
API Error Description: Invalid parameter
Error Message: attachment-href URL is not properly formatted

How can I have a buttom like the one in the facebook tab (the last one) so I can post in my wall directly (with out send o like anything)
Title: Re: SA Facebook Integration
Post by: SA™ on April 03, 2012, 10:33:58 AM
echo SAFacebookhooks::facebook_showPub(
    array(
        'subject' => 'subject',
'body' => 'body',
'href' =>'url,
'txt_label' => 'Whats on your mind',
        'isPost' => false,
    )
);


same as before but slitly different this is whats used in the facebook tab check you self in the facebook.template.php

echo SAFacebookhooks::facebook_showPub(
    array(
        'subject' => $context['forum_name'],
'body' => !empty($settings['site_slogan']) ? $settings['site_slogan'] : '',
'href' => $scripturl,
'txt_label' => $txt['fb_woym'],
        'isPost' => false,
    )
);
Title: OAuthException: (#803) Some of the aliases you requested do not exist
Post by: osckar on April 03, 2012, 01:46:37 PM
Hi:

I'm using this mod with SMF 2.0.2 and I get this error when a user tries to register or an already registered user clicks on the Facebook configuration in profile:

QuoteAn error has occured

OAuthException: (#803) Some of the aliases you requested do not exist: me&fields=id,name,username

Any help is appreciated.

Thanks!
Title: Re: SA Facebook Integration
Post by: distante on April 03, 2012, 04:02:31 PM
Quote from: SA™ on April 03, 2012, 10:33:58 AM
echo SAFacebookhooks::facebook_showPub(
    array(
        'subject' => 'subject',
'body' => 'body',
'href' =>'url,
'txt_label' => 'Whats on your mind',
        'isPost' => false,
    )
);


same as before but slitly different this is whats used in the facebook tab check you self in the facebook.template.php

echo SAFacebookhooks::facebook_showPub(
    array(
        'subject' => $context['forum_name'],
'body' => !empty($settings['site_slogan']) ? $settings['site_slogan'] : '',
'href' => $scripturl,
'txt_label' => $txt['fb_woym'],
        'isPost' => false,
    )
);


Thanks. I Will try this when I'm in my laptop
Title: Re: SA Facebook Integration
Post by: mcdrecords on April 09, 2012, 10:57:52 PM
Hi i'm french user and when i installed this mod, it show me this: Une erreur s'est produite. Veuillez réessayer plus tard.
Not possible to login with facebook.
Please any help?
My forum: mcdrecords.com/forum

Thx
Title: Re: SA Facebook Integration
Post by: SA™ on April 11, 2012, 02:43:25 PM
did you make an app on facebook

http://www.sa-smf.com/community/index.php?action=kb;area=article;cont=41
Title: Re: SA Facebook Integration
Post by: glennk on April 12, 2012, 05:38:57 PM
Hi guys, im getting these errors. Any advice please ??

1.    Execute Code    install.php    
   2.    Extract Tree    ./Sources/Facebook    
   3.    Extract File    ./Themes/default/Facebook.template.php    
   4.    Extract File    ./Themes/default/FacebookAdmin.template.php    
   5.    Extract File    ./Themes/default/images/facebook.png    
   6.    Extract Tree    ./facebookauth    
   7.    Extract File    ./Themes/default/languages/Facebook.english.php    
   8.    Extract File    ./Themes/default/languages/Facebook.english-utf8.php    
*    9.    Execute Modification    ./index.php    Test successful
*    10.    Execute Modification    ./Sources/Admin.php    Test successful
*    11.    Execute Modification    ./Themes/default/index.template.php    Test successful
*    12.    Execute Modification    ./Themes/default/BoardIndex.template.php    Test failed
      1.    Add Before    ./Themes/default/BoardIndex.template.php    Test successful
      2.    Add After    ./Themes/default/BoardIndex.template.php    Test failed
*    13.    Execute Modification    ./Themes/default/Display.template.php    Test successful
*    14.    Execute Modification    ./Themes/default/MessageIndex.template.php    Test failed
      1.    Add After    ./Themes/default/MessageIndex.template.php    Test successful
      2.    Add After    ./Themes/default/MessageIndex.template.php    Test failed
*    15.    Execute Modification    ./Sources/ManagePermissions.php    Test successful
Title: Re: SA Facebook Integration
Post by: f00ty on April 13, 2012, 06:12:19 AM
Quote from: SA™ on April 11, 2012, 02:43:25 PM
did you make an app on facebook

http://www.sa-smf.com/community/index.php?action=kb;area=article;cont=41

The site doesn't exist.
Title: Re: SA Facebook Integration
Post by: Nitesh Kunnath on April 15, 2012, 05:54:23 AM
Errors in log :(
What maybe the issue ?

Quotehttp://forum.gizmolord.com/index.php?action=facebookintegrate;area=auto;agree
The database value you're trying to insert does not exist: mem
Function: face_USettings
File: (server path)/Sources/Facebook/FacebookHooks.php
Line: 960

Quotehttp://forum.gizmolord.com/index.php?action=facebookintegrate;area=auto;agree
The database value you're trying to insert does not exist: email_address
Function: registerMember
File: (server path)/Sources/Subs-Members.php
Line: 594
Title: Re: SA Facebook Integration
Post by: Nitesh Kunnath on April 15, 2012, 06:01:02 AM
Also, I want to remove this portion (marked with red)

Any way ?
Title: Re: SA Facebook Integration
Post by: Pyrhel on April 15, 2012, 07:50:21 AM
Any news about the site with the guide for creating the FB application?
Title: Re: SA Facebook Integration
Post by: Mike_A on April 15, 2012, 07:23:27 PM
Quote from: Pyrhel on April 15, 2012, 07:50:21 AM
Any news about the site with the guide for creating the FB application?

Just go to developers . facebook . com/apps and then click "+Create New App"
Then just fill in the boxes such as your sites address, etc. If you are unsure about anything, just hover your mouse over the [?] symbol.

Mike
Title: Re: SA Facebook Integration
Post by: Eugeanne on April 16, 2012, 03:40:03 AM
I'm just new here but I think this one is a really good move.
Title: Re: SA Facebook Integration
Post by: Nahaz on April 18, 2012, 09:00:59 AM
Is it possible to control what information from Facebook get filled in certain fields on your profile?

Some examples:
I want a field with full real name
Automaticly set avatar to facebook picture (on association or registration)


Another thing, if you have facebook only registration, and it's on auto, no password is set and you can't change your forum profile.
Title: Re: SA Facebook Integration
Post by: Pyrhel on April 18, 2012, 04:48:27 PM
Quote from: Mike_A on April 15, 2012, 07:23:27 PM
Quote from: Pyrhel on April 15, 2012, 07:50:21 AM
Any news about the site with the guide for creating the FB application?

Just go to developers . facebook . com/apps and then click "+Create New App"
Then just fill in the boxes such as your sites address, etc. If you are unsure about anything, just hover your mouse over the [?] symbol.

Mike

Thank you and i managed to make it work, but unfortunately that not what i've expected from this.
Title: Re: SA Facebook Integration
Post by: tectonny on April 20, 2012, 04:32:39 PM
I installed now and in the struggle, the tutorial was down:
http://www.sa-smf.com/community/index.php?action=kb;area=cats;cat=1

Would anyone i can test to see if it worked:
http://www.tectonny.com/forum/index.php
Title: Re: SA Facebook Integration
Post by: MESWEB on April 21, 2012, 12:57:40 PM
How to fix UTF-8 characters?
Title: Re: SA Facebook Integration
Post by: billis_2 on April 21, 2012, 03:43:42 PM
I have install SA Facebook Integration 2.0 RC4 REV58
and i have w3 Validation Output: 7 Errors, 9 warning(s)

Title: Re: SA Facebook Integration
Post by: distante on April 21, 2012, 06:37:30 PM
Even google have W3 validation problems http://validator.w3.org/check?uri=http://www.google.com&charset=(detect+automatically)&doctype=Inline&group=0&user-agent=W3C_Validator/1.3
Title: Re: SA Facebook Integration
Post by: pippo1 on April 22, 2012, 06:00:19 AM
Quote from: billis_2 on April 21, 2012, 03:43:42 PM
I have install SA Facebook Integration 2.0 RC4 REV58
and i have w3 Validation Output: 7 Errors, 9 warning(s)

in base_facebook.php riga 958
search:

$url .= '?' . http_build_query($params, null, '&');


replace

$url .= '?' . http_build_query($params, null, '&amp;');



in FacebookHooks.php riga 425
search:

$open_graph = '
<meta property="fb:app_id" content="'.$modSettings['fb_app_id'].'" />
<meta property="og:type" content="article" />
<meta property="og:locale" content="'.(empty($modSettings['fb_admin_intern1']) ? $modSettings['fb_admin_intern1'] : 'en_US').'" />
<meta property="og:title" content="'.$context['page_title_html_safe']. '" />
<meta property="og:image" content="'.(!empty($modSettings['fb_app_image']) ? $modSettings['fb_app_image'] : $settings['default_theme_url'].'/images/topic/veryhot_post.gif').'" />
<meta property="og:description" content="'.$context['page_title_html_safe'].'" />
<meta property="og:url" content="'.(empty($context['current_topic']) ? $scripturl : $scripturl .'?topic='.$context['current_topic'].'.0').'" />';


replace

$open_graph = '<script type="text/javascript">
<![CDATA[<meta property="fb:app_id" content="'.$modSettings['fb_app_id'].'" />
<meta property="og:type" content="article" />
<meta property="og:locale" content="'.(empty($modSettings['fb_admin_intern1']) ? $modSettings['fb_admin_intern1'] : 'en_US').'" />
<meta property="og:title" content="'.$context['page_title_html_safe']. '" />
<meta property="og:image" content="'.(!empty($modSettings['fb_app_image']) ? $modSettings['fb_app_image'] : $settings['default_theme_url'].'/images/topic/veryhot_post.gif').'" />
<meta property="og:description" content="'.$context['page_title_html_safe'].'" />
<meta property="og:url" content="'.(empty($context['current_topic']) ? $scripturl : $scripturl .'?topic='.$context['current_topic'].'.0').'" />//]]></script>';



bye.
Title: Re: SA Facebook Integration
Post by: BoxingChaos on April 22, 2012, 04:08:14 PM
Dear SA™. I want to install this app but all the instructions are gone because they are all on your website that is DOWN. Any news of when you will be back, so I can install this?
Thank you.
Title: Re: SA Facebook Integration
Post by: tectonny on April 22, 2012, 05:45:54 PM
How to solve the problem of accent?
Title: Re: SA Facebook Integration
Post by: TheListener on April 22, 2012, 06:01:17 PM
Quote from: BoxingChaos on April 22, 2012, 04:08:14 PM
Dear SA™. I want to install this app but all the instructions are gone because they are all on your website that is DOWN. Any news of when you will be back, so I can install this?
Thank you.

Try http://www.simplemachines.org/community/index.php?topic=365503.2560

The The instructions are on the facebook site itself I believe.
Title: Re: SA Facebook Integration
Post by: BoxingChaos on April 22, 2012, 07:56:42 PM
Quote from: Old Fossil on April 22, 2012, 06:01:17 PM
Quote from: BoxingChaos on April 22, 2012, 04:08:14 PM
Dear SA™. I want to install this app but all the instructions are gone because they are all on your website that is DOWN. Any news of when you will be back, so I can install this?
Thank you.

Try http://www.simplemachines.org/community/index.php?topic=365503.2560

The The instructions are on the facebook site itself I believe.

Ok my friend thank you will visit your MS page thanks for the reply :)

You just gave me this link:
http://www.simplemachines.org/community/index.php?topic=365503.2560

I am here on that page typing. Are you pulling my leg or am I missing something :(
Sorry I have a terrible tooth ache and I am very dizzy, I hope I do not come off as angry, even though I am in real pain :(

Title: Re: SA Facebook Integration
Post by: tectonny on April 24, 2012, 11:41:45 AM
The mod works great, but getting off all the characters are messy, but I do not know what to do, tried all the solutions and nothing to see:
http://www.facebook.com/tectonny
http://www.tectonny.com/forum/
Title: Re: SA Facebook Integration
Post by: MESWEB on April 24, 2012, 02:39:53 PM
Invite friends does not work.. There is no popup message...
any advice?
Title: Re: SA Facebook Integration
Post by: LexusFTW on April 24, 2012, 05:03:54 PM
I have a problem with my site tulsastreetcars.com

I can't get posts to publish to the facebook page.  I'm sure I didn't install the app correctly.  Can someone who has this working on their site please PM me so I can send them screenshots and get this working?
Title: Re: SA Facebook Integration
Post by: TheListener on April 24, 2012, 05:37:00 PM
Quote from: LexusFTW on April 24, 2012, 05:03:54 PM
I have a problem with my site tulsastreetcars.com

I can't get posts to publish to the facebook page.  I'm sure I didn't install the app correctly.  Can someone who has this working on their site please email me at [email protected] so I can send them screenshots and get this working?

Would this link be any use?

http://www.simplemachines.org/community/index.php?topic=360150.0
Title: Re: SA Facebook Integration
Post by: LexusFTW on April 24, 2012, 06:14:02 PM
Thanks! I guess that's one way to do it :)
Title: Re: SA Facebook Integration
Post by: TheListener on April 24, 2012, 06:15:32 PM
Quote from: LexusFTW on April 24, 2012, 06:14:02 PM
Thanks! I guess that's one way to do it :)

may I suggest ya remove ya email addy from your posts. Don't want endless spam do we?

:)
Title: Re: SA Facebook Integration
Post by: BoxingChaos on April 27, 2012, 09:00:17 AM
Ok. I have been waiting 2 weeks to get some help with this.

The 2 links we are posed to visit

Warning: You must create an application on facebook to use this modification
For information on creating your application please read ==> here <==.


Both links are dead!

http://www.sa-mods.info/index.php?topic=734.0

http://www.sa-smf.com/community/index.php?action=kb;area=article;cont=28

So with that being said, does any one have these instructions?

Thread starter? SA™.

I need the info PLEASE!

I am begging you  :-[

Thanks.
Title: Re: SA Facebook Integration
Post by: distante on April 28, 2012, 12:01:49 AM
Create a facebook app:
https://developers.facebook.com/apps
Title: Re: SA Facebook Integration
Post by: billis_2 on April 28, 2012, 12:58:40 PM
Quote from: Dott.New on April 22, 2012, 06:00:19 AM
Quote from: billis_2 on April 21, 2012, 03:43:42 PM
I have install SA Facebook Integration 2.0 RC4 REV58
and i have w3 Validation Output: 7 Errors, 9 warning(s)

in base_facebook.php riga 958
search:

$url .= '?' . http_build_query($params, null, '&');


replace

$url .= '?' . http_build_query($params, null, '&amp;');



in FacebookHooks.php riga 425
search:

$open_graph = '
<meta property="fb:app_id" content="'.$modSettings['fb_app_id'].'" />
<meta property="og:type" content="article" />
<meta property="og:locale" content="'.(empty($modSettings['fb_admin_intern1']) ? $modSettings['fb_admin_intern1'] : 'en_US').'" />
<meta property="og:title" content="'.$context['page_title_html_safe']. '" />
<meta property="og:image" content="'.(!empty($modSettings['fb_app_image']) ? $modSettings['fb_app_image'] : $settings['default_theme_url'].'/images/topic/veryhot_post.gif').'" />
<meta property="og:description" content="'.$context['page_title_html_safe'].'" />
<meta property="og:url" content="'.(empty($context['current_topic']) ? $scripturl : $scripturl .'?topic='.$context['current_topic'].'.0').'" />';


replace

$open_graph = '<script type="text/javascript">
<![CDATA[<meta property="fb:app_id" content="'.$modSettings['fb_app_id'].'" />
<meta property="og:type" content="article" />
<meta property="og:locale" content="'.(empty($modSettings['fb_admin_intern1']) ? $modSettings['fb_admin_intern1'] : 'en_US').'" />
<meta property="og:title" content="'.$context['page_title_html_safe']. '" />
<meta property="og:image" content="'.(!empty($modSettings['fb_app_image']) ? $modSettings['fb_app_image'] : $settings['default_theme_url'].'/images/topic/veryhot_post.gif').'" />
<meta property="og:description" content="'.$context['page_title_html_safe'].'" />
<meta property="og:url" content="'.(empty($context['current_topic']) ? $scripturl : $scripturl .'?topic='.$context['current_topic'].'.0').'" />//]]></script>';



bye.

Thank you :)
Title: Re: SA Facebook Integration
Post by: than on April 29, 2012, 07:26:29 AM
Hi,

Great Mod, I only have one problem. When I publish a message with attachment, this don´t appears in Facebook page message, only the message icon.

¿How can I include the image located in attachment in the Facebook page message?

Thanks in advance.
Than.
Title: Re: SA Facebook Integration
Post by: templaries on April 30, 2012, 05:42:42 PM
Hi

Please, this mod doesnt work for me.

I have installed smf 2.0.2 version and SA facebook RC4 REV58.

I have configured well (i think) the properties, also, the Facebook App fields (ID and Secret).

After, when I try to test the mod in main page of forum clicking "Connect with Facebook", the mod sends me to this facebook page:

www_facebook_com/dialog/oauth?client_id=326404520747526&redirect_uri=http%3A%2F%2F[MY_FORUM_URL]%2Findex.php%3Faction%3Dfacebookintegrate&state=75acbfeff7e9f1460fffbac06f5c6a17&scope=offline_access%2Cemail%2Cstatus_update%2Cpublish_stream

And in, i obtained an error message, it is like this:

"Ha ocurrido un error con [name_of_my_fb_app]. Por favor, inténtalo de nuevo más tarde."

In English: " An error ocurred with [name_of_my_fb_app]. Please try again .
Title: Re: SA Facebook Integration
Post by: templaries on May 02, 2012, 05:26:09 AM
OK. I inform that the error was a incorrect filled of field webpage in facebook app.

The webpage must be the forum url.
Title: Re: SA Facebook Integration
Post by: !RFAN on May 05, 2012, 04:36:08 AM
I want to change position of Facebook Comments in posts.. i want to place it above post... please guide me..
Title: Re: SA Facebook Integration
Post by: Ctoshack on May 10, 2012, 08:14:27 PM
I'm using the latest version of smf and sa facebook integration.   Everything was working fine then I noticed that the connect with facebook button does not show up for registration on IE or Firfox latest versions.  It does in chrome though!
Title: Re: SA Facebook Integration
Post by: David111567 on May 11, 2012, 03:06:39 AM
Quote from: Ctoshack on May 10, 2012, 08:14:27 PM
I'm using the latest version of smf and sa facebook integration.   Everything was working fine then I noticed that the connect with facebook button does not show up for registration on IE or Firfox latest versions.  It does in chrome though!


I have the exact same problem. And it doesn't actually show up in Chrome, either. That's just the way Chrome caches things...mine disappeared from all 3 browsers about 3 hours before Ctoshack's original post about this problem.

I can't find anything on Facebook explaining it, either. So... I have to assume it's an issue with this mod.  Sure could use some help as quickly as humanly possible, please.
Title: Re: SA Facebook Integration
Post by: !RFAN on May 12, 2012, 07:17:35 PM
Quote from: !RFAN on May 05, 2012, 04:36:08 AM
I want to change position of Facebook Comments in posts.. i want to place it above post... please guide me..
Title: Re: SA Facebook Integration
Post by: NikShiP on May 13, 2012, 06:07:48 AM
I installed this mod, configured it with app id n secret

now, this error is coming when i click on login with facebook button

An error occurred with Gizmolord.net Registration. Please try again later.

Please help me..
My site url : www.gizmolord.net
Title: Re: SA Facebook Integration
Post by: David111567 on May 13, 2012, 07:46:50 AM
The "Connect with Facebook"  button does not show up.  It went missing on May 10th.  I know of others who have this same issue.  It's just GONE.  I would like some support on this issue since my Facebook members can no longer LOG IN to my site. This is serious.

However...I am beginning to get worried because the author of this mod seems to have disappeared as well. His site is pulled offline...it's down... and he hasn't been here in some time, either.  Looks like he's just packed up and left the party... ??

Sure could use some help as quickly as humanly possible....so if anybody has some ideas as to how to fix this... I sure would appreciate it.  Over half of my members come from Facebook. I trusted this mod and I rely on it... It's a real BUMMER that my members can't LOG IN to my site anymore. 

Any ideas?  Anyone?
Title: Re: SA Facebook Integration
Post by: Nitesh Kunnath on May 13, 2012, 07:52:32 AM
Quote from: David111567 on May 13, 2012, 07:46:50 AM
The "Connect with Facebook"  button does not show up.  It went missing on May 10th.  I know of others who have this same issue.  It's just GONE.  I would like some support on this issue since my Facebook members can no longer LOG IN to my site. This is serious.

However...I am beginning to get worried because the author of this mod seems to have disappeared as well. His site is pulled offline...it's down... and he hasn't been here in some time, either.  Looks like he's just packed up and left the party... ??

Sure could use some help as quickly as humanly possible....so if anybody has some ideas as to how to fix this... I sure would appreciate it.  Over half of my members come from Facebook. I trusted this mod and I rely on it... It's a real BUMMER that my members can't LOG IN to my site anymore. 

Any ideas?  Anyone?

Check out the option "Facebook login image "
Just specify the login image url there !

If you have a facebook connect image with you (if not, google for the image..u will definitely get one)
Specify that image URL in the box "Facebook login image"
Title: Re: SA Facebook Integration
Post by: Biology Forums on May 13, 2012, 07:20:01 PM
Happened to me too, use this one:
Title: Re: SA Facebook Integration
Post by: David111567 on May 14, 2012, 04:30:45 PM
Quote from: die2mrw007 on May 13, 2012, 07:52:32 AM
Quote from: David111567 on May 13, 2012, 07:46:50 AM
The "Connect with Facebook"  button does not show up.  It went missing on May 10th.  I know of others who have this same issue.  It's just GONE.  I would like some support on this issue since my Facebook members can no longer LOG IN to my site. This is serious.

However...I am beginning to get worried because the author of this mod seems to have disappeared as well. His site is pulled offline...it's down... and he hasn't been here in some time, either.  Looks like he's just packed up and left the party... ??

Sure could use some help as quickly as humanly possible....so if anybody has some ideas as to how to fix this... I sure would appreciate it.  Over half of my members come from Facebook. I trusted this mod and I rely on it... It's a real BUMMER that my members can't LOG IN to my site anymore. 

Any ideas?  Anyone?

Check out the option "Facebook login image "
Just specify the login image url there !

If you have a facebook connect image with you (if not, google for the image..u will definitely get one)
Specify that image URL in the box "Facebook login image"

Thank you all!  Much appreciated!  :)
Title: Re: SA Facebook Integration
Post by: LexusFTW on May 14, 2012, 05:07:13 PM
What's the deal with this mod? I can't get publisher to work.  If anyone can help me please PM me :)
Title: Re: SA Facebook Integration
Post by: drroot on May 15, 2012, 04:28:51 AM
Can't connect www.sa-smf.com?

Is it down?
Title: Re: SA Facebook Integration
Post by: NikShiP on May 15, 2012, 05:31:24 AM
Quote from: NikShiP on May 13, 2012, 06:07:48 AM
I installed this mod, configured it with app id n secret

now, this error is coming when i click on login with facebook button

An error occurred with Gizmolord.net Registration. Please try again later.

Please help me..
My site url : www.gizmolord.net
Please help me.. :(
Title: Re: SA Facebook Integration
Post by: Eclipse16V on May 15, 2012, 05:55:49 AM
Can anyone help me?
http://www.sa-smf.com/community/index.php?action=kb;area=article;cont=41
Is down!

What I have now set and so on?
Unfortunately, not the description.
Title: Re: SA Facebook Integration
Post by: Zuća on May 15, 2012, 07:50:27 AM
SA is no longer active...sa-smf.com domain delete
I think it's ruined everything
Title: Re: SA Facebook Integration
Post by: Eclipse16V on May 15, 2012, 08:46:46 AM
Oh great now, and who tells me what I need to adjust it?
great
Title: Re: SA Facebook Integration
Post by: Eclipse16V on May 16, 2012, 04:09:16 AM
Hello,
maybe someone here can tell me where I must submit to the API, so this mod is.
'm Just not on and the instructions are no longer accessible.

It's about Facebook, Twitter and Google +.

Please help me.
Title: Re: SA Facebook Integration
Post by: mrplow on May 16, 2012, 11:17:50 AM
not sure if the mod is being updated or not but believe Facebook have made some changes to how access tokens expire and are granted. at the moment this means the publisher doesnt work, there is another way to grant permissions and find a new access token using the graph api but I haven't worked it out yet

Is the grant permissions button still working for people? Mine drops back to index.php but with a code=XXXXXX (some string) but this string is not the new access token,
Title: Re: SA Facebook Integration
Post by: reconx86 on May 16, 2012, 04:19:13 PM
Does anyone know how to configure the SA Facebook plugin properly? All  configuration documentation seems to be lost
Title: Re: SA Facebook Integration
Post by: vbgamer45 on May 16, 2012, 08:21:31 PM
Have taken over work/support of this mod.

What would help me out is if you any bugs that you know about why this modification let me know and I will try to get it fixed. Might back port it to 1.1.x as well not sure though.
Title: Re: SA Facebook Integration
Post by: !RFAN on May 16, 2012, 09:56:28 PM
Quote from: !RFAN on May 12, 2012, 07:17:35 PM
Quote from: !RFAN on May 05, 2012, 04:36:08 AM
I want to change position of Facebook Comments in posts.. i want to place it above post... please guide me..
Title: Re: SA Facebook Integration
Post by: Biology Forums on May 17, 2012, 12:25:38 AM
QuoteMight back port it to 1.1.x as well not sure though.

PLEASE :( I'd really appreciate this.
Title: Re: SA Facebook Integration
Post by: WebLair on May 17, 2012, 04:20:02 AM
Having the same trouble

API Error Code: 191
API Error Description: The specified URL is not owned by the application
Error Message: Invalid redirect_uri: Given URL is not permitted by the application configuration.

A fix would be nice, if it is indeed broken and not just me  ;D great work on th G+ and twitter versions though.
Title: Re: SA Facebook Integration
Post by: Eclipse16V on May 17, 2012, 05:44:17 AM
I have to first find an explanation on how the whole set up on Facebook.
Title: Re: SA Facebook Integration
Post by: MESWEB on May 17, 2012, 12:10:05 PM
I have  error with title coding - not UTF-8.
http://www.facebook.com/pages/yoump3pl/317670484947523
This letter "Å" should be "ł"
In description all letters are correct and utf-8. My forum use Utf-8 coding
Title: Re: SA Facebook Integration
Post by: reconx86 on May 17, 2012, 12:20:25 PM
I have made a easy 1-step installer.... I tried to automate all the steps of SA Facebook, by just adding 1 file (index.php)
place this file in the SA Facebook folder and upload it to the SMF directory and browse to your SA folder
After that it should be all done,  you don't have to worry about copying, configuring  and deleting. (Even changing missing FB logo is done)

BUT I seem to be missing a small step, I got this error when doing it manually...
Quote
An error occurred with Test. Please try again later.

API Error Code: 191
API Error Description: The specified URL is not owned by the application
Error Message: Invalid redirect_uri: Given URL is not allowed by the Application configuration.
If someone please could tell me where this problem comes from... I can doucble check what's missing...
The index.php already does everything I did manually perfect.

index.php below:
Quote
<?
//Written for SA Facebook 2.02
//- Place this file in the SA Facebook directory (Rename the directory to something shorter like: sa)
//- Upload the SA Facebook directory to your SMF directory
//- Browse to your SA folder
/*************************************************************************************************************/
//Install Settings
/*************************************************************************************************************/
$settings = array(
    "fb_log_logo"   => "/Themes/default/images/facebook.png",
    "fb_app_id"      => "395496653824327",
    "fb_app_key"   => "395496653824327",
    "fb_app_secret"   => "56a3a588ed590becc3bf63b67ed66e53"
);

/*************************************************************************************************************/
//Configure - install.php
/*************************************************************************************************************/
$f = "install.php";
$p = openFile($f);
$keys = array_keys($settings);
for($i = 0; $i < count($keys); $i++)
{
   $pattern = '/array \(\''.$keys[$i].'\' ,\'.+\'\)/'; //Patern needs some work
   $content = "array ('".$keys[$i]."' ,'".$settings[$keys[$i]]."')";
   $p = preg_replace($pattern, $content, $p);
}
saveFile($f, $p);

/*************************************************************************************************************/
//Configure - Display.template.php
/*************************************************************************************************************/
$f = "../Themes/default/Display.template.php";
$p = openFile("../Themes/default/Display.template.php");
//Display.template.php - Add Line
$ori = "// Maybe we can approve it, maybe we should?
      if (\$message['can_approve'])";
$mod = "if (class_exists('SAFacebookhooks')) {
                echo
               SAFacebookhooks::facebook_showPub(
                   array(
                     'subject' => \$message['subject'],
                     'body' => \$message['body'],
                     'href' => \$message['href'],
                     'isPost' => true,
                    )
               );
             }\n".$ori;
$p = str_replace($ori, $mod, $p);   
   
//Display.template.php - Replace Line
$ori = "if (\$message['can_approve'] || \$context['can_reply'] || \$message['can_modify'] || \$message['can_remove'] || \$context['can_split'] || \$context['can_restore_msg'])";
$mod = "if (!empty(\$context['show_publish_button']) && !\$context['user']['is_logged'] || !empty(\$context['show_publish_button']) && \$context['user']['is_logged'] || \$message['can_approve'] || \$context['can_reply'] || \$message['can_modify'] || \$message['can_remove'] || \$context['can_split'] || \$context['can_restore_msg'])";
$p = str_replace($ori, $mod, $p);
saveFile($f, $p);

/*************************************************************************************************************/
//COPY FILES
/*************************************************************************************************************/
copy('install.php'                  , '../install.php');
copy('Facebook.template.php'         , '../Themes/default/Facebook.template.php');
copy('FacebookAdmin.template.php'      , '../Themes/default/FacebookAdmin.template.php');
copy('images/facebook.png'            , '../Themes/default/images/facebook.png');
copy('lang/Facebook.english.php'      , '../Themes/default/languages/Facebook.english.php');
copy('lang/Facebook.english-utf8.php'    , '../Themes/default/languages/Facebook.english-utf8.php');
recurse_copy("facebookauth"            , "../facebookauth");
recurse_copy("Facebook"               , "../Sources/Facebook");

/*************************************************************************************************************/
//RUN & DELETE INSTALLER
/*************************************************************************************************************/
include('../install.php');
unlink('../install.php');
echo "SA Facebook should be installed, (Scripted by ReconX86)";
/*************************************************************************************************************/
//FUNCTIONS
/*************************************************************************************************************/

//Recursive Directory Copy
function recurse_copy($src,$dst)
{
   $dir = opendir($src);
   @mkdir($dst);
   while(false !== ( $file = readdir($dir)) ) {
      if (( $file != '.' ) && ( $file != '..' )) {
         if ( is_dir($src . '/' . $file) )
         {
            recurse_copy($src . '/' . $file,$dst . '/' . $file);
         }
         else
         {
            copy($src . '/' . $file,$dst . '/' . $file);
         }
      }
   }
   closedir($dir);
}

//Open Files
function openFile($filename)
{
   $file = fopen($filename, 'r');
   $content = fread($file, filesize($filename));
   fclose($file);
   return $content;
}

//Save Files
function saveFile($filename, $content)
{
   $file = fopen($filename, 'w');
   fwrite($file, $content);
   fclose($file);
}
//Development Items:
//- Fill App information via form
?>

Some documentation (on the maual installation) )seems to be missing or it's a SA bug... whoever knows how to solve this... your information is very valueable

Manual Source:
http://custom.simplemachines.org/mods/index.php?mod=2322
Title: Re: SA Facebook Integration
Post by: vbgamer45 on May 17, 2012, 12:23:36 PM
reconx86 that is a cool script but why would you use it over using the package manager to install the script?
Title: Re: SA Facebook Integration
Post by: reconx86 on May 17, 2012, 12:26:07 PM
what packet manager... a lot here is not being told... so please tell me more...
- where do I find it?
- How do I use it?
- What does it do?
Title: Re: SA Facebook Integration
Post by: vbgamer45 on May 17, 2012, 12:31:56 PM
in SMF there is a package manager link in the admin are of the forum. You just upload the zip file of this package to the package manager and click the install button.
Title: Re: SA Facebook Integration
Post by: reconx86 on May 17, 2012, 12:36:57 PM
oke so now step by step... do I have to unpack the zip and configure install.php first and then repack?
or just upload it to the server?

Also does it mean I dont have to configure the other files like  Display.template.php anymore?
Title: Re: SA Facebook Integration
Post by: vbgamer45 on May 17, 2012, 12:44:09 PM
Nope
Quote from: reconx86 on May 17, 2012, 12:36:57 PM
oke so now step by step... do I have to unpack the zip and configure install.php first and then repack?
or just upload it to the server?

Also does it mean I dont have to configure the other files like  Display.template.php anymore?
Yes mods in mod packages should auto install for you.
Just go to the package manager -> Upload package and install

More information: http://wiki.simplemachines.org/smf/Package_manager
Title: Re: SA Facebook Integration
Post by: reconx86 on May 17, 2012, 12:55:04 PM
If only they called the mods, plugins here on SMF... than I wouldnt have gone thru this...
mods usually dont stand for easy to install software, also the whole manual guide added more to the confusion
Nothing pointed that this could have been done automaticly, but I didnt get a answer to this question...

Should I unzip & rezip... install.php? since appID and secret are in here?
or will the installer take care of that and request me later on?
Title: Re: SA Facebook Integration
Post by: vbgamer45 on May 17, 2012, 01:12:42 PM
You shouldn't have to do  any manual installing for most mods unless on custom themes. Just upload the zip of the package to package manager of SMF and install and ready to go.
Title: Re: SA Facebook Integration
Post by: WebLair on May 17, 2012, 07:26:27 PM

I need to move the fb like, g+ and twitter share buttons on my forum, someone asked and was not given an answer. I have a shout box on my forum, it has an option to display for every page and gives worse positioning more so than those without a shoutbox.

Ideally  floating them to the right in an inline block next to <p id="whoisviewing" class="smalltext"></p>  on the topic page is where i want them. However still trying to get used to the folder structure and can't find the files i need to do the edits.  Can someone tell me how, or which files to edit please?

Title: Re: SA Facebook Integration
Post by: ApplianceJunk on May 17, 2012, 09:11:38 PM
QuoteWarning: You must create an application on facebook to use this modification
For information on creating your application please read ==> here <==.

These links don't lead me to any information on what I have to do at Facebook.

Were do I find the information now?

Thanks,
Title: Re: SA Facebook Integration
Post by: vbgamer45 on May 17, 2012, 09:15:22 PM
Unfortunately the information was lost it will need to be rewritten I hopefully can do it along with easy to follow screenshots
Title: Re: SA Facebook Integration
Post by: ApplianceJunk on May 17, 2012, 09:31:24 PM
Quote from: vbgamer45 on May 17, 2012, 09:15:22 PM
Unfortunately the information was lost it will need to be rewritten I hopefully can do it along with easy to follow screenshots

Is it some universal thing at Facebook that you do to create a application, or is it something more specific that needs to be done at Facebook related to just this mod?

I'm wondering if I could just do a little google work and figure it out.
Title: Re: SA Facebook Integration
Post by: WebLair on May 17, 2012, 10:39:28 PM
Make sure you are logged into face book and goto https://developers.facebook.com/apps top right hand side "create App" i did this while logged into my personal facebook you can not do it if you are using facebook as a page.
Title: Re: SA Facebook Integration
Post by: ApplianceJunk on May 17, 2012, 11:00:26 PM
Quote from: WebLair on May 17, 2012, 10:39:28 PM
Make sure you are logged into face book and goto https://developers.facebook.com/apps top right hand side "create App" i did this while logged into my personal facebook you can not do it if you are using facebook as a page.

Thanks!

I got the Facebook Application ID and Facebook Application Secret. I also have Enable Facebook checked and see the Facebook tab, but I don't see anything on how a guest is going to register using Facebook.

Edited to add: I had to replace 'Facebook Login Image' http://b.static.ak.fbcdn.net/rsrc.php/zB6N8/hash/4li2k73z.gif
With one I could see. :)

But now when I click to login with Facebook I'm taken to a Facebook page that say,

An error occurred with smf login. Please try again later.

Maybe it will just take awhile yet as I seen this on my Facebook app after I set it up.

QuoteChanges saved. Note that your changes may take several minutes to propagate to all servers.
Title: Re: SA Facebook Integration
Post by: ApplianceJunk on May 17, 2012, 11:10:12 PM
Oh, maybe I can't test it on a localhost test site that I'm running on MAMP.
Being I had to give my website URL when I created the Facebook app.

Edited to add:

Got it to work on test site.
Just changed Facebook app info to include localhost info.
Title: Re: SA Facebook Integration
Post by: WebLair on May 18, 2012, 02:26:52 AM
I have that login error on my live site aswell i posted the error message on the other page and i believe a few of us are having that trouble. If you can get it going on a live site it would be a great help to us all. ;D

EDIT a pic for my earlier question, need to find a solution.
(http://farm8.staticflickr.com/7243/7220007202_1d649f1d11_b.jpg)

QuoteI need to move the fb like, g+ and twitter share buttons on my forum, someone asked and was not given an answer. I have a shout box on my forum, it has an option to display for every page and gives worse positioning more so than those without a shoutbox.

Ideally  floating them to the right in an inline block next to <p id="whoisviewing" class="smalltext"></p>  on the topic page is where i want them. However still trying to get used to the folder structure and can't find the files i need to do the edits.  Can someone tell me how, or which files to edit please?
Title: Re: SA Facebook Integration
Post by: Eclipse16V on May 18, 2012, 03:28:38 AM
hmmmm,
can someone tell me what I have to adjust anything yet?
Now have the following in the Facebook app:
- App ID
- App Secret
- Display Name
- Kontakt-E-Mail-Adresse
- Website with Facebook Login

I'm just not on.
Title: Re: SA Facebook Integration
Post by: dirus on May 18, 2012, 04:06:51 AM
Hello!

When i installed SA facebook intergration my site crashed and cant load forum anymore
This is url
http://i-gamer.si/forumi/index.php
Title: Re: SA Facebook Integration
Post by: tectonny on May 18, 2012, 07:49:30 AM
Just wanted to solve the problem of the characters in UTF8

No solution so far ...
Title: Re: SA Facebook Integration
Post by: lparker on May 18, 2012, 10:36:48 AM
I was wondering a few things about this mod,

1st, is it possible to modify what is posted to the facebook page? and where i would find that code?

2nd is it possible to have it post to multiple facebook pages

3rd what about facebook groups?

and currently who is in charge of this mod?
Title: Re: SA Facebook Integration
Post by: !RFAN on May 18, 2012, 10:38:57 AM
facebook publisher is not working at all. i checked all the settings. everything is fine. What could be the issue?
Title: Re: SA Facebook Integration
Post by: Kindred on May 18, 2012, 11:34:10 AM
1- no...   the posts are automatic.
2- no. The app posts to one FB page. FB won't allow posting to multiple pages.
3- if you have the app configured to post to the group then, yes, it will post to the group.

2 and 3 have almost nothing to do with this mod and are really issues with configuring your FB app.
Title: Re: SA Facebook Integration
Post by: lparker on May 18, 2012, 11:45:39 AM
well that was extremely disappointing lol... was really hoping to be able to post to multiple facebook pages, what about some how installing the mod a second separate time?
Title: Re: SA Facebook Integration
Post by: Ctoshack on May 18, 2012, 12:01:38 PM
I dont know if that is entirely correct about posting to more then 1 page.  I have a plugin for WordPress the name escapes me right now bit it allows posting to more then 1 page wall or group at a time. 
Title: Re: SA Facebook Integration
Post by: dirus on May 18, 2012, 05:09:59 PM
When i installed SA facebook intergration my site crashed and cant load forum anymore
This is url
i-gamer.si/forumi/index.php

any idea? how to manually unistall mod?
Title: Re: SA Facebook Integration
Post by: joewp on May 20, 2012, 12:39:16 AM
I installed this, but didn't enable it. Now my site works in opera, ie and firefox, but not in chrome. Anybody got a clue as to what possibly happened?
Here's my site howellnj.com

wait, noting works except the home page... backing the thing out... I'm on 2.0.2

Title: Re: SA Facebook Integration
Post by: lparker on May 20, 2012, 12:44:20 AM
Quote from: lparker on May 18, 2012, 11:45:39 AM
well that was extremely disappointing lol... was really hoping to be able to post to multiple facebook pages, what about some how installing the mod a second separate time?


Anyone else try anything of the sort?
Title: Re: SA Facebook Integration
Post by: TheListener on May 20, 2012, 12:45:35 AM
Quote from: dirus on May 18, 2012, 05:09:59 PM
When i installed SA facebook intergration my site crashed and cant load forum anymore
This is url
i-gamer.si/forumi/index.php

any idea? how to manually unistall mod?

You will have to use the mods parser
Title: Re: SA Facebook Integration
Post by: TheListener on May 20, 2012, 12:46:13 AM
Quote from: lparker on May 20, 2012, 12:44:20 AM
Quote from: lparker on May 18, 2012, 11:45:39 AM
well that was extremely disappointing lol... was really hoping to be able to post to multiple facebook pages, what about some how installing the mod a second separate time?


Anyone else try anything of the sort?

Mods can only be installed once.
Title: Re: SA Facebook Integration
Post by: TheListener on May 20, 2012, 12:47:30 AM
Quote from: joewp on May 20, 2012, 12:39:16 AM
I installed this, but didn't enable it. Now my site works in opera, ie and firefox, but not in chrome. Anybody got a clue as to what possibly happened?
Here's my site howellnj.com

wait, noting works except the home page... backing the thing out... I'm on 2.0.2

You may want to check your link. Nothing showed for me.
Title: Re: SA Facebook Integration
Post by: lparker on May 20, 2012, 12:51:19 AM
So none of the code can be changed or renamed or anything to allow it to be installed a second time?
Title: Re: SA Facebook Integration
Post by: TheListener on May 20, 2012, 12:53:04 AM
Quote from: lparker on May 20, 2012, 12:51:19 AM
So none of the code can be changed or renamed or anything to allow it to be installed a second time?

Not as far as I know.

The same goes for all mods.
Title: Re: SA Facebook Integration
Post by: joewp on May 20, 2012, 01:58:14 AM
Quote from: Old Fossil on May 20, 2012, 12:47:30 AM
Quote from: joewp on May 20, 2012, 12:39:16 AM
I installed this, but didn't enable it. Now my site works in opera, ie and firefox, but not in chrome. Anybody got a clue as to what possibly happened?
Here's my site howellnj.com

wait, noting works except the home page... backing the thing out... I'm on 2.0.2

You may want to check your link. Nothing showed for me.

Never mind. I think there's a dns problem because of a domain transfer in progress.
Title: Re: SA Facebook Integration
Post by: lparker on May 20, 2012, 01:59:08 AM
ok well i might still try messing around with it, however i do have another question that hopefully has a more promising outcome haha

so user "a" posts on my forum, and as if by magic this mod, automatically posts it on facebook, which is great, now user's "b" through "x" post new topics over the next few days and again this mod posts them to facebook, yay! now here's where my issue is, finally someone responds to user "a"'s topic and yes this mode automatically posts a comment to the facebook post it put up on facebook page, but because of users "b" through "x" have posted other topics, you no longer see user "a"'s post on the facebook page because it's shoved down at the bottom....is there a way to make it reappear at the top of the facebook page? cause if i go to facebook.com and comment on anything for that matter usually it reappears at the top no? is this facebook's issue? or something to do with this mod? any idea's or did i loose everyone here with my post lol
Title: Re: SA Facebook Integration
Post by: bostonb on May 21, 2012, 01:49:58 AM
I am going to try to install this, but already a setback, the two important links in the first post of this thread are offline.

the links about how to install the facebook application??

what do I do?

(and also, quick question, is this mod still the quickest/easiest way to make it so new users can instantly register/post using their facebook login?)
Title: Re: SA Facebook Integration
Post by: Eclipse16V on May 21, 2012, 02:03:53 AM
I think there can help us any more.
I've already mentioned because I do not come on. Only now can not help.
Title: Re: SA Facebook Integration
Post by: dirus on May 22, 2012, 12:13:57 PM
Is anybody working on this mod?
Title: Re: SA Facebook Integration
Post by: nend on May 22, 2012, 12:21:52 PM
Calm down, it is in the middle of a transfer from one developer to another. The new developer has to take time to study the source and figure things out also. Please be patient during this transfer, work should get back on the way soon.  ;)
Title: Re: SA Facebook Integration
Post by: lparker on May 22, 2012, 01:07:07 PM
Quote from: nend on May 22, 2012, 12:21:52 PM
Calm down, it is in the middle of a transfer from one developer to another. The new developer has to take time to study the source and figure things out also. Please be patient during this transfer, work should get back on the way soon.  ;)


Thank you for the info
Title: Re: SA Facebook Integration
Post by: Eclipse16V on May 22, 2012, 01:21:58 PM
Is here no one how can make a manuell to create it on facebook?
Title: Re: SA Facebook Integration
Post by: nend on May 22, 2012, 02:49:51 PM
SA had some manuals on his site which is now offline. As for me, I don't remember all the steps necessary to get your API keys from Facebook. I am sure that this information will be handed off though, maybe sooner than later, just a matter of time.
Title: Re: SA Facebook Integration
Post by: vbgamer45 on May 22, 2012, 02:56:08 PM
I am planning on doing a step by step process with screenshots to help.
Title: Re: SA Facebook Integration
Post by: Eclipse16V on May 22, 2012, 03:25:37 PM
Thanks vbgamer45
Title: Re: SA Facebook Integration
Post by: phlexx on May 22, 2012, 07:35:21 PM
The Facebook connection button is not showing on my home page after I installed the SA Facebook mod and created app on Facebook and I don't know why and how to get it showing. The twitter one is showing and working. Can anybody tell me what to do. I use a custom theme. Thanks.
Title: Re: SA Facebook Integration
Post by: lparker on May 22, 2012, 07:41:14 PM
save this image to your web server http://sites.socialoptin.com/images/fb_connect.png

and then in your Facebook integration settings under "Facebook Login image " enter the url to the image on your server

had the same issue a few weeks ago this fixed it no problem
Title: Re: SA Facebook Integration
Post by: phlexx on May 22, 2012, 07:59:16 PM
Many thanks Parker. I did that and its showing now and working. God bless u.
Title: Re: SA Facebook Integration
Post by: lparker on May 22, 2012, 08:20:31 PM
Quote from: phlexx on May 22, 2012, 07:59:16 PM
Many thanks Parker. I did that and its showing now and working. God bless u.

no problem  8)
Title: Re: SA Facebook Integration
Post by: nend on May 23, 2012, 12:05:34 AM
Thanks phlexx, you jogged my memory there. I was working on some new buttons last week for the site. Just a new Facebook, Twitter and Google connect buttons and totally forgot about them. Too late now to finish them, will do tomorrow or maybe forget about them.

I need to add them to my todo list, when I forget to do something that means I forgot to add it to my todo list.

When I get done with those buttons I'll post them.  :laugh:
Title: Re: SA Facebook Integration
Post by: David111567 on May 24, 2012, 12:28:46 AM
Hey All!

Okay... here's the deal.

I am using Enotify mod PLUS this Facebook mod.  I want to upgrade, but..there is a bugfix to make Enotify work with this Facebook mod and not toss of errors.  In order for me to upgrade the facebook mod I need to FIX the problem again so that it works with Enotify again. I got the code to make them work together...on the old SA site, which is down. Can anybody tell me where to find this patch again? I've looked, but all I can find is a LINK to the site, which is down.

Any help would be much appreciated.
Title: Re: SA Facebook Integration
Post by: SA™ on May 24, 2012, 09:13:14 AM
it is in this thread i know it a lot of pages lol but i cant rember of hand vb might know a better fix tho as enotify is his mod aswell
Title: Re: SA Facebook Integration
Post by: nfh on May 24, 2012, 09:16:22 AM
The automatic Facebook posting feature still doesn't work properly. It works fine for the next few hours after authorizing the application, but after a while it stops posting on my Facebook page.

I would say that the FB token expires, but I am not able to figure out how to solve this on my own.

Any ideas?
Title: Re: SA Facebook Integration
Post by: glegar on May 24, 2012, 09:28:29 AM
Just install this mod today, at first I used the package manager on my SMF 2.0.2, but didn't do anything, so I installed it manually by editing the necessery files, and copying the necessary files and folders.

At first attemp to log in with the facebook connect button, I get this error (not logged in as facebook user):
"No connection to facebook found"

then if I clicked the button again, I'll get this error:
"CurlException: 6: Couldn't resolve host 'graph.facebook.com'"

Could anyone please help? perhaps there was an error on facebook app settings?
Title: Re: SA Facebook Integration
Post by: SA™ on May 24, 2012, 09:31:06 AM
Quote from: nfh on May 24, 2012, 09:16:22 AM
The automatic Facebook posting feature still doesn't work properly. It works fine for the next few hours after authorizing the application, but after a while it stops posting on my Facebook page.

I would say that the FB token expires, but I am not able to figure out how to solve this on my own.

Any ideas?

in you facebook app under advance disable
Remove offline_access permission:

this mod doesnt work with the new fb permission correct yet

after doing this your have to goto fb admin publisher and run thru the auth processs again
Title: Re: SA Facebook Integration
Post by: Texan78 on May 26, 2012, 10:21:57 PM
Thanks VB for taking over this mod and cleaning it up. Could you or someone tell me how the connect button is placed on the index page since index.template.php isn't edited in the install. So how is the button added to the page?

The only thing I have noticed for me that isn't working correctly is the box to load a comment when you hit send. See attached screenshot for example.
Title: Re: SA Facebook Integration
Post by: Texan78 on May 27, 2012, 03:23:26 AM
One other small tweak I would like to make is to change the font size for the publish for users not logged in to be the same as for users logged in. How would I go about doing that since there isn't really a set template or CSS for this.

The first attachment is how it shows to guest. The second is how I would like for it to look as far as font size.
Title: Re: SA Facebook Integration
Post by: Eclipse16V on May 27, 2012, 06:55:20 AM
You would like to help but am not evaluate themselves with which I must state at Facbook.

Sorry
Title: Re: SA Facebook Integration
Post by: mmozart on May 29, 2012, 02:22:50 AM
Greetings!

I had certain problems with this mod. I have website powered by WordPress and smf forum hosted at mywebsiteurl.com/forum . During installation of this mod I have been asked to provide it with username and password in order to change permissions on some files. At the end of installation I was unable to access neither my website or my forum. It looks like it change some files permissions that WordPress do not like. I am not sure what files are changed during this process and why WordPress didn't like it. Problem was solved by hosting company tech support guys.

I really want to install this mod but I do not want to go through website "revitalization" again :S Any advice or suggestion?
Title: Re: SA Facebook Integration
Post by: SMFHacks.com Team on May 29, 2012, 09:07:18 AM
Quote from: mmozart on May 29, 2012, 02:22:50 AM
Greetings!

I had certain problems with this mod. I have website powered by WordPress and smf forum hosted at mywebsiteurl.com/forum . During installation of this mod I have been asked to provide it with username and password in order to change permissions on some files. At the end of installation I was unable to access neither my website or my forum. It looks like it change some files permissions that WordPress do not like. I am not sure what files are changed during this process and why WordPress didn't like it. Problem was solved by hosting company tech support guys.

I really want to install this mod but I do not want to go through website "revitalization" again :S Any advice or suggestion?
You can try maybe a manual install. On the modsite download the manual install instructions for the mod then just run the php install script for the tables to get the database setup correctly.
Title: Re: SA Facebook Integration
Post by: Texan78 on May 29, 2012, 04:48:28 PM
Any suggestions for theses?

http://www.simplemachines.org/community/index.php?topic=365503.msg3342041#msg3342041

http://www.simplemachines.org/community/index.php?topic=365503.msg3342116#msg3342116

-Thanks
Title: Re: SA Facebook Integration
Post by: Eclipse16V on May 30, 2012, 03:44:21 AM
Is there already something new regarding the establishment on Facebook?
Title: Re: SA Facebook Integration
Post by: cichy69 on June 02, 2012, 12:36:37 PM
I got a little problem with this modification.  Maybe someone can help me, or just point me in right direction.

I disabled register with standard smf system, users can only create account with SA Facebook. In plugin options i choose 'automatic' in registration mode, so user click in 'connect with facebook' button and that's all. But there is one problem, if user try to change anything in profile, it must enter password, but facebook password doesn't work.

So currently Im trying to pinpoint part of plugin responsible for making user account, in what file I need to check?
Or maybe someone know what password is automatically generated for users when they connect with facebook?

P.S.
Sorry for my bad english, and that you in advance for any help.

BTW. Great modification.     
Title: Re: SA Facebook Integration
Post by: SA™ on June 02, 2012, 01:58:58 PM
that part is in sources/facebook/facebookintergrate.php

the password is set in this line
$password = self::fb_createRandomPassword();

though i never got as far as to actualy send/pm the pass to the user

you could setup to send the pass to the user after reg is compleate

in
public static function fb_reg_auto(){

find
$memberID = registerMember($regOptions);

after you could do this to pm the pass to the users


    //Set up the pm
    $title = 'Forum password'; //the title of the pm
    $message = $password; //the body of the pm
   
    $pmfrom = array(
        'id' => 0, //user id where the pm is from
        'name' => 'Admin', //name of the user who the pm is from
        'username' => 'Admin', //username of the user who the pm is from
    );
       
    $pmto = array(
        'to' => array($memberID),// array of ids to send the pm to
        'bcc' => array()//bbc array
    );

    //Now send it
    sendpm($pmto, $title, $message , 0, $pmfrom);


this is untested so pls back up before trying this chnage
Title: Re: SA Facebook Integration
Post by: mossite on June 04, 2012, 06:54:46 PM
can anyone help to install this mod. what is the condition
Title: Re: SA Facebook Integration
Post by: mossite on June 04, 2012, 06:55:35 PM
can anyone help to install this mod. what is the condition
Title: Re: SA Facebook Integration
Post by: vbgamer45 on June 04, 2012, 07:01:55 PM
Quote from: mossite on June 04, 2012, 06:55:35 PM
can anyone help to install this mod. what is the condition
Are you getting an error?
Title: Re: SA Facebook Integration
Post by: mossite on June 04, 2012, 07:20:12 PM
yes, and i have uninstalled and need someone to help even for a fee if not for free
Title: Re: SA Facebook Integration
Post by: vbgamer45 on June 04, 2012, 07:23:42 PM
What error are you getting? Will try to help
Title: Re: SA Facebook Integration
Post by: mossite on June 04, 2012, 07:44:33 PM
which type of Facebook application wil i create
Title: Re: SA Facebook Integration
Post by: vbgamer45 on June 04, 2012, 08:40:20 PM
Just a normal facebook application
Title: Re: SA Facebook Integration
Post by: nend on June 04, 2012, 09:00:58 PM
A little late on those icons I promised. I forgot what I did with the ones I was working on, buried in the mess that is my hard drive. Well did a few new ones.
Title: Re: SA Facebook Integration
Post by: keilor on June 09, 2012, 01:22:32 AM
Is there a way I can post a fb notification to other users of my forum or to a fb group?? I want to be able to send a notification like some games do when they say things like "xyz just made a score of 123."

If so how? I did see in a previous post that someone said that posting to a group is possible but they didn't say how to do it.
Title: Re: SA Facebook Integration
Post by: Ascot on June 12, 2012, 03:02:08 PM
Hi there. I'm having a little issue
As guest i can't see anymore the Login from facebook and login from twitter in the login section.
Same happens on register. There's no buttons.

I had some db problems once, i guess this could be happening since that.
I tried repairing and optimizing tables but nothing happen.

here's login link
http://animefall.com.ar/forum/login/

and here's register link.
http://animefall.com.ar/forum/register/

Regards.
Title: Re: SA Facebook Integration
Post by: Ctoshack on June 12, 2012, 10:03:40 PM
QuoteHi there. I'm having a little issue
As guest i can't see anymore the Login from facebook and login from twitter in the login section.
Same happens on register. There's no buttons.

I had some db problems once, i guess this could be happening since that.
I tried repairing and optimizing tables but nothing happen.

here's login link
http://animefall.com.ar/forum/login/

and here's register link.
http://animefall.com.ar/forum/register/

Regards.

This has been answered by Parker a page or two back I believe.  You need to set a new image for the login images.
Title: Re: SA Facebook Integration
Post by: Ctoshack on June 12, 2012, 10:08:22 PM
Can't figure out why my users images are not showing up on facebook.  I get an icon for my site but no picture from the post.  This is using the attachments feature.  If I insert an image into the post manually using the
Quote(//)
tags the image will show up in the post on facebook.  If I use simple image upload mod they also show up but the problem with that mod is that it doesn't seem to follow the file sizing or max upload rules. 
Title: Re: SA Facebook Integration
Post by: brittb on June 13, 2012, 09:57:40 AM
I don't know if this is the right place for this but I was hoping to hire someone to do this mod (possibly a few other small things for me) anyone interested please reply asap.
Title: Re: SA Facebook Integration
Post by: SA™ on June 13, 2012, 02:00:36 PM
Quote from: Ctoshack on June 12, 2012, 10:08:22 PM
Can't figure out why my users images are not showing up on facebook.  I get an icon for my site but no picture from the post.  This is using the attachments feature.  If I insert an image into the post manually using the
Quote(//)
tags the image will show up in the post on facebook.  If I use simple image upload mod they also show up but the problem with that mod is that it doesn't seem to follow the file sizing or max upload rules. 

if you members are using attachments they wont show on fb cos it was never coded todo so cos fb doesnt like smf's attachmentn url it problay can be done i just give up on that part in the end :D
Title: Re: SA Facebook Integration
Post by: Ctoshack on June 13, 2012, 06:51:38 PM
Quote from: SA™ on June 13, 2012, 02:00:36 PM
Quote from: Ctoshack on June 12, 2012, 10:08:22 PM
Can't figure out why my users images are not showing up on facebook.  I get an icon for my site but no picture from the post.  This is using the attachments feature.  If I insert an image into the post manually using the
Quote(//)
tags the image will show up in the post on facebook.  If I use simple image upload mod they also show up but the problem with that mod is that it doesn't seem to follow the file sizing or max upload rules. 

if you members are using attachments they wont show on fb cos it was never coded todo so cos fb doesnt like smf's attachmentn url it problay can be done i just give up on that part in the end :D

Do you know if there is a mod that will insert pictures to the post that facebook will accept and can also be controlled to an extent for size of image and so on.  Or what do you recommend.   That advanced image upload worked to a degree until people starte uploading gigantic pictures and they were screwing up the way the posts looked.
Title: Re: SA Facebook Integration
Post by: el_canaya89 on June 14, 2012, 08:43:13 PM
Quote from: SA™ on June 02, 2012, 01:58:58 PM
that part is in sources/facebook/facebookintergrate.php

the password is set in this line
$password = self::fb_createRandomPassword();

though i never got as far as to actualy send/pm the pass to the user

you could setup to send the pass to the user after reg is compleate

in
public static function fb_reg_auto(){

find
$memberID = registerMember($regOptions);

after you could do this to pm the pass to the users


    //Set up the pm
    $title = 'Forum password'; //the title of the pm
    $message = $password; //the body of the pm
   
    $pmfrom = array(
        'id' => 0, //user id where the pm is from
        'name' => 'Admin', //name of the user who the pm is from
        'username' => 'Admin', //username of the user who the pm is from
    );
       
    $pmto = array(
        'to' => array($memberID),// array of ids to send the pm to
        'bcc' => array()//bbc array
    );

    //Now send it
    sendpm($pmto, $title, $message , 0, $pmfrom);


this is untested so pls back up before trying this chnage

Thanks you! It's work OK
Title: Re: SA Facebook Integration
Post by: Gà Mái on June 15, 2012, 01:35:08 AM
It's a nice and useful mod.
Thanks!!
Title: Re: SA Facebook Integration
Post by: mossite on June 15, 2012, 01:49:24 AM
when i tried to install  SA Facebook Integration, i got: You cannot download or install new packages because the Packages directory or one of the files in it are not writable!
what can i do please
Title: Re: SA Facebook Integration
Post by: Gà Mái on June 15, 2012, 02:14:52 AM
Check Package Manager/File Permissions try 0644
Title: Re: SA Facebook Integration
Post by: Kindred on June 15, 2012, 07:23:24 AM
Gà Mái...

no.... that is incorrect.

mossite,
Make sure that your packages directory is 755 (or maybe 777, depending on your host)
make sure that there is a temp directory inside the packages directory and that is also 755 (or 777)
Title: Re: SA Facebook Integration
Post by: 1webtutor on June 15, 2012, 10:03:29 AM
when i try to integrate facebook account on my forumit show error like below
Quote
An Error Has Occurred!
CurlException: 7: Failed to connect to 69.171.224.38: Permission denied

Title: Re: SA Facebook Integration
Post by: Ascot on June 15, 2012, 10:08:08 AM
Quote from: Ctoshack on June 12, 2012, 10:03:40 PM
This has been answered by Parker a page or two back I believe.  You need to set a new image for the login images.

If you mean this

Quote from: lparker on May 22, 2012, 07:41:14 PM
save this image to your web server http://sites.socialoptin.com/images/fb_connect.png

and then in your Facebook integration settings under "Facebook Login image " enter the url to the image on your server

had the same issue a few weeks ago this fixed it no problem

So that's not the way to fix my "Register with" buttons. Cause login button shown in user box is working okay. Just can't see register buttons on "creating account" and Login buttons on "login section".
Title: Re: SA Facebook Integration
Post by: SA™ on June 15, 2012, 03:25:48 PM
@Ascot

can you show me your site pls also it helps to know your theme?
Title: Re: SA Facebook Integration
Post by: Ascot on June 15, 2012, 04:37:39 PM
Quote from: Ascot on June 12, 2012, 03:02:08 PM
here's login link
http://animefall.com.ar/forum/login/

and here's register link.
http://animefall.com.ar/forum/register/

My theme is MyLee by SkinMod with lots of editions, mostly css.
I saw my mod is outdated. If i uninstall old v. and install the new one will i loose account asociations?

When i reinstall my SA twitter mod the buttons problem get solved !! anyways i keep on asking about that ↑↑
Title: Re: SA Facebook Integration
Post by: SA™ on June 15, 2012, 07:16:07 PM
Quoteand install the new one will i loose account asociations?

no you wont
Title: Re: SA Facebook Integration
Post by: nfh on June 19, 2012, 05:14:35 AM
Quote from: SA™ on May 24, 2012, 09:31:06 AM
Quote from: nfh on May 24, 2012, 09:16:22 AM
The automatic Facebook posting feature still doesn't work properly. It works fine for the next few hours after authorizing the application, but after a while it stops posting on my Facebook page.

I would say that the FB token expires, but I am not able to figure out how to solve this on my own.

Any ideas?

in you facebook app under advance disable
Remove offline_access permission:

this mod doesnt work with the new fb permission correct yet

after doing this your have to goto fb admin publisher and run thru the auth processs again

Thank you for the tip!
Title: Re: SA Facebook Integration
Post by: kattara on June 22, 2012, 09:16:48 PM
Anybody know where I can get more information to install this mod?  The link on the first page isn't working.  :(
Title: Re: SA Facebook Integration
Post by: NPimenta on June 23, 2012, 07:38:37 AM
i have some insues with this mod, i update them and now

- when i put one "like" in the topic open a popup to login at facebook and the page stays blank, dont do nothing;
- when i have new topcis or members the app dont publush on facebook, when i click to grant autorization in admin panel the popup staus in blank,
- and i have two publish buttons on each post, how can remove one ?


regards and tks for any help
Title: Re: SA Facebook Integration
Post by: bornagainpenguin on June 23, 2012, 11:53:31 AM
I understand (based on earlier posts) that this mod has been handed off to a new developer; I was just wondering if anyone could link me to an archived copy of the instructions for creating a facebook app while the new developer gets acclimated to the code?  The old link doesn't work anymore and I don't know enough to fake my way through using Facebook's HOWTOs.

--bornagainpenguin
Title: Re: SA Facebook Integration
Post by: vbgamer45 on June 23, 2012, 12:38:03 PM
At the moment there is no instructions the old instructions were lost.
Title: Re: SA Facebook Integration
Post by: NPimenta on June 23, 2012, 12:53:22 PM
how i solve this?? two publish buttons!!

(http://s13.postimage.org/3s59xmh0n/Capturar.png) (http://postimage.org/)
Title: Re: SA Facebook Integration
Post by: bornagainpenguin on June 23, 2012, 02:05:44 PM
Quote from: vbgamer45 on June 23, 2012, 12:38:03 PM
At the moment there is no instructions the old instructions were lost.

Dang...  Well I look forward to using the mod once you have had the time to sort out everything and write up new documentation.  Thanks for the reply.

--bornagainpenguin
Title: Re: SA Facebook Integration
Post by: kattara on June 24, 2012, 01:42:02 AM
Quote from: bornagainpenguin on June 23, 2012, 02:05:44 PM
Quote from: vbgamer45 on June 23, 2012, 12:38:03 PM
At the moment there is no instructions the old instructions were lost.

Dang...  Well I look forward to using the mod once you have had the time to sort out everything and write up new documentation.  Thanks for the reply.

--bornagainpenguin

I will wait patiently for this as well.  Thanks!
Title: Re: SA Facebook Integration
Post by: newbonic on June 25, 2012, 05:08:03 AM
Me to - I'd really like to enable my forum users to log in with their FB password/username. Hopefully it will be back up soon.
Title: Re: SA Facebook Integration
Post by: nrx on June 26, 2012, 01:40:02 PM
Hi there,

Having a few issues with SA Facebook Integration, it's causing my forum to completely white-out pages and also database issues, as described here:
http://www.simplemachines.org/community/index.php?topic=479381.0

The issues it causes are shown in the error log as such:
[26-Jun-2012 17:15:01 UTC] PHP Fatal error:  Out of memory (allocated 7077888) (tried to allocate 131072 bytes) in Unknown on line 0
[26-Jun-2012 17:15:03 UTC] PHP Fatal error:  Out of memory (allocated 7077888) (tried to allocate 131072 bytes) in Unknown on line 0
[26-Jun-2012 17:15:18 UTC] PHP Fatal error:  Out of memory (allocated 7340032) (tried to allocate 131072 bytes) in Unknown on line 0

There are also concerns with the use of WIRELESS in the URL string, which causes errors with Subs.php

This has meant I've uninstalled it completely, which has lost a lot of functionality on our forum - I understand you are a new developer and you are donating your time, which I very much appreciate, however I would also be really grateful if you could explain the issues and if/when to expect a fix.

Thank you.
Title: Re: SA Facebook Integration
Post by: Texan78 on June 29, 2012, 12:47:19 PM
Quote from: Texan78 on May 29, 2012, 04:48:28 PM
Any suggestions for theses?

http://www.simplemachines.org/community/index.php?topic=365503.msg3342041#msg3342041

http://www.simplemachines.org/community/index.php?topic=365503.msg3342116#msg3342116

-Thanks

Any suggestions for the to issues in the links above?

-Thanks
Title: Re: SA Facebook Integration
Post by: hashend94 on June 30, 2012, 03:50:12 AM
Hey ! The tutorials links seems to be dead :/ Anyone able to help me get this app working ?
Title: Re: SA Facebook Integration
Post by: Andrea91 on July 06, 2012, 02:13:47 PM
Lost instructions!! On first page! Nobody can install this app without them! HELP!
Title: Re: SA Facebook Integration
Post by: kattara on July 06, 2012, 02:18:26 PM
Quote from: Andrea91 on July 06, 2012, 02:13:47 PM
Lost instructions!! On first page! Nobody can install this app without them! HELP!

This mod has been handed off to another dev.  We have to be patient while he gets familiar with the code and polishes it up...   :'(
Title: Re: SA Facebook Integration
Post by: Lout on July 06, 2012, 03:15:37 PM
It's not that difficult to create an app on FB to get this working, you should be able to create an app at the following link - https://developers.facebook.com/apps/

Then just upload the package and install and fill in the info from the newly created app.
Title: Re: SA Facebook Integration
Post by: kattara on July 06, 2012, 03:25:32 PM
Quote from: Lout on July 06, 2012, 03:15:37 PM
It's not that difficult to create an app on FB to get this working, you should be able to create an app at the following link - https://developers.facebook.com/apps/

Then just upload the package and install and fill in the info from the newly created app.

Oh sweet!  Thanks!
Title: Re: SA Facebook Integration
Post by: Nityananda Maity on July 07, 2012, 09:26:17 AM
Hi,
I am just successfully install SA Facebook Integration, I have some questions:

1. How i can show only Facebook login button to any pages (will not shown after logging in).

2. How i can remove/hide Facebook login button from any login area, I just want to hide it and all users have to register first through simple board registration form. After activating account through email confirmation, i want to show the Facebook connect button on this page (the page that will shown after clicking on email confirmation link).

3. How to add Facebook invitation link (button) anywhere on the page (or any pages).

Please help me with required method and codes.
Thanks
Title: Re: SA Facebook Integration
Post by: Nityananda Maity on July 10, 2012, 11:41:27 PM
Quote from: nitya99 on July 07, 2012, 09:26:17 AM
Hi,
I am just successfully install SA Facebook Integration, I have some questions:

1. How i can show only Facebook login button to any pages (will not shown after logging in).

2. How i can remove/hide Facebook login button from any login area, I just want to hide it and all users have to register first through simple board registration form. After activating account through email confirmation, i want to show the Facebook connect button on this page (the page that will shown after clicking on email confirmation link).

3. How to add Facebook invitation link (button) anywhere on the page (or any pages).

Please help me with required method and codes.
Thanks

I am still waiting for any help/reply, Please......
Title: Re: SA Facebook Integration
Post by: dardub on July 11, 2012, 01:22:35 PM
Hi, this module looks pretty great but I'm having some issues with registration.

First the terms of agreement was empty and I didn't see where to fill that out.

Then it pops up with a warning in red that says, "Already registered? Click here to login."

Which is confusing since they haven't registered yet.

So then I tried switching to auto registration. It skipped all the issues above and made the registration easy.

But when I tried to change my user name in the profile it required a password to do so. However I never set a password using the auto registration feature.


Please let me know what the registration process should be.

Thanks!
Title: Re: SA Facebook Integration
Post by: Manu.G on July 15, 2012, 05:50:16 AM
I've installed the mod last week and for me it looks good, but there tons of entries in the error log :(


For example this one:
http://forum.arsenie.net/index.php?/topic,11793.msg263369.html
2: htmlspecialchars() [<a href='function.htmlspecialchars'>function.htmlspecialchars</a>]: charset `ISO-8859-2' not supported, assuming iso-8859-1
File: /../.../.../.../forum/Sources/Facebook/FacebookHooks.php
Line: 159



What's wrong and what can I do to terminate this entries
Title: Re: SA Facebook Integration
Post by: pariofdreamz on July 15, 2012, 10:26:28 AM
I have by mistake deleted my Facebook integration mod without uninstalling it. i want the following version of SA_Facebook_integration mod >>>SA_Facebook_Integration_2.0_RC_REV46 . if any body has this please help me by giving the download link of this version.
Title: Re: SA Facebook Integration
Post by: vbgamer45 on July 15, 2012, 12:13:47 PM
I don't have any of the old versions but you can use the newest version which should work ok.
Title: Re: SA Facebook Integration
Post by: pariofdreamz on July 15, 2012, 02:07:20 PM
thanks vbgamer45 but dear i need to as i deleted the mod without uninstalling ... please can any one help
Title: Re: SA Facebook Integration
Post by: SA™ on July 15, 2012, 02:32:39 PM
you can acutaly grab the newer version and grab the removehooks.php file upload to you forum the same place as ssi.php

an run it in your brouser tht will remove the hooks added by the mod cos this mod manly uses hooks so you ont realy have to worry about edit left over there be one or two but you can parse the mod on the mod site and remove the two edits manualy

then you can reinstall the newer version

http://custom.simplemachines.org/mods/index.php?action=parse;mod=2322;attach=203366;smf_version=2.0.2
Title: Re: SA Facebook Integration
Post by: pariofdreamz on July 15, 2012, 03:51:54 PM
where will i find removehooks.php ???
Title: Re: SA Facebook Integration
Post by: SA™ on July 16, 2012, 02:55:38 AM
It is Inside the package just download the package and extract it
Title: Re: SA Facebook Integration
Post by: dardub on July 16, 2012, 04:06:25 PM
Quote from: dardub on July 11, 2012, 01:22:35 PM
Hi, this module looks pretty great but I'm having some issues with registration.

First the terms of agreement was empty and I didn't see where to fill that out.

Then it pops up with a warning in red that says, "Already registered? Click here to login."

Which is confusing since they haven't registered yet.

So then I tried switching to auto registration. It skipped all the issues above and made the registration easy.

But when I tried to change my user name in the profile it required a password to do so. However I never set a password using the auto registration feature.


Please let me know what the registration process should be.

Thanks!

Sorry can someone give me some insight into this issue.
Title: Re: SA Facebook Integration
Post by: vespa7681 on July 17, 2012, 02:29:35 AM
Quote from: Rowdy on March 13, 2012, 09:25:57 AM
When I try to grant the permissions to the publisher, I get the following error. When I go back to the page, one of the three access tokens is there but not the other two. I'm using latest smf- 2.02. Any help, please?:

Fatal error: Uncaught OAuthException: (#100) Unknown fields: access_token thrown in /home/xxxxxx/public_html/smf/facebookauth/base_facebook.php on line 1039


Problem solved by using just the FB page title instead of the page url in the publisher settings. Thanks!

Hi,
I have the same problem on line 1039 but i don't understand how do you have fixed.
What do you mean with :Problem solved by using just the FB page title instead of the page url in the publisher settings.

Thank you for your help !!!
Title: Re: SA Facebook Integration
Post by: pariofdreamz on July 17, 2012, 05:44:08 AM
Dear SA,

my problem is still unsolved. The issue is that i deleted the package from package manager by mistake and now i m unable to remove it from the site ..i tired to delete it manually but was unsuccessfully . all folders and files are deleted from server only Facebook integration files are not deleted or i should say they are not deleting . please help if u got my problem now
Title: Re: SA Facebook Integration
Post by: Biology Forums on July 18, 2012, 12:47:57 AM
Woke up this morning, and this mod is no longer working for 1.x. No one can login in or signup using it. What may have caused this problem to suddenly arise?

I did get a message from Facebook a while ago saying certain things had to be to continue having it work, I ignored those emails.

Do they have the power to make the whole application disfunctional, thereby causing this to arise?

Moreover, the Facebook share button also disappeared lol What could it be?
Title: Re: SA Facebook Integration
Post by: SA™ on July 18, 2012, 01:54:14 PM
may just well be the fact your using the old api still or somthing got goofed up cos clicking the login with fb just reloads the forums you sure it all installed correct still all files and folders still there part from that id just put down to fb disontuing the old api
Title: Re: SA Facebook Integration
Post by: Biology Forums on July 18, 2012, 06:29:35 PM
Quote from: SA™ on July 18, 2012, 01:54:14 PM
may just well be the fact your using the old api still or somthing got goofed up cos clicking the login with fb just reloads the forums you sure it all installed correct still all files and folders still there part from that id just put down to fb disontuing the old api

Could you use proper grammar? I barely understood what you wrote.
Title: Re: SA Facebook Integration
Post by: Texan78 on July 18, 2012, 06:44:08 PM
Quote from: Texan78 on June 29, 2012, 12:47:19 PM
Quote from: Texan78 on May 29, 2012, 04:48:28 PM
Any suggestions for theses?

http://www.simplemachines.org/community/index.php?topic=365503.msg3342041#msg3342041

http://www.simplemachines.org/community/index.php?topic=365503.msg3342116#msg3342116

-Thanks

Any suggestions for the to issues in the links above?

-Thanks

Anyone offer some help for this from the links above?
Title: Re: SA Facebook Integration
Post by: SA™ on July 18, 2012, 09:07:20 PM
Quote from: Liam_michael on July 18, 2012, 06:29:35 PM
Quote from: SA™ on July 18, 2012, 01:54:14 PM
may just well be the fact your using the old api still or somthing got goofed up cos clicking the login with fb just reloads the forums you sure it all installed correct still all files and folders still there part from that id just put down to fb disontuing the old api

Could you use proper grammar?

i am dislexic i cant help the way i type/spell it just me like it or lump it
Title: Re: SA Facebook Integration
Post by: Biology Forums on July 19, 2012, 01:26:03 AM
I don't understand why clicking the link returns back to where the link was clicked from.

I followed the code:

<a href="#" onclick="javascript:fbLogin(); return false;"><img src="http://biology-forums.com/Themes/default/images/fb_connect.png" alt="" /></a>

Then I followed fbconnect.js, and I found this:

// check wheather there logged into fb and have permissions get errors otherwise if logged in got to connect and register them page else display login form for facebook
function fbLogin() {
    FB.Connect.requireSession(function() {
    FB.Connect.showPermissionDialog('email,status_update,read_stream,publish_stream', function()
    {
     document.location = smf_scripturl + '?action=facebook;sa=connect;step';
     });
   });
}


Why is it doing this and not doing what it's supposed to do :(

I replaced all the files to the original ones that came with the package, didn't help. I reverted back to my old index.template.php which did work at the time, still nothing :(

Will pay someone to find a way around this.
Title: Re: SA Facebook Integration
Post by: MrLiNk88 on July 19, 2012, 01:26:33 PM
hello,

can i use this mod for my forum? my forum is http://board.germandayz.de

i dont understand to create a facebook app, can anybody help me please?
Title: Re: SA Facebook Integration
Post by: Texan78 on July 19, 2012, 02:12:55 PM
Quote from: Liam_michael on July 19, 2012, 01:26:03 AM
I don't understand why clicking the link returns back to where the link was clicked from.

I followed the code:

<a href="#" onclick="javascript:fbLogin(); return false;"><img src="http://biology-forums.com/Themes/default/images/fb_connect.png" alt="" /></a>


It's because of a what I highlighted in red. It is anchored to what's in the url which keeps it on the page which it clicks and not pointed to a page or script.
Title: Re: SA Facebook Integration
Post by: Nityananda Maity on July 20, 2012, 12:10:58 AM
Quote from: MrLiNk88 on July 19, 2012, 01:26:33 PM
Hello,

can i use this mod for my forum? my forum is http://board.germandayz.de

i dont understand to create a facebook app, can anybody help me please?
First you have to install this mod successfully, after that go here to create a Facebook apps
https://developers.facebook.com/apps (https://developers.facebook.com/apps). After creating a apps on facebook, just collects this information 1)App ID/API Key and 2)App Secret, then go your forum and enter this information. and done. Also don't share 1 and 2 information to others.
If you want any help, you can feel free to pm me.
Thanks
Title: Re: SA Facebook Integration
Post by: Biology Forums on July 20, 2012, 01:31:07 AM
Quote from: nitya99 on July 20, 2012, 12:10:58 AM
Quote from: MrLiNk88 on July 19, 2012, 01:26:33 PM
Hello,

can i use this mod for my forum? my forum is http://board.germandayz.de

i dont understand to create a facebook app, can anybody help me please?
First you have to install this mod successfully, after that go here to create a Facebook apps
https://developers.facebook.com/apps (https://developers.facebook.com/apps). After creating a apps on facebook, just collects this information 1)App ID/API Key and 2)App Secret, then go your forum and enter this information. and done. Also don't share 1 and 2 information to others.
If you want any help, you can feel free to pm me.
Thanks

Nityaa99, I've already done that and actually used this mod for a year and a bit. Just not this occurred. Why could this be?
Title: Re: SA Facebook Integration
Post by: Nityananda Maity on July 20, 2012, 02:46:20 AM
Quote from: Liam_michael on July 20, 2012, 01:31:07 AM
Quote from: nitya99 on July 20, 2012, 12:10:58 AM
Quote from: MrLiNk88 on July 19, 2012, 01:26:33 PM
Hello,

can i use this mod for my forum? my forum is http://board.germandayz.de

i dont understand to create a facebook app, can anybody help me please?
First you have to install this mod successfully, after that go here to create a Facebook apps
https://developers.facebook.com/apps (https://developers.facebook.com/apps). After creating a apps on facebook, just collects this information 1)App ID/API Key and 2)App Secret, then go your forum and enter this information. and done. Also don't share 1 and 2 information to others.
If you want any help, you can feel free to pm me.
Thanks

Nityaa99, I've already done that and actually used this mod for a year and a bit. Just not this occurred. Why could this be?
I already using it successfully. so please describe your methods...
thanks
Title: Re: SA Facebook Integration
Post by: LOVELORD on July 20, 2012, 04:50:52 PM
LInks in first post not work? Hwo to crreate facebook application?
Title: Re: SA Facebook Integration
Post by: Biology Forums on July 21, 2012, 02:35:01 PM
If someone can please help me work this for 1.x like it did a week ago, I will pay money. Let me know what a fair price would be.
Title: Re: SA Facebook Integration
Post by: DutchJam on July 25, 2012, 11:38:19 AM
Now this is weird...

I installed this mod successfully on my SMF 2.0.2 Forum.

Then I point my browser to https://developers.facebook.com/apps to get an App ID, API Key and on & on but I am redirected to my own page on Facebook.

Anybody familiar with this?

Tnx!
Title: Re: SA Facebook Integration
Post by: Texan78 on July 28, 2012, 04:53:33 PM
Quote from: Texan78 on July 18, 2012, 06:44:08 PM
Quote from: Texan78 on June 29, 2012, 12:47:19 PM
Quote from: Texan78 on May 29, 2012, 04:48:28 PM
Any suggestions for theses?

http://www.simplemachines.org/community/index.php?topic=365503.msg3342041#msg3342041

http://www.simplemachines.org/community/index.php?topic=365503.msg3342116#msg3342116

-Thanks

Any suggestions for the to issues in the links above?

-Thanks

Anyone offer some help for this from the links above?

Ok this has gone on long enough... WILL PAY FAIR AMOUNT to have some minor cosmetic changes done. Nothing even major, just moving the position of a couple of items from the links above. Should be easy for someone fluent in how these mods work since it's not actually in a template, or I would do it myself. Please PM with a fair price for this minor work.
Title: Re: SA Facebook Integration
Post by: Texan78 on July 31, 2012, 10:16:16 PM
I have a couple of errors I am curious about how to fix. The first one is highlighted in with the red box. I see where the code is the file for the rest of the meta, but don't see one for the one its describing. Any ideas or suggestions?

(http://www.mesquiteweather.net/weatherconnection/images/OG_FB_Warnings.png)

The second one, the image speaks for itself. The part where it says it "could not retrieve the specified page" Any idea why that is happening? It just recently started doing that.

(http://www.mesquiteweather.net/weatherconnection/images/Facebook.png)

Other then those two minor issues everything else seems to be working correctly at the moment. Any suggestions or ideas?

-Thanks
Title: Re: SA Facebook Integration
Post by: SA™ on July 31, 2012, 11:36:15 PM
for the one in the second image you can sort this in fb admin  i think it under soccial fan box page url or somthing been time since i looked at it

fo the first image

the tiny og:image tell you whats wrong the image  needs to be at least 200px again you can chnage this in fb admin open grath to change the image

meta with name instead of property

<meta name="copyright" content="© Copyright 2012 by Weather Connection" />
<meta name="author" content="Weather Connection" />
<meta name="language" content="English" />
<meta name="publisher" content="Weather Connection" />
<meta name="audience" content="Weather" />


you have this in you template i have a feeling t will conflict with fb tags as there strict <meta property instead of <meta  name this may also be why you get the og:image errors
Title: Re: SA Facebook Integration
Post by: Texan78 on August 01, 2012, 01:18:55 AM
Quote from: SA™ on July 31, 2012, 11:36:15 PM
for the one in the second image you can sort this in fb admin  i think it under soccial fan box page url or somthing been time since i looked at it

Yea it was in the Admin under social Facebook page url. I was still using my old FB url instead of the new. Guess I forgot to update it. Got it updated and that error went away and it works fine.

Quote from: SA™ on July 31, 2012, 11:36:15 PMfo the first image

the tiny og:image tell you whats wrong the image  needs to be at least 200px again you can chnage this in fb admin open grath to change the image

Yea, it's small as it's below 200px. I knew about that one, that's a easy fix.

Quote from: SA™ on July 31, 2012, 11:36:15 PMmeta with name instead of property

<meta name="copyright" content="© Copyright 2012 by Weather Connection" />
<meta name="author" content="Weather Connection" />
<meta name="language" content="English" />
<meta name="publisher" content="Weather Connection" />
<meta name="audience" content="Weather" />


you have this in you template i have a feeling t will conflict with fb tags as there strict <meta property instead of <meta  name this may also be why you get the og:image errors

In the FacebookHooks.php I noticed this code for the meta, it has nothing about author, does there need to be? Would that help because it's looking at the normal meta tags for that name? What's a work around for that? Any that can be added?

$open_graph = '
<meta property="fb:app_id" content="'.$modSettings['fb_app_id'].'" />
                <meta property="og:type" content="article" />
<meta property="og:locale" content="'.(empty($modSettings['fb_admin_intern1']) ? $modSettings['fb_admin_intern1'] : 'en_US').'" />
                <meta property="og:title" content="'.$context['page_title_html_safe']. '" />
                <meta property="og:image" content="'.(!empty($modSettings['fb_app_image']) ? $modSettings['fb_app_image'] : $settings['default_theme_url'].'/images/topic/veryhot_post.gif').'" />
                <meta property="og:description" content="'.$context['page_title_html_safe'].'" />
                <meta property="og:url" content="'.(empty($context['current_topic']) ? $scripturl : $scripturl .'?topic='.$context['current_topic'].'.0').'" />';


-Thanks!
Title: Re: SA Facebook Integration
Post by: pushkardua on August 01, 2012, 01:36:40 PM
what will be the user password?
Title: Re: SA Facebook Integration
Post by: vbgamer45 on August 01, 2012, 01:39:37 PM
Quote from: pushkardua on August 01, 2012, 01:36:40 PM
what will be the user password?
I believe the user picks their own password
Title: Re: SA Facebook Integration
Post by: pushkardua on August 01, 2012, 01:42:07 PM
Quote from: vbgamer45 on August 01, 2012, 01:39:37 PM
Quote from: pushkardua on August 01, 2012, 01:36:40 PM
what will be the user password?
I believe the user picks their own password
nope when we ragister with this connect then it directly made an account with fb username but fb password is not working
Title: Re: SA Facebook Integration
Post by: SA™ on August 01, 2012, 03:21:00 PM
are you talking about auto registration method? if so this is a automaticly genarated password it just doesnt send the pass to the user i never got that far :D

@Texan78
Quote from: SA™ on July 31, 2012, 11:36:15 PM

meta with name instead of property

<meta name="copyright" content="© Copyright 2012 by Weather Connection" />
<meta name="author" content="Weather Connection" />
<meta name="language" content="English" />
<meta name="publisher" content="Weather Connection" />
<meta name="audience" content="Weather" />


you have this in you template i have a feeling t will conflict with fb tags as there strict <meta property instead of <meta  name this may also be why you get the og:image errors

realy this may just be your issue try removing that then validate the page again if it work then that is your issue
Title: Re: SA Facebook Integration
Post by: nend on August 01, 2012, 04:05:12 PM
You know the open graph standard isn't complete or one method or requirement isn't set in stone yet. I don't go by Facebook standards but by the ones on this site - http://ogp.me/

However I have been using images around 50 to 100px without any complaint from Facebook. Check out my site in my sig and share something, you will notice the open graph code works ok. Well there is one area I need to fix and that is YouTube videos in the gallery but everything else should work.  ;)

As for author, I currently don't use that tag for anything, I may implement it though.
Title: Re: SA Facebook Integration
Post by: LOVELORD on August 01, 2012, 08:32:45 PM
Hello,

I install Pretty URL (http://custom.simplemachines.org/mods/index.php?mod=636)s mod and install SA Facebook integration (http://custom.simplemachines.org/mods/index.php?mod=2322) mod.. And all thing working just i have few problems...

On mesegesindex page i have this problem:
(http://www.dodaj.rs/f/2F/Rq/49w2XXzX/facebookindex.jpg)

Also on facebook I have this problem:
(http://www.dodaj.rs/f/3f/wG/IOWVXdI/facebook.png)

But on my URL Bar I have this adress:
http://www.site.tld/general-discussion/asdsdasdas/

and i want this url been showed on facebook. Is there any way how this can be done?
Title: Re: SA Facebook Integration
Post by: phtomay on August 01, 2012, 11:10:54 PM
HELP!!!

After successfully installing the mod, i got this error message


Fatal error: Uncaught exception 'Exception' with message 'Facebook needs the CURL PHP extension.' in C:\xampplite\htdocs\osu\facebookauth\base_facebook.php:19 Stack trace: #0 C:\xampplite\htdocs\osu\facebookauth\facebook.php(18): require_once() #1 C:\xampplite\htdocs\osu\Sources\Facebook\FacebookHooks.php(819): include('C:\xampplite\ht...') #2 C:\xampplite\htdocs\osu\Sources\Facebook\FacebookHooks.php(119): SAFacebookhooks::face_load() #3 [internal function]: SAFacebookhooks::Facebook_register_override() #4 C:\xampplite\htdocs\osu\Sources\Subs.php(4189): call_user_func_array(Array, Array) #5 C:\xampplite\htdocs\osu\Sources\Load.php(296): call_integration_hook('integrate_pre_l...') #6 C:\xampplite\htdocs\osu\index.php(71): reloadSettings() #7 {main} thrown in C:\xampplite\htdocs\osu\facebookauth\base_facebook.php on line 19


So, i enabled my php curl extension by uncommenting (removing) the (;) extension=php_curl.dll in my php.ini configuration file. restarted my local server. but cannot access my site again.... ERROR MESSAGE >>>>> Firefox can't find the server at localhost.com.

Thank you for your response
Title: Re: SA Facebook Integration
Post by: Texan78 on August 02, 2012, 01:52:00 AM
Quote from: SA™ on August 01, 2012, 03:21:00 PM
are you talking about auto registration method? if so this is a automaticly genarated password it just doesnt send the pass to the user i never got that far :D

@Texan78
Quote from: SA™ on July 31, 2012, 11:36:15 PM

meta with name instead of property

<meta name="copyright" content="© Copyright 2012 by Weather Connection" />
<meta name="author" content="Weather Connection" />
<meta name="language" content="English" />
<meta name="publisher" content="Weather Connection" />
<meta name="audience" content="Weather" />


you have this in you template i have a feeling t will conflict with fb tags as there strict <meta property instead of <meta  name this may also be why you get the og:image errors

realy this may just be your issue try removing that then validate the page again if it work then that is your issue

Well see that is where the problem is. I don't have a meta tag for author at all. Not sure if it's looking for one or what or where it would be.

This is from my index.template.php and these are the only meta tags I have in there.

echo '
<meta http-equiv="Content-Type" content="text/html; charset=', $context['character_set'], '" />
<meta name="description" content="', $context['page_title_html_safe'], '" />', !empty($context['meta_keywords']) ? '
<meta name="keywords" content="' . $context['meta_keywords'] . '" />' : '', '
<title>', $context['page_title_html_safe'], '</title>';


This is in FacebookHooks.php that is for the open graph.

$open_graph = '
<meta property="fb:app_id" content="'.$modSettings['fb_app_id'].'" />
                <meta property="og:type" content="article" />
<meta property="og:locale" content="'.(empty($modSettings['fb_admin_intern1']) ? $modSettings['fb_admin_intern1'] : 'en_US').'" />
                <meta property="og:title" content="'.$context['page_title_html_safe']. '" />
                <meta property="og:image" content="'.(!empty($modSettings['fb_app_image']) ? $modSettings['fb_app_image'] : $settings['default_theme_url'].'/images/topic/veryhot_post.gif').'" />
                <meta property="og:description" content="'.$context['page_title_html_safe'].'" />
                <meta property="og:url" content="'.(empty($context['current_topic']) ? $scripturl : $scripturl .'?topic='.$context['current_topic'].'.0').'" />';
   
      $buffer = str_replace('</title>','</title>'.$open_graph, $buffer);
}


When you view the source this is what shows.

<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />

<meta name="description" content="Weather Connection Forum is your online source for weather enthusuasts" />
<meta name="keywords" content="Weather, Station, weather, Virtual, Cumulus, GRLevelX, american, forums, Display, Personal, Nexrad, Stations, Davis, forum, PWS, websites, lightning, Boltek, radar" />
<title>Weather Connection Forum - Your Online Source For Weather Enthusiasts</title>
<meta property="fb:app_id" content="REMOVED FOR PRIVACY" />
                <meta property="og:type" content="article" />
<meta property="og:locale" content="en_US" />
                <meta property="og:title" content="Weather Connection Forum - Your Online Source For Weather Enthusiasts" />
                <meta property="og:image" content="http://www.mesquiteweather.net/weatherconnection/images/WC-FB_Logo.png" />
                <meta property="og:description" content="Weather Connection Forum - Your Online Source For Weather Enthusiasts" />
                <meta property="og:url" content="http://www.weather-connection.com/index.php" />



So as you can see there is no meta property or meta name for Author. So is it saying there needs to be one?

-Thanks
Title: Re: SA Facebook Integration
Post by: Texan78 on August 02, 2012, 02:32:16 AM
SA,

After viewing it in the scraper and looking down further in the head I see what you talking about now. Just not sure where it's coming from.

When I remove this bit of code in my index.template they error goes away.

// Output any remaining HTML headers. (from mods, maybe?)
 
 
echo $context['html_headers'];


But I am not sure what that is in, hook, template maybe

EDIT: I found the source, it was being outputting by my SEO Mod. Located the code and removed the code for the author meta tag. Debugged it in FB again and the error is gone. So looks like all is good now.

-Thanks
Title: Re: SA Facebook Integration
Post by: DutchJam on August 02, 2012, 03:58:12 PM
Quote from: DutchJam on July 25, 2012, 11:38:19 AM
Now this is weird...

I installed this mod successfully on my SMF 2.0.2 Forum.

Then I point my browser to https://developers.facebook.com/apps to get an App ID, API Key and on & on but I am redirected to my own page on Facebook.

Anybody familiar with this?

Tnx!

Anybody familiar with this?

Any helpt with this is very appreciated ;-)

Tnx!
Title: Re: SA Facebook Integration
Post by: Texan78 on August 03, 2012, 12:15:46 AM
Quote from: DutchJam on August 02, 2012, 03:58:12 PM
Quote from: DutchJam on July 25, 2012, 11:38:19 AM
Now this is weird...

I installed this mod successfully on my SMF 2.0.2 Forum.

Then I point my browser to https://developers.facebook.com/apps to get an App ID, API Key and on & on but I am redirected to my own page on Facebook.

Anybody familiar with this?

Tnx!

Anybody familiar with this?

Any helpt with this is very appreciated ;-)

Tnx!

Log out of Facebook, clear your cache then try it again.
Title: Re: SA Facebook Integration
Post by: DutchJam on August 03, 2012, 02:08:36 AM
Quote from: Texan78 on August 03, 2012, 12:15:46 AM
Quote from: DutchJam on August 02, 2012, 03:58:12 PM
Quote from: DutchJam on July 25, 2012, 11:38:19 AM
Now this is weird...

I installed this mod successfully on my SMF 2.0.2 Forum.

Then I point my browser to https://developers.facebook.com/apps to get an App ID, API Key and on & on but I am redirected to my own page on Facebook.

Anybody familiar with this?

Tnx!

Anybody familiar with this?

Any helpt with this is very appreciated ;-)

Tnx!

Log out of Facebook, clear your cache then try it again.

Tnx for your reply Texan78.

Unfortunately clearing the cache did not work...
Title: Re: SA Facebook Integration
Post by: Texan78 on August 03, 2012, 11:04:47 AM
Quote from: DutchJam on August 03, 2012, 02:08:36 AM
Quote from: Texan78 on August 03, 2012, 12:15:46 AM
Quote from: DutchJam on August 02, 2012, 03:58:12 PM
Quote from: DutchJam on July 25, 2012, 11:38:19 AM
Now this is weird...

I installed this mod successfully on my SMF 2.0.2 Forum.

Then I point my browser to https://developers.facebook.com/apps to get an App ID, API Key and on & on but I am redirected to my own page on Facebook.

Anybody familiar with this?

Tnx!

Anybody familiar with this?

Any helpt with this is very appreciated ;-)

Tnx!

Log out of Facebook, clear your cache then try it again.

Tnx for your reply Texan78.

Unfortunately clearing the cache did not work...

To get some more information how is your Facebook page set up? Is it just a personal page? Do you have fan/business page set up that is administered by your personal page?
Title: Re: SA Facebook Integration
Post by: DutchJam on August 03, 2012, 05:04:52 PM
Quote from: DutchJam on July 25, 2012, 11:38:19 AM
To get some more information how is your Facebook page set up? Is it just a personal page? Do you have fan/business page set up that is administered by your personal page?

Good question, I'm not that familiar with Facebook.

It started as a personal page but I changed it into a page for a community (forum). The log-in email is also the manager of the page.

The page is http://www.facebook.com/jamaicaforum.nl



Does this help?
Title: Re: SA Facebook Integration
Post by: SA™ on August 03, 2012, 05:35:44 PM
You cant access it from a page account you can only access it from a regular account See this
http://stackoverflow.com/questions/9305641/cant-access-facebook-developers-app-redirected-to-my-page-repeatedly
Title: Re: SA Facebook Integration
Post by: DutchJam on August 04, 2012, 03:00:50 AM
Quote from: SA™ on August 03, 2012, 05:35:44 PM
You cant access it from a page account you can only access it from a regular account See this
http://stackoverflow.com/questions/9305641/cant-access-facebook-developers-app-redirected-to-my-page-repeatedly

Okay...

So I have to switch to a 'user' account. Can I just switch or do I have to create a complete new account and delete my jamaicaforum.nl page?
Title: Re: SA Facebook Integration
Post by: phtomay on August 04, 2012, 03:02:44 AM
Someone should help on this please. @SA please help!!

Quote from: phtomay on August 01, 2012, 11:10:54 PM
HELP!!!

After successfully installing the mod, i got this error message


Fatal error: Uncaught exception 'Exception' with message 'Facebook needs the CURL PHP extension.' in C:\xampplite\htdocs\osu\facebookauth\base_facebook.php:19 Stack trace: #0 C:\xampplite\htdocs\osu\facebookauth\facebook.php(18): require_once() #1 C:\xampplite\htdocs\osu\Sources\Facebook\FacebookHooks.php(819): include('C:\xampplite\ht...') #2 C:\xampplite\htdocs\osu\Sources\Facebook\FacebookHooks.php(119): SAFacebookhooks::face_load() #3 [internal function]: SAFacebookhooks::Facebook_register_override() #4 C:\xampplite\htdocs\osu\Sources\Subs.php(4189): call_user_func_array(Array, Array) #5 C:\xampplite\htdocs\osu\Sources\Load.php(296): call_integration_hook('integrate_pre_l...') #6 C:\xampplite\htdocs\osu\index.php(71): reloadSettings() #7 {main} thrown in C:\xampplite\htdocs\osu\facebookauth\base_facebook.php on line 19


So, i enabled my php curl extension by uncommenting (removing) the (;) extension=php_curl.dll in my php.ini configuration file. restarted my local server. but cannot access my site again.... ERROR MESSAGE >>>>> Firefox can't find the server at localhost.com.

Thank you for your response
Title: Re: SA Facebook Integration
Post by: SA™ on August 04, 2012, 03:27:19 AM
@DutchJam no you can just switch if you already have a normal fb account no need to delete you page even if you do create a normal fb account

@phtomay
did you remove extension=php_curl.dll the whoole line? should only remove the ; semicolon you have abvisly messed up you php.ini
im not sure what else to say
Title: Re: SA Facebook Integration
Post by: phtomay on August 04, 2012, 03:35:09 AM
Quote from: SA™ on August 04, 2012, 03:27:19 AM

@phtomay
did you remove extension=php_curl.dll the whoole line? should only remove the ; semicolon you have abvisly messed up you php.ini
im not sure what else to say

I only removed the ; semicolon. other website on my localhost are accessible, so it might not be that my php.ini files is messed up.
Thanks for your response
Title: Re: SA Facebook Integration
Post by: DutchJam on August 04, 2012, 03:52:28 AM
Quote from: SA™ on August 04, 2012, 03:27:19 AM
@DutchJam no you can just switch if you already have a normal fb account no need to delete you page even if you do create a normal fb account

Okay, tnx... But how do I switch? Can't find anything like that in the settings.
Title: Re: SA Facebook Integration
Post by: isl30fvi3w on August 06, 2012, 01:48:29 PM
I am having issues with the PUBLISHER functionality. I already got my tokens but it seems like its not working. What is the format of PAGE ID? is it numerical or the personalized id? When i post new topics, there's no updates on the facebook page I entered on the settings.
Title: Re: SA Facebook Integration
Post by: vbgamer45 on August 06, 2012, 06:39:56 PM
Page id should be a large number. Make sure granted extended permissions.
Title: Re: SA Facebook Integration
Post by: Texan78 on August 06, 2012, 07:10:32 PM
Quote from: DutchJam on August 04, 2012, 03:52:28 AM
Quote from: SA™ on August 04, 2012, 03:27:19 AM
@DutchJam no you can just switch if you already have a normal fb account no need to delete you page even if you do create a normal fb account

Okay, tnx... But how do I switch? Can't find anything like that in the settings.

If you have a normal user FB page then you would just create a Fan/Business page that is administered by your normal FB page.

Check out this link for more information about how it should be set up.

http://www.facebook.com/note.php?note_id=114928747692

Title: Re: SA Facebook Integration
Post by: LOVELORD on August 07, 2012, 01:46:17 AM
Hello,

I have problem with publish button on my site... When I want to publish something i recive this error:

API Error Code: 191
API Error Description: The specified URL is not owned by the application
Error Message: redirect_uri is not owned by the application.

I found that I must add SDK Javascript somewhere on site, but i dont know where i must add this script
https://developers.facebook.com/docs/reference/javascript/

Also when I try to cennect to facebook with my account, or when I try to login or register account throuth facebook.

Any help what I need to do.

Also where i can find this access token?
Title: Re: SA Facebook Integration
Post by: SA™ on August 07, 2012, 01:00:17 PM
you dont have to add SDK Javascript anywere it included in the mod

the error tells you whats up with it

QuoteAPI Error Description: The specified URL is not owned by the application
Error Message: redirect_uri is not owned by the application.

you have basicly set up you app wrong or you didnt set up an application on facebook
Title: Re: SA Facebook Integration
Post by: LOVELORD on August 07, 2012, 01:33:24 PM
Quote from: SA™ on August 07, 2012, 01:00:17 PM
you dont have to add SDK Javascript anywere it included in the mod

the error tells you whats up with it

QuoteAPI Error Description: The specified URL is not owned by the application
Error Message: redirect_uri is not owned by the application.

you have basicly set up you app wrong or you didnt set up an application on facebook

Can you tell what i must do to set up application on facebook?
Title: Re: SA Facebook Integration
Post by: phtomay on August 08, 2012, 11:30:34 PM
Quote from: phtomay on August 04, 2012, 03:35:09 AM
Quote from: SA™ on August 04, 2012, 03:27:19 AM

@phtomay
did you remove extension=php_curl.dll the whoole line? should only remove the ; semicolon you have abvisly messed up you php.ini
im not sure what else to say

I only removed the ; semicolon. other website on my localhost are accessible, so it might not be that my php.ini files is messed up.
Thanks for your response
Title: Re: SA Facebook Integration
Post by: Texan78 on August 09, 2012, 01:11:38 AM
Making last minute checks on everything before I go Live and everything in the mod works with the exception of the Publisher.

I have "Enable Post Publisher" set to "New Topics" Then have "Publish to facebook?" set to "Page".

My Facebook Page and User ID is entered and entered correctly. After entering the information I click save.

I then clicked on the grant permissions button and everything was granted correctly. Two of the "Facebook Access Tokens" were entered. There is three boxes to enter tokens. When I granted permission the first and third box populated but not the second.

I made a test post and it doesn't post to the FB page. Am I missing a step of over looking something? Is their suppose to be three tokens and if so where do I get the third one. This same function works perfect with the Twitter Mod.

Also one other quick question. When users log in with their FB account which password does the forum store as a password. Because if a user wants to update display name or forum profile account settings they have to enter their password to complete it.

Any ideas of suggestions would be greatly appreciated.

-Thanks!
Title: Re: SA Facebook Integration
Post by: SA™ on August 09, 2012, 10:44:31 AM
one of the tokens is fo group pulishing if i rember correct so uless you are posting to a group you wont see that in other words it fine as is :)

do you have new permissions enabled in you fb app thi cab break publishing cos the mod dont work with the new permission from fb
thewe is some info on this not to far back in this topic

are you sing the auto reg method?  if so again a few pages back there is a fix for this basicly with the auto method the user dont get a pass cos it genarated auto i never got as far as to send it to the user
Title: Re: SA Facebook Integration
Post by: Texan78 on August 09, 2012, 12:06:43 PM
Quote from: SA™ on August 09, 2012, 10:44:31 AM
one of the tokens is fo group pulishing if i rember correct so uless you are posting to a group you wont see that in other words it fine as is :)

I guess I am ok there as it is a fan/business page.

Quote from: SA™ on August 09, 2012, 10:44:31 AMdo you have new permissions enabled in you fb app thi cab break publishing cos the mod dont work with the new permission from fb

Are there extended permissions on the Developers page for my App that need to be granted? If so where do I find those because I went to my app page and couldn't find anything related to it.

Only thing I clicked for granted extended permissions was this button in the image below after entered my User ID, having the Page ID did nothing, is the Page ID not needed just the User ID? Seems to me they are one in the same anyways? After clicking that button it populated my access tokens and then said Permissions granted and refreshed the page, but still nothing posts to the page on new topics.

(http://www.mesquiteweather.net/wxconnection/screenshots/Facebook%20Integration_permissions.png)

Quote from: SA™ on August 09, 2012, 10:44:31 AMare you sing the auto reg method?  if so again a few pages back there is a fix for this basicly with the auto method the user dont get a pass cos it genarated auto i never got as far as to send it to the user

That's what is strange about it is no matter if it is Manual or Auto it just logs them in from FB as it's suppose to but user isn't aware of their password.

What is the preferred method to use?

-Thanks!
Title: Re: SA Facebook Integration
Post by: SA™ on August 09, 2012, 12:54:06 PM
in your app underad advance
Remove offline_access permission:

is that enabled if so disable it sry this is what i ment ealer by this
Quotedo you have new permissions enabled in you fb app thi cab break publishing cos the mod dont work with the new permission from fb
just couldent check it elayer

QuoteThat's what is strange about it is no matter if it is Manual or Auto it just logs them in from FB as it's suppose to but user isn't aware of their password.

What is the preferred method to use?

this is the thing if people have synced the account wiht fb then they will just get logged into the forum if not then it will present fb register page to register on forum

my prefered method is manual cos the user has to set up a password to register auto it doesnt reqire any input just registers them on the forum with no input and pass is auto genarated

the auto method was only added cos i was sick of people telling me thats the whole poiont of the mod when it wasnt realy most people dont understand that the auto method is not they way for this mod ok maybe for a html coded site but forums are a whole new ball game we need sevaral things like email and password in other words i would not recomend the auto method to anyone :)

just registerd on your site and you have it set to auto reg method you can delete wayne.dennis.712 if you wont
Title: Re: SA Facebook Integration
Post by: Texan78 on August 09, 2012, 01:42:36 PM
Thanks, SA for the reply. I found the setting you were referring to and will test that shortly. I found that code that will PM the user and it works great.

If anyone else is looking for it you can find the post here...

http://www.simplemachines.org/community/index.php?topic=365503.msg3345686#msg3345686

I am trying to modify the message so it is more custom and gives more information to the user what the password is good for. One thing I am wondering is if they update their password to one of their choice will it still sync with FB where they can login with the FB account?

So this is what I am trying to do with the message. Taking this code...

$message = $txt['fb_password_welcome']; //the body of the pm

Where instead of $message = $password; it inserts some text from the language file with the password in it like this...

$txt['fb_password_welcome'] = 'Here is your password for the forum ' .$password. ' . You can use it to update your profile account setttings.';

Text is just a exmaple, will update it more, but my question is will this work and is it formatted correctly?

UPDATE: Well the text part works, just not sure how to prperly fomat the code in the text to display the password. Would it be " . $password . " or could I just use $password?

-Thanks!
Title: Re: SA Facebook Integration
Post by: SA™ on August 09, 2012, 02:04:15 PM
you can  use sprintf() function
sprintf($txt['fb_password_welcome'], $password)
anf then
$txt['fb_password_welcome'] = 'Here is your password for the forum %1$s . You can use it to update your profile account setttings.';

then setup the pm like so

//Set up the pm
    $title = 'Forum password'; //the title of the pm
    $message = sprintf($txt['fb_password_welcome'], $password); //the body of the pm
   
    $pmfrom = array(
        'id' => 0, //user id where the pm is from
        'name' => 'Admin', //name of the user who the pm is from
        'username' => 'Admin', //username of the user who the pm is from
    );
       
    $pmto = array(
        'to' => array($memberID),// array of ids to send the pm to
        'bcc' => array()//bbc array
    );

    //Now send it
    sendpm($pmto, $title, $message , 0, $pmfrom);
Title: Re: SA Facebook Integration
Post by: Texan78 on August 09, 2012, 02:29:42 PM
BOOOYAAA! That works perfectly! Thank you! I can go back and modify the text string to say what I need it to say and add further directions to the message later.

Back to the Publisher. I disabled "Remove offline_access permission" and then went back to the Amind CP for FB and granted permissions again. This time a FB box popped up (last time if was just solid white and disappeared) and asked me if I wanted to granted permission to my app to perform or grant access for a certain function. I said allow, waited about 15-20mins for the server to update on the FB side as it requested. Made a new test post and still no new comment is posted. I only have a User ID entered and not a Page ID. Does it matter? Should only need User ID right?

Also where it says "Publish to facebook?" what is the difference in page or profile?

-Thanks!
Title: Re: SA Facebook Integration
Post by: DutchJam on August 09, 2012, 03:57:11 PM
Ok, it works, thanks for your help Texan78.

Just 1 more question: when I post a new topic on the forum, its posted on my Facebook page now.
Including the first lines of the forum topic. But also some HTML is posted (<br />) in the post on the Facebook page.

How to solve this?
Title: Re: SA Facebook Integration
Post by: Texan78 on August 09, 2012, 04:20:12 PM
Quote from: DutchJam on August 09, 2012, 03:57:11 PM
Ok, it works, thanks for your help Texan78.

Just 1 more question: when I post a new topic on the forum, its posted on my Facebook page now.
Including the first lines of the forum topic. But also some HTML is posted (<br />) in the post on the Facebook page.

How to solve this?

LoL! I wish I had that problem. That is what I am trying to get to work at this moment is it posting new topics to my facebook page. What did you have to do to get it to post new topics, other then the settings in the admin CP. If I can get my going maybe I can test it and see if it happens to me too.

Also if you can post some screenshots of what the output looks like with on the Facebook page.
Title: Re: SA Facebook Integration
Post by: DutchJam on August 09, 2012, 05:07:18 PM
Quote from: Texan78 on August 09, 2012, 04:20:12 PM
Quote from: DutchJam on August 09, 2012, 03:57:11 PM
Ok, it works, thanks for your help Texan78.

Just 1 more question: when I post a new topic on the forum, its posted on my Facebook page now.
Including the first lines of the forum topic. But also some HTML is posted (<br />) in the post on the Facebook page.

How to solve this?

LoL! I wish I had that problem. That is what I am trying to get to work at this moment is it posting new topics to my facebook page. What did you have to do to get it to post new topics, other then the settings in the admin CP. If I can get my going maybe I can test it and see if it happens to me too.

Also if you can post some screenshots of what the output looks like with on the Facebook page.

Ooooops... I shouted too early...

It seems I have the same problem as you here. At first the mod posted all new topics (and replies) to my Facebook page, but after a while it stopped posting...

I found out that I have to use my profile account to set the 'grand permissions'. Then, while logged in to my personal profile at Facebook, the posting (to my Facebook forum page) works fine. But when I at Facebook switch from my Facebook profile page to my Facebook forum page to check, the posting stops, even when I return to my profile page...

As far as I can see, my settings in the mod control panel are the same as yours and I also disabled the 'remove offline_access permission' option in the Facebook app settings.

I simply don't understand why it works for a while and then stop...

Concerning the output: it looks good, only the text taken from the original post on the forum looks like this:
Jamaica's sprint king Usain Bolt reaffirmed his status as a "legend" when he ran 9.32  to win the Olympic 200m title. <br /><br />Teammates Yohan Blake was second in 19.44 while Warren Weir was third in 19.84.

Notice the <br /> tags in the text...
Title: Re: SA Facebook Integration
Post by: Texan78 on August 09, 2012, 07:14:41 PM
SA, any suggestions? I can't get new topics to publish to my Facebook page at all. Even after granting permission. I get a pop up box asking if I want to allow it. I select allow then the page refreshes but still nothing.

Dutch, do you have both your Page ID and User ID entered on your publisher page?
Title: Re: SA Facebook Integration
Post by: SA™ on August 09, 2012, 11:05:14 PM
you need to enter you page id and do the grant permissions thing again
Title: Re: SA Facebook Integration
Post by: Texan78 on August 09, 2012, 11:43:35 PM
What is my Page ID? Where do I find that, is that different from User ID? I mean I know what they are but which is which?

Page ID My Fan page?

User ID my personal page?

-Thanks!
Title: Re: SA Facebook Integration
Post by: SA™ on August 09, 2012, 11:52:46 PM
yes the page id is the id of the page with out it it dont know where to post topics
assuming this is your page https://www.facebook.com/WeatherConnectionForum the id is
363434477048298

using graph api you can see this info

https://www.facebook.com/WeatherConnectionForum
just chnage the www to graph and you have all the info on your page
Title: Re: SA Facebook Integration
Post by: SA™ on August 09, 2012, 11:58:34 PM
QuotePage ID My Fan page?

User ID my personal page?

yes thats correct
Title: Re: SA Facebook Integration
Post by: Texan78 on August 10, 2012, 12:04:00 AM
Ah yea boy, we have lift off! Apparently I had the wrong ID from other links I had read about finding it. What was funny is just before I saw your last post I found that URL https://graph.facebook.com/yourusername. Wish I had found that earlier, that URL tells you all you need to know!

Ok, just a real quick question so I will know how to field them from members.

1. If a member changes his email in his profile after he has logged in with Facebook will that prevent them from logging in with the Facebook App causing them to starting over again or will the session ID notice the changes? Hope that made sense.

2. If a member doesn't change their email and it stays with the Facebook email by default. If someone emails them would that go to their Facebook email or what?

-Thanks Again!
Title: Re: SA Facebook Integration
Post by: SA™ on August 10, 2012, 12:08:23 AM
1 no it will still work as emails are not tyed to fb

2 i think it go to fb inbox not too sure tho
Title: Re: SA Facebook Integration
Post by: Texan78 on August 10, 2012, 12:35:12 AM
Quote from: SA™ on August 10, 2012, 12:08:23 AM
1 no it will still work as emails are not tyed to fb

Gotcha, so the forum just pulls the FB [email protected] email so it has something to register with I guess right? It all works now so that's great but, it would be nice if it could pull the email and use the one the member signed up with FB with. That would probably be a little complicated due to privacy. No biggie, it works so I am happy.

Quote from: SA™ on August 10, 2012, 12:08:23 AM2 i think it go to fb inbox not too sure tho

Well just did a test and it doesn't go to the FB inbox. I thought maybe it wasn't sending mail. So to confirm the mail was working I sent it to a test user I have set up and the mail sent fine to that user. So FYI, if they register on the forum with FB they won't get mail. So they will need to update that in their profile. Guess I need to mention that in the PM they get for their password when they register.

-Thanks!
Title: Re: SA Facebook Integration
Post by: SA™ on August 10, 2012, 12:46:31 AM
QuoteGotcha, so the forum just pulls the FB [email protected] email so it has something to register with I guess right? It all works now so that's great but, it would be nice if it could pull the email and use the one the member signed up with FB with. That would probably be a little complicated due to privacy. No biggie, it works so I am happy.

Well just did a test and it doesn't go to the FB inbox. I thought maybe it wasn't sending mail. So to confirm the mail was working I sent it to a test user I have set up and the mail sent fine to that user. So FYI, if they register on the forum with FB they won't get mail. So they will need to update that in their profile. Guess I need to mention that in the PM they get for their password when they register.

well it does attemp to fetch the email registerd on fb with but but it does fail more than work this is why fb emaill addy was added another reson not to use the auto register methode i guess :D
Title: Re: SA Facebook Integration
Post by: isl30fvi3w on August 10, 2012, 06:31:25 AM
I tried installing this mod with no errors. But after the installation, my forum went down. I tried installing this mod and deactivating all other mods but the problem still exists.
Title: Re: SA Facebook Integration
Post by: Texan78 on August 10, 2012, 11:19:33 AM
Did you back up your files first that you can restore from to see if the problem still occurs and go from there?
Title: Re: SA Facebook Integration
Post by: DutchJam on August 10, 2012, 12:32:17 PM
Quote from: SA™ on August 09, 2012, 11:52:46 PM
yes the page id is the id of the page with out it it dont know where to post topics
assuming this is your page https://www.facebook.com/WeatherConnectionForum the id is
363434477048298

using graph api you can see this info

https://www.facebook.com/WeatherConnectionForum
just chnage the www to graph and you have all the info on your page

Ok, I added my Page ID (numbers) in the field in stead of jamaicaforum.nl (my Facebook page is http://www.facebook.com/jamaicaforum.nl). Maybe this wil solve my problem too...

About the HTML tags, see image below what happens if SA Facebook Integration posts a new topic from my forum to the page at Facebook...

(http://img4.imageshack.us/img4/586/jamfrmexample.jpg)
Title: Re: SA Facebook Integration
Post by: SA™ on August 10, 2012, 02:48:10 PM
@dutchjam you can try this in facebookhooks.php

$attachment['description'] = $nobbc_body;

replace with

$attachment['description'] = strip_tags($nobbc_body);

@isl30fvi3w
php version?
Title: Re: SA Facebook Integration
Post by: DutchJam on August 10, 2012, 03:27:17 PM
Quote from: SA™ on August 10, 2012, 02:48:10 PM
@dutchjam you can try this in facebookhooks.php

$attachment['description'] = $nobbc_body;

replace with

$attachment['description'] = strip_tags($nobbc_body);

@isl30fvi3w
php version?


Thanks for your reply SA.

It works, yes and no....

Text in post at facebook page was (like image above):

Usain Bolt zorgt ook voor Twitter-record<br /><br />Niet alleen liep de 25-jarige

And is now:

Usain Bolt zorgt ook voor Twitter-recordNiet alleen liep de 25-jarige

So the HTML tags are gone, but there is no space between the first line and the second line. This would look better:

Usain Bolt zorgt ook voor Twitter-record Niet alleen liep de 25-jarige

Is that possible?
Title: Re: SA Facebook Integration
Post by: phtomay on August 10, 2012, 03:33:23 PM
Quote from: isl30fvi3w on August 10, 2012, 06:31:25 AM
I tried installing this mod with no errors. But after the installation, my forum went down. I tried installing this mod and deactivating all other mods but the problem still exists.

@isl30fvi3w more like we have the same issues here but no 1 seems to be responding/helpful. Did u get any error message?
Title: Re: SA Facebook Integration
Post by: Texan78 on August 10, 2012, 03:45:47 PM
Quote from: phtomay on August 10, 2012, 03:33:23 PM
Quote from: isl30fvi3w on August 10, 2012, 06:31:25 AM
I tried installing this mod with no errors. But after the installation, my forum went down. I tried installing this mod and deactivating all other mods but the problem still exists.

@isl30fvi3w more like we have the same issues here but no 1 seems to be responding/helpful. Did u get any error message?

Can you access the admin CP? Have you tried uninstalling and then reinstalling? Also did you create a back up before you installed it that you can restore to as I suggested above?

@DutchJam That might be just how it formats it. I am not sure if there is a way to make it wrap at a certain point. If you do it by characters it might wrap in the middle of a word and make it worse. Maybe SA has some insight.
Title: Re: SA Facebook Integration
Post by: SA™ on August 10, 2012, 07:18:14 PM
@ DutchJam
maybe will work with regualr expression and preg_replace

$attachment['description'] = preg_replace('|</?\w+\s+[^>]*>|si', ' ', $nobbc_body);

i have not tested this expression so it may not work
Title: Re: SA Facebook Integration
Post by: DutchJam on August 11, 2012, 03:12:39 AM
Quote from: SA™ on August 10, 2012, 07:18:14 PM
@ DutchJam
maybe will work with regualr expression and preg_replace

$attachment['description'] = preg_replace('|</?\w+\s+[^>]*>|si', ' ', $nobbc_body);

i have not tested this expression so it may not work
Yup! Works excellent so far, the text in post on Facebook page look much better now!

Thanks, thanks, thanks SA!

That brings me to the publisher again...
Yesterday night the publisher did his work. But after a night good sleep and nice dreams (...) I started the computer again, pointed my browser to my forum, logged in, posted some new topics and... Nope, no publishing at all at the Facebook page. I had to re-run the 'grand permission' thing 3 times to get it work again.

I don't know where to look to solve this. I can't imagine that I have to re-run the permission stuff every time again, right. I suppose this has to be a one-time event and when i have been logged out, it has to be work again when I log in again, or is that not true?

I checked the settings of the publisher again, and they seem ok. I have my correct Page ID, Facebook ID (email address I use for logging in into FB), Access Tokes fields are filled in and I also disabled the 'remove offline_access permission' option in the Facebook app settings...

Where else can I look to solve this?
Title: Re: SA Facebook Integration
Post by: Texan78 on August 11, 2012, 04:05:03 PM
Dutch, I think because you're using your email it's not staying logged in. You actually need use your ID number. To find your Page ID and User ID, use this https://graph.facebook.com/yourusername replace yourusername once with your page name and then with your user name and it will give you your ID's to use. Look on the last page towards the bottom to get more information about this.
Title: Re: SA Facebook Integration
Post by: DutchJam on August 11, 2012, 05:39:58 PM
Quote from: Texan78 on August 11, 2012, 04:05:03 PM
Dutch, I think because you're using your email it's not staying logged in. You actually need use your ID number. To find your Page ID and User ID, use this https://graph.facebook.com/yourusername replace yourusername once with your page name and then with your user name and it will give you your ID's to use. Look on the last page towards the bottom to get more information about this.

Ah, good point Texas78!

I did not realize I also need the ID number for the User ID field... I will change this setting and see how it works out.

Thanks again for your reply and I'll let you know if it solves my problem.
Title: Re: SA Facebook Integration
Post by: DutchJam on August 12, 2012, 12:30:59 PM
Quote from: DutchJam on August 11, 2012, 05:39:58 PM
Quote from: Texan78 on August 11, 2012, 04:05:03 PM
Dutch, I think because you're using your email it's not staying logged in. You actually need use your ID number. To find your Page ID and User ID, use this https://graph.facebook.com/yourusername replace yourusername once with your page name and then with your user name and it will give you your ID's to use. Look on the last page towards the bottom to get more information about this.

Ah, good point Texas78!

I did not realize I also need the ID number for the User ID field... I will change this setting and see how it works out.

Thanks again for your reply and I'll let you know if it solves my problem.
Nope... :-(

Yesterday night it worked perfect (even during the night when another forum member posted a new topic), but this morning I started PC again, pointed my browser to my forum and logged in again. Posted some new topics but none of them were posted on my Facebook page...

Both ID's (User and Page) are filled in correctly now (the number of my user account and the number of my page), so where else can I look?

Anybody an idea?
Title: Re: SA Facebook Integration
Post by: johnpaul2k2 on August 12, 2012, 01:27:33 PM
How can i create an Application . Please i need instructions. thank :)
Title: Re: SA Facebook Integration
Post by: isl30fvi3w on August 12, 2012, 02:05:26 PM
I did not create a backup of the files but instead I just did a fresh install of my forum, right after installing the sa facebook mod, the site went down with a 500 internal server error. My php version is 5. I know the file permissions are fine.
Title: Re: SA Facebook Integration
Post by: Texan78 on August 12, 2012, 03:15:01 PM
Quote from: johnpaul2k2 on August 12, 2012, 01:27:33 PM
How can i create an Application . Please i need instructions. thank :)

http://developers.facebook.com/docs/opengraph/tutorial/
Title: Re: SA Facebook Integration
Post by: Texan78 on August 12, 2012, 03:15:43 PM
Quote from: isl30fvi3w on August 12, 2012, 02:05:26 PM
I did not create a backup of the files but instead I just did a fresh install of my forum, right after installing the sa facebook mod, the site went down with a 500 internal server error. My php version is 5. I know the file permissions are fine.

What kind of server are you hosted with?
Title: Re: SA Facebook Integration
Post by: Texan78 on August 12, 2012, 03:19:00 PM
Quote from: DutchJam on August 12, 2012, 12:30:59 PM
Quote from: DutchJam on August 11, 2012, 05:39:58 PM
Quote from: Texan78 on August 11, 2012, 04:05:03 PM
Dutch, I think because you're using your email it's not staying logged in. You actually need use your ID number. To find your Page ID and User ID, use this https://graph.facebook.com/yourusername replace yourusername once with your page name and then with your user name and it will give you your ID's to use. Look on the last page towards the bottom to get more information about this.

Ah, good point Texas78!

I did not realize I also need the ID number for the User ID field... I will change this setting and see how it works out.

Thanks again for your reply and I'll let you know if it solves my problem.
Nope... :-(

Yesterday night it worked perfect (even during the night when another forum member posted a new topic), but this morning I started PC again, pointed my browser to my forum and logged in again. Posted some new topics but none of them were posted on my Facebook page...

Both ID's (User and Page) are filled in correctly now (the number of my user account and the number of my page), so where else can I look?

Anybody an idea?

Are you posting in the same board in which it was working in previously or a new board? If it is a different board then go into your Admin CP for Facebook then look under Boards and make sure the board is selected to publish.
Title: Re: SA Facebook Integration
Post by: johnpaul2k2 on August 12, 2012, 03:51:50 PM
Quote from: Texan78 on August 12, 2012, 03:15:01 PM
Quote from: johnpaul2k2 on August 12, 2012, 01:27:33 PM
How can i create an Application . Please i need instructions. thank :)

http://developers.facebook.com/docs/opengraph/tutorial/
thanks but after following all these Process , do i still need "SA Facebook Integration" Mod???
Title: Re: SA Facebook Integration
Post by: Texan78 on August 12, 2012, 08:48:07 PM
Quote from: johnpaul2k2 on August 12, 2012, 03:51:50 PM
thanks but after following all these Process , do i still need "SA Facebook Integration" Mod???

Yes, because you need the information from the app to input into your Facebook settings in the Admin CP in order to connect your forum to Facebook through the mod.
Title: Re: SA Facebook Integration
Post by: phtomay on August 12, 2012, 10:42:36 PM
Quote from: Texan78 on August 10, 2012, 03:45:47 PM
@isl30fvi3w more like we have the same issues here but no 1 seems to be responding/helpful. Did u get any error message?
Can you access the admin CP? Have you tried uninstalling and then reinstalling? Also did you create a back up before you installed it that you can restore to as I suggested above?
[/quote]

@Texan78 Thank you for the response
i cant access the Admin Cp too, so i cant uninstall the mod. I also installed it on freshly installed forum but still got the same problem
Title: Re: SA Facebook Integration
Post by: Texan78 on August 13, 2012, 01:18:58 AM
Quote from: phtomay on August 12, 2012, 10:42:36 PM
Quote from: Texan78 on August 10, 2012, 03:45:47 PM
@isl30fvi3w more like we have the same issues here but no 1 seems to be responding/helpful. Did u get any error message?
Can you access the admin CP? Have you tried uninstalling and then reinstalling? Also did you create a back up before you installed it that you can restore to as I suggested above?

@Texan78 Thank you for the response
i cant access the Admin Cp too, so i cant uninstall the mod. I also installed it on freshly installed forum but still got the same problem

Fresh new DB too?
Title: Re: SA Facebook Integration
Post by: johnpaul2k2 on August 13, 2012, 02:35:31 PM
Quote from: Texan78 on August 12, 2012, 08:48:07 PM
Quote from: johnpaul2k2 on August 12, 2012, 03:51:50 PM
thanks but after following all these Process , do i still need "SA Facebook Integration" Mod???

Yes, because you need the information from the app to input into your Facebook settings in the Admin CP in order to connect your forum to Facebook through the mod.
Please can you do it for me....all the process.  i am finding it hard. Please help
Title: Re: SA Facebook Integration
Post by: Texan78 on August 13, 2012, 06:09:15 PM
Quote from: johnpaul2k2 on August 13, 2012, 02:35:31 PM
Quote from: Texan78 on August 12, 2012, 08:48:07 PM
Quote from: johnpaul2k2 on August 12, 2012, 03:51:50 PM
thanks but after following all these Process , do i still need "SA Facebook Integration" Mod???

Yes, because you need the information from the app to input into your Facebook settings in the Admin CP in order to connect your forum to Facebook through the mod.
Please can you do it for me....all the process.  i am finding it hard. Please help

What's hard about it? It's pretty straight forward. Create the app from the link I posted and follow the directions which isn't hard. It will require you to do some reading. Enter the information that it gives you after it is created into the mod in the CP and you're set. If you can't set that up then you really shouldn't be running a forum.
Title: Re: SA Facebook Integration
Post by: SA™ on August 13, 2012, 10:05:38 PM
@phtomay
php version?
any errors in your "server" error logs?


Quote from: johnpaul2k2 on August 12, 2012, 03:51:50 PM
Quote from: Texan78 on August 12, 2012, 03:15:01 PM
Quote from: johnpaul2k2 on August 12, 2012, 01:27:33 PM
How can i create an Application . Please i need instructions. thank :)

http://developers.facebook.com/docs/opengraph/tutorial/
thanks but after following all these Process , do i still need "SA Facebook Integration" Mod???

you are over complicating things you only need to follow Step 1: Create a Facebook app (https://developers.facebook.com/docs/opengraph/tutorial/#create-app)
Title: Re: SA Facebook Integration
Post by: johnpaul2k2 on August 14, 2012, 07:15:41 AM
Quote from: SA™ on August 13, 2012, 10:05:38 PM
@phtomay
php version?
any errors in your "server" error logs?


Quote from: johnpaul2k2 on August 12, 2012, 03:51:50 PM
Quote from: Texan78 on August 12, 2012, 03:15:01 PM
Quote from: johnpaul2k2 on August 12, 2012, 01:27:33 PM
How can i create an Application . Please i need instructions. thank :)
Pardon me please. i am still in the learning process
i have created an app and i was given app id and app secret.....there are 6 SET there but i think i only use the SET 1 and SET 2 ????
also i install the mod , add all the app id and secret required ...now , if i log on via facebook........it will show that such app exist and will not sign me in. here are my questions
1. Do i need any approval from facebook?
2. Must i follow all the SETS?????
    Step 1: Create a Facebook app
    Step 2: Authenticate users with the Login Button plugin
    Step 3: Define Objects, Actions and Aggregations through the App Dashboard
    Step 4: Publish Actions for your users
    Step 5: Add Social Plugins to your app
    Step 6: Submit Your Actions for approval

3. Where in this page will i get what to configure in my mod dashboard



Title: Re: SA Facebook Integration
Post by: SA™ on August 14, 2012, 07:29:59 AM
Quote from: SA™ on August 13, 2012, 10:05:38 PM

you are over complicating things you only need to follow Step 1: Create a Facebook app (https://developers.facebook.com/docs/opengraph/tutorial/#create-app)
Title: Re: SA Facebook Integration
Post by: Texan78 on August 14, 2012, 10:22:08 AM
Quote from: johnpaul2k2 on August 14, 2012, 07:15:41 AM
Where in this page will i get what to configure in my mod dashboard

You don't, the app will give you the information needed to enter in your Facebook mod in the Admin CP under Facebook Configuration on your Forum. That's why you have to create the Facebook app first so it will supply you with the information needed to connect your forum to Facebook through the mod to the app.

Like SA said, you're complicating this way to much. Start at step one, creating the app. That is all you have to do. Have you even tried?
Title: Re: SA Facebook Integration
Post by: ZixxerF2 on August 14, 2012, 05:10:22 PM
Great mod, works as stated except that when I hit like and share a post to Facebook no image shows in the Facebook post that I make. All I get is the safe_image.png image not a thumbnail.
Title: Re: SA Facebook Integration
Post by: DutchJam on August 14, 2012, 05:37:11 PM
Quote from: Texan78 on August 12, 2012, 03:19:00 PM
Are you posting in the same board in which it was working in previously or a new board? If it is a different board then go into your Admin CP for Facebook then look under Boards and make sure the board is selected to publish.

Yup Texan78. All boards are selected to publish...

Still no publishing, it drives me nuts...

I linked my account on my forum (also the admin account) to my facebook account, but both accounts have different emailaddresses. Does it have something to do with that maybe? I mean, every time when I go to 'publish' in the admin section, I don't see the facebook 'grand permissions' button but a facebook 'sign in' button'. That's weird, because I log in on to my forum using my facebook account, so I already signed in, right?
Title: Re: SA Facebook Integration
Post by: Texan78 on August 14, 2012, 07:34:10 PM
Quote from: ZixxerF2 on August 14, 2012, 05:10:22 PM
Great mod, works as stated except that when I hit like and share a post to Facebook no image shows in the Facebook post that I make. All I get is the safe_image.png image not a thumbnail.

Look in your Admin CP under Facebook Configuration > Open Graph

There you will get a option to link a image to your forum for likes, shares, published posts etc. In order for Facebook asks that those images be at least 200x200.

So just upload a image to your server and then put the url to the image in box on that page.

Title: Re: SA Facebook Integration
Post by: Texan78 on August 14, 2012, 07:37:57 PM
Quote from: DutchJam on August 14, 2012, 05:37:11 PM
Quote from: Texan78 on August 12, 2012, 03:19:00 PM
Are you posting in the same board in which it was working in previously or a new board? If it is a different board then go into your Admin CP for Facebook then look under Boards and make sure the board is selected to publish.

Yup Texan78. All boards are selected to publish...

Still no publishing, it drives me nuts...

I linked my account on my forum (also the admin account) to my facebook account, but both accounts have different emailaddresses. Does it have something to do with that maybe? I mean, every time when I go to 'publish' in the admin section, I don't see the facebook 'grand permissions' button but a facebook 'sign in' button'. That's weird, because I log in on to my forum using my facebook account, so I already signed in, right?

That is possible, it is something you could test. I know for mine my Facebook page uses a totally different email that is not associated with my forum. I would unassociate your Admin account with Facebook from your Admin profile page. Just use your Admin username and password to log in to your Forum. Wish I had more suggestion for you, but I think you're on the right track with your logic.
Title: Re: SA Facebook Integration
Post by: Texan78 on August 14, 2012, 07:39:31 PM
SA,

One thing I just noticed today is if users register with Facebook the quick reply option doesn't show on topics, only for regular registered member's? Any idea of why that might be happening?

-Thanks
Title: Re: SA Facebook Integration
Post by: Blackburn on August 14, 2012, 08:13:26 PM
thx ;)
Title: Re: SA Facebook Integration
Post by: johnpaul2k2 on August 15, 2012, 02:43:32 AM
Quote from: Texan78 on August 14, 2012, 10:22:08 AM
Quote from: johnpaul2k2 on August 14, 2012, 07:15:41 AM
Where in this page will i get what to configure in my mod dashboard

You don't, the app will give you the information needed to enter in your Facebook mod in the Admin CP under Facebook Configuration on your Forum. That's why you have to create the Facebook app first so it will supply you with the information needed to connect your forum to Facebook through the mod to the app.

Like SA said, you're complicating this way to much. Start at step one, creating the app. That is all you have to do. Have you even tried?
Pardon me for my complains.that is the only way i learn........i have placed it. www.topnichez.com    .please try to log in and tell me where i made mistake. i inserted the codes where it is supposed to ..inside the facebook mod configuration . thanks


Also do i do to accept this
Title: Re: SA Facebook Integration
Post by: johnpaul2k2 on August 15, 2012, 09:33:40 AM
thanks man.....i got it right ;D ;D ;D ;D ;D

But how can i make this facebook Login to appear on the Front page where everybody can easily See it?????

also where will i edit the Circle FACEBOOK and write it....."Or register with Facebook" ?????

i need to appear on the frontpage

thanks  alot
Title: Re: SA Facebook Integration
Post by: Texan78 on August 15, 2012, 10:49:30 AM
Quote from: johnpaul2k2 on August 15, 2012, 09:33:40 AM
But how can i make this facebook Login to appear on the Front page where everybody can easily See it?????

Since you are using a custom theme you will need to use a hook to insert the login button where you want it to display on your front page. The hooks can be found at Admin > Facebook > Social Hooks. There you will find a array of hooks to use. This is the one you need for the login button.

global $fb_hook_object;
if(class_exists('SAFacebookhooks'))
    $fb_hook_object->call_facebook_hook('show_facebook_login',array(true));


Quote from: johnpaul2k2 on August 15, 2012, 09:33:40 AM
also where will i edit the Circle FACEBOOK and write it....."Or register with Facebook" ?????

Download the button I've attached, upload it to a folder on your server then set the url to the button in Admin > Facebook > Configuration the second to last option is "Facebook Login image". Put the URL to the image from your server there and hit save.
Title: Re: SA Facebook Integration
Post by: johnpaul2k2 on August 15, 2012, 12:48:57 PM
Quote from: Texan78 on August 15, 2012, 10:49:30 AM
Quote from: johnpaul2k2 on August 15, 2012, 09:33:40 AM
But how can i make this facebook Login to appear on the Front page where everybody can easily See it?????

Since you are using a custom theme you will need to use a hook to insert the login button where you want it to display on your front page. The hooks can be found at Admin > Facebook > Social Hooks. There you will find a array of hooks to use. This is the one you need for the login button.

global $fb_hook_object;
if(class_exists('SAFacebookhooks'))
    $fb_hook_object->call_facebook_hook('show_facebook_login',array(true));


Quote from: johnpaul2k2 on August 15, 2012, 09:33:40 AM
also where will i edit the Circle FACEBOOK and write it....."Or register with Facebook" ?????

Download the button I've attached, upload it to a folder on your server then set the url to the button in Admin > Facebook > Configuration the second to last option is "Facebook Login image". Put the URL to the image from your server there and hit save.

I did the logo facebook perfect...........even i search for more beautiful design..thanks alot

About the Hook  stuff? please where will i insert the code? inside my theme  ie  index.template ?????

thanks for your help
Title: Re: SA Facebook Integration
Post by: Texan78 on August 15, 2012, 01:11:29 PM
Quote from: johnpaul2k2 on August 15, 2012, 12:48:57 PM
About the Hook  stuff? please where will i insert the code? inside my theme  ie  index.template ?????

Yes in your theme files index.template.php

Place the button where you want it to display. You will have to play around with it to your liking.
Title: Re: SA Facebook Integration
Post by: hotshot.vipin on August 15, 2012, 04:45:44 PM
facebook login not working.,.,.
tells me about some api error,.,.,
what do we have to put in the auth tokens textbox while configuring the mod
Title: Re: SA Facebook Integration
Post by: RockyVII on August 15, 2012, 05:45:42 PM
I have a problem.I installed this mod successfully but error occurs when saving admin page. 404 error  :(
Title: Re: SA Facebook Integration
Post by: Texan78 on August 15, 2012, 05:51:32 PM
Quote from: hotshot.vipin on August 15, 2012, 04:45:44 PM
facebook login not working.,.,.
tells me about some api error,.,.,
what do we have to put in the auth tokens textbox while configuring the mod

Have you not set up your Facebook app. on Facebook for your page?
Title: Re: SA Facebook Integration
Post by: Texan78 on August 15, 2012, 05:52:06 PM
Quote from: RockyVII on August 15, 2012, 05:45:42 PM
I have a problem.I installed this mod successfully but error occurs when saving admin page. 404 error  :(

You have a link?
Title: Re: SA Facebook Integration
Post by: DutchJam on August 16, 2012, 03:16:19 AM
Quote from: Texan78 on August 14, 2012, 07:37:57 PM
Quote from: DutchJam on August 14, 2012, 05:37:11 PM
Quote from: Texan78 on August 12, 2012, 03:19:00 PM
Are you posting in the same board in which it was working in previously or a new board? If it is a different board then go into your Admin CP for Facebook then look under Boards and make sure the board is selected to publish.

Yup Texan78. All boards are selected to publish...

Still no publishing, it drives me nuts...

I linked my account on my forum (also the admin account) to my facebook account, but both accounts have different emailaddresses. Does it have something to do with that maybe? I mean, every time when I go to 'publish' in the admin section, I don't see the facebook 'grand permissions' button but a facebook 'sign in' button'. That's weird, because I log in on to my forum using my facebook account, so I already signed in, right?

That is possible, it is something you could test. I know for mine my Facebook page uses a totally different email that is not associated with my forum. I would unassociate your Admin account with Facebook from your Admin profile page. Just use your Admin username and password to log in to your Forum. Wish I had more suggestion for you, but I think you're on the right track with your logic.

Hmmm, even with my forum admin account NOT associated with my Facebook account, the publisher stops working as I log-off and come back a few hours later...

Yesterday it did work fine for the whole day, but this morning.... nothing...

Same old, same old...

What in the world makes this publisher thing acting so weird?
Title: Re: SA Facebook Integration
Post by: SA™ on August 16, 2012, 12:02:14 PM
im not realy sure what could cause this then maybe the api changed since i gave up the mod? not sure havent follewed facebook app dev for a long time
Title: Re: SA Facebook Integration
Post by: Texan78 on August 16, 2012, 02:03:37 PM
SA,

  Would you know what might cause members who register and login in with Facebook not being able to use or see the quick reply mod? Normal members see and and use it without problems. I thought maybe it could be a permissions problem but I don't see anything that would prevent that.

Also, in both my Facebook & Twitter intergrations it is publishing even when I have it disabled. Any idea of what could cause this to happen? Only happens on certain boards and I have looked in the Admin CP under boards and disabled the boards.

-Thanks
Title: Re: SA Facebook Integration
Post by: SA™ on August 16, 2012, 04:58:57 PM
hmm im not sure but i would put it down to the edits made to display.template.php by this mod can you try removing the two edits made to see? this had issues in the past breaking js stuff
Title: Re: SA Facebook Integration
Post by: Texan78 on August 16, 2012, 05:44:09 PM
Been playing with this and discovered that it is only with the Facebook integration. I had my Facebook page linked to my twitter page and forgot so that's how they were getting posted on Twitter. Unlinked the two and that stopped the twitter posts. So it's fine and working normally.

So it seems the problem is it publishing new topics to Facebook even when publihsing is disabled. I will test it by removing the social hook edits and see if that resolves anything and post a update.

-Thanks
Title: Re: SA Facebook Integration
Post by: Texan78 on August 16, 2012, 06:48:31 PM
Ok, well user ever on my part. I had publisher disabled for Twitter, so like I said it was posting to Twitter via my Facebook page.

After looking I noticed I didn't have publisher disabled for certain boards for Facebook. So that is how they were getting published. So everything is good to go as far as that goes.

The only issue I am having really is when guests register using Facebook the quick reply box doesn't show for them. It only shows for members who register normally. Could this be because of the group it puts them in when the register? It is set to 0, so should it be set to something else for regular members?

-Thanks
Title: Re: SA Facebook Integration
Post by: vmlinuz on August 17, 2012, 07:05:36 AM
A little story, maybe it can help others:

I've been using this mod for a while now, without any major problems. A couple of days ago I've upgraded the VPS I'm hosting my sites on, and got nice 500 Internal server error on every forum that had this mod installed.

At first, I had no clue what was causing the error, but eventually I figured out it was this mod. I've re-downloaded the mod package, extracted it on the server and ran remove_hooks.php to disable most of the mod. It worked, my forums were up again, but users could not log in with their facebook accounts.

I started searching, reading, testing and couldn't find what was wrong. I thought it had to be a curl issue, but got no relevant error messages in the server logs. Found several posts while searching about SSL connection problems with curl. Compared the old and new configs, and the only difference was the php version and curl's SSL support was based on NSS instead of OpenSSL.

The next thing I did was to start re-enabling the integration hooks for this mod. Then I got to the error: ob_facebook() was killing it. Looked inside the code, and it's a bunch of preg_replaces on the whole output buffer. There must be an error in there somewhere, but I'm not going to spend hours finding it.

Why was this solution chosen just to inject a couple of links and other headers in the output? It's slow, resource intensive and so on, especially on larger forums. It could've been added to the templates directly.

Anyways, removing the 'integrate_buffer' => 'SAFacebookhooks::ob_facebook' hook from the mod solved the problem. I'll add the missing stuff to my template manually, and it should just work fine.
Title: Re: SA Facebook Integration
Post by: DutchJam on August 17, 2012, 05:41:36 PM
Still wrestling with the Publisher...

While trying to get it work again, I clicked the "Grand permissions" button in the admin panel again...

Now I got a message I did not see before - see image.

Does this have anything to do with my problems with the Publisher?

Title: Re: SA Facebook Integration
Post by: Texan78 on August 18, 2012, 12:41:11 AM
That should actually be a good sign. Have you checked FB graph for error?
Title: Re: SA Facebook Integration
Post by: DutchJam on August 18, 2012, 02:49:56 AM
Quote from: Texan78 on August 18, 2012, 12:41:11 AM
That should actually be a good sign. Have you checked FB graph for error?
No...

Do you know how to check?

If I have to do this with this: https://graph.facebook.com/yourusername, well I can't see anything weird out there... ;-)
Title: Re: SA Facebook Integration
Post by: Texan78 on August 18, 2012, 11:34:58 AM
Just grabbing at straws, but also trying to eliminate possibilities too. I know you have stated in the Admin CP for the FB Mod under boards. You have selected the boards you want published.

Under the Publisher settings, do you have "Enable Post Publisher?" enabled to post new topics?

Like I said, grabbing straws but just trying to do a process of elimination.
Title: Re: SA Facebook Integration
Post by: Texan78 on August 18, 2012, 12:29:25 PM
I am trying to get rid of some errors in my logs. One of the last ones I think I am dealing with is when the eNotify mod runs it throws a error.

Quote
8: Undefined variable: fb_hook_object
Apply Filter: Only show the errors from this file
File: /home4/mesquiu0/public_html/wxconnection/Themes/default/index.template.php
Line: 299

Which is referring to adding the hook for my login button on the index referring to this line below.

if(class_exists('SAFacebookhooks'))

Here is the full snippet it is including in.

// Show Twitter and Facebook login for guest if not logged in
if ($context['user']['is_guest'])
{
show_twitter_login(); echo '&nbsp;'; global $fb_hook_object;
==>299: if(class_exists('SAFacebookhooks'))
$fb_hook_object->call_facebook_hook('show_facebook_login',array(true));
}



Is this error a result of something needing to be defined in the global functions for the hook on the index page? If so what would that be?

-Thanks
Title: Re: SA Facebook Integration
Post by: DutchJam on August 18, 2012, 02:58:46 PM
Quote from: Texan78 on August 18, 2012, 11:34:58 AM
Like I said, grabbing straws but just trying to do a process of elimination.

I know that Texan78 and your help is very, very much appreciated  :)

I checked the "Enable Post Publisher?" setting, set to "New topics".
The "Publish to facebook?" is set to "Page".
Sounds good to me, right?

I still think it has something to do with the sign-in procedure. Every time I go back to the SA Facebook Integration settings in the Admin panel of SMF I see the Facebook 'sign-in' button, and not the 'Grand permissions' button.

Then, when I click the Facebook 'sign-in' button I get a few blank windows,  then the question "Permissons granted?" and after clicking "ok'  the message in the image above appears (what does it mean anyway?). I click "ok" again and after that I am redirected to the homepage of my forum. Without publishing on my facebook page at all....
Title: Re: SA Facebook Integration
Post by: Texan78 on August 19, 2012, 12:21:45 AM
I wish I had some answers for you. This is puzzling since it has worked sometime and then sometimes it doesn't.

I can tell you though, mine has showed logged in before and it always shows "grant permissions" even after I have granted permissions and mine is working fine now. I get those white pop up boxes too.

Only thing I can think of is how your Facebook is set up but it sounds like yours is set up correctly. Here is how I have mine set up. I have my own personal FB page. Then I set up a fan page for my forum that is attached to my personal page. I think that is the only way you can set it up is you have to have  FB account first. I know when I want to use and FB functions from my forum I have to be switch to my personal FB page. Just double check you have your ID's right. Have you tried switching them and see if that helps?

Wish I had more info for you, it is definitely puzzling.
Title: Re: SA Facebook Integration
Post by: Texan78 on August 19, 2012, 12:40:14 AM
I cleaning up the Facebook manual register page. One question is on the last part how do you shorten the input fields for the Additional Information at the bottom? They are a little long and would like to shorten them a bit, but I am not familiar with how this input fields are set up. I have located them, just can't tell how to change the size. I also can't seem to get the drop down box to align to the left more so it is uniform with the rest of the input boxes.

Also, when you use the manual registration what email address does it use. The username@ facebook.com? If so, wouldn't this be a good change to have them enter their email address?

Here is the code for those input fields.

// Always fun - select boxes!
elseif ($field['type'] == 'select')
{
echo '
<select name="', $key, '" id="', $key, '" tabindex="', $context['tabindex']++, '">';

if (isset($field['options']))
{
// Is this some code to generate the options?
if (!is_array($field['options']))
$field['options'] = eval($field['options']);
// Assuming we now have some!
if (is_array($field['options']))
foreach ($field['options'] as $value => $name)
echo '
<option value="', $value, '" ', $value == $field['value'] ? 'selected="selected"' : '', '>', $name, '</option>';
}

echo '
</select>';
}

// Something to end with?
if (!empty($field['postinput']))
echo '
', $field['postinput'];

echo '
</dd></dl>';

}
}
foreach ($context['custom_fields'] as $field)
echo '
<dl class="fb_add_info_form">
<dt>
<strong>', $field['name'], '</strong>
<span class="smalltext">', $field['desc'], '</span>
</dt>
<dd>
', $field['input_html'], '
</dd>
</dl>
';
}
}



(http://www.mesquiteweather.net/wxconnection/screenshots/Facebook_register.png)


-Thanks!

Title: Re: SA Facebook Integration
Post by: phtomay on August 19, 2012, 08:18:11 PM
Quote from: Texan78 on August 13, 2012, 01:18:58 AM

Fresh new DB too?

Yes, its a fresh new database
Title: Re: SA Facebook Integration
Post by: phtomay on August 19, 2012, 08:22:35 PM
Quote from: SA™ on August 13, 2012, 10:05:38 PM
@phtomay
php version?
any errors in your "server" error logs?


Quote from: johnpaul2k2 on August 12, 2012, 03:51:50 PM
Quote from: Texan78 on August 12, 2012, 03:15:01 PM
Quote from: johnpaul2k2 on August 12, 2012, 01:27:33 PM
How can i create an Application . Please i need instructions. thank :)

http://developers.facebook.com/docs/opengraph/tutorial/
thanks but after following all these Process , do i still need "SA Facebook Integration" Mod???

you are over complicating things you only need to follow Step 1: Create a Facebook app (https://developers.facebook.com/docs/opengraph/tutorial/#create-app)

php version 5.3
i have created a facebook application, REMEMBER: my site is not coming up after the installation on the mod on my localhost
Title: Re: SA Facebook Integration
Post by: Texan78 on August 19, 2012, 11:51:07 PM
Is your site online? Do you have a active domain?
Title: Re: SA Facebook Integration
Post by: vmlinuz on August 20, 2012, 04:06:32 PM
Quote from: phtomay on August 19, 2012, 08:18:11 PM
Yes, its a fresh new database
Check my post on page 142, you may have the same problem.
Title: Re: SA Facebook Integration
Post by: DutchJam on August 20, 2012, 04:36:49 PM
Quote from: Texan78 on August 19, 2012, 12:21:45 AM
I wish I had some answers for you. This is puzzling since it has worked sometime and then sometimes it doesn't.

I can tell you though, mine has showed logged in before and it always shows "grant permissions" even after I have granted permissions and mine is working fine now. I get those white pop up boxes too.

Only thing I can think of is how your Facebook is set up but it sounds like yours is set up correctly. Here is how I have mine set up. I have my own personal FB page. Then I set up a fan page for my forum that is attached to my personal page. I think that is the only way you can set it up is you have to have  FB account first. I know when I want to use and FB functions from my forum I have to be switch to my personal FB page. Just double check you have your ID's right. Have you tried switching them and see if that helps?

Yes, my Facebook 'construction' is the same as yours. First I created a personal account, which is required to create fan pages. Then I created my fan page, attached to my personal page. I have to switch to my personal page too to get access to all Facebook functions.

The User ID in the publish admin panel is the ID of my personal Facebook account. The Page ID is the ID of my fan page. Seems correct to me. Must be correct, because sometimes publishing works.

The strange thing is that it stops publishing after a while or when I log out for a while. Even then the publisher should continue publishing, me logged in or not...

So, still puzzling here...  :)
Title: Re: SA Facebook Integration
Post by: Texan78 on August 20, 2012, 05:48:45 PM
Quote from: DutchJam on August 20, 2012, 04:36:49 PM
I have to switch to my personal page too to get access to all Facebook functions

That is correct, same for me too. I can only use FB on my forum as me, not as my fan page.


Quote from: DutchJam on August 20, 2012, 04:36:49 PM
The strange thing is that it stops publishing after a while or when I log out for a while. Even then the publisher should continue publishing, me logged in or not...

I never log out, but yes you would think it would keep publishing.

Have you tested by not ever logging out? It appears from what I can gather that it works when you are logged in, but it doesn't when you are logged out.

Title: Re: SA Facebook Integration
Post by: b0t on August 20, 2012, 10:51:42 PM
Simply, the best mod!
Title: Re: SA Facebook Integration
Post by: Texan78 on August 21, 2012, 08:51:22 PM
SA, Is the additional information really needed? If I remove it will it cause any problems? I found the code for it, is all I need to remove is those input fields and the CSS enclosing the information?

-Thanks

(http://www.mesquiteweather.net/wxconnection/screenshots/Facebook_register.png)
Title: Re: SA Facebook Integration
Post by: SA™ on August 22, 2012, 07:44:37 AM
just disable it in fb admin no need to remove things
Title: Re: SA Facebook Integration
Post by: Texan78 on August 22, 2012, 01:51:27 PM
Thank you SA, I wasn't aware of that setting.

Disabled it, and all is gravy!

-Thanks!
Title: Re: SA Facebook Integration
Post by: Texan78 on August 22, 2012, 02:43:22 PM
Another small issue I have come across. I have it set up to send the PM to the member upon registration, that works great.

Problem is when it sends it from the Administrator it sends it as a Guest. That is a problem because only the Administrator can use the  bbc tag to parse the html in the message from the language file.

So is there a way to add to the code to send it from the registered Active Administrator?


      //Set up the pm
    $title = 'Facebook Forum Password'; //the title of the pm
    $message = sprintf($txt['fb_password_welcome'], $password); //the body of the pm
   
    $pmfrom = array(
        'id' => 0, //user id where the pm is from
        'name' => 'Administrator', //name of the user who the pm is from
        'username' => 'Administrator', //username of the user who the pm is from
    );
       
    $pmto = array(
        'to' => array($memberID),// array of ids to send the pm to
        'bcc' => array()//bbc array
    );

    //Now send it
    sendpm($pmto, $title, $message , 0, $pmfrom);

updateMemberData($memberID,
        array(
    'fbname' => $fb_object->user_info_fbname,
        'fbid' => $fb_object->user_info_fbid,
    )
    );



-Thanks
Title: Re: SA Facebook Integration
Post by: SA™ on August 22, 2012, 02:46:40 PM
in the code theres
Quote'id' => 0, //user id where the pm is from

just change the id to a registerd member

Title: Re: SA Facebook Integration
Post by: Texan78 on August 22, 2012, 02:58:20 PM
Wow, I missed the obvious on that one! LoL

Thank you SA, you are they man!

Sure would love to hire you to help me sort some other small issues unrelated to this mod if you're interested. I am sure it would take you mins to fix them.

-Thanks
Title: Re: SA Facebook Integration
Post by: SA™ on August 22, 2012, 03:00:06 PM
shoot me a pm if you want  8)
Title: Re: SA Facebook Integration
Post by: Texan78 on August 23, 2012, 01:02:28 PM
Ok I have been doing some testing with this QuickReply for members who have registered with FB.

I have removed the social buttons from the page (I.E. Google +1, Twitter, Facebook). Quick reply still doesn't show for FB members logged in. For normal registered members it shows no problem.

Uninstalled the WYSIWYG QuickReply Mod below...

http://www.simplemachines.org/community/index.php?topic=251436.msg3378774#msg3378774

And then installed this one. Which I like much better anyways. Thinking maybe it was just that mod above that was causing the issue as suggested above.

http://custom.simplemachines.org/mods/index.php?mod=3246

QuickReply still doesn't show for registered FB members.

Thinking maybe this could be a permissions issue with how FB members are registered with the forum? Just taking a guess since members who registered normally can see the QR with no problem.

Any suggestions or ideas?

-Thanks
Title: Re: SA Facebook Integration
Post by: Texan78 on August 23, 2012, 04:42:45 PM
Quote from: Texan78 on August 23, 2012, 01:02:28 PM
Ok I have been doing some testing with this QuickReply for members who have registered with FB.

I have removed the social buttons from the page (I.E. Google +1, Twitter, Facebook). Quick reply still doesn't show for FB members logged in. For normal registered members it shows no problem.

Uninstalled the WYSIWYG QuickReply Mod below...

http://www.simplemachines.org/community/index.php?topic=251436.msg3378774#msg3378774

And then installed this one. Which I like much better anyways. Thinking maybe it was just that mod above that was causing the issue as suggested above.

http://custom.simplemachines.org/mods/index.php?mod=3246

QuickReply still doesn't show for registered FB members.

Thinking maybe this could be a permissions issue with how FB members are registered with the forum? Just taking a guess since members who registered normally can see the QR with no problem.

Any suggestions or ideas?

-Thanks


Ok I got this sorted. This should work for the other QuickReply mod too but not sure. I do know it works with this one....

http://custom.simplemachines.org/mods/index.php?mod=3246

To get your QuickReply to show for Facebook register members do this.

Go to your Admin CP > Configuration > Themes and Layout > Member Options > "YOUR THEME" > "Change current options for all members using this theme".

On that page find "Use quick reply on topic display" select Change then Show, On by default. Click save and test.

This worked for me
Title: Re: SA Facebook Integration
Post by: DutchJam on August 24, 2012, 06:00:41 AM
Quote from: Texan78 on August 20, 2012, 05:48:45 PM
Quote from: DutchJam on August 20, 2012, 04:36:49 PM
I have to switch to my personal page too to get access to all Facebook functions

That is correct, same for me too. I can only use FB on my forum as me, not as my fan page.


Quote from: DutchJam on August 20, 2012, 04:36:49 PM
The strange thing is that it stops publishing after a while or when I log out for a while. Even then the publisher should continue publishing, me logged in or not...

I never log out, but yes you would think it would keep publishing.

Have you tested by not ever logging out? It appears from what I can gather that it works when you are logged in, but it doesn't when you are logged out.
Texan78,

Good, I re-entered all my details in the admin panel, saved it again, did the permission thing again, and never log out, not even when I shut down the computer. For now, the publisher is working for a few days without any problems. It doesn't help me to locate the problem, because it works, lol. Sometimes I use my PC and my notebook at the same time and i am logged on Facebook and my forum on both. Could that be a problem?
Anyway, still testing and I keep you posted on this.

Another question, more CSS I think.
When I want to use post button which appears on top in a forum post, placement is not good - see image. I think it has something to do with CSS. Any tips to solve this and get this button placed as the others?

Tx!
Title: Re: SA Facebook Integration
Post by: Texan78 on August 24, 2012, 12:16:22 PM
Quote from: DutchJam on August 24, 2012, 06:00:41 AM
It doesn't help me to locate the problem, because it works, lol. Sometimes I use my PC and my notebook at the same time and i am logged on Facebook and my forum on both. Could that be a problem?

To be honest, I am not really sure what exactly the cause is except for maybe being logged in and using your FB as your fan page and not your personal page. If you are using FB as your fan page your forum should tell you to switch back to use the social plugins. I wouldn't think being on two different computers would cause any problems, but you never know. I think it just may be because FB is logged out.
Quote from: DutchJam on August 24, 2012, 06:00:41 AM
When I want to use post button which appears on top in a forum post, placement is not good - see image. I think it has something to do with CSS. Any tips to solve this and get this button placed as the others?

Yes that looks like a CSS issue. The containing div looks like it may not be wide enough. Locate that div and play with the width of it. If you use Firefox and have the Web Developer Add on. It is really could for finding which is in what div to look at.

Title: Re: SA Facebook Integration
Post by: ocmdiaz714 on August 24, 2012, 11:17:51 PM
Can somebody tell me how to remove the dropdown option on the menu bar?

(http://i50.tinypic.com/11vrudu.png)
Title: Re: SA Facebook Integration
Post by: Texan78 on August 24, 2012, 11:23:28 PM
Quote from: ocmdiaz714 on August 24, 2012, 11:17:51 PM
Can somebody tell me how to remove the dropdown option on the menu bar?

(http://i50.tinypic.com/11vrudu.png)

Is that in your Admin CP?

What theme is that?
Title: Re: SA Facebook Integration
Post by: ocmdiaz714 on August 24, 2012, 11:52:28 PM
Quote from: Texan78 on August 24, 2012, 11:23:28 PM
Quote from: ocmdiaz714 on August 24, 2012, 11:17:51 PM
Can somebody tell me how to remove the dropdown option on the menu bar?

(http://i50.tinypic.com/11vrudu.png)

Is that in your Admin CP?

What theme is that?

A heavily customized Bluez by Daniel.
http://weezy2da.byethost5.com/

Edit: I just saw you're the same person who posted the relative date mod. Can you help me all any? I would like to enable day, month, and year support as well. I went ahead and posted a reply on the official topic a couple of days ago. Also, any way to show "just now" instead of "in 0 seconds"? Sorry. I know this isn't the right place, but I'm really hesitant.
Title: Re: SA Facebook Integration
Post by: Texan78 on August 25, 2012, 12:09:54 AM
Quote from: ocmdiaz714 on August 24, 2012, 11:52:28 PM
Edit: I just saw you're the same person who posted the relative date mod. Can you help me all any? I would like to enable day, month, and year support as well. I went ahead and posted a reply on the official topic a couple of days ago. Also, any way to show "just now" instead of "in 0 seconds"? Sorry. I know this isn't the right place, but I'm really hesitant.

That's not my mod, I don't have any mods.

Back to your OP. Is this dropping down from your admin link from the menu?
Title: Re: SA Facebook Integration
Post by: ocmdiaz714 on August 25, 2012, 12:21:21 AM
Quote from: Texan78 on August 25, 2012, 12:09:54 AM
Quote from: ocmdiaz714 on August 24, 2012, 11:52:28 PM
Edit: I just saw you're the same person who posted the relative date mod. Can you help me all any? I would like to enable day, month, and year support as well. I went ahead and posted a reply on the official topic a couple of days ago. Also, any way to show "just now" instead of "in 0 seconds"? Sorry. I know this isn't the right place, but I'm really hesitant.

That's not my mod, I don't have any mods.

Back to your OP. Is this dropping down from your admin link from the menu?

Yeah it's dropping down from the admin link on the menu. It's kinda annoying really.
Title: Re: SA Facebook Integration
Post by: Texan78 on August 25, 2012, 11:37:30 AM
Quote from: ocmdiaz714 on August 25, 2012, 12:21:21 AM
Yeah it's dropping down from the admin link on the menu. It's kinda annoying really.

Ok try this, find this.... In Sources > Facebook > FacebookAdmin.php it will be at the bottom

Find
$context['settings_title'] = $fb_hook_object->txt['fb_main1'];

Replace With
//$context['settings_title'] = $fb_hook_object->txt['fb_main1'];

See if that works for you.
Title: Re: SA Facebook Integration
Post by: DutchJam on August 25, 2012, 11:55:00 AM
Quote from: Texan78 on August 24, 2012, 12:16:22 PM
Yes that looks like a CSS issue. The containing div looks like it may not be wide enough. Locate that div and play with the width of it. If you use Firefox and have the Web Developer Add on. It is really could for finding which is in what div to look at.

Do you know which file is responsible for the button(s) in the post area?

Publisher still working, yipppieeeeeeee :)
Title: Re: SA Facebook Integration
Post by: SA™ on August 25, 2012, 01:51:53 PM
Quote from: Texan78 on August 25, 2012, 11:37:30 AM
Quote from: ocmdiaz714 on August 25, 2012, 12:21:21 AM
Yeah it's dropping down from the admin link on the menu. It's kinda annoying really.

Ok try this, find this.... In Sources > Facebook > FacebookAdmin.php it will be at the bottom

Find
$context['settings_title'] = $fb_hook_object->txt['fb_main1'];

Replace With
//$context['settings_title'] = $fb_hook_object->txt['fb_main1'];

See if that works for you.

thats in facebookhooks.php no FacebookAdmin.php

  if(allowedTo('admin_forum') && !empty($modSettings['fb_app_enabled'])){
       
    $counter = 0;

    foreach ($menu_buttons['admin']['sub_buttons'] as $area => $dummy)
    if (++$counter && $area == 'featuresettings')
    break;

            $menu_buttons['admin']['sub_buttons'] = array_merge(
        array_slice($menu_buttons['admin']['sub_buttons'], 0, $counter, TRUE),

    array(
    'fb' => array(
    'title' => $txt['fb_main1'],
    'href' => $scripturl . '?action=admin;area=facebook',
    'show' => true,
    ),
    ),

        array_slice($menu_buttons['admin']['sub_buttons'], $counter, NULL, TRUE)

            );
        }


QuoteDo you know which file is responsible for the button(s) in the post area?

what buttons the publish one?
Title: Re: SA Facebook Integration
Post by: DutchJam on August 25, 2012, 03:04:18 PM
Quote from: SA™ on August 25, 2012, 01:51:53 PM

QuoteDo you know which file is responsible for the button(s) in the post area?

what buttons the publish one?

I mean the buttons on top of a forum post, like "quote", "modify", " remove" and also the "post" button from SA Facebook Integration...
Title: Re: SA Facebook Integration
Post by: ocmdiaz714 on August 25, 2012, 03:35:48 PM
Quote from: SA™ on August 25, 2012, 01:51:53 PM
Quote from: Texan78 on August 25, 2012, 11:37:30 AM
Quote from: ocmdiaz714 on August 25, 2012, 12:21:21 AM
Yeah it's dropping down from the admin link on the menu. It's kinda annoying really.

Ok try this, find this.... In Sources > Facebook > FacebookAdmin.php it will be at the bottom

Find
$context['settings_title'] = $fb_hook_object->txt['fb_main1'];

Replace With
//$context['settings_title'] = $fb_hook_object->txt['fb_main1'];

See if that works for you.

thats in facebookhooks.php no FacebookAdmin.php

  if(allowedTo('admin_forum') && !empty($modSettings['fb_app_enabled'])){
       
    $counter = 0;

    foreach ($menu_buttons['admin']['sub_buttons'] as $area => $dummy)
    if (++$counter && $area == 'featuresettings')
    break;

            $menu_buttons['admin']['sub_buttons'] = array_merge(
        array_slice($menu_buttons['admin']['sub_buttons'], 0, $counter, TRUE),

    array(
    'fb' => array(
    'title' => $txt['fb_main1'],
    'href' => $scripturl . '?action=admin;area=facebook',
    'show' => true,
    ),
    ),

        array_slice($menu_buttons['admin']['sub_buttons'], $counter, NULL, TRUE)

            );
        }


QuoteDo you know which file is responsible for the button(s) in the post area?

what buttons the publish one?

I went ahead and removed that bit. Thanks!
Title: Re: SA Facebook Integration
Post by: LOVELORD on August 27, 2012, 07:27:19 PM
When i create application and integrate with my site everything work without any problems.

Now I transfer to VPS and change domain from www.domain.com to domain.com becouse i read that is better for boths.

And i change this in facebook app but on my forum i have problem.

Nothing from facebook integration not work. I also cant find facebook integration in profile or in admin panel.

No even like box frame in bottom.
Title: Re: SA Facebook Integration
Post by: Texan78 on August 27, 2012, 07:48:57 PM
Try uninstalling it and reinstalling it since you have changed the way your domain is.
Title: Re: SA Facebook Integration
Post by: LOVELORD on August 27, 2012, 08:12:56 PM
strange is that one block witch i take from them site not work...  :o but on stativ page it work  :o
Title: Re: SA Facebook Integration
Post by: Kindred on August 27, 2012, 09:21:48 PM
Why do you think that removing the www is a better choice?  I'd suggest just putting it back and using htaccess to redirect the non-www site to the www one...especially if it worked better with the integration.


edit- doing it this way will reduce any "penalty" for changing URLs and will also prevent the duplicate content stuff - all the while maintaining the site in a working condition.
Title: Re: SA Facebook Integration
Post by: Texan78 on August 28, 2012, 11:16:34 AM
Quote from: Kindred on August 27, 2012, 09:21:48 PM
Why do you think that removing the www is a better choice?  I'd suggest just putting it back and using htaccess to redirect the non-www site to the www one...especially if it worked better with the integration.

+1
Title: Re: SA Facebook Integration
Post by: LOVELORD on August 28, 2012, 06:58:34 PM
Site is just started... And I bacek www to site url

I uninstall and install mod again.. Now everything is showen... But I cant connect to facebook account. I cant find friends. Like publish etc button work, also facebooik page, but i cant connect account to facebook.

In area ?area=friends on facebook page on forum i recive this error:

No connection to Facebook found
Connect to Facebook now!

And when i try to connect to facebook page just redirect me to main facebook page index.php?action=facebook

Also when i try to associate some other account i recive this error: An Error Has Occurred!
No connection to facebook found
\
What i need tto do to connect my site with facebook?

When people register to site them recive this errors:

The database value you're trying to insert does not exist: fb_post_id

I have same problem with gmail, and twitter.
Title: Re: SA Facebook Integration
Post by: Texan78 on August 28, 2012, 08:52:21 PM
Have you entered the Facebook app information correctly into the mod in your Admin CP?

Sounds like you're missing the information for the mod to connect to the App.

Do you have a fan page or just a personal FB page? You need to have a fan page connected to your personal page and you need to be logged into your personal page not your fan page for it to display information as well.



Title: Re: SA Facebook Integration
Post by: LOVELORD on August 28, 2012, 09:21:22 PM
Yes I enter all things like earlir it was..

I have fun page and my account page and everything work without problem.

I dont know what i need to do.

I have this problem with facebook

The database value you're trying to insert does not exist: fb_post_id

I dont know why this exist, and this table exist in table topic, and everywhere is value 0.

This make problems with accounts, becouse people cant activate them accounts.


EDIT: This fb_post_id is showing only in FacebookHooks.php in Source folder and have only this few strings. But I cant post here that strings.

I have this collon in smf_topic and I dont know where this make problem? On every row value for this is 0
Title: Re: SA Facebook Integration
Post by: Texan78 on August 29, 2012, 04:03:50 PM
Quote from: LOVELORD on August 28, 2012, 09:21:22 PM
Yes I enter all things like earlir it was..

I have fun page and my account page and everything work without problem.

I dont know what i need to do.

I have this problem with facebook

The database value you're trying to insert does not exist: fb_post_id

I dont know why this exist, and this table exist in table topic, and everywhere is value 0.

This make problems with accounts, becouse people cant activate them accounts.


EDIT: This fb_post_id is showing only in FacebookHooks.php in Source folder and have only this few strings. But I cant post here that strings.

I have this collon in smf_topic and I dont know where this make problem? On every row value for this is 0

You need to uninstall and reinstall and then do this. Make sure you run or the db install file ran successfully.

Then go too Admin CP under Facebook Intergration > Configuration > do you have the Facebook Application ID & Facebook Application Secret entered from the Facebook App?

If not, log into FB and go here...

https://developers.facebook.com/apps

At the very top you'll see a App ID/API Key & App Secret Enter the App ID into the Application ID spot in the mod and the App Secret into the next one below called Facebook Application Secret.

If it still doesn't work then you don't have your FB App set up correctly and without knowing how you have it set up no one is going to be able to help you so you will need provide more information if the above doesn't work.
Title: Re: SA Facebook Integration
Post by: Manu.G on September 01, 2012, 08:15:09 PM
I've installed this modification, but I think I haven't setup the appliciation not correct :(
I have add all things I got on facebook
No topics and new members are published on the fanpage I'm running on facebook and when ever I push the "Publish" button nothing happen :-s

Facebook Access Tokens are to see under "Publisher"
Fanpage-ID I've add

Can someone help me with my problem?
Title: Re: SA Facebook Integration
Post by: Smasher on September 02, 2012, 10:07:03 AM
Where is the code for when the "checks" are actually being done before the facebook login? I want to add some code that checks to see if that person is a friend of a certain person before letting them log on.

Sync Accounts > Am I on your friends list > Ok you can now log in.
Title: Re: SA Facebook Integration
Post by: ocmdiaz714 on September 04, 2012, 02:42:59 AM
Anyway to show the link as an icon along with the other icons under the username in the poster div? Thanks.
Title: Re: SA Facebook Integration
Post by: Texan78 on September 04, 2012, 10:59:22 AM
Quote from: Manu.G on September 01, 2012, 08:15:09 PM
I've installed this modification, but I think I haven't setup the appliciation not correct :(
I have add all things I got on facebook
No topics and new members are published on the fanpage I'm running on facebook and when ever I push the "Publish" button nothing happen :-s

Facebook Access Tokens are to see under "Publisher"
Fanpage-ID I've add

Can someone help me with my problem?

In your Admin CP for the Facebook Integration select the boards Tab and make sure you have selected boards to publish to.
Title: Re: SA Facebook Integration
Post by: Texan78 on September 04, 2012, 11:00:11 AM
Quote from: ocmdiaz714 on September 04, 2012, 02:42:59 AM
Anyway to show the link as an icon along with the other icons under the username in the poster div? Thanks.

Are you looking for something like this?

http://custom.simplemachines.org/mods/index.php?mod=3304
Title: Re: SA Facebook Integration
Post by: ocmdiaz714 on September 04, 2012, 06:31:39 PM
Quote from: Texan78 on September 04, 2012, 11:00:11 AM
Quote from: ocmdiaz714 on September 04, 2012, 02:42:59 AM
Anyway to show the link as an icon along with the other icons under the username in the poster div? Thanks.

Are you looking for something like this?

http://custom.simplemachines.org/mods/index.php?mod=3304

Exactly! I'm not sure how the facebook integration works as of yet as I don't have a Facebook, and nobody on my forum has registered using the service as of yet. I would use the icons mod, but I would like for the Facebook account liked a user to show up. If I was to use the social icons mod, a user would have 2 fields to input their Facebook, I only want there to be one. Basically, if a user registers through Facebook, I want their Facebook link as a profile icon. I hope I'm not hard to understand.
Title: Re: SA Facebook Integration
Post by: sakalli7190 on September 04, 2012, 08:43:24 PM
Help me :(
Title: Re: SA Facebook Integration
Post by: Texan78 on September 04, 2012, 08:56:27 PM
Quote from: ocmdiaz714 on September 04, 2012, 06:31:39 PM
Quote from: Texan78 on September 04, 2012, 11:00:11 AM
Quote from: ocmdiaz714 on September 04, 2012, 02:42:59 AM
Anyway to show the link as an icon along with the other icons under the username in the poster div? Thanks.

Are you looking for something like this?

http://custom.simplemachines.org/mods/index.php?mod=3304

Exactly! I'm not sure how the facebook integration works as of yet as I don't have a Facebook, and nobody on my forum has registered using the service as of yet. I would use the icons mod, but I would like for the Facebook account liked a user to show up. If I was to use the social icons mod, a user would have 2 fields to input their Facebook, I only want there to be one. Basically, if a user registers through Facebook, I want their Facebook link as a profile icon. I hope I'm not hard to understand.

With this integration it will only add one input field. This mod doesn't add one.

I understand what you are saying and makes sense. Upon Registration it should add it by default. Problem is it doesn't so you have to create the field manually.

Keep in mind though, other members don't know they logged in with FB and they might want to use the simplicity of the function but keep their FB page private.

With that said, it is better to just give the member the option.
Title: Re: SA Facebook Integration
Post by: LOVELORD on September 05, 2012, 05:21:18 PM
I dont know where i make mistake...

I uninstall and install mod again without any problems... Make few application with same details like i do earlier... And no other social mod not work.

is there any tutuorial how to make facebooka and other application and make it work?
Title: Re: SA Facebook Integration
Post by: ocmdiaz714 on September 05, 2012, 06:00:22 PM
Quote from: Texan78 on September 04, 2012, 08:56:27 PM
Quote from: ocmdiaz714 on September 04, 2012, 06:31:39 PM
Quote from: Texan78 on September 04, 2012, 11:00:11 AM
Quote from: ocmdiaz714 on September 04, 2012, 02:42:59 AM
Anyway to show the link as an icon along with the other icons under the username in the poster div? Thanks.

Are you looking for something like this?

http://custom.simplemachines.org/mods/index.php?mod=3304

Exactly! I'm not sure how the facebook integration works as of yet as I don't have a Facebook, and nobody on my forum has registered using the service as of yet. I would use the icons mod, but I would like for the Facebook account liked a user to show up. If I was to use the social icons mod, a user would have 2 fields to input their Facebook, I only want there to be one. Basically, if a user registers through Facebook, I want their Facebook link as a profile icon. I hope I'm not hard to understand.

With this integration it will only add one input field. This mod doesn't add one.

I understand what you are saying and makes sense. Upon Registration it should add it by default. Problem is it doesn't so you have to create the field manually.

Keep in mind though, other members don't know they logged in with FB and they might want to use the simplicity of the function but keep their FB page private.

With that said, it is better to just give the member the option.

Got ya. Is there a way though to change the text link in the post template to a icon link? Thanks.
Title: Re: SA Facebook Integration
Post by: Texan78 on September 05, 2012, 06:31:31 PM
Can you show me a example of the text link. I don't think I am familiar with what you are referring to.

It can be done, I just need to see where you are referring to exactly.
Title: Re: SA Facebook Integration
Post by: ocmdiaz714 on September 05, 2012, 08:02:40 PM
Quote from: Texan78 on September 05, 2012, 06:31:31 PM
Can you show me a example of the text link. I don't think I am familiar with what you are referring to.

It can be done, I just need to see where you are referring to exactly.

After installing the mod I was given a new option under the profile field settings. And by enabling the link to appear along the icons this is the end result. By the way, the URL is not entered by the user, it's grabbed from the account once it's used to register an account using Facebook.

(http://i47.tinypic.com/wb9vzc.png)

(http://i49.tinypic.com/crcec.png)

(http://i48.tinypic.com/15554wy.png)
Title: Re: SA Facebook Integration
Post by: LOVELORD on September 05, 2012, 08:54:31 PM
Insert facebook icon in theme folder... I think this mod dont install icon in theme folder. That is usualy problem.
Title: Re: SA Facebook Integration
Post by: johnpaul2k2 on September 06, 2012, 09:50:58 AM
please since i am using wap2 for my smf mobile............how can i get facebook hook on HMTL ???
Title: Re: SA Facebook Integration
Post by: Texan78 on September 06, 2012, 10:21:07 AM
Quote from: ocmdiaz714 on September 05, 2012, 08:02:40 PM
Quote from: Texan78 on September 05, 2012, 06:31:31 PM
Can you show me a example of the text link. I don't think I am familiar with what you are referring to.

It can be done, I just need to see where you are referring to exactly.

After installing the mod I was given a new option under the profile field settings. And by enabling the link to appear along the icons this is the end result. By the way, the URL is not entered by the user, it's grabbed from the account once it's used to register an account using Facebook.

(http://i47.tinypic.com/wb9vzc.png)

(http://i49.tinypic.com/crcec.png)

(http://i48.tinypic.com/15554wy.png)

Ok I see where the problem is. You have the Placement set as Standard. Edit that and change the placement to "With Icons".

Then try it. If it still doesn't show do this. Below where you set the placement will be this.

"Show Enclosed Within Text (Optional):" In they text field enter this.

<a href="{INPUT}" "target="_blank"><img src="{DEFAULT_IMAGES_URL}/icons/YOURIMAGEk.png" alt="{INPUT}" /></a></a>

Make sure you change the name of the image above YOURIMAGE to the name of the Facebook Icon you are using and then put the Icon in the images/icon folder for your theme.

You should be set after that and it should work properly.

One question though, how did you get it to add the field on login? That is actually kind of nice because mine doesn't do that.

Title: Re: SA Facebook Integration
Post by: Manu.G on September 06, 2012, 10:47:05 AM
Quote from: Texan78 on September 04, 2012, 10:59:22 AM
Quote from: Manu.G on September 01, 2012, 08:15:09 PM
I've installed this modification, but I think I haven't setup the appliciation not correct :(
I have add all things I got on facebook
No topics and new members are published on the fanpage I'm running on facebook and when ever I push the "Publish" button nothing happen :-s

Facebook Access Tokens are to see under "Publisher"
Fanpage-ID I've add

Can someone help me with my problem?

In your Admin CP for the Facebook Integration select the boards Tab and make sure you have selected boards to publish to.
The boards I want to publish on the facebook fan-page are selected, but nothing happen there. Also I want to publish new members on the fan-page, but it won't work :-s
Title: Re: SA Facebook Integration
Post by: Texan78 on September 06, 2012, 12:32:34 PM
Quote from: Manu.G on September 06, 2012, 10:47:05 AM
Quote from: Texan78 on September 04, 2012, 10:59:22 AM
Quote from: Manu.G on September 01, 2012, 08:15:09 PM
I've installed this modification, but I think I haven't setup the appliciation not correct :(
I have add all things I got on facebook
No topics and new members are published on the fanpage I'm running on facebook and when ever I push the "Publish" button nothing happen :-s

Facebook Access Tokens are to see under "Publisher"
Fanpage-ID I've add

Can someone help me with my problem?

In your Admin CP for the Facebook Integration select the boards Tab and make sure you have selected boards to publish to.
The boards I want to publish on the facebook fan-page are selected, but nothing happen there. Also I want to publish new members on the fan-page, but it won't work :-s


Go to the Facebook Developers page for your App and under Settings then select Advanced.

Find "Remove offline_access permission" and make sure it is disabled and if not disable it and save the changes.

Then go back to your mod and regrant the permissions.

If all works correctly it should populate your "Facebook Access Tokens"

MAKE SURE, your Facebook Page ID Facebook User ID is correctly entered. The Page ID will be your fan page. The User ID will be your personal page.

To find your Page ID and User ID you can use this link

http://graph.facebook.com/YOURPAGE

Then just replace YOURPAGE with the name of your FB Page and it will give you your ID. Do the same for your personal page too.

Title: Re: SA Facebook Integration
Post by: ocmdiaz714 on September 06, 2012, 03:49:51 PM
Quote from: Texan78 on September 06, 2012, 10:21:07 AM
Quote from: ocmdiaz714 on September 05, 2012, 08:02:40 PM
Quote from: Texan78 on September 05, 2012, 06:31:31 PM
Can you show me a example of the text link. I don't think I am familiar with what you are referring to.

It can be done, I just need to see where you are referring to exactly.

After installing the mod I was given a new option under the profile field settings. And by enabling the link to appear along the icons this is the end result. By the way, the URL is not entered by the user, it's grabbed from the account once it's used to register an account using Facebook.

(http://i47.tinypic.com/wb9vzc.png)

(http://i49.tinypic.com/crcec.png)

(http://i48.tinypic.com/15554wy.png)

Ok I see where the problem is. You have the Placement set as Standard. Edit that and change the placement to "With Icons".

Then try it. If it still doesn't show do this. Below where you set the placement will be this.

"Show Enclosed Within Text (Optional):" In they text field enter this.

<a href="{INPUT}" "target="_blank"><img src="{DEFAULT_IMAGES_URL}/icons/YOURIMAGEk.png" alt="{INPUT}" /></a></a>

Make sure you change the name of the image above YOURIMAGE to the name of the Facebook Icon you are using and then put the Icon in the images/icon folder for your theme.

You should be set after that and it should work properly.

One question though, how did you get it to add the field on login? That is actually kind of nice because mine doesn't do that.

I actually do have it's placement set "with icons", but I took the first screen shot before enabling the option. What you see in the second picture is the result of the icon placement. As for the field to show the URL, really all I did was enable the profile fields and Facebook was an already added custom field! Quiete neat.
Title: Re: SA Facebook Integration
Post by: Banthe on September 07, 2012, 12:05:29 AM
OK... I've tried and tried again to set this up!
I've set up a facebook app.... Then set up SA Facebook Integration... All Good!

Problem is that when I ask someone to test by registering on my forum using fb... after they enter their fb details and get logged in to the forum... they have MY FB USERNAME instead of their own??????

Please, what have I done wrong here...I'm going insane!

NOTE to Texan78 or SA: I would gladly pay to have this set up for me :-[
Title: Re: SA Facebook Integration
Post by: Texan78 on September 07, 2012, 10:25:41 AM
Quote from: ocmdiaz714 on September 06, 2012, 03:49:51 PM
I actually do have it's placement set "with icons", but I took the first screen shot before enabling the option. What you see in the second picture is the result of the icon placement. As for the field to show the URL, really all I did was enable the profile fields and Facebook was an already added custom field! Quiete neat.

Ah you know what, I think I remember it does add the profile field but I think I deleted it because it wasn't working correctly and just manually added it. Of course members have to manually enter it instead of it populating upon registration.

Try this, set up a custom profile field for FB with the information I listed from the previous post. I am going to test the other method and see what I can come up with.
Title: Re: SA Facebook Integration
Post by: Texan78 on September 07, 2012, 10:43:42 AM
Quote from: Banthe on September 07, 2012, 12:05:29 AM
OK... I've tried and tried again to set this up!
I've set up a facebook app.... Then set up SA Facebook Integration... All Good!

Problem is that when I ask someone to test by registering on my forum using fb... after they enter their fb details and get logged in to the forum... they have MY FB USERNAME instead of their own??????

Please, what have I done wrong here...I'm going insane!

NOTE to Texan78 or SA: I would gladly pay to have this set up for me :-[

In the FB Mod under configuration, at the bottom you will see "Custom login url". That should be empty. That's the first thing I would check. If that is empty, then clear the forum cache.
Title: Re: SA Facebook Integration
Post by: Banthe on September 07, 2012, 04:19:46 PM
Thanks Texan78 ...That seemed to work  :) The custom login URL was empty, so I cleared the cache and that seemed to do the trick!
Is there any possibility that will happen again? As I would hate to see members joining up in the future and they end up with other peoples details etc...?

Also, is there any way I can have this directed to a community fb page rather than my personal fb page? ( I know I've seen other people ask the same thing, but I haven't found the answer!)

Regards
Title: Re: SA Facebook Integration
Post by: Texan78 on September 07, 2012, 05:40:13 PM
Quote from: Banthe on September 07, 2012, 04:19:46 PM
Is there any possibility that will happen again? As I would hate to see members joining up in the future and they end up with other peoples details etc...?

Actually I couldn't tell you for sure. I have never encountered it so there is always a possibility. If I had to take a guess I think you should be fine. At least you know what needs to be done if it does happen again.

Quote from: Banthe on September 07, 2012, 04:19:46 PM
Also, is there any way I can have this directed to a community fb page rather than my personal fb page? ( I know I've seen other people ask the same thing, but I haven't found the answer!

Sure, you just need to set up a fan page that is associate to your account. Then update your app to reflect the fan page and then generate new App Keys to enter on the FB Mod configuration page like you have already done. It would probably be best to just delete the current App on FB. Then create your fan page, then create your app and associate it to the fan page.
Title: Re: SA Facebook Integration
Post by: Banthe on September 07, 2012, 06:04:21 PM
Thanx once again Texan78!
Set up the fan page and associated the app.... Still trying to get the Topics and New members to post to fb!! Not working yet, but I'll keep trying...  :-\
If I have no joy, I'll annoy you again if you don't mind?
Title: Re: SA Facebook Integration
Post by: willemjan on September 08, 2012, 06:27:27 AM
I've tried to search this topic for an answer, but couldn't find it.

What does the facbook page on the forum supposed to do? It stays empty no matter what I do. It does show: your Friends, What's on your Mind, and Invite Friends, but the front page is just empty...

Everything else is working like an charm! Great mod!
Title: Re: SA Facebook Integration
Post by: willemjan on September 08, 2012, 06:37:02 AM
I found an security issue with this mod. Is it ok to PM you about it?
Title: Re: SA Facebook Integration
Post by: Texan78 on September 08, 2012, 11:26:14 AM
Quote from: Banthe on September 07, 2012, 06:04:21 PM
Thanx once again Texan78!
Set up the fan page and associated the app.... Still trying to get the Topics and New members to post to fb!! Not working yet, but I'll keep trying...  :-\
If I have no joy, I'll annoy you again if you don't mind?

Here are some things to try if you have not done so yet.

In the FB Mod under "Publisher" make sure your Facebook Page ID Facebook User ID entered correctly. Look back a couple of posts for how to find your ID's. Once you have those ID's you need to apple the extended permissions by hitting the publish button or login button at the top of the mod page.

Once you have your access tokens generated you can begin publishing to your Fan page.

First you need to enable your "Enable Post Publisher?" In your case you want new members and topics. So in the drop down select "New Members and Topics"

Then below that "Publish to facebook?" select "Page" from the drop down. Then hit save at the bottom.

Finally select the Boards from the top of the FB Mod. You will see all your boards with three options with check boxes below. Publish, Like, Comment. Just check the boxes for which boards you want to have those features and then click save. You should be good to go after that and then you can test by making a post and see if it posts to your FB as well.

Title: Re: SA Facebook Integration
Post by: Texan78 on September 08, 2012, 11:28:27 AM
Quote from: willemjan on September 08, 2012, 06:27:27 AM
I've tried to search this topic for an answer, but couldn't find it.

What does the facbook page on the forum supposed to do? It stays empty no matter what I do. It does show: your Friends, What's on your Mind, and Invite Friends, but the front page is just empty...

Everything else is working like an charm! Great mod!

Which page are you referring too? Is the one that says FB when you are logged out in the menu?

About the security issue, I don't know who you would talk to about that. I though Vbgamer had taken over future development but I don't know what the status is on that. SA may have a better answer for that.

Title: Re: SA Facebook Integration
Post by: Banthe on September 08, 2012, 05:25:43 PM
I don't know if this is normal or not?? When a new member joins and it posted to the facebook community page, there is a pink dot as an image next to the post!
Is this supposed to be the members avatar?
Is there any way to change this? :o

EDIT: Original problem started again... If someone logs in via facebook, then logs out of both fb and my forum.. Then, someone else (using the same pc) comes and logs in via fb using their own credentials, they login to fb ok (their own fb) but login to the forum under the profile of the first person?? Confusing I know! I have tried clearing both browser cache and forum cache but same thing keeps happening. All fb associations in the logs of the mod are seperate so its not merging fb associations in any way.
It looks like the forum or the mod is holding  a memory somewhere of the last fb login and not releasing it when a person logs out!
I would really like to stop this from happening as many families have one pc but multiple fb accounts..they would all be logging in under other peoples profiles.  :'(

This is one heck of a security breach!

Please please help me!
Title: Re: SA Facebook Integration
Post by: SA™ on September 09, 2012, 11:36:27 AM
QuoteI've tried to search this topic for an answer, but couldn't find it.

What does the facbook page on the forum supposed to do? It stays empty no matter what I do. It does show: your Friends, What's on your Mind, and Invite Friends, but the front page is just empty...

Everything else is working like an charm! Great mod!
]

you have to enable the stuff on that page in fb admin social i think it is has option to show fan box and comments on that page


Quote from: willemjan on September 08, 2012, 06:37:02 AM
I found an security issue with this mod. Is it ok to PM you about it?

im curious whats the issue?

QuoteEDIT: Original problem started again... If someone logs in via facebook, then logs out of both fb and my forum.. Then, someone else (using the same pc) comes and logs in via fb using their own credentials, they login to fb ok (their own fb) but login to the forum under the profile of the first person?? Confusing I know! I have tried clearing both browser cache and forum cache but same thing keeps happening. All fb associations in the logs of the mod are seperate so its not merging fb associations in any way.
It looks like the forum or the mod is holding  a memory somewhere of the last fb login and not releasing it when a person logs out!
I would really like to stop this from happening as many families have one pc but multiple fb accounts..they would all be logging in under other peoples profiles. 

question do you use the auto login method? this methode does use cookies so this maybe the issue
maybe we need to force remove the cookie when loggin out of the forum since FB cant be relied on to do it properly i could be wrong tho

QuoteAbout the security issue, I don't know who you would talk to about that. I though Vbgamer had taken over future development but I don't know what the status is on that. SA may have a better answer for that.

yes vbgamer did take over these mods tho it seem he dont have the time to update them and keep them updated with the new php sdk yes there is a newer phpsdk out this may even sort some of the issue out
Title: Re: SA Facebook Integration
Post by: Banthe on September 09, 2012, 02:15:29 PM
Quotequestion do you use the auto login method? this methode does use cookies so this maybe the issue
maybe we need to force remove the cookie when loggin out of the forum since FB cant be relied on to do it properly i could be wrong tho

I also thought this.. I disabled Auto Logon before I tried anything else. Nothing changed?

EDIT: I just noticed.. If I clear browser cache and then restart pc, only then can someone sign in with their own fb account. So, it must be a cookie/cache problem. Does this give any clue to how this can be avoided with mod/forum settings globally?
Title: Re: SA Facebook Integration
Post by: SA™ on September 10, 2012, 03:24:50 AM
not globaly no but an idea is to use the logout hook in smf then clear fb cookies when loggin out of the forum that will work
Title: Re: SA Facebook Integration
Post by: Banthe on September 10, 2012, 03:37:04 AM
Quote from: SA™ on September 10, 2012, 03:24:50 AM
not globaly no but an idea is to use the logout hook in smf then clear fb cookies when loggin out of the forum that will work

Thanks for your help SA.. Doing that is fine at the moment while I only have a few members for testing purposes.. but my concern is when I take the site live and begin marketing and attracting large member groups, that this will cause a lot of issues with new members and scare them away.
A shame really.. This is a GREAT mod, one of the best I've seen! I really don't want to uninstall it but I think I may have to until I can find a permanent fix  :'(

Cheers!
Title: Re: SA Facebook Integration
Post by: SA™ on September 10, 2012, 03:59:56 AM
 i actualy think it is the session s not clearing now it would make more sencefor it to be that so you could try this

in sources/loginout.php

find // Just ensure they aren't a guest!

before add

if(isset($_SESSION['safbpemail']) || isset($_SESSION['safbpic']) || isset($_SESSION['safbusername1']) || isset($_SESSION['safbusername']) || isset($_SESSION['safbname']) || isset($_SESSION['safbuserid'])){
       
unset($_SESSION['safbname']);
unset($_SESSION['safbusername']);
unset($_SESSION['safbusername1']);
unset($_SESSION['safbuserid']);
unset($_SESSION['safbpic']);
unset($_SESSION['safbemail']);
}


untested code but should do the trick

Title: Re: SA Facebook Integration
Post by: Banthe on September 10, 2012, 04:02:28 AM
Wow... Excellent! I will edit the code now and test it.. Thank you! :)
Title: Re: SA Facebook Integration
Post by: Banthe on September 10, 2012, 04:16:25 AM
ok... Tested it..

I had a user register with fb, then I got them to logout. Then I had another user try to register with their fb.. The following error occured:

"Sorry, but you're not allowed to register multiple accounts at the same time from the same computer."
Title: Re: SA Facebook Integration
Post by: SA™ on September 10, 2012, 04:17:18 AM
yeah thats smf that does that not the mod just give it a while and try again
Title: Re: SA Facebook Integration
Post by: Banthe on September 10, 2012, 04:24:07 AM
No Worries! ;)
Title: Re: SA Facebook Integration
Post by: Banthe on September 10, 2012, 05:02:19 AM
Same thing happening again  :'(
Just had my wife try to register with fb 10 minutes after my daughter.. Wife entered her fb details it logged into her fb but when redirected back to my site she was logged in as my daughter??

EDIT: I even cleared browser cache..shut down browser and re-opened my site between registrations!

I have attached my LogInOut.php in case you might take a look at it?
Title: Re: SA Facebook Integration
Post by: acsieben on September 10, 2012, 06:41:21 AM
I have been having some performance issues on my server for sometime and I think it might be related with SA Facebook Integration mod. Below are quotes from my error logs, which I think are generated by this mod though I can't be sure.

QuoteIP address   Display name   Message   Date
66.249.x.x   Guest   The database value you're trying to insert does not exist: mem
Function: face_USettings
?action=facebookintegrate;area=auto;agree   08 / September / 2012, 05:25:56
66.249.x.x   Guest   8: Undefined index: server
?action=dlattach;topic=2042.0;attach=2084;image   07 / September / 2012, 14:52:38
66.249.x.x   Guest   8: Undefined index: fb_regmay
?action=dlattach;topic=2042.0;attach=2084;image   07 / September / 2012, 14:52:38
66.249.x.x   Guest   8: Undefined index: fb_rwf
?action=dlattach;topic=2042.0;attach=2084;image   07 / September / 2012, 14:52:38
66.249.x.x   Guest   8: Undefined index: is_logged
?action=dlattach;topic=2042.0;attach=2084;image   07 / September / 2012, 14:52:38
66.249.x.x   Guest   2: Invalid argument supplied for foreach()
?action=dlattach;topic=2042.0;attach=2084;image   07 / September / 2012, 14:52:38
66.249.x.x   Guest   2: array_reverse() [<a href='function.array-reverse'>function.array-reverse</a>]: The argument should be an array
?action=dlattach;topic=2042.0;attach=2084;image   07 / September / 2012, 14:52:38
66.249.x.x   Guest   8: Undefined index: template_layers
?action=dlattach;topic=2042.0;attach=2084;image   07 / September / 2012, 14:52:38
66.249.x.x   Guest   8: Undefined index: session_id
?action=dlattach;topic=2042.0;attach=2084;image   07 / September / 2012, 14:52:38
66.249.x.x   Guest   8: Undefined index: character_set
?action=dlattach;topic=2042.0;attach=2084;image   07 / September / 2012, 14:52:38
66.249.x.x   Guest   2: Invalid argument supplied for foreach()
?action=dlattach;topic=2042.0;attach=2084;image   07 / September / 2012, 14:52:38
66.249.x.x   Guest   8: Undefined index: template_layers
?action=dlattach;topic=2042.0;attach=2084;image   07 / September / 2012, 14:52:38
66.249.x.x   Guest   8: Undefined index: html_headers
?action=dlattach;topic=2042.0;attach=2084;image   07 / September / 2012, 14:52:38
66.249.x.x   Guest   8: Undefined index: fb_main5
?action=dlattach;topic=2042.0;attach=2084;image   07 / September / 2012, 14:52:38
66.249.x.x   Guest   8: Undefined index: is_logged
?action=dlattach;topic=2042.0;attach=2084;image   07 / September / 2012, 14:52:38

Quote08 / September / 2012, 05:25:56
53a528c331de9715b00110d34af6df5b
Type of error: Critical
http://mysite.com/index.php?action=facebookintegrate;area=auto;agreeThe database value you're trying to insert does not exist: mem
Function: face_USettingsFile: /home/mysite/public_html/smf/Sources/Facebook/FacebookHooks.php
Line: 960

Can you help me find this out? I have been receiving suspension warnings and have been trying to optimize everything I can, and this is probably my last option.

Thanks

edit:
SMF v. 2.0.2
SA Facebook 2.0 RC4 Rev58 (I tried to reinstall, nothing changed)
Title: Re: SA Facebook Integration
Post by: Texan78 on September 10, 2012, 09:59:27 AM
Quote from: Banthe on September 10, 2012, 05:02:19 AM
Same thing happening again  :'(
Just had my wife try to register with fb 10 minutes after my daughter.. Wife entered her fb details it logged into her fb but when redirected back to my site she was logged in as my daughter??

EDIT: I even cleared browser cache..shut down browser and re-opened my site between registrations!

I have attached my LogInOut.php in case you might take a look at it?

Sounds like it may be cookie related on your browser since you're testing this with multiple people on the same machine. Does this happen when others try this from different machines? After all it does store a cookie in your browser for this.

Look in the log files for the mod and see if they are getting logged as members.
Title: Re: SA Facebook Integration
Post by: Banthe on September 10, 2012, 10:14:55 AM
Quote from: Texan78 on September 10, 2012, 09:59:27 AM
Quote from: Banthe on September 10, 2012, 05:02:19 AM
Same thing happening again  :'(
Just had my wife try to register with fb 10 minutes after my daughter.. Wife entered her fb details it logged into her fb but when redirected back to my site she was logged in as my daughter??

EDIT: I even cleared browser cache..shut down browser and re-opened my site between registrations!

I have attached my LogInOut.php in case you might take a look at it?

Sounds like it may be cookie related on your browser since you're testing this with multiple people on the same machine. Does this happen when others try this from different machines? After all it does store a cookie in your browser for this.

Look in the log files for the mod and see if they are getting logged as members.

Yes, it does happen across other machines , although on the same network... The log files shows "Successful Registrations via fb" but it does not log ones that sign up and and gets previous members profiles.
I have just uninstalled the mod for the 5th time and reinstalling. I thought the code that SA provided earlier fixed the problem but it reverted to the same outcome after only 2 successful tests.
I'm at a loss of what to try next!
Title: Re: SA Facebook Integration
Post by: DutchJam on September 10, 2012, 11:42:20 AM
Publisher still working....  8)

The publisher grabs a few lines from the original post at the forum to publish these in the post on the Facebook fanpage.

Is it possible to let the publisher grab a line of 2 more?

Tnx!
Title: Re: SA Facebook Integration
Post by: Texan78 on September 10, 2012, 11:45:17 AM
Quote from: DutchJam on September 10, 2012, 11:42:20 AM
Publisher still working....  8)

The publisher grabs a few lines from the original post at the forum to publish these in the post on the Facebook fanpage.

Is it possible to let the publisher grab a line of 2 more?

Tnx!

That would be a question SA would be better suited to answer. I have no doubt it is possible though with a minor edit. I just don't know where that would be.
Title: Re: SA Facebook Integration
Post by: Texan78 on September 10, 2012, 11:49:27 AM
Quote from: Banthe on September 10, 2012, 10:14:55 AM
Quote from: Texan78 on September 10, 2012, 09:59:27 AM
Quote from: Banthe on September 10, 2012, 05:02:19 AM
Same thing happening again  :'(
Just had my wife try to register with fb 10 minutes after my daughter.. Wife entered her fb details it logged into her fb but when redirected back to my site she was logged in as my daughter??

EDIT: I even cleared browser cache..shut down browser and re-opened my site between registrations!

I have attached my LogInOut.php in case you might take a look at it?

Sounds like it may be cookie related on your browser since you're testing this with multiple people on the same machine. Does this happen when others try this from different machines? After all it does store a cookie in your browser for this.

Look in the log files for the mod and see if they are getting logged as members.

Yes, it does happen across other machines , although on the same network... The log files shows "Successful Registrations via fb" but it does not log ones that sign up and and gets previous members profiles.
I have just uninstalled the mod for the 5th time and reinstalling. I thought the code that SA provided earlier fixed the problem but it reverted to the same outcome after only 2 successful tests.
I'm at a loss of what to try next!

What is your Registration Mode and Registration Method set at in the FB Mod under configuration?

Also when users on the same machine are logging in with FB do they close out the previous session before the next one trys?

It sounds like the multiple cookies are being stored for the same session. What is your forum sessions set at? Might want to try to disable that for testing then try again. This doesn't sound like a mod issue, more like a sessions issues. Would be better to test this on a different machines on different networks and see if the outcomes are the same have just one uses register and log in and log out on different machines.
Title: Re: SA Facebook Integration
Post by: Banthe on September 10, 2012, 03:43:58 PM
Quote from: Texan78 on September 10, 2012, 11:49:27 AM
Quote from: Banthe on September 10, 2012, 10:14:55 AM
Quote from: Texan78 on September 10, 2012, 09:59:27 AM
Quote from: Banthe on September 10, 2012, 05:02:19 AM
Same thing happening again  :'(
Just had my wife try to register with fb 10 minutes after my daughter.. Wife entered her fb details it logged into her fb but when redirected back to my site she was logged in as my daughter??

EDIT: I even cleared browser cache..shut down browser and re-opened my site between registrations!

I have attached my LogInOut.php in case you might take a look at it?

Sounds like it may be cookie related on your browser since you're testing this with multiple people on the same machine. Does this happen when others try this from different machines? After all it does store a cookie in your browser for this.

Look in the log files for the mod and see if they are getting logged as members.

Yes, it does happen across other machines , although on the same network... The log files shows "Successful Registrations via fb" but it does not log ones that sign up and and gets previous members profiles.
I have just uninstalled the mod for the 5th time and reinstalling. I thought the code that SA provided earlier fixed the problem but it reverted to the same outcome after only 2 successful tests.
I'm at a loss of what to try next!

What is your Registration Mode and Registration Method set at in the FB Mod under configuration?

Also when users on the same machine are logging in with FB do they close out the previous session before the next one trys?

It sounds like the multiple cookies are being stored for the same session. What is your forum sessions set at? Might want to try to disable that for testing then try again. This doesn't sound like a mod issue, more like a sessions issues. Would be better to test this on a different machines on different networks and see if the outcomes are the same have just one uses register and log in and log out on different machines.

Registration Mode: Normal
Registration Method: Manual

Yeah, I make sure they log out of both fb and forum before next person attempts to login (I originally thought that was the problem).

I've attached a screen shot of my cookies/session settings
Title: Re: SA Facebook Integration
Post by: acsieben on September 10, 2012, 08:08:29 PM
Sorry to bump this, wondering if there are any ideas on the errors I'm having:

http://www.simplemachines.org/community/index.php?topic=365503.msg3403441#msg3403441
Title: Re: SA Facebook Integration
Post by: Texan78 on September 10, 2012, 11:04:42 PM
Quote from: Banthe on September 10, 2012, 03:43:58 PM
Quote from: Texan78 on September 10, 2012, 11:49:27 AM
Quote from: Banthe on September 10, 2012, 10:14:55 AM
Quote from: Texan78 on September 10, 2012, 09:59:27 AM
Quote from: Banthe on September 10, 2012, 05:02:19 AM
Same thing happening again  :'(
Just had my wife try to register with fb 10 minutes after my daughter.. Wife entered her fb details it logged into her fb but when redirected back to my site she was logged in as my daughter??

EDIT: I even cleared browser cache..shut down browser and re-opened my site between registrations!

I have attached my LogInOut.php in case you might take a look at it?

Sounds like it may be cookie related on your browser since you're testing this with multiple people on the same machine. Does this happen when others try this from different machines? After all it does store a cookie in your browser for this.

Look in the log files for the mod and see if they are getting logged as members.

Yes, it does happen across other machines , although on the same network... The log files shows "Successful Registrations via fb" but it does not log ones that sign up and and gets previous members profiles.
I have just uninstalled the mod for the 5th time and reinstalling. I thought the code that SA provided earlier fixed the problem but it reverted to the same outcome after only 2 successful tests.
I'm at a loss of what to try next!

What is your Registration Mode and Registration Method set at in the FB Mod under configuration?

Also when users on the same machine are logging in with FB do they close out the previous session before the next one trys?

It sounds like the multiple cookies are being stored for the same session. What is your forum sessions set at? Might want to try to disable that for testing then try again. This doesn't sound like a mod issue, more like a sessions issues. Would be better to test this on a different machines on different networks and see if the outcomes are the same have just one uses register and log in and log out on different machines.

Registration Mode: Normal
Registration Method: Manual

Yeah, I make sure they log out of both fb and forum before next person attempts to login (I originally thought that was the problem).

I've attached a screen shot of my cookies/session settings

For testing purposes so we can see if this is sessions and cookies related.

Change the cookies length to 1

Seconds before an unused session timeout to 60

Then save and test. Wait about 5 mins between each attempt and log out and close the window too when you test.
Title: Re: SA Facebook Integration
Post by: Texan78 on September 10, 2012, 11:06:41 PM
Quote from: acseven on September 10, 2012, 08:08:29 PM
Sorry to bump this, wondering if there are any ideas on the errors I'm having:

http://www.simplemachines.org/community/index.php?topic=365503.msg3403441#msg3403441

What other mods do you have installed?

Sometimes other mods can conflict and they are the one that are actually making Facebook throw the error in the log.

I see this often. Fix the other mod that's causing the issues and those errors go away.

Title: Re: SA Facebook Integration
Post by: Wilhelms on September 11, 2012, 11:04:06 PM
Hi.

I'm with this problem.


Someone knows how to solve?

CSRF state token does not match one provided.
Invalid or no certificate authority found, using bundled information
PHP Fatal error:  Uncaught OAuthException: (#100) Unknown fields: access_token.
  thrown in E:\home\esquadraov5\Web\facebookauth\base_facebook.php on line 1039
Title: Re: SA Facebook Integration
Post by: Demirsoy on September 12, 2012, 11:55:30 AM
Hey my friend , I'm in trouble and need help please.

The problem is that once i logout from smf forum session will not come again and cannot login. While dealing in forum with my admin and user account , there is no problem the mod does work well however once logout is applied session ended and there appears blank page on index.php which cannot response to anythink.

Still, i dont have any error message just looking at blank page after 3-4 hourse and thinking :(

Please help me to deal with. I did all needs of facebook application such ad facebook app id , key etc.

My web page : platform.olympusuo.com/~bodrumko/  it is working with already logined account but others cant login :(
Title: Re: SA Facebook Integration
Post by: Manu.G on September 12, 2012, 03:59:09 PM
Quote from: Texan78 on September 06, 2012, 12:32:34 PM
Quote from: Manu.G on September 06, 2012, 10:47:05 AM
Quote from: Texan78 on September 04, 2012, 10:59:22 AM
Quote from: Manu.G on September 01, 2012, 08:15:09 PM
I've installed this modification, but I think I haven't setup the appliciation not correct :(
I have add all things I got on facebook
No topics and new members are published on the fanpage I'm running on facebook and when ever I push the "Publish" button nothing happen :-s

Facebook Access Tokens are to see under "Publisher"
Fanpage-ID I've add

Can someone help me with my problem?

In your Admin CP for the Facebook Integration select the boards Tab and make sure you have selected boards to publish to.
The boards I want to publish on the facebook fan-page are selected, but nothing happen there. Also I want to publish new members on the fan-page, but it won't work :-s


Go to the Facebook Developers page for your App and under Settings then select Advanced.

Find "Remove offline_access permission" and make sure it is disabled and if not disable it and save the changes.

Then go back to your mod and regrant the permissions.

If all works correctly it should populate your "Facebook Access Tokens"

MAKE SURE, your Facebook Page ID Facebook User ID is correctly entered. The Page ID will be your fan page. The User ID will be your personal page.

To find your Page ID and User ID you can use this link

http://graph.facebook.com/YOURPAGE (http://graph.facebook.com/YOURPAGE)

Then just replace YOURPAGE with the name of your FB Page and it will give you your ID. Do the same for your personal page too.


Thanks a lot, that was helpful! :D

Now an other problem I have :-s
Our settings for registration is "Admin Approval" because sometimes some spammer find a way to register on the forum.
I want to show new members on the fanpage on Facebook, but only when an Admin approved the registration, is there a
way to change the mod?


An other problem I found in the error-log :(
It's full with such entries
http://forum.arsenie.net/index.php?/topic,11613.msg264910/topicseen.html
2: htmlspecialchars() [<a href='function.htmlspecialchars'>function.htmlspecialchars</a>]: charset `ISO-8859-2' not supported, assuming iso-8859-1
File: /../.../.../.../forum/Sources/Facebook/FacebookHooks.php
Line: 159


Only members who using an other language than English filling the error-log with such entries. Is there a way to eliminate it?
Title: Re: SA Facebook Integration
Post by: Texan78 on September 12, 2012, 06:39:36 PM
Quote from: Manu.G on September 12, 2012, 03:59:09 PM
I want to show new members on the fanpage on Facebook, but only when an Admin approved the registration, is there a
way to change the mod?

in your Admin CP for the Facebook mod go to Publisher. And then for "Enable Post Publisher? " select the option you want to publish to your Facebook page
Title: Re: SA Facebook Integration
Post by: Wilhelms on September 12, 2012, 07:47:23 PM
I managed to solve the problems before, but now I have these, anyone can help solve urgent?

Invalid or no certificate authority found, using bundled information
Invalid or no certificate authority found, using bundled information
Title: Re: SA Facebook Integration
Post by: Manu.G on September 13, 2012, 03:44:32 PM
Quote from: Texan78 on September 12, 2012, 06:39:36 PM
Quote from: Manu.G on September 12, 2012, 03:59:09 PM
I want to show new members on the fanpage on Facebook, but only when an Admin approved the registration, is there a
way to change the mod?

in your Admin CP for the Facebook mod go to Publisher. And then for "Enable Post Publisher? " select the option you want to publish to your Facebook page


The settings are correct, but new members are published on facebook before an admin approved the registration. Isn't it possible to change this? Publishing new members on facebook after an admin approved the registration and not before?
Title: Re: SA Facebook Integration
Post by: SA™ on September 13, 2012, 06:24:00 PM
thats because this uses tyhe register hook it can be changed todo what you wonted by using the intergrate_activate hook instead but that means coding  8)
Title: Re: SA Facebook Integration
Post by: ocmdiaz714 on September 14, 2012, 06:28:45 PM
How I do get ride of this?

(http://i46.tinypic.com/wj9x1c.png)

I made this edit to FacebookHooks:

Quotearray(
              'fb' => array(
                'title' => $txt['fb_main5'],
                'href' => $scripturl . '?action=profile;area=fsettings;u='.$user_info['id'].'',
                'show' => false,
             ),
          ),

Am I okay? Or will that break something? Thanks.
Title: Re: SA Facebook Integration
Post by: Manu.G on September 14, 2012, 06:33:46 PM
Quote from: SA™ on September 13, 2012, 06:24:00 PM
thats because this uses tyhe register hook it can be changed todo what you wonted by using the intergrate_activate hook instead but that means coding  8)

What have I to change? Can you help me with it?
Title: Re: SA Facebook Integration
Post by: Lout on September 14, 2012, 08:13:03 PM
Quote from: SA™ on August 10, 2012, 07:18:14 PM
@ DutchJam
maybe will work with regualr expression and preg_replace

$attachment['description'] = preg_replace('|</?\w+\s+[^>]*>|si', ' ', $nobbc_body);

i have not tested this expression so it may not work
So to remove the <br> does this mean to replace this -

$attachment['description'] = $nobbc_body;

with this -

$attachment['description'] = preg_replace('|</?\w+\s+[^>]*>|si', ' ', $nobbc_body);

Thanks in advance :)
Title: Re: SA Facebook Integration
Post by: LOVELORD on September 15, 2012, 01:55:37 PM
I uninstall this mod, then install again, make new application, and still have same problem.

I remove iptables (firewall) from my VPS, and try to ping api.facebook.com and ping is work 100% corectly, no one package lost.

Also i test cURL and that work without any problem.

So does anyone have idea what i need to do?

Can someone write tutorail how we make application and make setup for forum?

Edit. I finaly fix problem...

I delete curl_exec and curl_multi_exec

now everything work perfet...
Title: Re: SA Facebook Integration
Post by: smarty84 on September 15, 2012, 03:32:25 PM
hi.
i have installed the facebook integration mod in smf forum but i don't know how to create facebook application. and here the
information on creating your application on facebook link is down. please help me to create facebook application for integration
Title: Re: SA Facebook Integration
Post by: coucnilhomeswap on September 17, 2012, 05:05:13 AM
This mod does not autopost to facebook. I have to do it manually the same as my members and it does not post to the Facebook page i spesify it posts to my profile it self which is not what i want.


And i cant access the sa mods site as it doesnt exist any more
Title: Re: SA Facebook Integration
Post by: vbgamer45 on September 17, 2012, 01:28:28 PM
Are their any errors? Also make sure you need to give permission to the app for facebook to allow it to post.

SA mods site no longer exists.
Title: Re: SA Facebook Integration
Post by: fth93 on September 17, 2012, 04:38:11 PM
Hello,
I only need this module for Facebook Login/Registration, and for this purpose it works fine. However, despite having no other features enabled, it asks new users singing through FB for extended permission to publish under their name. Is it really needed for login/registration only and if no, can I disable it somehow? Thanks.
Title: Re: SA Facebook Integration
Post by: coucnilhomeswap on September 17, 2012, 04:53:18 PM
Quote from: vbgamer45 on September 17, 2012, 01:28:28 PM
Are their any errors? Also make sure you need to give permission to the app for facebook to allow it to post.

SA mods site no longer exists.


no errors and all permissions ect granted for Facebook app
Title: SA facebook integration , API Error Code: 191
Post by: frm.da.hell on September 19, 2012, 07:50:54 AM
I have installed SA facebook integration and created app in facebook. I already edited SA FACEBOOK integration admin page with app code and secret but now when I try to connect my forum via facebook I get this error:
An error occurred with ****** Please try later

API Error Code: 191
API Error Description: The specified URL is not owned by the application
Error Message: Invalid redirect_uri: Given URL is not permitted by the application configuration.

Thanks in advance!
Title: Re: SA Facebook Integration
Post by: rickyherbal on September 20, 2012, 03:17:38 AM
Hi, I'm writing this post with google translate, I hope you manage to figure it out. My problem is as follows. In my forum I installed the integration with facebook, and I've configured so that the topics are reported on the facebook fan page, everything works properly except for the character encoding and tag html, why?

ps. � = Accented characters

(http://i50.tinypic.com/2nk3oth.png)
Title: Re: SA Facebook Integration
Post by: hiboy on September 22, 2012, 05:03:30 AM
Hi, how do i edit the meta "og" tag ?
i tried editting in facebookHooks.php ,but the setting did not change ,any help?
Title: Re: SA Facebook Integration
Post by: kat on September 22, 2012, 04:37:33 PM
Apparently, the link on first post is broken and somebody considered that something to report to the moderators... ***Rolls eyes***
Title: Re: SA Facebook Integration
Post by: hiboy on September 23, 2012, 02:12:09 AM
Quote from: hiboy on September 22, 2012, 05:03:30 AM
Hi, how do i edit the meta "og" tag ?
i tried editting in facebookHooks.php ,but the setting did not change ,any help?

Can anyone help on this? Greatly appreciate it.
Title: Re: SA Facebook Integration
Post by: AMWebby on September 23, 2012, 01:09:23 PM
I've got it all set up and can publish posts to Facebook but Facebook log in still returns an error from Facebook. Anyone have any idea why? AFAIK I have done everything correctly (I have read this thread from start to end) but, without the missing guide to setting up your Facebook application I fear I may have missed some vital step.
Title: Re: SA Facebook Integration
Post by: AMWebby on September 24, 2012, 06:26:53 AM
I've just noticed that the login with Facebook link doesn't pass any parameters to Facebook and is simply "https://www.facebook.com/dialog/oauth?" Where do I fix this?
Title: Re: SA Facebook Integration
Post by: AMWebby on September 25, 2012, 11:48:00 AM
Quote from: LOVELORD on September 15, 2012, 01:55:37 PM
Edit. I finaly fix problem...

I delete curl_exec and curl_multi_exec

now everything work perfet...
Where did you delete these from?
Title: Re: SA Facebook Integration
Post by: vbgamer45 on September 25, 2012, 11:51:16 AM
Those are important parts for fetching data. Try to ensure you have curl enabled in your hosting.
Title: Re: SA Facebook Integration
Post by: AMWebby on September 25, 2012, 11:54:30 AM
curl is enabled as shown in the About page, "Curl PHP extension found"

I just don't understand why my installation works fine with the social stuff but passes no parameters for log on.

Edit: Maybe it doesn't work so well. Just "Published" a post to my wall from SMF and now the forum is blank until I delete cookies.
Title: Re: SA Facebook Integration
Post by: SourBob on September 27, 2012, 01:33:26 PM
Quote from: K@ on September 22, 2012, 04:37:33 PM
Apparently, the link on first post is broken and somebody considered that something to report to the moderators... ***Rolls eyes***

I don't know if that's "report to the moderators" material, either.

But it'd sure be nice if the link was fixed. I'm currently sifting through 148 pages trying to find new instructions for creating the FB app.
Title: Re: SA Facebook Integration
Post by: SMFHacks.com Team on September 27, 2012, 01:44:23 PM
Quote from: SourBob on September 27, 2012, 01:33:26 PM
Quote from: K@ on September 22, 2012, 04:37:33 PM
Apparently, the link on first post is broken and somebody considered that something to report to the moderators... ***Rolls eyes***

I don't know if that's "report to the moderators" material, either.

But it'd sure be nice if the link was fixed. I'm currently sifting through 148 pages trying to find new instructions for creating the FB app.
All that information is lost. Have to rewrite it some day.
Title: Re: SA Facebook Integration
Post by: AMWebby on September 27, 2012, 01:53:01 PM
I sure would be nice, as the mod is useless without it. I've given up trying to get it to work and am hoping the new My Space beats Failbook into a corner.
Title: Re: SA Facebook Integration
Post by: Manu.G on September 30, 2012, 04:01:37 AM
I still get thousands of such entries in my error-log:

Quote2: htmlentities() [<a href='function.htmlentities'>function.htmlentities</a>]: charset `ISO-8859-2' not supported, assuming iso-8859-1
File: /.../.../.../.../forum/Sources/Facebook/FacebookHooks.php
Line: 159

What's wrong and how can this be solved?
Title: Re: SA Facebook Integration
Post by: waheedkhan123 on October 01, 2012, 02:43:21 AM
how to aplly
Title: Re: SA Facebook Integration
Post by: Uhura! on October 11, 2012, 08:14:08 AM
Awesome mod!

Question:

The registration button for this says "I accept the terms of this agreement."

I would like it to say "I accept the terms of this agreement and I am at least 18 years old."

How do I make this change?

Thanks!
Title: Re: SA Facebook Integration
Post by: miked1 on October 14, 2012, 07:44:06 PM
I've downloaded this mod with no troubles. Then created an app on facebook, but when I click on the facebook button under register I get an error "An error occurred. Please try again later". I have a feeling I didn't set up the facebook app correctly, but I don't know because facebook help is terrible. Anybody got suggestions?
Title: Re: SA Facebook Integration
Post by: cmc87 on October 15, 2012, 06:12:29 PM
Just came across this mod, I'm pretty excited to get it working. In the meantime, I am having some issues. I've set up my Facebook, taken the info I need from it and installed the mod.

My issue is when trying to login as a facebook user. The FB login button comes up, all good, get to the terms and agreements (of my site, you know, the SMF ones), click Accept and I am greeted by a 500 error. Took a screen of it, see attachments.

When checking the logs, this is the error I receive:
Premature end of script headers: index.php, referer: /forums/index.php?action=facebookintegrate;area=connect;agree
Now, what is odd, is I had someone else try it (tech support of my hosting company lol) and they did NOT get a 500 error, but "No connection to facebook found"

Any ideas? For the moment I will disable the mod until I can sort it out.

P.S: I did check file permissions, they are OK. A lot were set to 666, to which I changed to 644. All directories should be 755 and files are 644. Same error.
I tried different versions of PHP as well, 5.2, 5.3, w/FastCGI, w/o FastCGI - no change in error.
Title: Re: SA Facebook Integration
Post by: karlh1 on October 15, 2012, 08:20:08 PM
Need some help.
I love the mod, but having a small problem.
If an existing member connects their account with facebook everything works just fine.
But if a new member tries to register thru their fb account the fb log in box comes up and when they fill it in and click log in an error comes up
An error has occurred please try again later. but it does log them into their facebook account just doesn't register on forum
They can then log into forum the normal way and connect account and everything is fine.

Any help would be greatly appreciated.
Title: Re: SA Facebook Integration
Post by: cmc87 on October 17, 2012, 01:50:50 AM
No one has any ideas? :(
Quote from: cmc87 on October 15, 2012, 06:12:29 PM
Just came across this mod, I'm pretty excited to get it working. In the meantime, I am having some issues. I've set up my Facebook, taken the info I need from it and installed the mod.

My issue is when trying to login as a facebook user. The FB login button comes up, all good, get to the terms and agreements (of my site, you know, the SMF ones), click Accept and I am greeted by a 500 error. Took a screen of it, see attachments.

When checking the logs, this is the error I receive:
Premature end of script headers: index.php, referer: /forums/index.php?action=facebookintegrate;area=connect;agree
Now, what is odd, is I had someone else try it (tech support of my hosting company lol) and they did NOT get a 500 error, but "No connection to facebook found"

Any ideas? For the moment I will disable the mod until I can sort it out.

P.S: I did check file permissions, they are OK. A lot were set to 666, to which I changed to 644. All directories should be 755 and files are 644. Same error.
I tried different versions of PHP as well, 5.2, 5.3, w/FastCGI, w/o FastCGI - no change in error.
Title: Re: SA Facebook Integration
Post by: cmc87 on October 17, 2012, 08:39:26 PM
Fixed the issue. It ended up being a corrupt index.php file... not sure how it was corrupt but I would assume it had some whitespace or something that I couldn't find by skimming it.
Title: Re: SA Facebook Integration
Post by: generustman on October 18, 2012, 12:32:39 PM
Need some help from anyone who can

My site is a Facebook Gaming site. We use this mod for login to our site and this helps us make sure people are actually on Facebook

Here is my question (did this before on another site but cant remember how I did ...LOL)

I want to remove any regular SMF login boxes and only have the Facebook Connect button. In other words I dont want someone to login or register by typing in their data they must hit the Facebook Connect button.


Any help appreciated or would even pay a little something to have someone do for me
Title: Re: SA Facebook Integration
Post by: PSPguru on October 28, 2012, 06:54:02 PM
Can anybody help please, I'm still having hard time to make a facebook application , can you please refer me where I can find it. I really want to install this mod please. Thank you for your help in advance
Title: Re: SA Facebook Integration
Post by: LaurensPlace on October 29, 2012, 06:58:33 AM
Awesome mod, just curious anyone notice a boost in new members who join using facebook?
Title: Re: SA Facebook Integration
Post by: stylusss on October 29, 2012, 09:43:31 AM
It usually weeds out the people that only want to join for 10 minutes for whatever reason. The honest ones usually join via normal registration.
Title: Re: SA Facebook Integration
Post by: skeld on October 29, 2012, 05:25:35 PM
Ive looked every where and cant seem to find the answer.

is there anyway that you can import the users facebook avatar as default when they sign up using facebook? at the moment they have to go into there settings and click import facebook avatar. id like to do this automatically.

thanks
Title: Re: SA Facebook Integration
Post by: humbleworld on October 30, 2012, 11:29:09 AM
The original link that is supposed to contain a guide how to create Facebook app is dead.

May I know where we can read a step-by-stem instruction how to make a Facebook app and get a token access. Facebook guide is kind of unfriendly to newbies.
Title: Re: SA Facebook Integration
Post by: generustman on October 30, 2012, 12:45:16 PM
Quote from: PSPguru on October 28, 2012, 06:54:02 PM
Can anybody help please, I'm still having hard time to make a facebook application , can you please refer me where I can find it. I really want to install this mod please. Thank you for your help in advance

http://custom.simplemachines.org/mods/index.php?mod=2322
Title: Re: SA Facebook Integration
Post by: Adrek on October 30, 2012, 01:13:03 PM
Quote from: humbleworld on October 30, 2012, 11:29:09 AM
The original link that is supposed to contain a guide how to create Facebook app is dead.

May I know where we can read a step-by-stem instruction how to make a Facebook app and get a token access. Facebook guide is kind of unfriendly to newbies.
You can try this: http://www.simplemachines.org/community/index.php?topic=450515.msg3424290#msg3424290 but I can't guarantee that this will work with FB integration mod.mod.
Title: Re: SA Facebook Integration
Post by: SA™ on October 31, 2012, 01:13:35 PM
Yes that guid will work with this mod
Title: Re: SA Facebook Integration
Post by: rizkirprod on October 31, 2012, 03:18:35 PM
(https://dl.dropbox.com/u/93334713/login.png)

(https://dl.dropbox.com/u/93334713/twitt.png)

how to change the button to the side
Title: Re: SA Facebook Integration
Post by: preet0925 on November 01, 2012, 05:42:02 AM
i was successfully integrated the sa facebook
integration mod but posts are not automataclly
post on facebook page from our website?
Title: Re: SA Facebook Integration
Post by: LOVELORD on November 01, 2012, 03:00:39 PM
I have problem with people registration. I create application, and sucesfully asociate my account with facebook, but when someone else want to asociate account he receive error no conectin with facebook found. Also when someone try to register throuth facebook he recive error 41. And cant register account.

Any help?
Title: Re: SA Facebook Integration
Post by: DMR123 on November 02, 2012, 11:17:12 AM
That link in the first post doesnt work...

How can I create the app in facebook. I was in the developers area, But when I linked to facebook it said I didnt own the page so it didnt work.

Are there any video tutorials?

Cheers
Title: Re: SA Facebook Integration
Post by: preet0925 on November 02, 2012, 10:00:45 PM
dear sir please check my website http://www.openlions.com when anyone post new topics on website they are automatically not post on the our web's facebook page http://www.facebook.com/OpenLionsCoM
Title: Re: SA Facebook Integration
Post by: techguy on November 03, 2012, 01:57:55 PM
Quote from: Spoogs on February 12, 2010, 06:27:40 PM
Quote from: Darkstar1337 on February 12, 2010, 06:15:33 PM
Just tried testing it by trying to sign in via FB and get this

QuoteThe application you are trying to access does not exist or has been disabled.
1. Did you create an application on facebook
2. Did you setup that application correctly
(if you need help with this let me know)

The mod is just awesome, i have a small question.

I have links on my website to download stuff, can we hide the link and get an option to like us on facebook to see thelinks.
I would appreciate if you can tell me
Title: Re: SA Facebook Integration
Post by: rizkirprod on November 04, 2012, 06:33:34 AM
Quote from: LOVELORD on November 01, 2012, 03:00:39 PM
I have problem with people registration. I create application, and sucesfully asociate my account with facebook, but when someone else want to asociate account he receive error no conectin with facebook found. Also when someone try to register throuth facebook he recive error 41. And cant register account.

Any help?
are you using URL management ?
I get same probleme when using PrettyURL..
you can try change URL Redirect in APP Facebook to your link after URL management
in my case i use domainname.com/?action=facebook
and try use www or without it

*Sorry for My Bad English
Title: Re: SA Facebook Integration
Post by: LOVELORD on November 05, 2012, 10:39:21 PM
Quote from: rizkirprod on November 04, 2012, 06:33:34 AM
are you using URL management ?
I get same probleme when using PrettyURL..
you can try change URL Redirect in APP Facebook to your link after URL management
in my case i use domainname.com/?action=facebook
and try use www or without it

*Sorry for My Bad English

I use prryurl too and have same problem. Where i can add that?

I change and create mydomain.com/facebook 
Title: Re: SA Facebook Integration
Post by: Kindred on November 06, 2012, 02:12:25 AM
Just get rid of prett urls. It is useless for seo and will screw up many mods
Title: Re: SA Facebook Integration
Post by: available on November 06, 2012, 03:48:13 AM
thank for great mod
Title: Re: SA Facebook Integration
Post by: rizkirprod on November 07, 2012, 03:18:41 AM
Quote from: LOVELORD on November 05, 2012, 10:39:21 PM
Quote from: rizkirprod on November 04, 2012, 06:33:34 AM
are you using URL management ?
I get same probleme when using PrettyURL..
you can try change URL Redirect in APP Facebook to your link after URL management
in my case i use domainname.com/?action=facebook
and try use www or without it

*Sorry for My Bad English

I use prryurl too and have same problem. Where i can add that?

I change and create mydomain.com/facebook
You can add to your APPS Facebook or you can try
In Pretty URLs Administration Setting you can add Skip Actions List: http://www.yourdomain.com/index.php?action=facebook
or you can uncheck option Rewrite Action URLs  in URL rewriting filters.

Dont forget to clear cache your forum (Maintenance - Forum Maintenance - Empty the file cache - Run Task Now)
Title: Re: SA Facebook Integration
Post by: admn_superwoman on November 10, 2012, 05:07:42 PM
The link with instructions for FB app is invalid. Any suggestions?
Title: Re: SA Facebook Integration
Post by: techguy on November 11, 2012, 09:35:52 AM
Quote from: techguy on November 03, 2012, 01:57:55 PM
Quote from: Spoogs on February 12, 2010, 06:27:40 PM
Quote from: Darkstar1337 on February 12, 2010, 06:15:33 PM
Just tried testing it by trying to sign in via FB and get this

QuoteThe application you are trying to access does not exist or has been disabled.
1. Did you create an application on facebook
2. Did you setup that application correctly
(if you need help with this let me know)

The mod is just awesome, i have a small question.

I have links on my website to download stuff, can we hide the link and get an option to like us on facebook to see thelinks.
I would appreciate if you can tell me
Please help me team
Title: Re: SA Facebook Integration
Post by: Kindred on November 11, 2012, 03:46:45 PM
No, there is no capability in this mod to do that.
Title: Re: SA Facebook Integration
Post by: cebu on November 11, 2012, 10:53:36 PM
Is this mod still available? I tried to download it but its giving me this message

"Welcome to Simple Machines.


We are currently down for maintenance to our server infrastructure.
We apologise for any inconvenience.
We expect to be back in approximately 30 to 45 minutes.


For urgent support, please visit:
Our backup forum

Thank you for your patience!"

But with the other mods i dont have problems downloading.
Title: Re: SA Facebook Integration
Post by: DMR123 on November 13, 2012, 03:15:51 PM
Hi,
Hopefully someone can provide me with some help..

The app has been created via facebook, when logged out on the forum and I select "facebook" it allows me to post that way, and it shows the members of the page.  However, if I try to register using facebook I get an error message "No connection to facebook found".  I got this message before and it was because I was using www. in the url, but when I removed it, the error message had gone and it allowed me to get to the point where you allowed the app to post for you.  But after that the error message stating the connection with facebook was not found.

Does anyone know why this is happening?

Cheers
Title: Re: SA Facebook Integration
Post by: humbleworld on November 14, 2012, 06:06:38 AM
Quote from: PSPguru on October 28, 2012, 06:54:02 PM
Can anybody help please, I'm still having hard time to make a facebook application , can you please refer me where I can find it. I really want to install this mod please. Thank you for your help in advance
You have to go to developers.facebook.com. Apply as a developer, then you will get a Welcome message from Facebook after you are being accepted. After you are registered as a Facebook Developer, you can now create an app for your website.
Title: Re: SA Facebook Integration
Post by: techguy on November 14, 2012, 08:49:15 AM
Hi team,
As mentioned before this mod is just simple and fantastic I have a small issue hope it could be resolved ASAP.

I installed smf 2.03 and installed all themes I required.
I also installed Sa Facebook Mod, in the default theme of smf the Facebook login button is seen but if I switch themes the Facebook login button is not visible.
How can I get it to work on other thenes
Title: Re: SA Facebook Integration
Post by: Kindred on November 14, 2012, 08:55:41 AM
there is no such thing as smf 2.03
Title: Re: SA Facebook Integration
Post by: SA™ on November 14, 2012, 08:55:53 AM
2.0.3? if it dont show in other themes your have to add the button manualy everything you need is in the socialhooks part in fb admin
Title: Re: SA Facebook Integration
Post by: techguy on November 14, 2012, 09:01:39 AM
Hi all,
I uninstalled and reinstalled smf due to some issue with conf files.
Now when I try to login to FB I get this error message.

An error occurred. Please try again later.

API Error Code: 191
API Error Description: The specified URL is not owned by the application
Error Message: Invalid redirect_uri: Given URL is not allowed by the Application configuration.
Title: Re: SA Facebook Integration
Post by: techguy on November 15, 2012, 01:23:27 AM
Quote from: SA™ on November 14, 2012, 08:55:53 AM
2.0.3? if it dont show in other themes your have to add the button manualy everything you need is in the socialhooks part in fb admin
How to do that please explain?
Title: Re: SA Facebook Integration
Post by: SA™ on November 15, 2012, 09:33:15 AM
well you grab the code from social hooks in fb admin and place it in your index.template.php were you want it i dont have a computer again so i cant hold your hand and walk you thru it  8)
Title: Re: SA Facebook Integration
Post by: humbleworld on November 17, 2012, 07:11:08 PM
Facebook Page and Like Button for individual post have different counting of FB likes.

I spread the Like Button of FB in all pages of the forum. But I want that if someone likes a post in the forum, the count of the Like will be credited to the Facebook Page of the forum.

How shall I modify the code so that any Like to an individual post/topic will be credited to our Facebook Page?

Thank you.
Title: Re: SA Facebook Integration
Post by: techguy on November 19, 2012, 12:08:18 AM
Quote from: SA™ on November 15, 2012, 09:33:15 AM
well you grab the code from social hooks in fb admin and place it in your index.template.php were you want it i dont have a computer again so i cant hold your hand and walk you thru it  8)

Can you please give me a little que, on how to do this, I am new to smf & php stuff.
Title: Re: SA Facebook Integration
Post by: bocky on November 19, 2012, 12:55:39 PM
Hi there,

I'm trying to use this mod but I've run into a problem when trying to register via Facebook:

CurlException: 77: error setting certificate verify locations: CAfile: /etc/pki/tls/certs/ca-bundle.crt CApath: none

How can I fix this?

I'm running SMF 2.0.2.
Title: Re: SA Facebook Integration
Post by: techguy on November 20, 2012, 03:41:51 AM
My users are able to create account on my website using Facebook but the avatar is not getting synced, do I have to make any specific setting?
Title: Re: SA Facebook Integration
Post by: Waverlymain on November 20, 2012, 12:29:03 PM
I just posted under "Help wanted (not for support)" in regards to the SA Facebook Integration.

Here is my post that I am trying to get help with:
http://www.simplemachines.org/community/index.php?topic=491044.msg3441213#msg3441213 (http://www.simplemachines.org/community/index.php?topic=491044.msg3441213#msg3441213)
Title: Re: SA Facebook Integration
Post by: techguy on November 20, 2012, 11:29:57 PM
Quote from: techguy on November 20, 2012, 03:41:51 AM
My users are able to create account on my website using Facebook but the avatar is not getting synced, do I have to make any specific setting?
Do I need to use a diff avatar mod for getting it work?
Title: Re: SA Facebook Integration
Post by: techguy on November 21, 2012, 10:58:24 AM
Please tell me the permission I need from Facebook to get tbeir profile pic?
Title: Re: SA Facebook Integration
Post by: Lazarevics on November 21, 2012, 12:32:14 PM
Hello!

SA thanks to this mod, very cool!

I'm totally fine with this mod, except in the character encoding errors:

I read back, but it did not help me in one of those solutions. Can anyone help in this? (look this attachment)



Other:

If you do not want to [email protected] email addresses to import new users, you will find the following line in the FacebookIntegrate.php:
$newEmail = ''.$fb_object->user_info_fbuname1.'@facebook.com';

Replace with the following:

$newEmail = ''.$fb_object->user_info_fbemail;
Title: Re: SA Facebook Integration
Post by: David111567 on November 28, 2012, 04:18:50 PM
Suddenly, 2 days ago...the mod stopped working...it now shows this error when members try to log on via Facebook:


An Error Has Occurred!
CurlException: 60: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed


Nothing has changed, server-side.  It just suddenly STOPPED functioning. Any ideas?
Title: Re: SA Facebook Integration
Post by: vbgamer45 on November 28, 2012, 04:24:37 PM
Add these two lines to the cURL call in the code if you can't don't know the exact lines would have to look but this would solve it.

curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
Title: Re: SA Facebook Integration
Post by: David111567 on November 28, 2012, 04:48:32 PM
Quote from: vbgamer45 on November 28, 2012, 04:24:37 PM
Add these two lines to the cURL call in the code if you can't don't know the exact lines would have to look but this would solve it.

curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);

Which file would that be added to?
Title: Re: SA Facebook Integration
Post by: vbgamer45 on November 28, 2012, 04:51:17 PM
Looks like this file facebookauth\base_facebook.php

Find

  public static $CURL_OPTS = array(
    CURLOPT_CONNECTTIMEOUT => 10,
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_TIMEOUT        => 60,
    CURLOPT_USERAGENT      => 'facebook-php-3.1',
  );


Change to


  public static $CURL_OPTS = array(
    CURLOPT_CONNECTTIMEOUT => 10,
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_TIMEOUT        => 60,
    CURLOPT_USERAGENT      => 'facebook-php-3.1',
    CURLOPT_SSL_VERIFYPEER => false,
   CURLOPT_SSL_VERIFYHOST => false
  );
Title: Re: SA Facebook Integration
Post by: David111567 on November 28, 2012, 05:08:13 PM
Quote from: vbgamer45 on November 28, 2012, 04:51:17 PM
Looks like this file facebookauth\base_facebook.php

Find

  public static $CURL_OPTS = array(
    CURLOPT_CONNECTTIMEOUT => 10,
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_TIMEOUT        => 60,
    CURLOPT_USERAGENT      => 'facebook-php-3.1',
  );


Change to


  public static $CURL_OPTS = array(
    CURLOPT_CONNECTTIMEOUT => 10,
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_TIMEOUT        => 60,
    CURLOPT_USERAGENT      => 'facebook-php-3.1',
    CURLOPT_SSL_VERIFYPEER => false,
   CURLOPT_SSL_VERIFYHOST => false
  );


You're AWESOME, MAN!  Worked GREAT!! Thanks so much!
Title: Re: SA Facebook Integration
Post by: vbgamer45 on November 28, 2012, 05:08:33 PM
Glad to help.
Title: Re: SA Facebook Integration
Post by: David111567 on November 28, 2012, 05:46:26 PM
Okay....now members are getting THIS error message when they try to log in via Facebook:

"({ "title": "Notification Feed", "generator": "ENotify Modification for Simple Machines Forum", "items": [ ] })" 

I remember this issue from a year or so ago....but I can't find the thread regarding how to resolve it?  Help?
Title: Re: SA Facebook Integration
Post by: vbgamer45 on November 28, 2012, 06:28:23 PM
That i don't know much about but looks like a conflict with the enotify mod
Title: Re: SA Facebook Integration
Post by: David111567 on November 29, 2012, 03:35:21 PM
Quote from: vbgamer45 on November 28, 2012, 06:28:23 PM
That i don't know much about but looks like a conflict with the enotify mod

Yeah, there's a fix for this issue...it cropped up about 2 years ago....was resolved.  The problem is that the bug fix was on the old SA site, which is now history.  It's not found in this thread. So... there's the problem.  Maybe there's a member out there who remembers it and has it written down somewhere.

Thanks.

David
Title: Re: SA Facebook Integration
Post by: Mick. on November 30, 2012, 10:39:56 PM
Wow Vb, this mod come long ways man! i just started using it. Rock on!

One thing tho' i cant find the darn facebook login image in the files. Is it hosted at facebook?
Title: Re: SA Facebook Integration
Post by: Mick. on November 30, 2012, 10:52:10 PM
Nevermind, i found it, lol
Title: Re: SA Facebook Integration
Post by: vbgamer45 on December 01, 2012, 01:46:59 AM
Glad that you found it I been mostly doing bug fixes lately for it.
Title: Re: SA Facebook Integration
Post by: Hj Ahmad Rasyid Hj Ismail on December 01, 2012, 09:44:00 PM
I need some help. I want to change publish in $dtxt to post to FB. Where do I head to change this? I can do that by simply change it in the span column yet I think change it in its language is better but I couldn't find it.

I also wish to make the comment box appear in full 100% width in display page. I can't seem to find the css for it anywhere. It seems to be set at 160 height and 800 width. How can i set it to certain minimum height and width but always display in 100% width?
Title: Re: SA Facebook Integration
Post by: Howard43Willard on December 03, 2012, 03:00:19 AM
SWEET, finally approved, congrats SA on an awesome mod, loving all the features so far
(http://www.rlgf.info/16.jpg)
(http://www.rlgf.info/17.jpg)
(http://www.sbqg.info/19.jpg)
Title: Re: SA Facebook Integration
Post by: jack001 on December 03, 2012, 08:24:41 AM
great mod!!!
i want [fb connect] button and [twitter connect] button at the top of my website, visible at index page. Help me out with this.
Title: Re: SA Facebook Integration
Post by: drfun on December 03, 2012, 03:19:29 PM
I need a little help with this great mod, i successfully installed it and its working very well, but i noticed this error after it connects to facebook when user register or login, instead of taking them to my website

({ "title": "Notification Feed", "generator": "ENotify Modification for Simple Machines Forum", "items": [ ] })

and if i refresh the page, the error will clear and the user will be login on my site. please help me out and if this has been treated here, can some one kindly direct me to the thread.
Thanks
Title: Re: SA Facebook Integration
Post by: Kindred on December 03, 2012, 03:40:08 PM
wow....   the question is not only asked several times in this thread, but it was mentioned on the very last page, several posts above yours...  Try using search... it tends to save everyone time and bother.

That being said, I do not believe that the fix for the problem is in the thread....  it was on the SA site, which has been taken down and I don't think that vbgamer has added the fix to his FAQ.
Title: Re: SA Facebook Integration
Post by: drfun on December 03, 2012, 05:31:02 PM
Thanks bro for the quick respond, i will hold on a little, may be some one that did got a hold on the fix from his site might share it here.
Title: Re: SA Facebook Integration
Post by: scvoyager on December 03, 2012, 09:57:10 PM
I think this mod is a great idea. I have installed it and my first problem is when a post is made I get "The database value you're trying to insert does not exist: fb_post_id" The post is made on the forum but why is this error showing up?
Title: Re: SA Facebook Integration
Post by: David111567 on December 06, 2012, 05:48:23 AM
Quote from: scvoyager on December 03, 2012, 09:57:10 PM
I think this mod is a great idea. I have installed it and my first problem is when a post is made I get "The database value you're trying to insert does not exist: fb_post_id" The post is made on the forum but why is this error showing up?

I had that problem a while back...it has to do with the one of the database values (in my case, Sql) not being created in the initial install to store the value.  I uninstalled the mod...went to Sql, removed the databases MANUALLY that were associated with the mod...reinstalled  the mod...and it was fine. 
Title: Re: SA Facebook Integration
Post by: Eclipse16V on December 06, 2012, 05:59:19 AM
Hello,
I have the following problem:
The page http://www.sa-mods.info/index.php?topic=734.0 no longer works.
Someone else can verify the setting or settings help?

Then I have the problem at the beginning of the posts were posted on Facebook and now. Suddenly no longer Without that, I've changed something.
Title: Re: SA Facebook Integration
Post by: David111567 on December 06, 2012, 06:34:28 PM
Quote from: Eclipse16V on December 06, 2012, 05:59:19 AM
Hello,
I have the following problem:
The page http://www.sa-mods.info/index.php?topic=734.0 no longer works.
Someone else can verify the setting or settings help?


sa-mods went down over a year ago. The mod is no longer supported by him (to my knowledge) and so the topics that were discussed there (including bug-fixes and conflicts with other mods like e-notify) are no longer available.  I know....major bummer.
Title: Re: SA Facebook Integration
Post by: Kendrall on December 07, 2012, 09:29:40 AM
Quote from: David111567 on December 06, 2012, 06:34:28 PM
Quote from: Eclipse16V on December 06, 2012, 05:59:19 AM
Hello,
I have the following problem:
The page http://www.sa-mods.info/index.php?topic=734.0 no longer works.
Someone else can verify the setting or settings help?


sa-mods went down over a year ago. The mod is no longer supported by him (to my knowledge) and so the topics that were discussed there (including bug-fixes and conflicts with other mods like e-notify) are no longer available.  I know....major bummer.

I was able to access the site via the Wayback Machine (web-dot-archive-dot-org) but there's no guarantee any of the links will work.  You have to know the full URL of the topic in question; which, thanks to Eclipse, I was able to confirm there's a snapshot of it available here (http://web.archive.org/web/20101008171026/http://www.sa-mods.info/index.php?topic=734.0).

CAVEAT: I make no claim whatsoever about the content's validity or accuracy when using the Wayback Machine.
Title: Re: SA Facebook Integration
Post by: SMFHacks.com Team on December 07, 2012, 01:36:14 PM
Quote from: Kendrall on December 07, 2012, 09:29:40 AM
Quote from: David111567 on December 06, 2012, 06:34:28 PM
Quote from: Eclipse16V on December 06, 2012, 05:59:19 AM
Hello,
I have the following problem:
The page http://www.sa-mods.info/index.php?topic=734.0 no longer works.
Someone else can verify the setting or settings help?


sa-mods went down over a year ago. The mod is no longer supported by him (to my knowledge) and so the topics that were discussed there (including bug-fixes and conflicts with other mods like e-notify) are no longer available.  I know....major bummer.

I was able to access the site via the Wayback Machine (web-dot-archive-dot-org) but there's no guarantee any of the links will work.  You have to know the full URL of the topic in question; which, thanks to Eclipse, I was able to confirm there's a snapshot of it available here (http://web.archive.org/web/20101008171026/http://www.sa-mods.info/index.php?topic=734.0).

CAVEAT: I make no claim whatsoever about the content's validity or accuracy when using the Wayback Machine.

Awesome thanks! Added it to the first post
Title: Re: SA Facebook Integration
Post by: Eclipse16V on December 09, 2012, 09:36:28 AM
Quote from: Kendrall on December 07, 2012, 09:29:40 AM
Quote from: David111567 on December 06, 2012, 06:34:28 PM
Quote from: Eclipse16V on December 06, 2012, 05:59:19 AM
Hello,
I have the following problem:
The page http://www.sa-mods.info/index.php?topic=734.0 no longer works.
Someone else can verify the setting or settings help?


sa-mods went down over a year ago. The mod is no longer supported by him (to my knowledge) and so the topics that were discussed there (including bug-fixes and conflicts with other mods like e-notify) are no longer available.  I know....major bummer.

I was able to access the site via the Wayback Machine (web-dot-archive-dot-org) but there's no guarantee any of the links will work.  You have to know the full URL of the topic in question; which, thanks to Eclipse, I was able to confirm there's a snapshot of it available here (http://web.archive.org/web/20101008171026/http://www.sa-mods.info/index.php?topic=734.0).

CAVEAT: I make no claim whatsoever about the content's validity or accuracy when using the Wayback Machine.
Thank you
So I now check out my data and found no error.
Nevertheless, I still have the problem that the settings for "publish" only one session is valid. Is it normal that I have every time in the ACP "Access Token" must delete and re-generate?
How can I solve the problem?
Title: Re: SA Facebook Integration
Post by: cichy69 on December 11, 2012, 09:20:05 AM
I'm getting following error:
QuoteOAuthException: (#803) Some of the aliases you requested do not exist: me&fields=id,name,username
anyone have any idea how can I fix this?
Title: Re: SA Facebook Integration
Post by: angus231 on December 11, 2012, 10:32:32 AM
Quote from: cichy69 on December 11, 2012, 09:20:05 AM
I'm getting following error:
QuoteOAuthException: (#803) Some of the aliases you requested do not exist: me&fields=id,name,username
anyone have any idea how can I fix this?

I think it's because starting in the 5th of december have this:
"
My app used to request offline_access Permission, why can't I use that? offline_access will be deprecated on December 5th, 2012 and all apps using it should migrate to following the above steps. Further information can be found in Removal of offline_access"

the problem is the tokens....This only works with short-lived tokens that are still valid. Once they expire, your app must send the user through the auth flow again.
Title: Re: SA Facebook Integration
Post by: vbgamer45 on December 11, 2012, 10:49:45 AM
Quote from: angus231 on December 11, 2012, 10:32:32 AM
Quote from: cichy69 on December 11, 2012, 09:20:05 AM
I'm getting following error:
QuoteOAuthException: (#803) Some of the aliases you requested do not exist: me&fields=id,name,username
anyone have any idea how can I fix this?

I think it's because starting in the 5th of december have this:
"
My app used to request offline_access Permission, why can't I use that? offline_access will be deprecated on December 5th, 2012 and all apps using it should migrate to following the above steps. Further information can be found in Removal of offline_access"

the problem is the tokens....This only works with short-lived tokens that are still valid. Once they expire, your app must send the user through the auth flow again.
Bah that would quite a bit of work.

Can you send me a direct link to that page.
Title: Re: SA Facebook Integration
Post by: David111567 on December 11, 2012, 11:04:49 AM

Quoteanyone have any idea how can I fix this?

....same problem here....

"OAuthException: (#803) Some of the aliases you requested do not exist: me&fields=id,name,username"

none of my users can log in from FB. This is not good.  Any help would be great...please.

Title: Re: SA Facebook Integration
Post by: Kindred on December 11, 2012, 11:21:40 AM
vbgamer...

https://developers.facebook.com/blog/post/2012/12/05/platform-updates--operation-developer-love/
offline_access permission removal
New security restrictions for OAuth authorization codes

https://developers.facebook.com/blog/post/2012/09/05/platform-updates--operation-developer-love/
under the Announcing December 2012 Breaking Changes (90-Day Notice) section
Title: Re: SA Facebook Integration
Post by: David111567 on December 11, 2012, 11:55:37 AM
https://developers.facebook.com/blog/post/2012/09/05/platform-updates--operation-developer-love/

"New security restrictions for OAuth authorization codes
We will only allow authorization codes to be exchanged for access tokens once and will require that they be exchanged for an access token within 10 minutes of their creation. This is in line with the OAuth 2.0 Spec which from the start has stated that "authorization codes MUST be short lived and single use". For more information, check out our Authentication documentation."

Well isn't that just bleepin' special?  If I'm reading this right (and I may not be)... this app is going to require a major overhaul in order to function.  Kindred... any chance you could break this down a bit for me?  What I THINK I am hearing is that this app, which is sorta based on access tokens being longer-term (correct me if I am mistaken)... simply cannot be used for now....or patched easily? Is there a quick-fix to this that I am missing?

Title: Re: SA Facebook Integration
Post by: vbgamer45 on December 11, 2012, 12:45:38 PM
It will be some major work.
There will need to be process to check if tokens are close to expiring then sending in a new authorization request.

http://stackoverflow.com/questions/9163432/access-token-expiration-not-getting-extended

http://stackoverflow.com/questions/10021892/how-to-renew-extend-facebook-access-tokens-with-php
Title: Re: SA Facebook Integration
Post by: David111567 on December 11, 2012, 01:12:01 PM
Quote from: vbgamer45 on December 11, 2012, 12:45:38 PM
It will be some major work.
There will need to be process to check if tokens are close to expiring then sending in a new authorization request.

http://stackoverflow.com/questions/9163432/access-token-expiration-not-getting-extended

http://stackoverflow.com/questions/10021892/how-to-renew-extend-facebook-access-tokens-with-php

I don't envy you, at all, man.  Sounds complex.  Please keep me posted, if you would?  Thanks.

David
Title: Re: SA Facebook Integration
Post by: cichy69 on December 11, 2012, 06:34:12 PM
Quoteanyone have any idea how can I fix this?

....same problem here....

"OAuthException: (#803) Some of the aliases you requested do not exist: me&fields=id,name,username"

none of my users can log in from FB. This is not good.  Any help would be great...please.



I can give you my solution to this error. I don't know if this will work for you, but it works for me :)

1. Update Facebook PHP Oauth:
   a) download files from https://github.com/facebook/facebook-php-sdk/tree/master/src
   b) upload (and overwrite) all files from 'src' folder to your '/YOUR_SERVER/SMF_PATH/facebookauth' 
2. Change file '/YOUR_SERVER/SMF_PATH/Sources/Facebook/FacebookHooks.php'
   a) find line: $user_profile = $facebook->api('/me&fields=id,name,username');
   b) replace it with: $user_profile = $facebook->api('/me?fields=id,email,username');
3. OPTIONAL (I don't know if this step was necessary)
   a) Remove your application from facebook account: 'http://www.facebook.com/settings?tab=applications'
   b) Login to you smf using facebook auth, and grant permission to your app again

That was solution in my case.
Title: Re: SA Facebook Integration
Post by: David111567 on December 11, 2012, 08:22:43 PM
Quote from: cichy69 on December 11, 2012, 06:34:12 PM
Quoteanyone have any idea how can I fix this?

....same problem here....

"OAuthException: (#803) Some of the aliases you requested do not exist: me&fields=id,name,username"

none of my users can log in from FB. This is not good.  Any help would be great...please.



I can give you my solution to this error. I don't know if this will work for you, but it works for me :)

1. Update Facebook PHP Oauth:
   a) download files from https://github.com/facebook/facebook-php-sdk/tree/master/src
   b) upload (and overwrite) all files from 'src' folder to your '/YOUR_SERVER/SMF_PATH/facebookauth' 
2. Change file '/YOUR_SERVER/SMF_PATH/Sources/Facebook/FacebookHooks.php'
   a) find line: $user_profile = $facebook->api('/me&fields=id,name,username');
   b) replace it with: $user_profile = $facebook->api('/me?fields=id,email,username');
3. OPTIONAL (I don't know if this step was necessary)
   a) Remove your application from facebook account: 'http://www.facebook.com/settings?tab=applications'
   b) Login to you smf using facebook auth, and grant permission to your app again

That was solution in my case.

DUDE!!!   THIS WORKS!!!  Everything is functioning NORMALLY! The mod is back online....it's GREAT.

And no....STEP #3 is not needed. I kept my original FB app. No problems whatsoever. So far.  I'll monitor the site for the rest of the night and let you know if the mod stays functional. So far...so good.

Thank you VERY much....on behalf of myself and my forum members.
Title: Re: SA Facebook Integration
Post by: vbgamer45 on December 11, 2012, 08:37:37 PM
You probably still will need to reauthenticate every 60 days though.
Title: Re: SA Facebook Integration
Post by: David111567 on December 11, 2012, 09:00:24 PM
Quote from: vbgamer45 on December 11, 2012, 08:37:37 PM
You probably still will need to reauthenticate every 60 days though.

That will buy us two months while we wait for an update, though. I can live with that.  :-)
Title: Re: SA Facebook Integration
Post by: scvoyager on December 11, 2012, 10:34:10 PM
Quote from: Eclipse16V on December 06, 2012, 05:59:19 AM
Hello,
I have the following problem:
The page http://www.sa-mods.info/index.php?topic=734.0 no longer works.
Someone else can verify the setting or settings help?

Then I have the problem at the beginning of the posts were posted on Facebook and now. Suddenly no longer Without that, I've changed something.
Thanks for the idea. I had already done a uninistall and reinstall with no luck. I downloaded a fresh package and installed and still the same thing. When I look at the sql database their are no tables even created such as fb_. This problem was creating errors when members would post and no post count was credited to the member so I had to uninstall this one for now.
Title: Re: SA Facebook Integration
Post by: Shrink on December 11, 2012, 11:29:27 PM
Quote from: David111567 on December 11, 2012, 08:22:43 PM


DUDE!!!   THIS WORKS!!!  Everything is functioning NORMALLY! The mod is back online....it's GREAT.

And no....STEP #3 is not needed. I kept my original FB app. No problems whatsoever. So far.  I'll monitor the site for the rest of the night and let you know if the mod stays functional. So far...so good.

Thank you VERY much....on behalf of myself and my forum members.
hello Friend,
Is it works for you? Is it need any periodic work?
Title: Re: SA Facebook Integration
Post by: texasyojimbo on December 12, 2012, 02:23:02 AM
Quote from: osckar on April 03, 2012, 01:46:37 PM
Hi:

I'm using this mod with SMF 2.0.2 and I get this error when a user tries to register or an already registered user clicks on the Facebook configuration in profile:

QuoteAn error has occured

OAuthException: (#803) Some of the aliases you requested do not exist: me&fields=id,name,username

Any help is appreciated.

Thanks!

I found this issue tonight myself. After playing around with the Graph API Explorer (developers.facebook.com/tools/explorer). It looks like the mod is trying an invalid query string on the /me API. Note the ampersand in your exception message, I think there should be a question mark there instead. Also, I was able to reproduce the 803 error in the Graph API Explorer and make it go away by replacing /me& with /me?

I found my likely culprit on line 846 of FacebookHooks.php...

$user_profile = $facebook->api('/me&fields=id,name,username');

When I changed this line to...

$user_profile = $facebook->api('/me?fields=id,name,username');

... I was able to associate my FB account with my SMF account just fine.

The comment ("These api calls can be slow so were only do it if needed") and code immediately preceding leads me to believe that line 846 only comes into play some of the time. I was able to get this to work unmodified before... I suspect this is an intermittent bug that slipped through testing of the mod.

Just my $0.02. I am not a PHP developer... my day job is tech support on J2EE stuff... so perhaps there is some nuance that escapes me.
Title: Re: SA Facebook Integration
Post by: texasyojimbo on December 12, 2012, 02:25:36 AM
Aww... should have read the rest of the thread... good job cichy69!!!
Title: Re: SA Facebook Integration
Post by: texasyojimbo on December 12, 2012, 02:37:56 AM
I also humbly suggest the Mod devs re-factor the code in their next release so that this hard-coded string is somewhere easier to manipulate if/when Facebook changes their web service API (which could break the mod all over again). Maybe like somewhere near the top of the script? =)
Title: Re: SA Facebook Integration
Post by: Eclipse16V on December 12, 2012, 03:52:30 AM
Quick question in between.
It is actually normal that I now every day in the ACP needs to update Facebook access tokens? Only then will the post to Facebook.
Title: Re: SA Facebook Integration
Post by: David111567 on December 12, 2012, 05:34:02 PM
Quote from: Shrink on December 11, 2012, 11:29:27 PM
Quote from: David111567 on December 11, 2012, 08:22:43 PM


DUDE!!!   THIS WORKS!!!  Everything is functioning NORMALLY! The mod is back online....it's GREAT.

And no....STEP #3 is not needed. I kept my original FB app. No problems whatsoever. So far.  I'll monitor the site for the rest of the night and let you know if the mod stays functional. So far...so good.

Thank you VERY much....on behalf of myself and my forum members.
hello Friend,
Is it works for you? Is it need any periodic work?

Yes, it's still working.  24 hours later and members can still access via Facebook.
Title: Re: SA Facebook Integration
Post by: apexadllc on December 12, 2012, 07:34:09 PM
All you need to do is login to the FTP, find the Facebook folder under Sources, and grab the Facebookhooks.php file and open it up. 

Find:  $user_profile = $facebook->api('/me&fields=id,email,username');

around line 1691 for me, and replace it with:

  $user_profile = $facebook->api('/me?fields=id,email,username');

and you'll be working again.  Good work texasyojimbo
Title: Re: SA Facebook Integration
Post by: vbgamer45 on December 12, 2012, 08:33:16 PM
Quote from: apexadllc on December 12, 2012, 07:34:09 PM
All you need to do is login to the FTP, find the Facebook folder under Sources, and grab the Facebookhooks.php file and open it up. 

Find:  $user_profile = $facebook->api('/me&fields=id,email,username');

around line 1691 for me, and replace it with:

  $user_profile = $facebook->api('/me?fields=id,email,username');

and you'll be working again.  Good work texasyojimbo
Thanks! Made the change updated.
Title: Re: SA Facebook Integration
Post by: distante on December 12, 2012, 08:48:43 PM
Exactly what was the update? there's no changelog in the mod page
Title: Re: SA Facebook Integration
Post by: vbgamer45 on December 12, 2012, 08:52:00 PM
The change in the previous post I made
Title: Re: SA Facebook Integration
Post by: distante on December 12, 2012, 08:57:55 PM
Oh! ok sorry I wasn't looking too often this topic.

The problem with the "recovery email" is fixed also?
Title: Re: SA Facebook Integration
Post by: vbgamer45 on December 12, 2012, 09:05:26 PM
Quote from: distante on December 12, 2012, 08:57:55 PM
Oh! ok sorry I wasn't looking too often this topic.

The problem with the "recovery email" is fixed also?
I don't know about that issue.
Title: Re: SA Facebook Integration
Post by: distante on December 13, 2012, 12:29:04 AM
Well there are 2 problems as I recall, one email related, other password related.

1. When An user register using his facebook account, the default email turns into "[email protected]", so, if an user wants to change (for example) his email, he need to put his password, but he don't know it because it was selfgenerated.

2.If this user try to use the smf "recover password" feature, this email will go to [email protected] and this almost never works.
Title: Re: SA Facebook Integration
Post by: vbgamer45 on December 13, 2012, 01:01:15 AM
Ok so we should just ignore the FB email I guess.
Title: Re: SA Facebook Integration
Post by: Kindred on December 13, 2012, 07:34:53 AM
I would argue that this is a problem on the USER'S side, not the mod's....

for example... *MY* facebook account properly uses my actual email address, not my @facebook email address because I set it correctly.
Title: Re: SA Facebook Integration
Post by: Sulfur on December 13, 2012, 11:30:03 AM
hi,

is there a why to hide the facebook profile link?

thank you
Title: Re: SA Facebook Integration
Post by: SA™ on December 13, 2012, 12:54:41 PM
the @facebook email; gets used in auto rgistration so remoing it will break that though i still think the auto registration should be removed compleatly it just doesnt work with forums ok maybe it works with static web pages but forums we need to set passwords and emails this is were most of the issues come from people not knowing there passworld @facebook email not working cos that dont always work anyway it is more hassle than it is worth

most people dont think about the issues it causes and just want it cos they seen other sites like that
Title: Re: SA Facebook Integration
Post by: distante on December 14, 2012, 09:37:40 AM
I know a couple of sites that only had this mod because of the auto registration thing.

I think the best way to go is to send an PM with the random pass to the user
Title: Re: SA Facebook Integration
Post by: mikeshine on December 14, 2012, 11:11:42 AM
Cooll..... this is the exact mod that i was looking for for my new forum.
Title: Re: SA Facebook Integration
Post by: SA™ on December 14, 2012, 12:14:00 PM
Quote from: distante on December 14, 2012, 09:37:40 AM
I know a couple of sites that only had this mod because of the auto registration thing.

I think the best way to go is to send an PM with the random pass to the user

yea true but there will still be the email issue
if you want to send a pass on registering the code i posted a while ago will do just that it is in this topic somware

[edit]
here the code http://www.simplemachines.org/community/index.php?topic=365503.msg3345686#msg3345686
Title: Re: SA Facebook Integration
Post by: revwill on December 14, 2012, 10:44:06 PM
Greets, For some reason, when I logged in with my facebook account I seen in the errorlog this error:

http://smfwebdirectory/index.php?action=facebookintegrate;area=connectlog2: strtolower() expects parameter 1 to be string, array givenFile: smfserver directory/Sources/Subs-Shoutbox.php
Line: 27

one second apart logged in error.log

http://smfwebdirectory/index.php?action=facebookintegrate&amp;state=32 bit hexcode&amp;code=AQCVO9jwBv6nziPABCDFAECDc3k5PSA9gp2emJ4z_rDgszrRXnqlCjP3T8drfXgDUfMdanFJSY_hFgX3ENDQBTfUUlm-1Pz64s4tK395aUPA_QAVVzw3iF-ISTSNyAdzZUsqldLcxF9NGLz0RkB7dvOcts1M_hm7We7Zxm0936ejddfeabcefd12884YNfH7gUIdHiIw6FggZGq-ISFs4jS8aTOLC2: strtolower() expects parameter 1 to be string, array givenFile: serversmfdirectory/Sources/Subs-Shoutbox.php
Line: 27

this error only happens when someone logs in using the facebook button login from the facebook integrate mod

Hopefully someone could help me fix this I sure do Thank you.

William
Title: Re: SA Facebook Integration
Post by: distante on December 15, 2012, 11:54:45 AM
Quote from: SA™ on December 14, 2012, 12:14:00 PM
Quote from: distante on December 14, 2012, 09:37:40 AM
I know a couple of sites that only had this mod because of the auto registration thing.

I think the best way to go is to send an PM with the random pass to the user

yea true but there will still be the email issue
if you want to send a pass on registering the code i posted a while ago will do just that it is in this topic somware

[edit]
here the code http://www.simplemachines.org/community/index.php?topic=365503.msg3345686#msg3345686

Thanks! IMO this should be in the official mod.

About the email thing, I added in the description of my facebook app the line "make sure that your [email protected] email is active so you can receive notifications (if you want of course)"

Not the best solution but it's something.
Title: Re: SA Facebook Integration
Post by: Mick. on December 15, 2012, 11:39:23 PM
Quote from: apexadllc on December 12, 2012, 07:34:09 PM
All you need to do is login to the FTP, find the Facebook folder under Sources, and grab the Facebookhooks.php file and open it up. 

Find:  $user_profile = $facebook->api('/me&fields=id,email,username');

around line 1691 for me, and replace it with:

  $user_profile = $facebook->api('/me?fields=id,email,username');

and you'll be working again.  Good work texasyojimbo

This worked for me as well. Awesome, thanx.
Title: Re: SA Facebook Integration
Post by: Shrink on December 16, 2012, 11:49:09 PM
I think we set this mod so that it just grab username & other things in registration form. & user manually put their password & email address. to disallow @facebook.com, we can add email trigger *@facebook.
Little more reduce auto registration features but it solve our all problems
Title: Re: SA Facebook Integration
Post by: distante on December 17, 2012, 10:08:27 AM
Quote from: Shrink on December 16, 2012, 11:49:09 PM
I think we set this mod so that it just grab username & other things in registration form. & user manually put their password & email address. to disallow @facebook.com, we can add email trigger *@facebook.
Little more reduce auto registration features but it solve our all problems

That was the way that worked before. No many users wanted to do that in my end. People wants "two clic work"
Title: Re: SA Facebook Integration
Post by: vbgamer45 on December 17, 2012, 11:55:57 AM
Probably can add that as an option or if @facebook.com email show the enter email address form.
Title: Re: SA Facebook Integration
Post by: than on December 17, 2012, 12:06:41 PM
Quote from: SA™ on May 24, 2012, 09:31:06 AM
Quote from: nfh on May 24, 2012, 09:16:22 AM
The automatic Facebook posting feature still doesn't work properly. It works fine for the next few hours after authorizing the application, but after a while it stops posting on my Facebook page.

I would say that the FB token expires, but I am not able to figure out how to solve this on my own.

Any ideas?

in you facebook app under advance disable
Remove offline_access permission:

this mod doesnt work with the new fb permission correct yet

after doing this your have to goto fb admin publisher and run thru the auth processs again

Hi, in my app - Advanced I don't have this option, why?. How can I let the publisher work more than 2 hours please?

Thanks in advance.
Title: Re: SA Facebook Integration
Post by: revwill on December 18, 2012, 01:32:44 AM
Quote from: revwill on December 14, 2012, 10:44:06 PM
Greets, For some reason, when I logged in with my facebook account I seen in the errorlog this error:

http://smfwebdirectory/index.php?action=facebookintegrate;area=connectlog2: strtolower() expects parameter 1 to be string, array givenFile: smfserver directory/Sources/Subs-Shoutbox.php
Line: 27

one second apart logged in error.log

http://smfwebdirectory/index.php?action=facebookintegrate&amp;state=32 bit hexcode&amp;code=AQCVO9jwBv6nziPABCDFAECDc3k5PSA9gp2emJ4z_rDgszrRXnqlCjP3T8drfXgDUfMdanFJSY_hFgX3ENDQBTfUUlm-1Pz64s4tK395aUPA_QAVVzw3iF-ISTSNyAdzZUsqldLcxF9NGLz0RkB7dvOcts1M_hm7We7Zxm0936ejddfeabcefd12884YNfH7gUIdHiIw6FggZGq-ISFs4jS8aTOLC2: strtolower() expects parameter 1 to be string, array givenFile: serversmfdirectory/Sources/Subs-Shoutbox.php
Line: 27

this error only happens when someone logs in using the facebook button login from the facebook integrate mod

Hopefully someone could help me fix this I sure do Thank you.

William


Happy but safe Holidays,

Has anyone figured out a sugesstion for this error?

Thanks again

William
Title: Re: SA Facebook Integration
Post by: andy99 on December 19, 2012, 08:07:09 AM
one of the best mod I've seen in a long time. love it. great job.

question: is there a way to publish topics straight to my group instead of my wall?
also, is there a way to publish on behalf of my group name instead of my name?

thanks.. happy holidays~

/r
Andy
Title: Re: SA Facebook Integration
Post by: johnpaul2k2 on December 19, 2012, 05:01:31 PM
I started seeing this of recent? why??

what will i do??

(https://lh4.googleusercontent.com/-R6_ruKTsMz0/UNI4xFw2oII/AAAAAAAAAi4/tcWUY7a4yEQ/s740/Capture.PNG)
Title: Re: SA Facebook Integration
Post by: vbgamer45 on December 19, 2012, 05:19:07 PM
Get the latest version of the mod has a fix
Title: Re: SA Facebook Integration
Post by: johnpaul2k2 on December 19, 2012, 05:24:08 PM
do i need to uninstall and install  or upgrade ???
Title: Re: SA Facebook Integration
Post by: vbgamer45 on December 19, 2012, 05:35:08 PM
Either uninstall or upgrade
Title: Re: SA Facebook Integration
Post by: Lazarevics on December 19, 2012, 05:40:36 PM
Quote from: johnpaul2k2 on December 19, 2012, 05:01:31 PM
I started seeing this of recent? why??

what will i do??

(https://lh4.googleusercontent.com/-R6_ruKTsMz0/UNI4xFw2oII/AAAAAAAAAi4/tcWUY7a4yEQ/s740/Capture.PNG)

http://www.simplemachines.org/community/index.php?topic=365503.msg3452088#msg3452088
Title: Re: SA Facebook Integration
Post by: sukafia on December 20, 2012, 09:14:45 AM
please help this tutorial isn't working for me, the facebook developer site isn't the same as the one used in the tutorial.
Title: Re: SA Facebook Integration
Post by: Kindred on December 20, 2012, 09:42:35 AM
answered 2 or 3 pages back...   try reading the thread or using search?
Title: Re: SA Facebook Integration
Post by: revwill on December 21, 2012, 06:54:37 PM
Awesome Plugin.  Works like a champ.  Thank you.

I hope you won't mind my asking for a simple implementation, if possible, if when one clicks login instead of using the manual login on the front page, could it lead to a manual or facebook login?

For, as of now, when I click on the Login Menu Selection and I am logged into facebook prior to clicking on the login menu selection it automatically logs me into the site with my facebook credentials.  I handle my Son's website and our prayer group from church website and sometimes I am logged into the wrong facebook account.  Or, sometimes I want to log into my admin account and not my test account.  Was simply seeing if maybe I have something installed wrong or maybe something I could change so it automatically brings you to the Login screen when you are not logged into facebook and allows one to choose to use facebook or manual login credentials.

Thanks...

Have a great day and thanks again for this MOD!

William
Title: Re: SA Facebook Integration
Post by: rodelio.lagahit on December 23, 2012, 08:42:17 AM
and where's the mod link? :D
can't seem to find it or has it been removed and turned pro?
Title: Re: SA Facebook Integration
Post by: revwill on December 23, 2012, 09:35:07 AM
Hello Rodelio,

I believe you will find it here (http://custom.simplemachines.org/mods/index.php?mod=2322)
Title: Re: SA Facebook Integration
Post by: revwill on December 24, 2012, 01:40:29 AM
Quote from: revwill on December 18, 2012, 01:32:44 AM
Quote from: revwill on December 14, 2012, 10:44:06 PM
Greets, For some reason, when I logged in with my facebook account I seen in the errorlog this error:

http://smfwebdirectory/index.php?action=facebookintegrate;area=connectlog2: strtolower() expects parameter 1 to be string, array givenFile: smfserver directory/Sources/Subs-Shoutbox.php
Line: 27

one second apart logged in error.log

http://smfwebdirectory/index.php?action=facebookintegrate&amp;state=32 bit hexcode&amp;code=AQCVO9jwBv6nziPABCDFAECDc3k5PSA9gp2emJ4z_rDgszrRXnqlCjP3T8drfXgDUfMdanFJSY_hFgX3ENDQBTfUUlm-1Pz64s4tK395aUPA_QAVVzw3iF-ISTSNyAdzZUsqldLcxF9NGLz0RkB7dvOcts1M_hm7We7Zxm0936ejddfeabcefd12884YNfH7gUIdHiIw6FggZGq-ISFs4jS8aTOLC2: strtolower() expects parameter 1 to be string, array givenFile: serversmfdirectory/Sources/Subs-Shoutbox.php
Line: 27

this error only happens when someone logs in using the facebook button login from the facebook integrate mod

Hopefully someone could help me fix this I sure do Thank you.

William


Happy but safe Holidays,

Has anyone figured out a sugesstion for this error?

Thanks again

William

I went ahead and uninstalled and installed the latest dec 19th build and the above error is still there.  It does definately work but the error log shows these errors still.  Is there a way when we update that we don't loose users info?  I found that after I uninstalled and reinstalled the users had to deactivate and reactivate their facebook profile info and then it went back to working.

Thanks

William
Title: Re: SA Facebook Integration
Post by: hotwheels on December 24, 2012, 11:06:16 AM
Since converting to the newest version of SA Facebook, i can no longer upload an image with a post to facebook.

Here is what i do: If i find a new post on my website and it has an image attached to it, i click on the publish button and the facebook share page pops up, but it isn't uploading the image now. It is only uploading the link and the post title. What can i do to get this mod to upload images again?
Title: Re: SA Facebook Integration
Post by: techguy on December 24, 2012, 09:38:13 PM
Avatars are not getting synced when a new account is created.
Is there any option I have to enable
Title: Re: SA Facebook Integration
Post by: handsome_94 on December 25, 2012, 12:28:06 PM
Hi

When a user goes to the Profile-> Facebook, there he's given an option to "Disassociate Facebook account".

I want to hide as well as disable this option. I've tried going through the "php" files associated with this mod. But I wasn't able to understand how that page is displayed or even how 'facebook' option is displayed in the 'Profile' drop-down menu.

Kindly see the attached image to understand what I'm trying to say!!

Any help would be highly appreciated.

Thanks,

With regards
Rohit

Title: Re: SA Facebook Integration
Post by: handsome_94 on December 26, 2012, 08:31:10 AM
Quote from: techguy on December 24, 2012, 09:38:13 PM
Avatars are not getting synced when a new account is created.
Is there any option I have to enable

Every user would have to go to Profile-> Facebook to import his avatar manually. I don't think that it can be done automatically by default. But you can always edit stuff to make them work like you want them to work.
Title: Re: SA Facebook Integration
Post by: techguy on December 26, 2012, 09:45:31 AM
It use to work in my old smf installation?
Title: Re: SA Facebook Integration
Post by: hotwheels on December 26, 2012, 09:17:31 PM
I would just be happy if the share.php would share attachments again. Appears this may be unsupported here and I'll have to revert to the old version I was using.
Title: Re: SA Facebook Integration
Post by: hotwheels on December 27, 2012, 10:13:40 AM
Well scratch the downgrade, it won't let me.  :(
Title: Re: SA Facebook Integration
Post by: vbgamer45 on December 27, 2012, 02:48:58 PM
You could uninstall then install the old one.

But the last version is not that different at all from the new version just one fix.
Title: Re: SA Facebook Integration
Post by: techguy on December 29, 2012, 01:11:55 AM
What's the difference between Auto and manual registration
Title: Re: SA Facebook Integration
Post by: handsome_94 on December 29, 2012, 12:26:47 PM
Quote from: handsome_94 on December 25, 2012, 12:28:06 PM
Hi

When a user goes to the Profile-> Facebook, there he's given an option to "Disassociate Facebook account".

I want to hide as well as disable this option. I've tried going through the "php" files associated with this mod. But I wasn't able to understand how that page is displayed or even how 'facebook' option is displayed in the 'Profile' drop-down menu.

Kindly see the attached image to understand what I'm trying to say!!

Any help would be highly appreciated.

Thanks,

With regards
Rohit



Can anyone help me out please? I would really appreciate it.
Title: Re: SA Facebook Integration
Post by: hotwheels on December 30, 2012, 09:43:04 AM
vbgamer, i get this error when i try to install the older version i was using that worked perfectly: The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
Title: Re: SA Facebook Integration
Post by: MH-MINI on December 31, 2012, 10:42:53 AM
Hey vbgamer,

Kudos for the mod.

Just wondering, how could one store the real FB name into a custom field like the facebook profile link?

Thanks heaps
Title: Re: SA Facebook Integration
Post by: pavan061994 on January 02, 2013, 03:43:49 AM
Have A problem:

After Doing all things.... Getting error:

No connection to facebook found

and after I logged in FB.....thn it shows:

CurlException: 7: couldn't connect to host

Link: forum.risingphoenix.asia
Title: Re: SA Facebook Integration
Post by: techguy on January 07, 2013, 01:21:13 AM
Please tell me difference between manual and automatic registration??
Title: Re: SA Facebook Integration
Post by: LOVELORD on January 07, 2013, 09:35:03 AM
I have problem with pages and blocks.. When I use HTML page or block... i cant post whole page... It have limited number of characters... SO can you tell me how to fix this?
Title: Re: SA Facebook Integration
Post by: vbgamer45 on January 07, 2013, 10:02:28 AM
Quote from: LOVELORD on January 07, 2013, 09:35:03 AM
I have problem with pages and blocks.. When I use HTML page or block... i cant post whole page... It have limited number of characters... SO can you tell me how to fix this?
Is this part of the Facebook mod?
Title: Re: SA Facebook Integration
Post by: LOVELORD on January 07, 2013, 10:18:36 AM
I made mistake.. soory.. wrong topic.
Title: Re: SA Facebook Integration
Post by: hotwheels on January 08, 2013, 09:07:01 AM
Sa Facebook still won't pull an image from the first post. Sa Google+ does it with no problems and i am able to share an image. Here is what i am doing. I have a section on my site called "rat rod of the day". So we post up 1 rat rod in the section and then hit google+ which post's a picture of the rat rod to google, i hit digg and then i hit facebook. Facebook acts like it is looking for the image, but then fails to do so. Before i upgraded to the newest version of SA Facebook, it worked perfectly. I have searched and searched trying to see if i can get this to work properly again, but i am not sure what to look for in the coding to get it to pull the image again. I really miss and need this to work again. I am not posting rat rod of the day to facebook, but all i am showing people is a link to my site, no image anymore........
Title: Re: SA Facebook Integration
Post by: techguy on January 08, 2013, 11:46:30 AM
Quote from: techguy on January 07, 2013, 01:21:13 AM
Please tell me difference between manual and automatic registration??
Please help
Title: Re: SA Facebook Integration
Post by: Skaty on January 08, 2013, 03:37:44 PM
Can't publish some posts, especially some ''first posts'', anyone kwon something about this ?
Title: Re: SA Facebook Integration
Post by: GATORaid on January 12, 2013, 02:54:25 PM
I created the application, however, the setup process is different from when you posted the "how to" on that.

It seems like most of it works, but I get an error, when I click the "invite friends" button.

I get this back from Facebook:
An error occurred. Please try again later.

Also when I click the main Facebook link in the top menu is it supposed to show anything, because it's blank for me.
I get the header says Facebook in it, but nothing underneath it.

Please any help would be much appreciated. I'm not sure if this is something I setup incorrectly in my application or if this is a bug with the plugin. Thanks in advance.
Title: Re: SA Facebook Integration
Post by: Skaty on January 12, 2013, 09:54:43 PM
Quote from: !RFAN on January 21, 2012, 01:02:00 AM
i'm facing a problem..
whenever i click on "Grant Permissions" it takes me to the index page..

same problem, any solution ?  publish sometime is working somethime is not, i think this mod is forgettin that i gave a grant permission.
Title: Re: SA Facebook Integration
Post by: techguy on January 13, 2013, 10:42:11 AM
Quote from: techguy on January 08, 2013, 11:46:30 AM
Quote from: techguy on January 07, 2013, 01:21:13 AM
Please tell me difference between manual and automatic registration??
Please help
I tried manual registration and while linking the account I got an option to type user name and password for SMF site, the default Facebook name is already printed in username field and we can indeed change it.
This was really an awesome feature, but when typed a diff username I got error
Title: Re: SA Facebook Integration
Post by: Eclipse16V on January 13, 2013, 12:42:52 PM
Quote from: Skaty on January 12, 2013, 09:54:43 PM
Quote from: !RFAN on January 21, 2012, 01:02:00 AM
i'm facing a problem..
whenever i click on "Grant Permissions" it takes me to the index page..

same problem, any solution ?  publish sometime is working somethime is not, i think this mod is forgettin that i gave a grant permission.
same problem
Title: Re: SA Facebook Integration
Post by: Srinib on January 13, 2013, 02:19:44 PM
I just came across this MOD now. And a little bit confused regarding what exactly it does?

Using this MOD, can i integrate my forum with facebook sign up? I mean, can I make my forum's visitors sign up to my forum through a facebook account? Will this MOD provide my forum with a FB sign up button, where visitors can sign up to my forum using a Facebook sign in(without having to register to my forum separately) and become members?
Title: OAuthException: (#803)
Post by: devamir on January 14, 2013, 10:32:46 AM
I just uploaded the new version SMF 2.0.3.
The connection with FB is happening but when i try to register on the app, it says :
OAuthException: (#803) Some of the aliases you requested do not exist: me&fields=id,name,username
What does it mean ??
I have tried zillions of ways to connect my forum profile with FB but it keeps on giving me the same f... error!
Please...any help, suggestions or even blessings would be realy, REALY, appreciated !!
Title: Re: SA Facebook Integration
Post by: vbgamer45 on January 14, 2013, 12:41:37 PM
Please download and install the latest version of this mod.
Title: Re: SA Facebook Integration
Post by: devamir on January 15, 2013, 06:18:28 AM
OK!Thanks for the logical suggestion. I tried everything but that....
Thank you VERY MUCH!! If it work you will be my hero of the digital world!!!
Will post soon the results...
Title: Re: SA Facebook Integration
Post by: acsieben on January 15, 2013, 06:27:26 AM
Quote from: devamir on January 14, 2013, 10:32:46 AM
I just uploaded the new version SMF 2.0.3.
The connection with FB is happening but when i try to register on the app, it says :
OAuthException: (#803) Some of the aliases you requested do not exist: me&fields=id,name,username
What does it mean ??
I have tried zillions of ways to connect my forum profile with FB but it keeps on giving me the same f... error!
Please...any help, suggestions or even blessings would be realy, REALY, appreciated !!

I had this issue and reinstalled the plugin, which sorted it out.

One thing though, just in case the developer reads this: the install procedure could probably be altered to allow installations over the previous one. If you happen to install this over the previous installation even if by mistake, your setup will probably be all messed up.
Title: Re: SA Facebook Integration
Post by: devamir on January 15, 2013, 06:44:57 AM
I uninstalled the old version 2.0 RC4 Rev58 and installed the curent SA Facebook Packet and IT WORKED!!!!!!!!!!!
Thank you so much guys!!!! I kept trying different possibilitys for days...
I would burn a candle in the Church of digital advancement that you may help more out of the dark room of Waste of time...
Realy, Thank you!
Title: Help please!!!
Post by: sukafia on January 15, 2013, 02:36:22 PM
Please i need help in setting up this mod, the picture in your tutorial is different from the current facebook, the facebook developer page is different.
Title: Re: SA Facebook Integration
Post by: Jack_40k on January 15, 2013, 08:21:29 PM
I am having a few problems with the mod. Firstly, I don't really want full integration with SMF - I just want users to be able to signup to the forum using the information from their Facebook account. I don't want likes on posts or little facebook comment boxes on my forum.

Problems:

- When a user attempts to register using Facebook, they receive a white page with this message: ({ "title": "Notification Feed", "generator": "ENotify Modification for Simple Machines Forum", "items": [ ] })

- The mod adds a Facebook menu item on my site. When clicked, there is nothing there. Well it says "SA Facebook Intergration 2.0.2
© 2012 SMF Hacks". I would be happy to display your contributions down the bottom of the forum - but why do you have to add a menu button? In all honesty it's just annoying, and if the author/s force users to have this button then I will uninstall the mod.

Thanks,

Jack.
Title: Re: SA Facebook Integration
Post by: vbgamer45 on January 15, 2013, 09:00:45 PM
There is a known issue with enotify no fix at this time.

I do offer copyright removal at
http://www.smfhacks.com/copyright_removal.php
Title: Re: SA Facebook Integration
Post by: MH-MINI on January 15, 2013, 10:38:01 PM
VBGamer,

Could you please have a look at this post: http://www.simplemachines.org/community/index.php?topic=494668.msg3470493#msg3470493 ?

Do you know if there's a fix to it?

Thanks
Title: Re: SA Facebook Integration
Post by: vbgamer45 on January 15, 2013, 11:26:31 PM
no known fix for that at the moment
Title: Re: SA Facebook Integration
Post by: devamir on January 16, 2013, 09:00:06 AM
Quote from: devamir on January 15, 2013, 06:44:57 AM
I uninstalled the old version 2.0 RC4 Rev58 and installed the curent SA Facebook Packet and IT WORKED!!!!!!!!!!!
Thank you so much guys!!!! I kept trying different possibilitys for days...
I would burn a candle in the Church of digital advancement that you may help more out of the dark room of Waste of time...
Realy, Thank you!

Now i can log in with FB but visitors can't signup with facebook:
it say there is an error and to try later.

Any suggestions?
Title: Re: SA Facebook Integration
Post by: Srinib on January 17, 2013, 01:51:17 PM
Quote from: Srinib on January 13, 2013, 02:19:44 PM
I just came across this MOD now. And a little bit confused regarding what exactly it does?

Using this MOD, can i integrate my forum with facebook sign up? I mean, can I make my forum's visitors sign up to my forum through a facebook account? Will this MOD provide my forum with a FB sign up button, where visitors can sign up to my forum using a Facebook sign in(without having to register to my forum separately) and become members?

Someone out there, who is using this MOD;
Please go through my about post and just say Yes or a NO.
Title: Re: SA Facebook Integration
Post by: SA™ on January 17, 2013, 02:20:07 PM
read the mods description  8)
Title: Re: SA Facebook Integration
Post by: PowerForo on January 17, 2013, 05:24:17 PM
Hello, recently I have installed SA Facebook Integration but when I go to register a new account the forum says 'CurlException: 7: couldn't connect to host'. Do you know why the forum say this error?. Sorry for my bad english i'm spanish.
Title: Re: SA Facebook Integration
Post by: revwill on January 17, 2013, 05:45:34 PM
Quote from: Srinib on January 13, 2013, 02:19:44 PM
I just came across this MOD now. And a little bit confused regarding what exactly it does?

Using this MOD, can i integrate my forum with facebook sign up? I mean, can I make my forum's visitors sign up to my forum through a facebook account? Will this MOD provide my forum with a FB sign up button, where visitors can sign up to my forum using a Facebook sign in(without having to register to my forum separately) and become members?

Yes.  You can also visit our site to see if it what you are looking for. Divine Mercy using this fine mod (http://divinemercy.heavenboundministry.com/friends/)
Title: Re: SA Facebook Integration
Post by: Jack_40k on January 17, 2013, 11:02:53 PM
Thanks but I'm not going to pay to remove copyright for a mod which can't operate while installed with other mods that you make. Might pay to remove enotify though.. quite like that one.

Quote from: vbgamer45 on January 15, 2013, 09:00:45 PM
There is a known issue with enotify no fix at this time.

I do offer copyright removal at
http://www.smfhacks.com/copyright_removal.php
Title: Re: SA Facebook Integration
Post by: vbgamer45 on January 17, 2013, 11:56:57 PM
Ok cool sounds good let me know if you do get enotify removal can help with that.
The facebook mod and enotify I didn't write originally just took it over. So not 100% familiar with the code and all issues yet.
Title: Re: SA Facebook Integration
Post by: Skaty on January 19, 2013, 08:34:57 PM
When somebody use auto register with facebook they user names created like john.lock.7  or something like that, member's name is John Lock in facebook profile but username is creating bases to his link name.

is there a configuration for this ?
Title: Re: SA Facebook Integration
Post by: Kindred on January 19, 2013, 08:46:46 PM
no....  but a user can always adjust his or her displayed name...
Title: Re: SA Facebook Integration
Post by: Skaty on January 19, 2013, 09:28:14 PM
in smf settings is not open to change their display name :/
Title: Re: SA Facebook Integration
Post by: vmr101 on January 21, 2013, 08:30:33 PM
I have added this mod to my smf forum, when users try to register with facebook, they get redirected to fb, then when it goes back they get the following error:

OAuthException: An active access token must be used to query information about the current user.

How can I fix this.
Thanks.
Title: Re: SA Facebook Integration
Post by: vbgamer45 on January 21, 2013, 08:32:28 PM
First make sure you have it setup correctly under settings under admin you must have an active token if not refresh it to get a new one.
Title: Re: SA Facebook Integration
Post by: vmr101 on January 21, 2013, 08:43:19 PM
i am pretty sure it is setup correctly, where and how do I refresh for a new token? in facebook developer of the app?
Title: Re: SA Facebook Integration
Post by: Skaty on January 21, 2013, 10:07:34 PM
This Grant Permission this doesn't work correctly, new topics does not publish in to the page.

i wanna ask, when i gave the permission the button still is standing there, is it normal or it have to dissapear when permission is complete ?

(http://i.imgur.com/vFhwQ4H.png)
Title: Re: SA Facebook Integration
Post by: techguy on January 22, 2013, 11:05:50 AM
Please tell me how to fill these information
Title: Re: SA Facebook Integration
Post by: SA™ on January 22, 2013, 03:27:42 PM
Quote from: Skaty on January 21, 2013, 10:07:34 PM
i wanna ask, when i gave the permission the button still is standing there, is it normal or it have to dissapear when permission is complete ?

the button stays so you can reauth at anytime
Title: Re: SA Facebook Integration
Post by: vmr101 on January 22, 2013, 06:50:28 PM
Quote from: vmr101 on January 21, 2013, 08:30:33 PM
OAuthException: An active access token must be used to query information about the current user.

I have granted permissions, there is an access token below now, but the error still comes, and now happens before redirecting to facebook.
I need this fixed asap as the website is having major issues with this! Please help
Title: Re: SA Facebook Integration
Post by: vmr101 on January 25, 2013, 06:01:49 PM
Quote from: vmr101 on January 22, 2013, 06:50:28 PM
Quote from: vmr101 on January 21, 2013, 08:30:33 PM
OAuthException: An active access token must be used to query information about the current user.

I have granted permissions, there is an access token below now, but the error still comes, and now happens before redirecting to facebook.
I need this fixed asap as the website is having major issues with this! Please help

Can someone please help with this? Its been days and no response. If i dont get a response soon ill just have to delete the mod which will be a shame as it seems like a good mod, once all working.
Title: Re: SA Facebook Integration
Post by: vbgamer45 on January 25, 2013, 06:48:25 PM
Sorry don't have time at the moment to look in detail.
Title: Re: SA Facebook Integration
Post by: mistenkt on January 29, 2013, 08:50:11 AM
So i have the mod up and mostly working, Users can register and login via facebook.

However im having an issue on the user profile. The facebook -> settings option keeps telling me "No connection to facebook found". If i click the "connect to facebook now" link i just get redirected to the profile index. and it still says "no connection to facebook found" under facebook->settings.

any ideas?
Title: Re: SA Facebook Integration
Post by: mistenkt on January 30, 2013, 06:36:48 AM
Sorry for bumping this, but im really having problems with finding the cause, any help would be appreciated
Title: Re: SA Facebook Integration
Post by: joelstoner on February 01, 2013, 03:57:48 PM
QuoteOAuthException: (#803) Some of the aliases you requested do not exist: me&fields=id,name,username

This is the error i am getting as of today. I haven't tested registering a new user with facebook in about 6 months. But it was working perfectly the last time i did. To fix this error i upgraded to the 2.0.2 version of this mod, works perfectly now. Sorry to waste anyone's time, but if it helps someone else out.

Also to any mods reading this, the captcha is nearly impossible to read, i had to listen to it to figure out one letter, looked like an a but was an x.
Title: Re: SA Facebook Integration
Post by: DAVID. D.A on February 02, 2013, 07:03:59 AM
On my menu bar, there is a 'facebook' menu button which appears to just guests and links to a blank page with a footer of SA facebook mod, how do i remove this menu?
Title: Re: SA Facebook Integration
Post by: SA™ on February 02, 2013, 01:38:01 PM

Quote from: Dda on February 02, 2013, 07:03:59 AM
On my menu bar, there is a 'facebook' menu button which appears to just guests and links to a blank page with a footer of SA facebook mod, how do i remove this menu?
it not a blank page you just have not set it to show anything you can show fb comments box or/and fb fan page box on there
in facebook admin/social is were the options are
the fb fan page box defaults to my sa mod fb page when enabled

Quote from: joelstoner on February 01, 2013, 03:57:48 PM
QuoteOAuthException: (#803) Some of the aliases you requested do not exist: me&fields=id,name,username

This is the error i am getting as of today. I haven't tested registering a new user with facebook in about 6 months. But it was working perfectly the last time i did. To fix this error i upgraded to the 2.0.2 version of this mod, works perfectly now. Sorry to waste anyone's time, but if it helps someone else out.

Also to any mods reading this, the captcha is nearly impossible to read, i had to listen to it to figure out one letter, looked like an a but was an x.

update the mod if you read this topic one page back you would find your anser search is your friend
Title: Re: SA Facebook Integration
Post by: Eclipse16V on February 05, 2013, 12:35:53 PM
Quote from: Skaty on January 21, 2013, 10:07:34 PM
This Grant Permission this doesn't work correctly, new topics does not publish in to the page.

i wanna ask, when i gave the permission the button still is standing there, is it normal or it have to dissapear when permission is complete ?

(http://i.imgur.com/vFhwQ4H.png)
Same problem
Title: Re: SA Facebook Integration
Post by: OnlineFunCorner on February 06, 2013, 06:54:40 AM
SA Facebook Connect Integration mod is not working fine, when i press F Connect Now button it does not work and remaons same, may i have to do some setting in facebook applications or what?
I Installed it in 2010, that was working fine, i have done nothing, and it stop working in 2012
please help me guys, thanks
Title: Re: SA Facebook Integration
Post by: SA™ on February 06, 2013, 08:20:38 AM
have you tryed updating i do know that the api has chnaged somewhat since 2010 so if your using that older version  then it most likly wont work anymore cos facebook continuasly change there api partly the reason why i gave up this mod keeping up with fb chnages is a royal pain int he butt :P
Title: Re: SA Facebook Integration
Post by: OnlineFunCorner on February 06, 2013, 11:14:36 AM
Quote from: SA™ on February 06, 2013, 08:20:38 AM
have you tryed updating i do know that the api has chnaged somewhat since 2010 so if your using that older version  then it most likly wont work anymore cos facebook continuasly change there api partly the reason why i gave up this mod keeping up with fb chnages is a royal pain int he butt :P

new/latest version of this mod is not compatible/ installing on my SMF 2.0 RC3
Title: Re: SA Facebook Integration
Post by: Kindred on February 06, 2013, 11:17:16 AM
you need to upgrade ASAP. 2.0RC3 has several bugs, and- more importantly known security issues - which have been patched in 2.0.4

Additionally... As SA mentioned, there is very little he can do.
Facebook changed the API. The old version will no longer work. period.
Title: Re: SA Facebook Integration
Post by: markeefarmer on February 06, 2013, 11:28:18 AM
Does Facebook friend connect still work? 

Get the following error message: 

Error
An error occurred. Please try again later.

API Error Code: 100
API Error Description: Invalid parameter
Error Message: 'message' cannot be more than 60 characters
Title: Re: SA Facebook Integration
Post by: vbgamer45 on February 06, 2013, 12:41:41 PM
When do get that error and what action are you doing?
Title: Re: SA Facebook Integration
Post by: OnlineFunCorner on February 06, 2013, 02:15:40 PM
Quote from: vbgamer45 on February 06, 2013, 12:41:41 PM
When do get that error and what action are you doing?

no error occurs, when i click facebook connect now button, page refresh, and nothing happens
i think its not connecting to facebook application
Title: Re: SA Facebook Integration
Post by: djohns on February 07, 2013, 01:07:53 AM
I am confused.  Tried to set up a developer account on Facebook so I could get a "Facebook Application ID" and "Facebook Application Secret".  The developer registration wants to text me a registration validation code.  I don't have texting, however, and there's no other registration option presented--e.b. no email validation.  Is there some way around this or should I just uninstall this mod?  Is the Application ID supposed to be tied to the mod, or to the forum I administer? 

Is there a way to set up this mod so any of my forum users who have a facebook account, can do the facebook stuff?  I don't use facebook myself, but the users for which I admin the forum would like this integration if possible.
Title: Re: SA Facebook Integration
Post by: markeefarmer on February 07, 2013, 02:40:54 AM
Quote from: vbgamer45 on February 06, 2013, 12:41:41 PM
When do get that error and what action are you doing?

I get the error when I click on Facebook, then Invite Friends. 
The next screen I get is the error message above.
Title: Re: SA Facebook Integration
Post by: markeefarmer on February 07, 2013, 01:20:54 PM
Any advice on solving this one?
Title: Re: SA Facebook Integration
Post by: vbgamer45 on February 08, 2013, 05:25:53 PM
Your message is too long for "'Facebook Invitation Text<div class="smalltext">this is the text see when someone gets ivited<br />you can use {burl} to include the site address</div>'"

Can only be 60 characters
Title: Re: SA Facebook Integration
Post by: bubbacg on February 08, 2013, 11:56:59 PM
Hi all,

I have this working for Facebook login, so new users can quickly create SMF accounts from their Facebook accounts.  It seems to do just about exactly what we want and everything seems fine for the Facebook users until they want to change anything in their SMF account, like their display name or email address.  The Profile/Account Settings  page requires them to enter their "Current Password", but they never set one.  We have tried an empty string, but it fails, saying the field is required.  We tried their Facebook password, but that fails, too.  Any thoughts or suggestions?

Thanks
Title: Re: SA Facebook Integration
Post by: markeefarmer on February 09, 2013, 12:08:12 PM
Quote from: vbgamer45 on February 08, 2013, 05:25:53 PM
Your message is too long for "'Facebook Invitation Text<div class="smalltext">this is the text see when someone gets ivited<br />you can use {burl} to include the site address</div>'"

Can only be 60 characters

Have reduced and that has not fixed the problem. 
Title: Re: SA Facebook Integration
Post by: vbgamer45 on February 09, 2013, 12:31:50 PM
Same error? Try making it really small.
Title: Re: SA Facebook Integration
Post by: !RFAN on February 11, 2013, 10:29:57 AM
Hi,

I got this when I tried Open Graph Debugger:

Open Graph Warnings That Should Be Fixed

Mismatch og:url and canonical url og:  url tag in the header is not the same URL as rel='canonical' link in the html.


Quote
Response Code   200
Fetched URL   http://ourmomspot.net/community/index.php?action=forum
Canonical URL   http://ourmomspot.net/community/index.php

What could be the reason? I am using SMF 2.0.4
Title: Re: SA Facebook Integration
Post by: Looking on February 12, 2013, 07:19:36 PM
This is a very unusual Mod, at least the affect it seems to have on some servers.

What about this mod that would cause it to break php from just visiting the install page? By break I mean literally, 500 error popsup and php is no longer usable.

Could an old database that once had this mod installed cause any conflicts?

Title: Re: SA Facebook Integration
Post by: markeefarmer on February 13, 2013, 04:19:08 AM
Quote from: markeefarmer on February 09, 2013, 12:08:12 PM
Quote from: vbgamer45 on February 08, 2013, 05:25:53 PM
Your message is too long for "'Facebook Invitation Text<div class="smalltext">this is the text see when someone gets ivited<br />you can use {burl} to include the site address</div>'"

Can only be 60 characters

Have reduced and that has not fixed the problem.

Reducing it to two words fixed the problem!  Many thanks.
Title: Re: SA Facebook Integration
Post by: acsieben on February 13, 2013, 04:46:27 AM
Facebook has some "migration" settings for March and April 2013, do any of these compromise any feature of SA Facebook Mod?

Thanks
Title: Re: SA Facebook Integration 2.02
Post by: dhaval on February 13, 2013, 07:44:40 AM
hello sir

i having a problem with SA Facebook Integration 2.02
i installed it success full. but
i signup with my facebook a/c
then admin and member   page appear on site
i dont want it on member page.
for batter understand, i attach photo.
Title: Re: SA Facebook Integration
Post by: sukafia on February 14, 2013, 11:37:40 PM
Quote from: bubbacg on February 08, 2013, 11:56:59 PM
Hi all,

I have this working for Facebook login, so new users can quickly create SMF accounts from their Facebook accounts.  It seems to do just about exactly what we want and everything seems fine for the Facebook users until they want to change anything in their SMF account, like their display name or email address.  The Profile/Account Settings  page requires them to enter their "Current Password", but they never set one.  We have tried an empty string, but it fails, saying the field is required.  We tried their Facebook password, but that fails, too.  Any thoughts or suggestions?

Thanks

Why not take a look at your Facebook app settings, in my site after connecting with facebook, you're still brought back to the registration page to choose a password.
Title: Re: SA Facebook Integration
Post by: sukafia on February 14, 2013, 11:42:11 PM
So far so good my fb connect is working very well the only issue i have is that its not importing users avatars to the site as it used to in the previous design of the site and also if you're connecting with Facebook after allowing the application it brings you back to accept the terms of registration which you already accepted before having access to the fb connect page.  i need help on this. Thanks
Title: Re: SA Facebook Integration
Post by: pamidoras on February 19, 2013, 04:05:19 AM
Hi,

i installed 2.0.2 SA Facebook to SMF 2.0.4 and faced that insert quote function in quick reply is broken.
Uninstalling mod corrects the issue, however i'd like to stay with this functionality.

Does anyone have any idea what could be the cause? SMF error logs are clear, but httpd error log states when i press "Quote":

[Tue Feb 19 10:56:14 2013] [notice] child pid 11153 exit signal Segmentation fault (11)
[Tue Feb 19 10:56:14 2013] [notice] child pid 11284 exit signal Segmentation fault (11)

I've been looking into this for two days and couldn't find any solution, I would appreciate any help in finding and correcting this issue

Thank you.
Title: Re: SA Facebook Integration
Post by: vbgamer45 on February 19, 2013, 12:19:38 PM
Quote from: pamidoras on February 19, 2013, 04:05:19 AM
Hi,

i installed 2.0.2 SA Facebook to SMF 2.0.4 and faced that insert quote function in quick reply is broken.
Uninstalling mod corrects the issue, however i'd like to stay with this functionality.

Does anyone have any idea what could be the cause? SMF error logs are clear, but httpd error log states when i press "Quote":

[Tue Feb 19 10:56:14 2013] [notice] child pid 11153 exit signal Segmentation fault (11)
[Tue Feb 19 10:56:14 2013] [notice] child pid 11284 exit signal Segmentation fault (11)

I've been looking into this for two days and couldn't find any solution, I would appreciate any help in finding and correcting this issue

Thank you.

Try the attached file and copy it the
Sources/Facebook file


Let me know if it fixes the issue.
Title: Re: SA Facebook Integration
Post by: SA™ on February 19, 2013, 12:36:30 PM
out of curiosity what did you chnage?
i rember this issue but could never figar it out
Title: Re: SA Facebook Integration
Post by: vbgamer45 on February 19, 2013, 12:37:42 PM
Changed

            if (!isset($_REQUEST['xml']))
            {
                $layers = $context['template_layers'];
                $context['template_layers'] = array();
                foreach ($layers as $layer)
                {
                    $context['template_layers'][] = $layer;
                        if ($layer == 'body' || $layer == 'main')
                            $context['template_layers'][] = 'facebook';
                }
            }

To

        if (empty($_REQUEST['action']) || !in_array($_REQUEST['action'], array('dlattach', 'jsoption', '.xml')))
        {
            if (!isset($_REQUEST['xml']))
            {
                $layers = $context['template_layers'];
                $context['template_layers'] = array();
                foreach ($layers as $layer)
                {
                    $context['template_layers'][] = $layer;
                        if ($layer == 'body' || $layer == 'main')
                            $context['template_layers'][] = 'facebook';
                }
            }
        }


Title: Re: SA Facebook Integration
Post by: pamidoras on February 19, 2013, 04:46:54 PM
Quote from: vbgamer45 on February 19, 2013, 12:19:38 PM
Quote from: pamidoras on February 19, 2013, 04:05:19 AM
Try the attached file and copy it the
Sources/Facebook file
Let me know if it fixes the issue.

Hello,

Thanks for prompt reply. Just tried that, issue remains, segmentation faults in logs and insert quote in quick reply doesn't work.
Title: Re: SA Facebook Integration
Post by: RCC_SaMiaM on February 20, 2013, 12:31:25 PM
I tried installing this on a fresh install with theme phasebook, it doesn't install.  I do not get any errors, and it says it installs, but when it redirects after install it just goes to the admin center (since the mod didn't install) and checking the files that were suppose to modified I see that they were not modified. 

I tried doing it manually, but if I run install.php from the temp folder, it doesn't work, running it from SM root doesn't do anything either.  Help please :)
Title: Re: SA Facebook Integration
Post by: RCC_SaMiaM on February 20, 2013, 02:18:27 PM
ok I did find the path was not correct for the ftp, so a couple of folders were not being added.  I tried again, fresh SMF install and now it kills the forum completely.  Fresh install, no other mods or themes installed.
Title: Re: SA Facebook Integration
Post by: RCC_SaMiaM on February 21, 2013, 10:44:15 AM
Wap2 version of the site works, regular is dead
Title: Re: SA Facebook Integration
Post by: vbgamer45 on February 21, 2013, 10:48:42 AM
I would reupload the SMF files the large upgrade package if you have no other changes to your site to fix the issue or recover from the backup zip in the packages folder in the backup folder there.
Title: Re: SA Facebook Integration
Post by: RCC_SaMiaM on February 21, 2013, 10:50:10 AM
Since it is a fresh install I can easily just remove and reinstall, but I really like this mod and would like to get it to work, any ideas?
Title: Re: SA Facebook Integration
Post by: RCC_SaMiaM on February 21, 2013, 10:52:45 AM
If it makes any difference, I installed SMF with the webinstall.  Downloaded this mod, installed it and it says sucessfully installed about to redirect, dies when redirects.
Title: Re: SA Facebook Integration
Post by: vbgamer45 on February 21, 2013, 11:16:14 AM
Quote from: RCC_SaMiaM on February 21, 2013, 10:50:10 AM
Since it is a fresh install I can easily just remove and reinstall, but I really like this mod and would like to get it to work, any ideas?
Not sure really.
Webinstall vs normal install should not matter. I am guessing there is a function in the mod that does not work with your php version.
Title: Re: SA Facebook Integration
Post by: RCC_SaMiaM on February 21, 2013, 11:18:07 AM
Got 5.3.3
Title: Re: SA Facebook Integration
Post by: vbgamer45 on February 21, 2013, 11:51:59 AM
hmm that should work ok not sure unfortunately i do not have the time to go in depth to look further.
Title: Re: SA Facebook Integration
Post by: RCC_SaMiaM on February 21, 2013, 12:05:33 PM
It obviously has something to do with the template/display since looking at the wap2 version the site works.
Title: Re: SA Facebook Integration
Post by: SA™ on February 21, 2013, 12:13:38 PM
Quote from: RCC_SaMiaM on February 20, 2013, 12:31:25 PM
I tried installing this on a fresh install with theme phasebook, it doesn't install.  I do not get any errors, and it says it installs, but when it redirects after install it just goes to the admin center (since the mod didn't install) and checking the files that were suppose to modified I see that they were not modified. 

I tried doing it manually, but if I run install.php from the temp folder, it doesn't work, running it from SM root doesn't do anything either.  Help please :)

im a little confused is that still your problem?
Title: Re: SA Facebook Integration
Post by: RCC_SaMiaM on February 21, 2013, 12:14:58 PM
No I got that lined out, I can now easily install it, it just kills the whole forum when I do.
Title: Re: SA Facebook Integration
Post by: SA™ on February 21, 2013, 12:21:33 PM
5.3.3 is you php version? if so  thats fine

in your server error logs [not your forum error logs]
is there anything in there
should be a clue in there someware
Title: Re: SA Facebook Integration
Post by: RCC_SaMiaM on February 21, 2013, 12:35:30 PM
I can't find error logs on this server, centos running plesk with multiple sites.  I mean I can find the error logs, but not for that particular domain, they must not be generated.
Title: Re: SA Facebook Integration
Post by: vbgamer45 on February 21, 2013, 12:36:28 PM
Try editing your index.php fie the main file in your forum directory
Open it and find

<?php

Add after

ini_set("display_errors",1);


And visit your forum again
Title: Re: SA Facebook Integration
Post by: RCC_SaMiaM on February 21, 2013, 12:41:26 PM
Quote from: vbgamer45 on February 21, 2013, 12:36:28 PM
Try editing your index.php fie the main file in your forum directory
Open it and find

<?php

Add after

ini_set("display_errors",1);


And visit your forum again

First thing I tried and it shows nothing, still blank.
Title: Re: SA Facebook Integration
Post by: RCC_SaMiaM on February 21, 2013, 12:45:50 PM
Maybe my work network is blocking the errors, the URL is http://hasammo.com
PHP info file is http://hasammo.com/phpinfo.php

Thanks for trying to help!
Title: Re: SA Facebook Integration
Post by: SA™ on February 21, 2013, 01:03:47 PM
hmm i get this

No data received
Unable to load the webpage because the server sent no data.

going to your site
Title: Re: SA Facebook Integration
Post by: RCC_SaMiaM on February 21, 2013, 02:05:39 PM
yeah, it only happens if I install this mod.
Title: Re: SA Facebook Integration
Post by: SA™ on February 21, 2013, 03:29:32 PM
hmm im not sure with out taking a look i would need acesse to your server to find the issue with out that it just a guessing game and i not playing that :P
Title: Re: SA Facebook Integration
Post by: RCC_SaMiaM on February 21, 2013, 05:17:00 PM
If you would be willing to help I would be glad to give you access.  I do know it isn't any of the edited files in SMF since I have manually restored them and the problem still exists, has to be one the new called files for the mod.
Title: Re: SA Facebook Integration
Post by: SA™ on February 21, 2013, 05:44:27 PM
sure id be willing to help pm me
Title: Re: SA Facebook Integration
Post by: Dhayzon on February 22, 2013, 02:29:48 PM
help
An error occurred, please try again later.
(http://i.imgur.com/1zrjFac.png)
Title: Re: SA Facebook Integration
Post by: vbgamer45 on February 22, 2013, 03:38:41 PM
Are you using the latest version?
Title: Re: SA Facebook Integration
Post by: MotRude on February 22, 2013, 04:05:46 PM
I Get This Error???
An Error Has Occurred!
OAuthException: (#803) Some of the aliases you requested do not exist: me&fields=id,name,username

Title: Re: SA Facebook Integration
Post by: vbgamer45 on February 22, 2013, 04:09:47 PM
Quote from: MotRude on February 22, 2013, 04:05:46 PM
I Get This Error???
An Error Has Occurred!
OAuthException: (#803) Some of the aliases you requested do not exist: me&fields=id,name,username


Please upgrade to the latest version it has this fix.
Title: Re: SA Facebook Integration
Post by: MotRude on February 22, 2013, 04:13:27 PM
How do i upgrade?
Title: Re: SA Facebook Integration
Post by: vbgamer45 on February 22, 2013, 04:14:19 PM
Download and install the latest version from the mod site.
Title: Re: SA Facebook Integration
Post by: MotRude on February 22, 2013, 04:16:34 PM
I Just downloaded from the mod site a few hours ago...Should i try it again?
Title: Re: SA Facebook Integration
Post by: Dhayzon on February 22, 2013, 04:33:46 PM
I have the most updated version


(http://i.imgur.com/xLY9nCZ.png)

this is my settings on facebook

(http://i.imgur.com/MZA8JTH.png)


and this is the error

An error occurred, please try again later.

(http://i.imgur.com/1zrjFac.png)

this is my mod list




Title: Re: SA Facebook Integration
Post by: SA™ on February 22, 2013, 04:38:49 PM
@MotRude
i just registerd via facebook on your site fine

@dhayzon
website url.... must end with "/" or have "?" examples
    http://mysite.com/ or http://mysite.com/index.php?

Title: Re: SA Facebook Integration
Post by: MotRude on February 22, 2013, 04:40:53 PM
Thanks SA, I just did what vbgamer told me to do and now it works...thanks for helping me... :)
Title: Re: SA Facebook Integration
Post by: MotRude on February 22, 2013, 07:32:57 PM
This is a great Mod...members that had registered before this mod and want to use the facebook option it automatically makes another account...How do i combine these???
Title: Re: SA Facebook Integration
Post by: SA™ on February 22, 2013, 10:12:32 PM
just get them to sync there accounts with fb in there profile
Title: Re: SA Facebook Integration
Post by: MotRude on February 22, 2013, 11:47:56 PM
Thank you that was pretty Easy.. :)
Title: Re: SA Facebook Integration
Post by: Dhayzon on February 23, 2013, 11:14:35 AM
not working

(http://i.imgur.com/HkmCobs.png)
Title: Re: SA Facebook Integration
Post by: SA™ on February 23, 2013, 11:23:32 AM
Quote from: MotRude on February 22, 2013, 11:47:56 PM
Thank you that was pretty Easy.. :)

also if a already registerd member uses facebok and aint synced to fb and they use the same usename it will detect the already registerd member and ask if you would want to sync accounts [at least it should do that anyway :P]

Quote from: dhayzon on February 23, 2013, 11:14:35 AM
not working

(http://i.imgur.com/HkmCobs.png)
im not too sure then you did put the api keys in facebook admin?
Title: Re: SA Facebook Integration
Post by: Dhayzon on February 23, 2013, 12:34:58 PM
everything worked properly before.

but then stopped working for some strange reason

this is my settings in the admin
(http://i.imgur.com/nGzmRKs.png)
Title: Re: SA Facebook Integration
Post by: SA™ on February 23, 2013, 12:42:54 PM
i realy dont know would help if facebook gave proper error messages

an error ocured
dont realy help lol dam facebook
Title: Re: SA Facebook Integration
Post by: Arlindovsky on February 24, 2013, 12:32:31 PM
I put a new topic on my forum and set the SA facebook to put on my page too. The post does not appear on the Facebook page. What is required to configure this feature?
Title: Re: SA Facebook Integration
Post by: affaitas on February 25, 2013, 08:33:51 AM
Hi,
first of all I want to say, that is a great Mod, but I've 2 Problems.

First, is there a possibility to import the Users Location Gender and Birthdate and int's normal Mailadress and not it's Facebook-Mailadress?

And the secound Problem is if a User want to change it's Accountdata, the Accountpasswort is required to change the Data, but the Facebook integrated Accounts have no SMF Passwords, so wat can I do?

Sorry for my bad english.
Greatings
Tim
Title: Re: SA Facebook Integration
Post by: qubbah on February 26, 2013, 08:00:00 PM
when click Publish button (in post).. there is nothing happen... what is the problem exactly? tq
Title: Re: SA Facebook Integration
Post by: qubbah on March 04, 2013, 08:24:43 AM
How can i remove pop up facebook window when login?
Title: Re: SA Facebook Integration
Post by: vbgamer45 on March 04, 2013, 09:35:52 AM
Quote from: qubbah on March 04, 2013, 08:24:43 AM
How can i remove pop up facebook window when login?
I think that is required. Since it has to communicate to facebook if you are logging in using facebook.com
Title: Re: SA Facebook Integration
Post by: SA™ on March 04, 2013, 01:13:37 PM
Quote from: vbgamer45 on March 04, 2013, 09:35:52 AM
Quote from: qubbah on March 04, 2013, 08:24:43 AM
How can i remove pop up facebook window when login?
I think that is required. Since it has to communicate to facebook if you are logging in using facebook.com

i think he means  the pop up to post to fb after loggin in you can disble that in your profile/facebook
Title: Re: SA Facebook Integration
Post by: javi_24 on March 07, 2013, 12:30:58 PM
Hello

I have got a forum http://www.ustealdia.org/foro/ I installed SA Facebook, It was ok, but appeared error 500. The forum was crash.

I install another new forum http://www.ustealdia.org/prueba This forum havn't any mod, but if I install SA Facebook the error 500 appear.

I see I delete  facebook.php in facebookauth The forum is ok. In admin menu the facebooks options appers, however SA facebook IS NOT OK

The permision are 777 and I have got a dedicated server with PHP Version 5.3.2-1ubuntu4.17
Title: Re: SA Facebook Integration
Post by: vbgamer45 on March 07, 2013, 01:03:55 PM
I would check your apache webserver error logs might give a clue on what the issue is.
Title: Re: SA Facebook Integration
Post by: javi_24 on March 07, 2013, 01:49:53 PM
This is the error. I attached it. The error is 19:46 hours-.

[Thu Mar 07 19:46:09 2013] [debug] ssl_engine_kernel.c(1953): OpenSSL: Exit: error in SSLv2/v3 read client hello A
[Thu Mar 07 19:46:09 2013] [info] [client 127.0.0.1] (os 0x455a77e9)Unrecognized resolver error: SSL library error 1 in handshake (server s15532186.onlinehome-server.info:50809)
[Thu Mar 07 19:46:09 2013] [info] SSL Library Error: 336027900 error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol speaking not SSL to HTTPS port!?
[Thu Mar 07 19:46:09 2013] [info] [client 127.0.0.1] Connection closed to child 29 with abortive shutdown (server s15532186.onlinehome-server.info:50809)
[Thu Mar 07 19:46:10 2013] [info] [client 127.0.0.1] Connection to child 41 established (server s15532186.onlinehome-server.info:50809)
[Thu Mar 07 19:46:10 2013] [info] Seeding PRNG with 648 bytes of entropy
[Thu Mar 07 19:46:10 2013] [debug] ssl_engine_kernel.c(1916): OpenSSL: Handshake: start
[Thu Mar 07 19:46:10 2013] [debug] ssl_engine_kernel.c(1924): OpenSSL: Loop: before/accept initialization
[Thu Mar 07 19:46:10 2013] [debug] ssl_engine_io.c(1909): OpenSSL: read 11/11 bytes from BIO#b85b4e68 [mem: b860d2f0] (BIO dump follows)
[Thu Mar 07 19:46:10 2013] [debug] ssl_engine_io.c(1842): +-------------------------------------------------------------------------+
[Thu Mar 07 19:46:10 2013] [debug] ssl_engine_io.c(1881): | 0000: 4f 50 54 49 4f 4e 53 20-2a 20 48                 OPTIONS * H      |
[Thu Mar 07 19:46:10 2013] [debug] ssl_engine_io.c(1887): +-------------------------------------------------------------------------+


Thanks a lot
Title: Re: SA Facebook Integration
Post by: vbgamer45 on March 07, 2013, 02:20:35 PM
Looks like maybe an openssl config issue? Not sure though
[Thu Mar 07 19:46:09 2013] [info] [client 127.0.0.1] (os 0x455a77e9)Unrecognized resolver error: SSL library error 1 in handshake (server s15532186.onlinehome-server.info:50809)
Title: Re: SA Facebook Integration
Post by: OnlineFunCorner on March 08, 2013, 11:40:30 AM
1-facebook publisher is not working, when someone join forum or post new topic, nothing post on my facebook page or facebook profile
2-when I open your friends tab I got this error
OAuthException: An active access token must be used to query information about the current user.
Title: Re: SA Facebook Integration
Post by: Dianosis on March 08, 2013, 11:37:28 PM
I seem to be having mixed results with this MOD. The Recommend, Send & Publish buttons seem to work fine, the Facebook Comments box seems to work fine. But have 2 big problems.

Problem 1: I have linked my forum account to my FB account, but when I try to login to the forum using the FACEBOOK button I get the following error every time or just a blank page: OAuthException: An active access token must be used to query information about the current user.

Problem 2: I have enabled the Post Publisher and turned on the allowed Boards. I am trying to post new posts to my FB GROUP page so I entered the following:

Facebook Page ID: http://www.facebook.com/groups/alabamaoc/
Facebook User ID: http://www.facebook.com/profile.php?id=1634905212

In the Facebook Access Tokens boxes; the top box automatically filled in data, the middle box is empty, the bottom box automatically filled in data (see attached pic) & I ran the Grant Permissions button. However, when I go an created a new post on the allowed board I get the following error:

The database value you're trying to insert does not exist: fb_post_id

I have tried re-installing the MOD and changing the app, but can't seem to get the right combination. Any help? I have also attached 2 screenshots. Thanks!
Title: Re: SA Facebook Integration
Post by: SA™ on March 09, 2013, 06:56:44 AM
Facebook page id and profile id are numeric entering urls will break it
Title: Re: SA Facebook Integration
Post by: Dianosis on March 09, 2013, 11:12:25 AM
Thanks for the response on Problem 2, I know my user ID, any suggestions on how to find the Group ID?

Any suggestions on the Problem 1 error? Thanks!
Title: Re: SA Facebook Integration
Post by: javi_24 on March 09, 2013, 11:16:50 AM
Thanks, I will see Openssl
Title: Re: SA Facebook Integration
Post by: SA™ on March 10, 2013, 06:06:40 PM
Quote from: Dianosis on March 09, 2013, 11:12:25 AM
Thanks for the response on Problem 2, I know my user ID, any suggestions on how to find the Group ID?

Any suggestions on the Problem 1 error? Thanks!
119435854733743
should be your groupe id

for futer reference
http://wallflux.com/facebook_id/
you can find facebook id's there by just entering the url

for the first error got a link to your site?
Title: Re: SA Facebook Integration
Post by: Dianosis on March 11, 2013, 08:20:28 PM
Quote from: SA™ on March 10, 2013, 06:06:40 PM
Quote from: Dianosis on March 09, 2013, 11:12:25 AM
Thanks for the response on Problem 2, I know my user ID, any suggestions on how to find the Group ID?

Any suggestions on the Problem 1 error? Thanks!
119435854733743
should be your groupe id

for futer reference
http://wallflux.com/facebook_id/
you can find facebook id's there by just entering the url

for the first error got a link to your site?

Thanks for the info on the wallflux site! I entered the correct ID's and I no longer get an error message for Problem 1, the post goes through as normal on the forum but still does not post on my Group page on FB.

Here is the info requested for Problem 2:
http://www.alabamaopencarry.com/forum
Title: Re: SA Facebook Integration
Post by: Dianosis on March 11, 2013, 09:06:44 PM
Quote from: Dianosis on March 11, 2013, 08:20:28 PM
Quote from: SA™ on March 10, 2013, 06:06:40 PM
Quote from: Dianosis on March 09, 2013, 11:12:25 AM
Thanks for the response on Problem 2, I know my user ID, any suggestions on how to find the Group ID?

Any suggestions on the Problem 1 error? Thanks!
119435854733743
should be your groupe id

for futer reference
http://wallflux.com/facebook_id/
you can find facebook id's there by just entering the url

for the first error got a link to your site?

Thanks for the info on the wallflux site! I entered the correct ID's and I no longer get an error message for Problem 1, the post goes through as normal on the forum but still does not post on my Group page on FB.

Here is the info requested for Problem 2:
http://www.alabamaopencarry.com/forum

Update on problem 1, Under the the publisher settings, Publish to facebook? If I set this to PROFILE, it posts to my profile page perfectly! If I set this to PAGE. It posts nothing, anywhere except the forum as usual.... The problem seems to with posting to a Group page.... ideas?

Here is the info requested for Problem 2:
http://www.alabamaopencarry.com/forum
Title: Re: SA Facebook Integration
Post by: Dhayzon on March 11, 2013, 10:35:00 PM
(http://i.imgur.com/F54O1s6.png)

what is wrong?
Title: Re: SA Facebook Integration
Post by: boxedmein on March 15, 2013, 04:32:01 PM
Quote from: Dianosis on March 11, 2013, 09:06:44 PM
Quote from: Dianosis on March 11, 2013, 08:20:28 PM
Quote from: SA™ on March 10, 2013, 06:06:40 PM
Quote from: Dianosis on March 09, 2013, 11:12:25 AM
Thanks for the response on Problem 2, I know my user ID, any suggestions on how to find the Group ID?

Any suggestions on the Problem 1 error? Thanks!


for the first error got a link to your site?

Thanks for the info on the wallflux site! I entered the correct ID's and I no longer get an error message for Problem 1, the post goes through as normal on the forum but still does not post on my Group page on FB.

Here is the info requested for Problem 2:


Update on problem 1, Under the the publisher settings, Publish to facebook? If I set this to PROFILE, it posts to my profile page perfectly! If I set this to PAGE. It posts nothing, anywhere except the forum as usual.... The problem seems to with posting to a Group page.... ideas?

Here is the info requested for Problem 2:



go to account settings, click apps in the left column, if your app is not set to public then you need to change it, click edit, where it says Visibility of app and posts: make sure that is set to public.  I had the same problem but when I changed this setting it began working.
Title: Re: SA Facebook Integration
Post by: Dianosis on March 15, 2013, 09:16:31 PM
Thanks for the suggestion, unfortunately it looks like the app has the permissions it's needs. See the attached screenshot...

Not sure if SA has had a chance to try an log into my forum yet or not and see the issue. But certainly if u have any other ideas I welcome them. Thanks again!
Title: Re: SA Facebook Integration
Post by: nfh on March 16, 2013, 02:06:33 PM
I've been using this mod for some time and I would like to update it to its latest version.
Nonetheless, I can't find an update installation. Thus, it seems that the only mean to update it is to uninstall the previous version and install the latest after that.

Will I loose my settings if I do this? And how about users who are registered on my forum using Facebook, will they be able to login after I uninstall SMF SA and install its latest version?
Title: Re: SA Facebook Integration
Post by: Kindred on March 16, 2013, 03:01:35 PM
yes, the only way to upgrade most mods is to uninstall and the install the new version

you will not lose your settings.
Title: Re: SA Facebook Integration
Post by: Manu.G on March 16, 2013, 03:44:24 PM
I really love this mod, but it's causing thousands of entries in my error-log :(

Quote2: htmlentities() [<a href='function.htmlentities'>function.htmlentities</a>]: charset `ISO-8859-2' not supported, assuming iso-8859-1[/size]
File: /is/htdocs/.../.../.../Sources/Facebook/FacebookHooks.php
[size=78%]Line: 157

The member who is causing this log-entries isn't using "English" as language. Is there a way to solve the problem I've?
Title: Re: SA Facebook Integration
Post by: PowerForo on March 16, 2013, 06:26:51 PM
I get an erro, when I try to register my account. After to go to my app on facebook, when it come back to the forum I get an error message
"No connection to Facebook found"
"No se encontro conexion a Facebook"

What can it be?, thank you.
Title: Re: SA Facebook Integration
Post by: boxedmein on March 17, 2013, 09:18:55 AM
reply to Dianosis,

the behavior for me appears to be intermittent, I got it to publish then it just stopped.  I had to regrant permissions in the integration publisher tab before it would begin working again.

hopefully SA will log in shortly and figure out what the issue is. 
Title: Re: SA Facebook Integration
Post by: erzon on March 19, 2013, 12:32:48 PM
just want to ask.. The connect to facebook is successful.. so this mean the user has been added to database.. I check also the database the user is there.. my problem is.. what will be their password if they will login not via facebook? They tried to use the same password in facebook but its not working I tried that also it keep saying wrong password... Do I need to setup any settings to correct this?
Title: Re: SA Facebook Integration
Post by: SA™ on March 19, 2013, 03:47:52 PM
Quote from: erzon on March 19, 2013, 12:32:48 PM
just want to ask.. The connect to facebook is successful.. so this mean the user has been added to database.. I check also the database the user is there.. my problem is.. what will be their password if they will login not via facebook? They tried to use the same password in facebook but its not working I tried that also it keep saying wrong password... Do I need to setup any settings to correct this?

easy anser to that one is to not use the auto register method :P

or search thi thread your find some code that allwes you to pm the pass to the uer when registering

Quote from: boxedmein on March 17, 2013, 09:18:55 AM
reply to Dianosis,

the behavior for me appears to be intermittent, I got it to publish then it just stopped.  I had to regrant permissions in the integration publisher tab before it would begin working again.

hopefully SA will log in shortly and figure out what the issue is. 

this most likly cos facebook changed there api since this was coded

Quote from: Manu.G on March 16, 2013, 03:44:24 PM
I really love this mod, but it's causing thousands of entries in my error-log :(

Quote2: htmlentities() [<a href='function.htmlentities'>function.htmlentities</a>]: charset `ISO-8859-2' not supported, assuming iso-8859-1[/size]
File: /is/htdocs/.../.../.../Sources/Facebook/FacebookHooks.php
[size=78%]Line: 157

The member who is causing this log-entries isn't using "English" as language. Is there a way to solve the problem I've?

yeah ive known about this for a while now not sure on how to solve it tho not to good with cross languages
Title: Re: SA Facebook Integration
Post by: OnlineFunCorner on March 20, 2013, 09:47:47 AM
I have done everything correctly, but publisher did not posting new topics on my facebook page?
please help
Title: Re: SA Facebook Integration
Post by: Dblog on March 21, 2013, 12:55:24 AM
i installed FB, G+ and twitter connect mods.
each are showing their buttons (facebook like, tweet and G+) one below the other and all 3 are shown between top menu and topic.
is there anyway to make them appear one next to other and save some space ?

right now, one below other are making topic go down further and lot of white space is wasted on right next to buttons
Title: Re: SA Facebook Integration
Post by: Meen2007 on March 22, 2013, 06:37:35 AM
Why?
No connection to facebook found

(see Attachments)
smf v.2.0.2

  :-[

please help me
Title: Re: SA Facebook Integration
Post by: Meen2007 on March 24, 2013, 11:36:37 AM
Change Registration Method : Auto is Working
Manual not work  :P
Title: Re: SA Facebook Integration
Post by: jan.van.gent on March 24, 2013, 04:40:08 PM
I have the facebook plug in working! VERY NICE MOD!

But I have one more question:
I have a forum, called bimmerboard, I have a facebook page called bimmerboard vzw.
I have my personal account linked to my personal facebook account. When I like or press the publish button, something is liked or published on my personal page. What I would like to have is that when I like/publish something, it's posted on my facebook page bimmerboard vzw, and not on my personal page. Is that possible?

Best regards!

Jan
Title: Re: SA Facebook Integration
Post by: boxedmein on March 27, 2013, 09:44:23 AM
to jan.van.gent

if you go to the publisher in the facebook integration section of your forum, there is a drop down box next to "Publish to Page?" to choose between profile and page.  The profile is your personal page.  The Page in your case would be bimmerboard vzw, but the plugin seems to be broken if you choose to publish to your Page.  It will work initially but fails at some point and you'll have to regrant facebook permissions.

I stopped using the publish to Page because it was more trouble than it was worth to keep regranting the facebook permissions multiple times a day. 

note to the developer - In my testing so far, if you publish to your profile, the plugin works without fail.  The publish to page will work when you grant permissions initially, but fails shortly thereafter.  You can regrant permissions, yes, but you have to do that over and over again multiple times a day. 
Title: Re: SA Facebook Integration
Post by: Manu.G on March 27, 2013, 06:53:09 PM
Quote from: SA™ on March 19, 2013, 03:47:52 PM
Quote from: Manu.G on March 16, 2013, 03:44:24 PM
I really love this mod, but it's causing thousands of entries in my error-log :(

Quote2: htmlentities() [<a href='function.htmlentities'>function.htmlentities</a>]: charset `ISO-8859-2' not supported, assuming iso-8859-1
File: /is/htdocs/.../.../.../Sources/Facebook/FacebookHooks.php
Line: 157

The member who is causing this log-entries isn't using "English" as language. Is there a way to solve the problem I've?

yeah ive known about this for a while now not sure on how to solve it tho not to good with cross languages


I hope it will be possible to find a solution for it, because I get thousands of pages with this error in my error-log  :(
Title: Re: SA Facebook Integration
Post by: Arantor on March 27, 2013, 06:57:00 PM
There's only one way to actually solve it: convert to UTF-8. You're using a language not supported by a key function in its current setup, and moving to UTF-8 is the only way to make it consistently, repeatably work properly.
Title: Re: SA Facebook Integration
Post by: jan.van.gent on March 28, 2013, 05:20:53 AM
The registration through facebook suddenly stopped working. It used to work, but now it doesn't anymore.

When clicking the facebook logo when willing to register I get:
HTTP-fout 500 (Internal Server Error): https://www.facebook.com/dialog/oauth?client_id=589429994417766&redirect_uri=http%3A%2F%2Fbimmerfoto.be%2Fforum%2Findex.php%3Faction%3Dfacebookintegrate&state=317172ac9ab5e80b0a8ef749c5e288f5&scope=offline_access%2Cemail%2Cstatus_update%2Cpublish_stream

When I'm logged in in facebook, I can still connect (so the accounts which have been Synced still work, but it's impossible to register new ones).

B.R.
Title: Re: SA Facebook Integration
Post by: maarawoe on March 29, 2013, 06:31:02 AM
Hi,

I am the unlucky one who is running the forum on pgsql instead of mysql...
I am currently facing an issue with two functions used in one update which are mysql specific hence not woking...
UPDATE {db_prefix}boards
    SET {raw:board_feild} = IF(FIND_IN_SET(id_board, {string:board_ids}), 1, 0)',
    array(
    'board_ids' => join(',', $board_id),
    'board_feild' => $board_feild[$i],
    )
            );


Could anyone please help me to rewrite the pattern IF(FIND_IN_SET(id_board, {string:board_ids}), 1, 0) so the pgsql understands whats going on there?

Thanks! - I will really appreciate any help as I am lost...
Title: Re: SA Facebook Integration
Post by: maarawoe on April 03, 2013, 08:21:42 AM
No help? :(
Title: Re: SA Facebook Integration
Post by: vbgamer45 on April 03, 2013, 03:07:43 PM
No idea psql
Title: Re: SA Facebook Integration
Post by: Manu.G on April 04, 2013, 02:21:07 PM
Quote from: Arantor on March 27, 2013, 06:57:00 PM
There's only one way to actually solve it: convert to UTF-8. You're using a language not supported by a key function in its current setup, and moving to UTF-8 is the only way to make it consistently, repeatably work properly.

I converted to UTF-8 and everything is working fine :) Thx for the hint :)
Title: Re: SA Facebook Integration
Post by: vbgamer45 on April 04, 2013, 05:59:36 PM
Glad that you have it working!
Title: Re: SA Facebook Integration
Post by: Skaty on April 04, 2013, 11:08:06 PM
Can i delete these codes, it is given me full of error ?

$context['html_headers'] .=
Title: Re: SA Facebook Integration
Post by: Arantor on April 04, 2013, 11:20:56 PM
Um, no, that's kind of important.
Title: Re: SA Facebook Integration
Post by: Skaty on April 04, 2013, 11:53:36 PM
Okay, in that case is there a solution that you know for this error ?



209:
210: $fb_hook_object = new SAFacebookhooks;
211:
212:         if (empty($modSettings['allow_guestAccess']) && $user_info['is_guest'] && (isset($_REQUEST['action']) || in_array(isset($_REQUEST['action']), array('facebookintegrate'))))
213:         {
214:         $modSettings['allow_guestAccess'] = 1;
215:         }
216:    
217:         if (!isset($_REQUEST['xml']))
218:         {
219:             $layers = $context['template_layers'];
220:             $context['template_layers'] = array();
221:             foreach ($layers as $layer)
222:             {
223:                 $context['template_layers'][] = $layer;
224:                     if ($layer == 'body' || $layer == 'main')
225:                         $context['template_layers'][] = 'facebook';
226:             }
227:         }
228:        
==>229: $context['html_headers'] .= '
230:     <script type="text/javascript">
231:
232:             function streamPublish(name, description, hrefTitle, hrefLink, userPrompt){
233:                     FB.ui(
234:                     {
235:                         method: \'stream.publish\',
236:                         message: \'\',
237:                             attachment: {
238:                                 name: name,
239:                                 caption: \'\',
240:
241:
242:                                 description: (description),
243:                                 href: hrefLink,
244:         media:[
245: {
246: \'type\': \'image\', \'src\': \''.(!empty($modSettings['fb_app_image']) ? $modSettings['fb_app_image'] : $settings['default_theme_url'].'/images/topic/veryhot_post.gif').'\', \'href\': hrefLink
247: }
248: ]
249:                             },
Powered by SMFPacks Alerts Pro Mod
Title: Re: SA Facebook Integration
Post by: Arantor on April 04, 2013, 11:56:33 PM
You have two mods that have been spliced together badly. There's supposed to be more after line 249.

Since it's the Alerts Pro Mod that's broken, you should ask its author - the bit after line 249 shows it to be related to that...
Title: Re: SA Facebook Integration
Post by: Dhayzon on April 05, 2013, 09:23:06 PM
fix avatar user default please
Title: Re: SA Facebook Integration
Post by: Kindred on April 05, 2013, 10:31:30 PM
Quote from: dhayzon on April 05, 2013, 09:23:06 PM
fix avatar user default please


What do you mean?   The default avatar for posts coming from the site works just fine.
Title: Re: SA Facebook Integration
Post by: Dhayzon on April 12, 2013, 12:48:38 PM
Quote from: Kindred on April 05, 2013, 10:31:30 PM
Quote from: dhayzon on April 05, 2013, 09:23:06 PM
fix avatar user default please


What do you mean?   The default avatar for posts coming from the site works just fine.


new users do not have to register with default avatar facebook twitter and google+.

(http://i.imgur.com/cqkOpOB.png)

;D

(http://i.imgur.com/ACG2OHS.png)
Title: Re: SA Facebook Integration
Post by: Kindred on April 12, 2013, 01:05:43 PM
Do you have some sort of default avatar mod?   Because I don't seem to have that issue on my site.
Title: Re: SA Facebook Integration
Post by: Kindred on April 12, 2013, 03:39:01 PM
ummm.... what is that supposed to mean?
Title: Re: SA Facebook Integration
Post by: Manu.G on April 15, 2013, 05:25:28 AM
A little style problem I have :)


As you can see in the little screen the button-image for "Publish" isn't correct to see  :(
What can I do to solve this little problem?  :)
Title: Re: SA Facebook Integration
Post by: acsieben on April 23, 2013, 01:59:31 PM
Is there a thorough install / uninstall parse list to assist on uninstalling this plugin? The manual instructions parsing that this mod's page returns is far far from complete (http://custom.simplemachines.org/mods/index.php?mod=2322).

My SMB installation stopped listing most installed packages and I need to reinstall them, being this one the trickiest...

Thanks in advance

Title: Re: SA Facebook Integration
Post by: Kindred on April 23, 2013, 02:01:49 PM
actually, no....   the manual parse instructions for this mod, on the mod download page are completely correct.
Title: Re: SA Facebook Integration
Post by: acsieben on April 23, 2013, 02:06:34 PM
Quote from: Kindred on April 23, 2013, 02:01:49 PM
actually, no....   the manual parse instructions for this mod, on the mod download page are completely correct.

This is what I get from the parser, I might be doing somehting wrong:

Quote
Warning: You must create an application on facebook to use this modification
File Edits
./Themes/default/Display.template.php
Find: [Select]

// Maybe we can approve it, maybe we should?
if ($message['can_approve'])
Add Before: [Select]

    if (class_exists('SAFacebookhooks')) {
    echo
SAFacebookhooks::facebook_showPub(
    array(
'subject' => $message['subject'],
'body' => $message['body'],
'href' => $message['href'],
'isPost' => true,
        )
);
    }

Find: [Select]
if ($message['can_approve'] || $context['can_reply'] || $message['can_modify'] || $message['can_remove'] || $context['can_split'] || $context['can_restore_msg'])
Replace With: [Select]

if (!empty($context['show_publish_button']) && !$context['user']['is_logged'] || !empty($context['show_publish_button']) && $context['user']['is_logged'] || $message['can_approve'] || $context['can_reply'] || $message['can_modify'] || $message['can_remove'] || $context['can_split'] || $context['can_restore_msg'])


Code
install.php
This file should be able to execute standalone.


File Operations
Move the included directory "Facebook" to "./Sources".
Move the included file "Facebook.template.php" to "./Themes/default".
Move the included file "FacebookAdmin.template.php" to "./Themes/default".
Move the included file "images/facebook.png" to "./Themes/default/images".
Move the included directory "facebookauth" to "the root directory".
Move the included file "lang/Facebook.english.php" to "./Themes/default/languages".
Move the included file "lang/Facebook.english-utf8.php" to "./Themes/default/languages".

Title: Re: SA Facebook Integration
Post by: Kindred on April 23, 2013, 02:09:09 PM
nope. that is exactly correct.
Title: Re: SA Facebook Integration
Post by: acsieben on April 23, 2013, 02:12:41 PM
Quote from: Kindred on April 23, 2013, 02:09:09 PM
nope. that is exactly correct.


Hmm. So where can I find this part (e.g. ) in the parse instructions?

/Sources/Load.php
if (isset($_REQUEST['nocanvas']))
{
$_SESSION['canvas_fullsite'] = true;
$_SESSION['canvas_enable'] = false;
$id_theme = $modSettings['fb_app_dtheme'];
}
if (isset($_REQUEST['canvas']))
$_SESSION['canvas_enable'] = true;

$fbagents = array(
array('fbcanvas', 'http://apps.facebook.com'),
);

// Are we havin the browser?
if (isset($_SESSION['canvas_enable']) && $_SESSION['canvas_enable'] === true && empty($_SESSION['canvas_fullsite']))
$id_theme = $_SESSION['canvas_id'];
elseif (!isset($_SESSION['canvas_enable']) && empty($_SESSION['canvas_fullsite']))
{
$enable_canvas = false;
foreach ($fbagents as $device)
{
$string = $device[1];
$enable_canvas = is_bool($string) ? $string : (strpos(strtolower(isset($_SERVER['HTTP_ORIGIN'])), $string) ? true : false);
if ($enable_canvas)
break;
}

}

// We are enabling this?
$_SESSION['canvas_enable'] = isset($enable_canvas) ? $enable_canvas : $_SESSION['canvas_enable'];
if ($_SESSION['canvas_enable'])
{
$request = $smcFunc['db_query']('', '
SELECT id_theme
FROM {db_prefix}themes
WHERE id_theme = {string:value}',
array(
'value' => $modSettings['fb_app_atheme'],
)
);
if ($smcFunc['db_num_rows']($request) === 0)
$_SESSION['canvas_enable'] = false;
else
{
list($id_theme) = $smcFunc['db_fetch_row']($request);
$_SESSION['canvas_id'] = $id_theme;
}
$smcFunc['db_free_result']($request);
}
Title: Re: SA Facebook Integration
Post by: Kindred on April 23, 2013, 02:20:06 PM
oh, wait...  first, I just looked at your paste again and I realized you are missing all the FIND code. You only have the PASTE code present.


second...
where are you seeing any need to edit load.php?
the entire mod only affects Display.template.php
the rest of the mod uses smf's hooks
Title: Re: SA Facebook Integration
Post by: acsieben on April 23, 2013, 02:41:48 PM
Quote from: Kindred on April 23, 2013, 02:20:06 PM
oh, wait...  first, I just looked at your paste again and I realized you are missing all the FIND code. You only have the PASTE code present.

Yeah, that didn't get pasted, but I think you understood.


Quote from: Kindred on April 23, 2013, 02:20:06 PMsecond...
where are you seeing any need to edit load.php?
the entire mod only affects Display.template.php
the rest of the mod uses smf's hooks

Huh... As for the need... Well, I can find that specific code in that specific file, so I guessed it should be in the parsing instructions... Right? Sorry, but I can't understand all of this. :S
Title: Re: SA Facebook Integration
Post by: Kindred on April 23, 2013, 02:50:27 PM
that code is not part of this mod, so I have no idea where you get that from.

I suppose it may have been part of a previous version, but it is not used in the current revision. The current version of the mod ONLY modified display.template.php and uses hooks for the rest.
Title: Re: SA Facebook Integration
Post by: acsieben on April 23, 2013, 03:01:12 PM
Quote from: Kindred on April 23, 2013, 02:50:27 PM
that code is not part of this mod, so I have no idea where you get that from.

I suppose it may have been part of a previous version, but it is not used in the current revision. The current version of the mod ONLY modified display.template.php and uses hooks for the rest.

It probably is ... Now to find all the affected code is going to be fun. :S
Title: Re: SA Facebook Integration
Post by: acsieben on April 23, 2013, 03:56:48 PM

Quote from: Kindred on April 23, 2013, 02:50:27 PM
that code is not part of this mod, so I have no idea where you get that from.

I suppose it may have been part of a previous version, but it is not used in the current revision. The current version of the mod ONLY modified display.template.php and uses hooks for the rest.

I'm getting crazy with this. I removed the code specific of this mod from the "/Themes/default/Display.template.php" file (it was in the core theme as well), and the plugin is still functioning. Shouldn't it have stopped working?
Title: Re: SA Facebook Integration
Post by: Kindred on April 23, 2013, 04:11:26 PM
no.

since this mod uses hooks, you will need to disable the hooked entries in the database.

look in smf_settings search for variable LIKE %integration_%

and then remove the fb mod entries from those lists...   otherwise, the system calls it every time, because the database is telling it to do so.


Once again, why are you trying to uninstall this manually?
Title: Re: SA Facebook Integration
Post by: acsieben on April 23, 2013, 05:16:20 PM
Quote from: Kindred on April 23, 2013, 04:11:26 PM
no.

since this mod uses hooks, you will need to disable the hooked entries in the database.

look in smf_settings search for variable LIKE %integration_%

and then remove the fb mod entries from those lists...   otherwise, the system calls it every time, because the database is telling it to do so.


Once again, why are you trying to uninstall this manually?

I think I've successfully uninstalled and installed it. Thanks for the pointers
Title: Re: SA Facebook Integration
Post by: toastedone on April 24, 2013, 03:07:55 AM
Will this post topics only and will it include an image from that topic.
Basically what I am looking for is something that will post new forum topics to our fb page and if there is an image in the topic the image will show on the fb page also.
Title: Re: SA Facebook Integration
Post by: Kindred on April 24, 2013, 07:32:02 AM
no. I am pretty sure this will NOT include the image (but I am not absolutely certain of that)   experiment....


corrected by the author. :)
Title: Re: SA Facebook Integration
Post by: SA™ on April 24, 2013, 09:19:20 AM
yes it does grab the first image in the post that us using the [img] tags but that excludes attachments
Title: Re: SA Facebook Integration
Post by: toastedone on April 24, 2013, 02:21:40 PM
Can I only use this on a facebook account rather than a facebook page? I have regged as a developer but I can not see "set up a new application" anywhere.
Title: Re: SA Facebook Integration
Post by: Kindred on April 24, 2013, 02:30:32 PM
I use it on a page.

Create an app in developer.facebook.com

in the confis for this mod, you can choose to have it go to your profile or a page
Title: Re: SA Facebook Integration
Post by: toastedone on April 24, 2013, 02:33:15 PM
I have looked all over the developers page and i see no link to create new app
Title: Re: SA Facebook Integration
Post by: Kindred on April 24, 2013, 02:44:13 PM
it's there...   I can't go to fb from work... but I have 8 apps done myself, so I know it is there. :P
Title: Re: SA Facebook Integration
Post by: toastedone on April 24, 2013, 02:52:21 PM
Do I have to create the app before the page, because everytime I click on anything on the dev page it takes me to my page and there is not link to create a new app
Title: Re: SA Facebook Integration
Post by: ryan_dwight on April 24, 2013, 02:58:43 PM
i dont know when this happen because it is located at the bottom i didnt notice it. members just reported to me
(http://i294.photobucket.com/albums/mm85/crzy_wn/sla_zps226ba1cc.png)

my problem is the comment box is out of place it must be centered right?
Title: Re: SA Facebook Integration
Post by: Kindred on April 24, 2013, 02:59:09 PM
no...   pages are created from the standard facebook page...   apps are created from the developer facebook page


Ryan,

Are you sure that is from this mod?   I have this mod installed, but my system doesn't have any comment boxes like that.
Title: Re: SA Facebook Integration
Post by: toastedone on April 24, 2013, 03:04:37 PM
I dont know whats up then everytime I click on anything on the developers page it just redirects me to my page, and there is now set up link

This is what I see

(http://img849.imageshack.us/img849/9463/image2xm.png)
Title: Re: SA Facebook Integration
Post by: vbgamer45 on April 24, 2013, 03:08:19 PM
Goto https://developers.facebook.com/apps 
Once there click on "Create New App" button
Title: Re: SA Facebook Integration
Post by: ryan_dwight on April 24, 2013, 03:08:26 PM
Quote from: Kindred on April 24, 2013, 02:59:09 PM
no...   pages are created from the standard facebook page...   apps are created from the developer facebook page


Ryan,

Are you sure that is from this mod?   I have this mod installed, but my system doesn't have any comment boxes like that.

i think so, this are my installed mods

1.   Forum Firewall   1.1.5   [ Uninstall ]
2.   SMFPacks Shoutbox   1.0.4   [ Uninstall ]
3.   Premiumbeat Flash MP3 Player   2.0   [ Uninstall ]
4.   Admin Toolbox   1.0   [ Uninstall ]
5.   ResizeImagesToFitScreen   0.1.6   [ Uninstall ]
6.   Bad Behavior mod   1.5.15   [ Uninstall ]
7.   Activity Bar   1.1   [ Uninstall ]
8.   Activity in Profile   1.1   [ Uninstall ]
9.   BBC User Info   2.0   [ Uninstall ]
10.   BBC [you] Tag   1.3   [ Uninstall ]
11.   VigLink   1.3   [ Uninstall ]
12.   Google Analytics Code   1.4   [ Uninstall ]
13.   Tapatalk SMF 2.0 RC5/Final Plugin   3.5.0   [ Uninstall ]
14.   Fake Online Time   2.0   [ Uninstall ]
15.   SA Facebook   2.0.2   [ Uninstall ]
16.   Add Join Date to Post   1.0   [ Uninstall ]
17.   Regbar Warning   1.0.5   [ Uninstall ]
18.   SMF Staff Page   1.7   [ Uninstall ]
19.   Aeva Media   1.4w   [ Uninstall ]
20.   Add IP2Location to Track IP   1.3   [ Uninstall ]
21.   Ultimate Profile   0.9.1   [ Uninstall ]
22.   SimplePortal   2.3.5   [ Uninstall ]
23.   Welcome Topic Mod   2.1   [ Uninstall ]
24.   Ad Managment   3.0.1   [ Uninstall ]
Title: Re: SA Facebook Integration
Post by: toastedone on April 24, 2013, 03:10:07 PM
Quote from: vbgamer45 on April 24, 2013, 03:08:19 PM
Goto https://developers.facebook.com/apps 
Once there click on "Create New App" button

That takes me to my page and there is no create new app button
Title: Re: SA Facebook Integration
Post by: vbgamer45 on April 24, 2013, 03:11:00 PM
Odd in your last post on the developers page there should be an APPs button in the menu bar
Title: Re: SA Facebook Integration
Post by: toastedone on April 24, 2013, 03:13:50 PM
There is an "Apps" link in the top bar, but when i click it again it takes me to my page.
Title: Re: SA Facebook Integration
Post by: vbgamer45 on April 24, 2013, 03:17:47 PM
Quote from: toastedone on April 24, 2013, 03:13:50 PM
There is an "Apps" link in the top bar, but when i click it again it takes me to my page.
Hmm what country are you in?
Title: Re: SA Facebook Integration
Post by: toastedone on April 24, 2013, 03:18:39 PM
UK
Title: Re: SA Facebook Integration
Post by: vbgamer45 on April 24, 2013, 03:19:32 PM
Odd I would try contacting FB support and see if they have a restriction for some reason.
Title: Re: SA Facebook Integration
Post by: toastedone on April 24, 2013, 03:20:53 PM
I had to register as a developer, enter a code they sent me via text. I will try and find the issue and report back. Thanks
Title: Re: SA Facebook Integration
Post by: vbgamer45 on April 24, 2013, 03:21:43 PM
Ok cool good to know. Looks like they added an extra level of verification.
Title: Re: SA Facebook Integration
Post by: toastedone on April 24, 2013, 03:55:19 PM
It seems my pogae is set up as a business page and apparently you can not develop apps on a business page even thought when I set up th page I set it up as a website not a business
Title: Re: SA Facebook Integration
Post by: toastedone on April 24, 2013, 05:22:28 PM
Ok i have now got to the dev page by using my personal account but the guide on page 1 here looks nothing like what i am seeing
Title: Re: SA Facebook Integration
Post by: toastedone on April 24, 2013, 05:55:52 PM
Forget my last two posts I have given up with this one. Thanks for the previous help
Title: Re: SA Facebook Integration
Post by: SA™ on April 24, 2013, 06:02:18 PM
Quote from: Kindred on April 24, 2013, 02:59:09 PM
no...   pages are created from the standard facebook page...   apps are created from the developer facebook page


Ryan,

Are you sure that is from this mod?   I have this mod installed, but my system doesn't have any comment boxes like that.

yes it is this mod that can be anbled and disabled in facebook admin/social you can also setup the action=facebook page there aswellto show a comments box or like box
Title: Re: SA Facebook Integration
Post by: Kindred on April 24, 2013, 06:05:16 PM
Ah Thanks SA.

Ryan,
I suspect that this is a case of theme conflicting with mod (or visa-vera)
Use firebug to determine what if making the box appear there and then modify it (probably in CSS)

toasted... 
I don't understand your problem... I have created apps linked to pages and apps which are separate. I have business, organization and personal pages... and they all work just fine with this mod.
Title: Re: SA Facebook Integration
Post by: SA™ on April 24, 2013, 06:09:17 PM
Quote from: toastedone on April 24, 2013, 05:22:28 PM
Ok i have now got to the dev page by using my personal account but the guide on page 1 here looks nothing like what i am seeing

most people tend to over complecate things
you know your website url right? that all you need to enter at the actual settings page

Website with Facebook Login
is were your site adresse goes save and your done
Title: Re: SA Facebook Integration
Post by: SA™ on April 24, 2013, 06:10:24 PM
QuoteRyan,
I suspect that this is a case of theme conflicting with mod (or visa-vera)
Use firebug to determine what if making the box appear there and then modify it (probably in CSS)

i think facebook changed the comments box cos it does this on another site that i use
Title: Re: SA Facebook Integration
Post by: Kindred on April 24, 2013, 06:12:58 PM
typical of them....
Title: Re: SA Facebook Integration
Post by: ryan_dwight on April 24, 2013, 06:27:22 PM
Quote from: Kindred on April 24, 2013, 06:05:16 PM

Ryan,
I suspect that this is a case of theme conflicting with mod (or visa-vera)
Use firebug to determine what if making the box appear there and then modify it (probably in CSS)

thanks but i dont how to do that so ill just disable it
Title: Re: SA Facebook Integration
Post by: SA™ on April 24, 2013, 06:45:12 PM
Quote from: ryan_dwight on April 24, 2013, 06:27:22 PM
Quote from: Kindred on April 24, 2013, 06:05:16 PM

Ryan,
I suspect that this is a case of theme conflicting with mod (or visa-vera)
Use firebug to determine what if making the box appear there and then modify it (probably in CSS)

thanks but i dont how to do that so ill just disable it
sources/facebook/facebookhooks.php

change
<span class="upperframe"><span></span></span>
            <div class="roundframe centertext">';

                    SAFacebookhooks::call_facebook_hook('show_facebook_comments',array($turl,$com_com,'800',$com_colour,true));


to

<span class="upperframe"><span></span></span>
            <div class="roundframe">';

                    SAFacebookhooks::call_facebook_hook('show_facebook_comments',array($turl,$com_com,'800',$com_colour,true));
Title: Re: SA Facebook Integration
Post by: toastedone on April 25, 2013, 08:38:32 AM
I spent 4 hours trying to get this to work with no joy. I know it works,  it's just me that is failing
Title: Re: SA Facebook Integration
Post by: toastedone on April 25, 2013, 02:56:11 PM
Is anyone willing to set this up for me if I give them my details? All I want to achieve is to have new topics posted on a facebook page.
Title: Re: SA Facebook Integration
Post by: Silvershark78 on April 26, 2013, 01:56:34 PM
OK just to clarify for myself.
do I have to register as a developer?
And from what I am reading, this can be applied to work with a page? do I have to do soemthing special to do that?
And instead of a page, my car club functions heavily in the actual group. Can this mod be applied to work only in the facebook group?

Sorry if i have repeasted a question. there are over 160 pages and I thought I might get a quicker result by asking.

The page has also changed from the screen shots in the first post. So I am a little confused.

edit again. I am attempting to creat an app but it looks nothing like the first post. it is asking how my app will interact with facebook. Am I in the proper place to be creating the app for this mod

edit: unless im doing something wrong, this is totally different than the OP. I am very lost. Do I set up page tab? Do I select website with facebook login? And do I do "app on facebook"? I assume the last one because it talks about canvases. But the options are totally different. there is no auto size select. And what is the secure canvas url. any help would be GREATLY appreciated. I am doing my best by trying to proceed but I am affraid that I may be doing it wrong
Title: Re: SA Facebook Integration
Post by: SA™ on April 26, 2013, 03:31:46 PM
Quote from: SA™ on April 24, 2013, 06:09:17 PM

most people tend to over complecate things
you know your website url right? that all you need to enter at the actual settings page

Website with Facebook Login
is were your site adresse goes save and your done
Title: Re: SA Facebook Integration
Post by: Silvershark78 on April 26, 2013, 03:36:25 PM
right. OK I gotcha on that one but is that the forum url or just the entire website
and is that the app domain. that is required
and I assume I disable sandbox mode, correct
and if it is the forum url and not the website where the forum is hosted, do I enter the forum url or the portal url meaning /index.php
Title: Re: SA Facebook Integration
Post by: SA™ on April 26, 2013, 03:47:48 PM
url to forum

example

http://www.somesite.com/forum

if that dont work try

http://www.somesite.com/forum/



Title: Re: SA Facebook Integration
Post by: Silvershark78 on April 26, 2013, 03:49:43 PM
ok cool. thank you
Title: Re: SA Facebook Integration
Post by: Silvershark78 on April 26, 2013, 03:56:11 PM
oh one more thing. and I double posted so that you see it. You didnt clarify the app domain. should that also be /forum. And im very sorry to keep bugging you. Do you know if this can be applied to work only in the facebook group and page? I would really like it to interact with the group. So sorry for being a newb LOL. Is there a donation support link for this mod



Display Name: Hyundai Motor Club

Namespace:

Contact Email:

App Domains: www.hyundaimotorclub.com???? or www.hyundaimotorclub/forum/

Hosting URL:

You have not generated a URL through one of our partners (Get one)

Sandbox Mode:
Title: Re: SA Facebook Integration
Post by: SA™ on April 26, 2013, 04:11:30 PM
Namespace: can be anything you want [you could just ignore this aswell]

Contact Email: your email

App Domains: www.hyundaimotorclub.com

Hosting URL: ignore

You have not generated a URL through one of our partners (Get one) ignore

Sandbox Mode: disabled
Title: Re: SA Facebook Integration
Post by: Silvershark78 on April 26, 2013, 04:13:12 PM
excellent. thank you very much for your prompt reply. I would like to donate if you accept them
Title: Re: SA Facebook Integration
Post by: SA™ on April 26, 2013, 04:15:19 PM
you can donate thru the mod in the facebook admin area  :)
Title: Re: SA Facebook Integration
Post by: Silvershark78 on April 26, 2013, 04:28:00 PM
ok another quick question or two. "app page"...do I enter my club page if i want it linked to our page? or is this not a relevant option. It says "create a new page". And why do I have to upload screen shots. what exactly does this do. And "Banner"...would this be my logo. Im really sorry to keep bugging you. Hopefully these answers will help others though

this looks like to me that it will not apply to my existing page. sorry im so confused. It asks for a cover page image. If this ties into my current page, it shouldnt need that should it

edit: got an error. it says a valid uprivacy policy url must be entered. I did forums/action=register like it says in the op. is that not correct
Title: Re: SA Facebook Integration
Post by: SA™ on April 26, 2013, 04:36:19 PM
Quoteapp page"...do I enter my club page if i want it linked to our page
not sure i understand that one were is this option?


Quotewhy do I have to upload screen shots

who says you gotta uupload screen shots?

Quotewhat exactly does this do. And "Banner"...would this be my logo. Im really sorry to keep bugging you. Hopefully these answers will help others though
im sorry where are you getting these from?

are these coming from facebook app? if so just leave the app all the other stuff it is just  bs

you just need your app id and secret keys thats it just take these keys and put them in facebook admin where it says


Title: Re: SA Facebook Integration
Post by: SA™ on April 26, 2013, 04:42:05 PM
Quote from: Silvershark78 on April 26, 2013, 04:28:00 PM
this looks like to me that it will not apply to my existing page. sorry im so confused. It asks for a cover page image. If this ties into my current page, it shouldnt need that should it

app and pages are two different things  you need apps to use the facebook api thats all the app is for realy once you have the basics working like the login system then you can setup have post goto your facebook page by setting up the publisher in facebook admin
Title: Re: SA Facebook Integration
Post by: Silvershark78 on April 26, 2013, 04:44:08 PM
here are a few screen shots. This is why I am worried that maybe I am doing this all wrong lol
Title: Re: SA Facebook Integration
Post by: SA™ on April 26, 2013, 04:48:10 PM
heh  ;D

www.hyundaimotorclub.com/forum/index.php?action=register

just leave the stuff in the second screen shot you just making things harder just use what you need wich is what we done ealyer
Title: Re: SA Facebook Integration
Post by: Silvershark78 on April 26, 2013, 04:55:23 PM
so does that answer mean im all messed up LOL or am I in the right place and maybe this is just all new compared to the op

edit. I have tried every version of the url for the privacy setting that I can try. it wont accept forums/index.php?action=register. any other advice. I have been messing with this for 3 hours and can't get any of this to work
also, it says the screenshot are REQUIRED. thats why I don't understand. what the heck does it need screen shots for. it requies 3. if you scroll over the "?" it says at least 3 are required
Title: Re: SA Facebook Integration
Post by: SA™ on April 26, 2013, 05:02:39 PM
instruction in op are outdated yes but even then that was the advance setup instructions there was a simple guide aswell
Title: Re: SA Facebook Integration
Post by: Silvershark78 on April 26, 2013, 05:08:28 PM
OK> I got the url to work. must have been a typo.
I am going to try to omit the screen shots and see what happens
and I don't see a place for a logo.
Title: Re: SA Facebook Integration
Post by: Silvershark78 on April 26, 2013, 05:19:36 PM
once this is all done, do i go ahead and click submitshould I install the mod first? I havent gotten to that stage yet. So I guess im asking which to do first, submit or install the mod and then submit. or does it not really matter?
I also never encountered options for canvas or any of that stuff. all it asked was ffor the web addresses and icons and screen shots. as well as banners and cover photos. nothing about iframes...none of the stuff in the first post. there is no option to intergrate facebook, which i would like to do to access the forum from facebook. im really concerned I didnt do this right at all

and if I hit web preview, this is what I get. did i create some kind of page. I know you said apps and pages are different. I get that. But what is this that I am looking at? How does this page link to the forum and how do users find this ...whatever it is...that I am seeing on the "web preview"
Title: Re: SA Facebook Integration
Post by: SA™ on April 26, 2013, 06:00:06 PM
Quoteonce this is all done, do i go ahead and click submitshould I install the mod first? I havent gotten to that stage yet. So I guess im asking which to do first, submit or install the mod and then submit. or does it not really matter?

doesnt realy matter

Quotethere is no option to intergrate facebook
thats what the mod does :P
grab your app id and secret keys and put them in facebook admin where it says install the mod befor you go looking for that lol

Quoteand if I hit web preview, this is what I get. did i create some kind of page.
yes it creates a app page automaticly you can use that or you page
when i say that i mean you can publish post to that fbapp page or you other page
Title: Re: SA Facebook Integration
Post by: Silvershark78 on April 26, 2013, 06:02:57 PM
OH ok. just making sure. so how does one access this "page" as opposed to the page that exists

oh and as I was typing this, this is what I got when i clicked submit

Missing Information

Your submission is missing data in the following fields:

Tagline


Image: 128 x 128


Image: Web Banner


Image: Cover Image


You must upload at least 3 screenshots for Website with Facebook Login


any advice on this
Title: Re: SA Facebook Integration
Post by: SA™ on April 26, 2013, 06:15:08 PM
sigh

start again here
https://developers.facebook.com/apps

just do as i say nothing more nothing less

App Name : somthing

click continue

Website with Facebook Login
     Site URL: www.hyundaimotorclub.com/forum

click save changes

congrats you have setup your app

just make a note of these

App ID: xxxxxxxxxxxxxxxxxx
App Secret: xxxxxxxxxxxxxxxxx

and put them in facebook admin where it says
install the mod befor you go looking for that lol
Title: Re: SA Facebook Integration
Post by: akbora on April 26, 2013, 06:19:30 PM
When I want to create facebook app, appears different link and require telephone number is it right? Thanks
Title: Re: SA Facebook Integration
Post by: SA™ on April 26, 2013, 06:25:03 PM
i guess so they just want to veryfi your not a sheep or somthing :P
Title: Re: SA Facebook Integration
Post by: Silvershark78 on April 26, 2013, 06:56:34 PM
OK it is working sometimes. it posts to other peoples feeds but not mine. where it says facebook user id in the admin panel, who's id do i use.

edit. app submitted

I can't get it to publish to the page or to my feeds. Ive tried to get it to post to the page in every which way i can set it up I am willing to bet it is because the app is not submitted. just a thought
If i hit the reccomend button, it posts to other peoples feeds but not mine.
Title: Re: SA Facebook Integration
Post by: Silvershark78 on April 26, 2013, 07:06:17 PM
ok i tried to associate my account with facebook and got this error? any thought on that one. Is it maybe because I don't seem to have a ww.mysite.com/forums all I have is ww.mysite/forums/index.php

Given URL is not allowed by the Application configuration.: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains.

note that I never had the opportunity to do a canvas url
Title: Re: SA Facebook Integration
Post by: Silvershark78 on April 26, 2013, 07:45:34 PM
OK well I just went ahead and posted all the images that it required and submitted it. I still cannot get threads to publish on my feed. sometimes they publish on other peoples feeds, sometimes not. And I cant get posts to show up on the page. The only thing that shows up is reccomendations and facebook comments from the bottom of the thread screen. And I still cant associate my accounts.

oh and I still dont know what it requires for facebook user id. who's do I use? and is there a way to get this stuff to post to my group instead of feeds, or both even

Thats all the questions I have. if you could help me out with these last few and trouble shoot with me, then it is all setup and ill be good to go
Title: Re: SA Facebook Integration
Post by: Kindred on April 26, 2013, 08:05:57 PM
if you want posts from the forum (as determined by the 4th(?) tab in the settings) made to your personal feed or your page feed, you set it in the 3rd(?) tab.

I don't know if this mod handles posting to a GROUP as opposed to a page
Title: Re: SA Facebook Integration
Post by: Silvershark78 on April 26, 2013, 08:46:18 PM
Got this one too. This happened when I clicked "publish"
and thank you.

An error occurred. Please try again later.

API Error Code: 191
API Error Description: The specified URL is not owned by the application
Error Message: redirect_uri is not owned by the application.
Title: Re: SA Facebook Integration
Post by: Silvershark78 on April 27, 2013, 12:10:29 AM
i know yo8u said that it is just .../forums/ but it doesnt seem to be working if you look at those few errors. are you sure I don't need to use .../forums/index.php? its not recognizing the domain from what i can guess
Title: Re: SA Facebook Integration
Post by: SA™ on April 27, 2013, 09:19:32 AM
no one said use just forums/ :)

use the full url
http://hyundaimotorclub.com/forums/

use that and see how it goes
Title: Re: SA Facebook Integration
Post by: Silvershark78 on April 27, 2013, 12:48:36 PM
No you misunderstood me...lol...i did the whole thing LOL...sorry i confused the issue. What I was wondering is if it should also include /index.php...haha...no I got that part im good.
It seems to be rejecting one of the url's in some fashion. not sure why.
Title: Re: SA Facebook Integration
Post by: SA™ on April 27, 2013, 12:54:27 PM
aha

so you get this error right

QuoteGiven URL is not permitted by the application configuration.: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains.

Website with Facebook Login
     Site URL:

what url do you have in that part? in your facebook app

Title: Re: SA Facebook Integration
Post by: Silvershark78 on April 27, 2013, 05:52:25 PM
well, it was hyundaimotorclub.com/forums. I added the forward slash at the end and hit save. I noted in the op that you said some of the settings require it to end that way. is that the problem?

EDIT*
ok tried to hit publish and got this error again

QuoteAn error occurred. Please try again later.

API Error Code: 191
API Error Description: The specified URL is not owned by the application
Error Message: redirect_uri is not owned by the application.
Title: Re: SA Facebook Integration
Post by: Kindred on April 27, 2013, 06:12:23 PM
Redirect URL?   I think you entered something in the wrong spot...
Title: Re: SA Facebook Integration
Post by: Silvershark78 on April 27, 2013, 06:23:41 PM
let me ask you this, what are the correct settings inside smf?
for instance, if I want to post to profiles, what facebook address do i use? Same if I were to set it to "page"
and what is the "user ID" for facebook inside smf? Could I have something wrong there?
I will post a screen shot of the settings inside the app un a few minutes

ok its going to be hard to read. Since I submitted the app for approval, it is blanked out and I cant change anything unless I cancel the submission. The approval is pending. see if you can read it
Title: Re: SA Facebook Integration
Post by: SA™ on April 27, 2013, 06:58:05 PM
try removing the www. from he url's
Title: Re: SA Facebook Integration
Post by: Silvershark78 on April 27, 2013, 07:56:12 PM
Leave the http:// or no?
Title: Re: SA Facebook Integration
Post by: SA™ on April 28, 2013, 10:12:43 AM
Quote from: Silvershark78 on April 27, 2013, 07:56:12 PM
Leave the http:// or no?

Quote from: SA™ on April 27, 2013, 06:58:05 PM
try removing the www. from he url's

leave it there
Title: Re: SA Facebook Integration
Post by: jan.van.gent on April 29, 2013, 01:55:28 AM
Hi there,

What's up with this update of facebook which is coming? Will SA facebook integration still works? Will there be an updated version?

Your app, .... has not enabled the migration for the July 2013 Breaking Changes.
Once you have confirmed your app is compliant or unaffected by the July 2013 Breaking Changes, set the migration setting to "Enabled" in the Geavanceerd section of the App Dashboard. This will apply the July 2013 Breaking Changes to your app and prevent you from receiving future alerts about these changes.
..., is currently using the following deprecated features:
Social Plugins (Like Button, Like Box) without absolute URL's in their `href` parameter.
These changes will be permanently enabled for all apps in 72 days on woensdag 10 juli 2013.

Quote
The following changes can be enabled/disabled using the "July 2013 Breaking Changes" migration until July 10th when they will go into effect permanently for everyone:
New APIs for comment replies
As announced here, this migration enables the updated comment APIs.

Social plugins will require an absolute URL in the 'href' parameter
Social plugins, such as the Like Box and Like Button, will require an absoute URL in the 'href' parameter.

Stream table will throw exception with invalid filter_key
Query stream_filter table for a set of valid stream filters. The stream table will throw an exception if called with an invalid 'filter_key' option.

Removing 'publish_checkins' permissions
Publishing a Checkin object is deprecated in favor of creating an Open Graph story with a location attached. You can also create a Post with a location attached using the 'publish_steam' extended permission.

FQL Checkin table 'page_id' change
We are renaming 'page_id' to 'target_id' for the Checkin table.

Removing 'version' field for Groups
We introduced 'version' field to indicate whether the group was created prior to launch of the current groups product in October 2010. We are removing this field as all Groups on Facebook are now the same version. This impacts both Group Graph API and Group FQL Table.

Photos will no longer return larger sizes than the uploaded version
'images' field in photos and photo_src table will no longer return image sizes larger than the original uploaded version of the photo.

Can not create multiple create actions for the same Open Graph object
We are no longer allowing multiple create actions for the same Open Graph object, as documented here.

Deprecating 'comments' field from 'stream' FQL table
We are deprecating the 'comments' field from 'stream' FQL table. Please select the 'comment_info' column to fetch the 'can_comment' and 'comment_count' fields (formerly called 'can_post' and 'count'), and use the comment table directly to retrieve the list of comments.

Removing 'xid', 'reply_xid', 'username' and 'comments' from 'comment' FQL table
We are removing the fields on the FQL 'comment' table that were used exclusively for legacy Comments Plugins -- 'xid', 'reply_xid', 'username' and 'comments'. We now treat comments the same across plugins and within Facebook. Please query for comment replies left on the plugin the same way as you would for other comments.

Removing 'count' from 'comments' Graph API connection
We are removing the undocumented 'count' field on the 'comments' connection in the Graph API. Please request '{id}/comments?summary=true' explicitly if you would like the summary field which contains the count (now called 'total_count')

The following changes will go into effect on July 10, 2013:
Mobile App Install Ads change
We are updating the Creative Spec parameter 'app_platform_type' to 'mobile_store'. The possible values for mobile_store are now "itunes", "itunes_ipad", and "google_play".

Conversion spec and tracking pixel ID changes
We are deprecating the use of 'tracking_pixel_id' when specifying the desire to track a conversion pixel in an ad. You should instead specify the pixel in the newly launched tracking_specs field. We are also deprecating the use of conversion specs in bid types that are not optimized for actions (e.g. CPM, CPC, and oCPM when no bid value is placed on actions). You should instead use tracking_specs to track conversions for these bid types.

Custom Audiences change
We have changed the targeting spec parameter 'excluded_user_adclusters' to be 'excluded_custom_audiences'. Additionally, the endpoint to create and retrieve your custom audiences is now: https://graph.facebook.com/(act_adaccountid)/customaudiences.

Accessing link stats change
App access tokens will be required for accessing the link_stat FQL table. App access tokens will also be required for retrieving data from Graph API endpoint for link stats, ie: https://graph.facebook.com/?id=http://example.com.

Graph API search changes
App access tokens will be required for all search Graph API calls except Places and Pages. Search for application will no longer be supported.

Open Graph apps using custom actions for fitness, books, movies, and TV
As announced in March, any apps that previously used custom actions to represent this type of sharing will need to move common actions by July 10, 2013.

Removing 'page_friends_of_fans' metric
We are removing the metric: 'page_friends_of_fans' from the Insights Dashboard and the Insights API.

Removing the ability to "Select All" or "Pre-Select" for Requests
As part of our efforts to improve user sentiment, we have updated our platform policy so that apps may not offer a select all option or pre-select multiple recipients to receive requests. Other Request dialog functionality will remain the same.
Title: Re: SA Facebook Integration
Post by: SA™ on April 29, 2013, 01:26:34 PM
i think most of it would still work but other parts will need updating wouldent take too long to get it upto spec  :)
Title: Re: SA Facebook Integration
Post by: Silvershark78 on May 01, 2013, 12:29:22 PM
OK I removed the www. I get this when I try to associate my account-

QuoteGiven URL is not allowed by the Application configuration.: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains.
and I still get this when I try to publish-

QuoteAn error occurred. Please try again later.

API Error Code: 191
API Error Description: The specified URL is not owned by the application
Error Message: redirect_uri is not owned by the application.

Any other ideas. Ive done everything I can think of. I have no clue what the issue is. Ive followed every direction given to the T. Help! LOL
Title: Re: SA Facebook Integration
Post by: SA™ on May 01, 2013, 02:13:00 PM
do you want me to take a look at your app settings for you?
would reqire you adding me as a developer of your app you can remove me after

i kinda know what you have done you maybe did a few more things than i said you didnt realy need to sub,itt your app just need to set it up to use the api


Title: Re: SA Facebook Integration
Post by: Silvershark78 on May 02, 2013, 06:30:18 AM
That would be sooooo nice of you if that's ok. send me a PM and we can work it out. I hate to ask someone to do it, but I have given it my best shot and have made a very honest attempt

I would like to ask you...what would it take to get it to publish to my group as opposed to my page? Im sure it can't be ridiculously hard. the app appears to do so much cool stuff. I know I don't have it functioning properly, but I see what it does do and what it promises to do. If it could either be "recommended" or "published" to the group, that would be awesome. I don't need the comments to publish there, although in all honestly, if the whole damn thing worked with my group it would really be the ultimate companion to link the entire community. I cant get it to share on the page yet. I assume that's what "publish" will do. The only other question I have, and I have asked twice, what facebook ID do I use. and im not making note that I have asked to be pushy. I just figure it has been looked over while you guys have answered other questions.
Im sure others could make use of it publishing to a group as well. It might be worth an honest consideration. I would consider paying for the development if you would like. I have a modest budget and would be willing to compensate you for the effort. It means that much to me. My whole concept for the club is community. One of my first boards is "events"

Oh and I forgot to mention. When I click the button to allow it access, the very first time I clicked the button that says it will refresh the page, I got a tab that opened up and I don't recall what it said. But now when I click it, the screen flashes. could that be an issue that the tab isn't opening up anymore
Title: Re: SA Facebook Integration
Post by: SA™ on May 03, 2013, 03:10:41 PM
Quotethe page yet. I assume that's what "publish" will do

ou mean publish button on the topic? that is just basicly a gloryfied share button realy that will allways goto the fb profile of who ever clicked it
publisher is done auto maticly if setup correct no buttons to click for the publisher just make a post as usal and iff setup post will apper on your fb profile or page

last time i checked it was not possible to publish to groups but coulda changed since then and yes it is sone work to set it up todo that

Title: Re: SA Facebook Integration
Post by: Dhayzon on May 03, 2013, 04:30:24 PM
any recommendations ?? ;D ;D ;D

(http://i.imgur.com/6sYH5xi.png)

with just a visit to a post is generated 48 times  ::)
Title: Re: SA Facebook Integration
Post by: vbgamer45 on May 03, 2013, 04:57:28 PM
Remove ,$context['character_set']

From that code.
Title: Re: SA Facebook Integration
Post by: RustyBarnacle on May 03, 2013, 05:32:34 PM
I've read the front page of this mod several times over the last couple days, and still not sure what this mod actually does.

Do the users have all the board posts show up on their news feeds?
Title: Re: SA Facebook Integration
Post by: SA™ on May 03, 2013, 08:20:39 PM
Quote from: RustyBarnacle on May 03, 2013, 05:32:34 PM
I've read the front page of this mod several times over the last couple days, and still not sure what this mod actually does.

Do the users have all the board posts show up on their news feeds?

no this mod can do a few things

the main one was being able to sync, register and login to the forum with there fb account
the other thing is publisher wich allowes you to publish post to your fb page or profile
also can show like/share button on topic
Title: Re: SA Facebook Integration
Post by: RustyBarnacle on May 04, 2013, 12:32:50 PM
OK so posts go to just the forum owner's fb page?

And then if a user likes a post, that post goes to their fp page?
Title: Re: SA Facebook Integration
Post by: Silvershark78 on May 04, 2013, 10:33:32 PM
well it showed up on my wife's news feed. so I assume friends will see the post
Title: Re: SA Facebook Integration
Post by: SA™ on May 07, 2013, 01:45:02 PM
QuoteOK so posts go to just the forum owner's fb page?
yes correct

QuoteAnd then if a user likes a post, that post goes to their fp page?

it goes to there profile
seriously tho are you saying you do not know what share and like buttons do?

QuoteFeatures:

Register with facebook (new members)
Integrate forum account with facebook (existing members)
Disassociate forum account from facebook
Update your Status on facebook
Import your facebook avatar
Invite your facebook friends
Like/Recommend your site to friends on facebook
Share, Like, and Publish topics to your facebook wall
Facebook Comment Box
Facebook Fan Page
Friends... View all your facebook friends
                
Left blank intentionally:
Left blank intentionally:
ACP - this mod has its own admin control panel for easy use
Supports Standard and Advanced Profile Fields [SMF 2.0 only]
Facebook admin logs (see all register/Integrated fb users)
Membergroup (default membergroup for new facebook registered members)
Buddy list integration (users can sync their forum and fb friends)

coped from first post it tells you what the mod does right there whats so difficult to understand there?
Title: Re: SA Facebook Integration
Post by: RustyBarnacle on May 07, 2013, 02:03:40 PM
I know what share and like buttons do, I was just unclear on how much was automatic.  I wouldn't want all of someone's posts going to the fb wall or something like that.
Title: Re: SA Facebook Integration
Post by: SA™ on May 07, 2013, 02:20:31 PM
oh no it doesnt do that that would be kinda silly :P

Title: Re: SA Facebook Integration
Post by: MarkoKg on May 11, 2013, 08:44:28 AM
Hello there all and thanks for great modification :)

I'm wondering if there's a way to open login form in popup rather than in the same page?
I'm using login hook to show fb button on my index, and i'd like just to open popup there.
global $fb_hook_object;
if(class_exists('SAFacebookhooks'))
    $fb_hook_object->call_facebook_hook('show_facebook_login',array(true));
Title: Re: SA Facebook Integration
Post by: Konzertheld on May 11, 2013, 07:33:22 PM
Has the reason for the missing admin area been found? I've gone insane looking for the admin area and then found out it just is not displayed. So if after a fresh install on a fresh SMF 2.0.4 I click redirect, it just takes me to the admin control center, and there is no link anywhere. :(
Title: Re: SA Facebook Integration
Post by: Kindred on May 11, 2013, 07:37:34 PM
that indicates that the mod was not fully installed on your system, since it is clearly present on every system that I have installed in......
Title: Re: SA Facebook Integration
Post by: Onimousnet on May 15, 2013, 11:45:24 AM
Anyone got a clue what is happening here?

I have one user that keeps getting this error:

An Error Has Occurred! No connection to facebook found

But she is only one that gets this and its only on 1 of her accounts (she had 3 on my site).

I have tried everything with her I can think of and I even have her facebook login info and have tried myself and get exactly what she gets on her account but no other accounts.
Title: Re: SA Facebook Integration
Post by: azhriel on May 16, 2013, 04:30:33 AM
Where can i get the access token? & why is that when i granted permission on the publsuher panel. I always redirected to a blank page?
Title: Re: SA Facebook Integration
Post by: Dhayzon on May 18, 2013, 04:45:25 PM
replace in database  ("")   by  default.png    because not working default avatar MOD

(http://i.imgur.com/7ZRQgiC.png)

(http://i.imgur.com/Y0fw4Mo.png)

(http://i.imgur.com/J8vPy0L.png)

:o :o :o :o :o :o :o :o
Title: Re: SA Facebook Integration
Post by: ozznixon on May 21, 2013, 02:23:50 AM
Installed the package, started getting 500 Internal Server Error - blew out the cache (browser and server) and I followed the "Manual Install" steps - that doesn't fix the issue.

*** If you try it www (dot) wt3f (dot) com - click the Login using Facebook button, it pops up the OAUTH screen, I login then, a popup comes up and goes away - then all of a sudden the browser is dead. Delete the browser cache, and hit the site again, and I can see in Firebug that index.php is not returning anything.

Ozz
Title: Re: SA Facebook Integration
Post by: gsxr1000 on May 23, 2013, 01:28:58 PM
hi,

I instaled sa facebook to my smf 2.0.4 forum and facebook login and publish button is not properly. If I tried to login with facebook and I got no connection error. and if I tried to publish a post it sometimes works and sometimes I got please try again later message and I can't get rid off this message anymore.

but like button and send button works perfect.

I've checked "hyundaimotorclub.com/forums" and I tried to login with facebook and it works like a charm.

I believe it's a problem from my facebook application.

Could you please give me your facebook application details such as permissions and etc? So that I can check compare with your setting with my facebook application.

Thanks.
Title: Re: SA Facebook Integration
Post by: bitphire on June 04, 2013, 09:59:19 AM
Couple of questions:
I am using SimplePortal and SA Facebook Integration, everything is working so far (mostly).

Is there anyway to get SMF to use the facebook name instead of the profile name? atm, my name shows as steven.davis.714 when I want it to be Steven Davis. Under the "Logs" in the admin it shows Member (steven.davis.714) and Facebook Name Steven Davis. I want to use the name.

When logged in on the facebook account (on the forum) and I try to edit my profile I have to enter in the password to make a change. Unless I typo'd I got an error that the password was incorrect. Does this work with just the normal fb password or do I need to figure out how to turn off the password to edit profile?

Thank you!


EDIT:
I figured out both questions. I had the registration set to Auto when it should have been manual .. now it is asking them to set a password. This also gave them the option to set a username which is close enough for my situation though I am still curious if we can disable this part and have it auto set to the Facebook name.
Title: Re: SA Facebook Integration
Post by: Kindred on June 04, 2013, 10:20:18 AM
you can not turn off the password to edit your profile - that is part of the SMF security.
Also, no... it does not use your facebook password - there is no way to get that information -- IIRC, it assigns a random password to the forum account when the user logs in using the facebook account -> forum acount auto-creation. The only way to get your password is to use the forgot password link.
Title: Re: SA Facebook Integration
Post by: SA™ on June 04, 2013, 10:27:44 AM
QuoteIs there anyway to get SMF to use the facebook name instead of the profile name? atm, my name shows as steven.davis.714 when I want it to be Steven Davis. Under the "Logs" in the admin it shows Member (steven.davis.714) and Facebook Name Steven Davis. I want to use the name.


no there isnt there is more than 1 Steven Davis in this world
if another Steven Davis tryed to register with fb they wouldent be able to cos it would already exsist this is why there is random numbers aftert the name spose you could change it but im not helping witht that one

QuoteWhen logged in on the facebook account (on the forum) and I try to edit my profile I have to enter in the password to make a change. Unless I typo'd I got an error that the password was incorrect. Does this work with just the normal fb password or do I need to figure out how to turn off the password to edit profile?

there is some code in this topic somware that u can add to the mod to send the password to the users after registering aprt from that what kindred said is the only other way
Title: Re: SA Facebook Integration
Post by: bitphire on June 04, 2013, 11:30:26 AM
Thank you guys for the info. Now I just need to turn off all the features other than the register/login. I don't need the comment/post/like or any of that.lol but all good.
Title: Re: SA Facebook Integration
Post by: X3N0S on June 04, 2013, 03:22:34 PM
Hi all,
I recently migrated a forum to a different hosting provider and now I get the following error when I try to see the user profile pages:
Fatal error: Class 'Facebook' not found in /home/xyz/public_html/Sources/Facebook/FacebookHooks.php on line 460

Any ideas what goes wrong?  :-\
Title: Re: SA Facebook Integration
Post by: Kindred on June 04, 2013, 03:40:57 PM
it would appear that you did not fully migrate your site files and database
Title: Re: SA Facebook Integration
Post by: X3N0S on June 04, 2013, 03:54:48 PM
I checked and couldn't find anything missing or different. Anything more specific to check maybe?
Title: Re: SA Facebook Integration
Post by: VIthe3rd on June 04, 2013, 10:49:03 PM
Sorta new here. Used SMF before and was able to mod it successfully.

Will this be able to port the users facebook profile pic as their user avatar? I can not find where or how to do this if possible.

Title: Re: SA Facebook Integration
Post by: SA™ on June 05, 2013, 01:02:31 PM
Quote from: X3N0S on June 04, 2013, 03:54:48 PM
I checked and couldn't find anything missing or different. Anything more specific to check maybe?


do you have a facebookauth directory in the root of your forum?
Title: Re: SA Facebook Integration
Post by: MESWEB on June 08, 2013, 07:59:39 AM
I have issue with auto publish my post to fb.
This is post from my FB page:
QuotenapisaÅ
Should be:
Quotenapisał

My post is not UTF-8 in FB Why?
Title: Re: SA Facebook Integration
Post by: vbgamer45 on June 08, 2013, 05:12:11 PM
ł is a special character not standard ansi
Title: Re: SA Facebook Integration
Post by: MESWEB on June 08, 2013, 05:23:30 PM
Quote from: vbgamer45 on June 08, 2013, 05:12:11 PM
ł is a special character not standard ansi

What I should to do?
Title: Re: SA Facebook Integration
Post by: Konzertheld on June 09, 2013, 09:11:39 PM
Hey there,

I've got the mod up and running mostly, so first of all, thanks for the great work!

Registration and login via Facebook on the real site is working fine. I also set up HTTPS/SSL for the forum and it's all good. Now I'm trying to use the mod with a canvas to use the forum directly in Facebook. No problems setting that up (it needs SSL but that is running) but I get no further than the login page on the canvas.

So when I am on my app's facebook page, it shows me the login form. If I click the facebook button it says "No connection to facebook found". That's it. If I try to login with normal user credentials (I allow both, normal and facebook users) it just reloads the login form. On the site itself, both work. Any ideas?
Title: Re: SA Facebook Integration
Post by: SA™ on June 10, 2013, 03:27:45 AM
smf does not work well in fb canvas was never made to do this
Title: Re: SA Facebook Integration
Post by: maarawoe on June 11, 2013, 06:09:37 AM
Hi,

Anyone have a solution for the known problem with "No connection to Facebook found" when accessing the forum profile?

Thanks!
Title: Re: SA Facebook Integration
Post by: lepard on June 11, 2013, 05:26:14 PM
Fatal error: Cannot redeclare class FacebookApiException in /home/pulaskic/public_html/smf/fbc/facebook.php on line 70

I installed mod and my websites completely trashed. www.pulaskicountyweb.com/smf
I have no cluie how to fix it, can't uninstall or anything.
Title: Re: SA Facebook Integration
Post by: Kindred on June 11, 2013, 06:18:17 PM
you installed twice.... or installed this mod and some other mod which does the same sort of thing
Title: Re: SA Facebook Integration
Post by: lepard on June 11, 2013, 09:27:03 PM
How do I fix it? Can't get to where mods can be deleted now.
Title: Re: SA Facebook Integration
Post by: Kindred on June 11, 2013, 11:55:08 PM
you will have to manually edit files...
Title: Re: SA Facebook Integration
Post by: vbgamer45 on June 12, 2013, 12:35:21 AM
I have a package parser http://www.smfhacks.com/smf-package-parser.html which you can upload the mod to find the manually edits to uninstall the duplicate code
Title: Re: SA Facebook Integration
Post by: lepard on June 12, 2013, 02:24:43 PM
I gave up trashed the forum since I had a back up and now I can't even get the forum to install.. I have the worst luck..
Title: Re: SA Facebook Integration
Post by: VIthe3rd on June 15, 2013, 12:49:07 AM
Quote from: VIthe3rd on June 04, 2013, 10:49:03 PM


Will this be able to port the users facebook profile pic as their user avatar? I can not find where or how to do this if possible.

Anything about porting to FB profile pics as avatars?
Title: Re: SA Facebook Integration
Post by: MESWEB on June 15, 2013, 01:42:04 AM
Quote from: vbgamer45 on June 08, 2013, 05:12:11 PM
ł is a special character not standard ansi

Where I need to change code?? What file? I need special characters
Title: Re: SA Facebook Integration
Post by: Kindred on June 15, 2013, 06:48:49 AM
Quote from: VIthe3rd on June 15, 2013, 12:49:07 AM
Quote from: VIthe3rd on June 04, 2013, 10:49:03 PM


Will this be able to port the users facebook profile pic as their user avatar? I can not find where or how to do this if possible.

Anything about porting to FB profile pics as avatars?

the mod automatically does that. (at least it did for me)
Title: Re: SA Facebook Integration
Post by: Dhayzon on June 15, 2013, 08:16:29 PM
integration stopped working help please

I can no longer go to my profile

sends me into this error

(http://club-dhayzone.net/img_styles/2013061600144967.png)
my website

http://club-dhayzone.net/

my version of smf

2.0.4

can not link an account
Title: Re: SA Facebook Integration
Post by: vbgamer45 on June 15, 2013, 10:41:15 PM
Could be a mod_security issue or if not check your forum error log for any related errors.
Title: Re: SA Facebook Integration
Post by: MESWEB on June 16, 2013, 02:53:07 AM
My posts on Facebook have html codes:
QuoteZadanie:<br />- Pobierz aplikację My Saeco<br />- Jak najszybciej rozwiąż quiz, odpowiadając
Title: Re: SA Facebook Integration
Post by: Smasher on June 19, 2013, 07:29:21 PM
When I am within the index.php?action=facebook;area=friends area of the site I can perform a simple query (shown below) to return all of the names of my facebook friends.


foreach($friends['data'] as $friend){
echo '
<a href="http://www.facebook.com/profile.php?id='.$friend['id'].'" target="blank">'.$fb_hook_object->character_clean($friend['name']).'</a><br /><br />';
}


Is it possible to perform a query like this on my main page or in a portal Php block?
Title: Re: SA Facebook Integration
Post by: vbgamer45 on June 19, 2013, 11:03:22 PM
Yes it is possible you would need to include $friends['data'] loading code as well
Title: Re: SA Facebook Integration
Post by: Smasher on June 20, 2013, 03:13:28 AM
Quote from: vbgamer45 on June 19, 2013, 11:03:22 PM
Yes it is possible you would need to include $friends['data'] loading code as well

Thats great.... I will start reading up on how to do that later today... great news...
Title: Re: SA Facebook Integration
Post by: Drug Mile on June 20, 2013, 09:49:45 AM
Just installed it. I first created FB application, than install this mod, and now my forum is gone!!! OMG, where is it? It is just showing blank pages  :o

Check: www.perforum.info

Please help ASAP, at least what to do to temporary disable this mod. I have no access to Admin CP, or any other part of forum.
Title: Re: SA Facebook Integration
Post by: Kindred on June 20, 2013, 09:52:53 AM
is there a file called error.log in your site/forum root directory?
Title: Re: SA Facebook Integration
Post by: Drug Mile on June 20, 2013, 10:03:08 AM
I don't see it there. SMF is 2.02.
Title: Re: SA Facebook Integration
Post by: Kindred on June 20, 2013, 10:13:41 AM
well, first of all, you need to upgrade to 2.0.4.
2.0.2 has known security issues which are fixed/patched.

second... a white screen indicates a critical failure in php (most often due to running our of memory, but also has other causes)

You can manually uninstall this mod by looking at the "manual install" instructions on the mod download page and doing them in reverse.
Title: Re: SA Facebook Integration
Post by: Drug Mile on June 20, 2013, 10:18:19 AM
OMG, my hart started to beat again :)

I check manual instructions and found that folder Facebookauth was not uploaded to root. I dod this manualy and now I have forum again. I'll check if everything is now working as it should, and than post a feedback.

Thanks a lot!
Title: Re: SA Facebook Integration
Post by: vbgamer45 on June 20, 2013, 11:17:25 AM
Glad you have it working again!
Title: Re: SA Facebook Integration
Post by: MESWEB on June 21, 2013, 05:51:14 AM
Quote from: MESWEB on June 16, 2013, 02:53:07 AM
My posts on Facebook have html codes:
QuoteZadanie:<br />- Pobierz aplikację My Saeco<br />- Jak najszybciej rozwiąż quiz, odpowiadając
So to remove the <br> does this mean to replace this -
$attachment['description'] = $nobbc_body;
with this -
$attachment['description'] = preg_replace('|</?\w+\s+[^>]*>|si', ' ', $nobbc_body);
Title: Re: SA Facebook Integration
Post by: Drug Mile on June 21, 2013, 08:15:04 AM
All working great, except "publisher". It is not publishing to facebook page. It worked at first, but stoped quite soon after first publishings.
Title: Re: SA Facebook Integration
Post by: MESWEB on June 21, 2013, 09:15:13 AM
Quote from: Drug Mile on June 21, 2013, 08:15:04 AM
All working great, except "publisher". It is not publishing to facebook page. It worked at first, but stoped quite soon after first publishings.

I got this same issue. If You want to publish again than need delete all fields in Facebook Access Tokens and press save then next press grand permission and click save again. You need repeat this action all the time when You want auto publishing.
Title: Re: SA Facebook Integration
Post by: Drug Mile on June 21, 2013, 09:21:53 AM
Is promoting facebook page to account possible solution? As I red, there are no issues with publishing to personal wall?

EDIT: No, I can not force it to work now, even by your way. I tried to publish to my personal wall, but this also not working... It seems this function is quite unstabile, so I would just skip it for now.
Title: Re: SA Facebook Integration
Post by: SA™ on June 21, 2013, 12:05:51 PM
publisher has been weird since facebook change there api months ago
Title: Re: SA Facebook Integration
Post by: MESWEB on June 22, 2013, 02:26:33 AM
So when the code has been updated?
Title: Re: SA Facebook Integration
Post by: Dhayzon on June 26, 2013, 02:06:36 AM
ggole chrome error log
Uncaught SyntaxError: Unexpected token ILLEGAL

publish buttom in topic not working
in the replies if it works
Title: Re: SA Facebook Integration
Post by: RedtopX on June 26, 2013, 04:27:05 AM
Hi I am using SMF 2.0 is there a way that SA FB Integration will work on this version?

I am trying to do this, as post a new topic on forum that will automatically post on Facebook Groups Page... is this possible?

Thanks
Title: Re: SA Facebook Integration
Post by: Kindred on June 26, 2013, 07:34:35 AM
facebook PAGE -- yes.
facebook GROUP -- no.


side note. upgrade your smf version ASAP. 2,0 is 4 revs behind and is insecure.
Title: Re: SA Facebook Integration
Post by: Neo_TE on June 26, 2013, 02:23:40 PM
When users try to register with using facebook, they get the following error

QuoteOAuthException: An active access token must be used to query information about the current user.

So to check that, I made a fresh install of  SMF 2.0.4 and this error occured in that fresh SMF 2.0.4 installation (with no mods) too.

Could someone please help. This is the only mod that I'm unable to get it working. And yes, I did create the app properly in facebook and updated the keys in the settings. I tried making new secret keys too and no use.  :'(
Title: Re: SA Facebook Integration
Post by: Kindred on June 26, 2013, 02:25:24 PM
it looks to me as if facebook has again changed their API...   every single one of my facebook connection applications (for SMF, WordPress and other systems) currently fails
Title: Re: SA Facebook Integration
Post by: SA™ on June 26, 2013, 03:53:39 PM
facebook api can aculy flip out if it dont know who $facebook->api('/me)  is

we could edit a few lines of code to redirect the user to fb login page to reauthorise but i cant test this

facebookHooks.php

$access_token = $facebook->getAccessToken();
replace with

$facebook->setExtendedAccessToken();
$access_token = $facebook->getAccessToken();


//Throw it!!!!!
fatal_error($e,false);
$user = null;


replace with

//Throw it!!!!!
$facebook->destroySession();
if(!empty($user_info['id'])){
     header('Location: ' . $this->getLoginUrl(array('redirect_uri' => $scripturl.'?action=facebookintegrate','scope' => 'offline_access,email,status_update,publish_stream'));
}else{
    header('Location: ' . $this->getLoginUrl(array('redirect_uri' => $scripturl.'?action=profile','scope' => 'offline_access,email,status_update,publish_stream'));
}
$user = null;


global $scripturl
replace with
global $user_info, $scripturl

that should destory the expired session create a new one get new acesse tokens and extend them to 60 days back up befor making these changes cos this is untested code
Title: Re: SA Facebook Integration
Post by: Neo_TE on June 26, 2013, 04:17:42 PM
I made the first 2 edits mentioned by you. Refreshed the forum and the forum didn't load. Just a white screen.

I didn't change the "global $scripturl" because it appears lot of times under different functions.
Title: Re: SA Facebook Integration
Post by: SA™ on June 27, 2013, 09:29:13 AM
you need to help me for me to be able to help you

any errors in the forum error logs regarding it?
any errors in your server error logs regarding it?

QuoteI didn't change the "global $scripturl" because it appears lot of times under different functions.

that maybe the case but the global wont be in scope in that function so we have to global it again
Title: Re: SA Facebook Integration
Post by: Neo_TE on June 27, 2013, 12:44:39 PM
Quote from: SA™ on June 27, 2013, 09:29:13 AM
you need to help me for me to be able to help you

any errors in the forum error logs regarding it?
any errors in your server error logs regarding it?


Nope, no errors in the error log.


Quote from: SA™ on June 27, 2013, 09:29:13 AM
QuoteI didn't change the "global $scripturl" because it appears lot of times under different functions.

that maybe the case but the global wont be in scope in that function so we have to global it again

Sorry, I don't understand. Could you please elaborate?


And a tons of gratitude & thanks for helping me. :)
Title: Re: SA Facebook Integration
Post by: boxedmein on June 28, 2013, 06:34:53 PM
will this mod be compliant with the facebook July 2013 Breaking Changes

https://developers.facebook.com/roadmap/
Title: Re: SA Facebook Integration
Post by: vbgamer45 on June 28, 2013, 06:36:20 PM
Right now boxedmein it might have issues we will have to see what happens and what stops working.
Title: Re: SA Facebook Integration
Post by: Neo_TE on June 29, 2013, 04:00:32 AM
Quote from: xPandax on June 26, 2013, 02:23:40 PM
When users try to register with using facebook, they get the following error

QuoteOAuthException: An active access token must be used to query information about the current user.

So to check that, I made a fresh install of  SMF 2.0.4 and this error occured in that fresh SMF 2.0.4 installation (with no mods) too.

Could someone please help. This is the only mod that I'm unable to get it working. And yes, I did create the app properly in facebook and updated the keys in the settings. I tried making new secret keys too and no use.  :'(

Could someone help me please. :(
Title: Re: SA Facebook Integration
Post by: Nikhil P Naik on June 30, 2013, 04:55:16 AM
Quote from: xPandax on June 29, 2013, 04:00:32 AM
Quote from: xPandax on June 26, 2013, 02:23:40 PM
When users try to register with using facebook, they get the following error

QuoteOAuthException: An active access token must be used to query information about the current user.

So to check that, I made a fresh install of  SMF 2.0.4 and this error occured in that fresh SMF 2.0.4 installation (with no mods) too.

Could someone please help. This is the only mod that I'm unable to get it working. And yes, I did create the app properly in facebook and updated the keys in the settings. I tried making new secret keys too and no use.  :'(

Could someone help me please. :(

In this case, you need to make sure that the used has logged into fb and has a valid fb session.
Title: Re: SA Facebook Integration
Post by: Neo_TE on June 30, 2013, 05:27:35 AM
Quote from: Nikhil P Naik on June 30, 2013, 04:55:16 AM
In this case, you need to make sure that the used has logged into fb and has a valid fb session.
That's not the actual issue. Its much more complicated than that.
Title: Re: SA Facebook Integration
Post by: Scareface on June 30, 2013, 10:04:51 AM
How to set a default avatar ? When users sign in with their fb, their avatars are broken.
Title: Re: SA Facebook Integration
Post by: coucnilhomeswap on June 30, 2013, 10:55:05 AM
cant get the facebook publisher to post directly on my sites facebook page
Title: Re: SA Facebook Integration
Post by: MESWEB on June 30, 2013, 11:39:47 AM
There is status of app:
https://developers.facebook.com/live_status
Title: Re: SA Facebook Integration
Post by: Dhayzon on June 30, 2013, 09:47:08 PM
new notice:

Your app, Dhayzone-Club has not enabled the migration for the July 2013 Breaking Changes.
Once you have confirmed your app is compliant or unaffected by the July 2013 Breaking Changes, set the migration setting to "Enabled" in the Advanced section of the App Dashboard. This will apply the July 2013 Breaking Changes to your app and prevent you from receiving future alerts about these changes.
Dhayzone-Club, is currently using the following deprecated features:
Social Plugins (Like Button, Like Box) without absolute URL's in their `href` parameter.
These changes will be permanently enabled for all apps in 9 days on miércoles, 10 de Julio de 2013.


what does this mean?
Title: Re: SA Facebook Integration
Post by: Neo_TE on July 01, 2013, 04:05:10 AM
Quote from: MESWEB on June 30, 2013, 11:39:47 AM
There is status of app:
https://developers.facebook.com/live_status
The error count is insane.

Quote from: dhayzon on June 30, 2013, 09:47:08 PM
new notice:

Your app, Dhayzone-Club has not enabled the migration for the July 2013 Breaking Changes.
Once you have confirmed your app is compliant or unaffected by the July 2013 Breaking Changes, set the migration setting to "Enabled" in the Advanced section of the App Dashboard. This will apply the July 2013 Breaking Changes to your app and prevent you from receiving future alerts about these changes.
Dhayzone-Club, is currently using the following deprecated features:
Social Plugins (Like Button, Like Box) without absolute URL's in their `href` parameter.
These changes will be permanently enabled for all apps in 9 days on miércoles, 10 de Julio de 2013.


what does this mean?

It means that the changes in the api has to be updated by its users before 10 July 2013.
Title: Re: SA Facebook Integration
Post by: qubbah on July 01, 2013, 08:33:33 PM
after login, i cant see facebook menu in menu list. everything is ok... but no facebook menu...
Title: Re: SA Facebook Integration
Post by: Neo_TE on July 02, 2013, 12:46:42 PM
Quote from: xPandax on June 26, 2013, 02:23:40 PM
When users try to register with using facebook, they get the following error

QuoteOAuthException: An active access token must be used to query information about the current user.

So to check that, I made a fresh install of  SMF 2.0.4 and this error occured in that fresh SMF 2.0.4 installation (with no mods) too.

Could someone please help. This is the only mod that I'm unable to get it working. And yes, I did create the app properly in facebook and updated the keys in the settings. I tried making new secret keys too and no use.  :'(

Could someone help me please. :(
Title: Re: SA Facebook Integration
Post by: MESWEB on July 03, 2013, 04:21:33 PM
Quote from: Drug Mile on June 21, 2013, 08:15:04 AM
All working great, except "publisher". It is not publishing to facebook page. It worked at first, but stoped quite soon after first publishings.

When any one change the code? First publisher is working then stop for century.
Title: Re: SA Facebook Integration
Post by: Neo_TE on July 05, 2013, 11:02:33 AM
Quote from: MESWEB on July 03, 2013, 04:21:33 PM
Quote from: Drug Mile on June 21, 2013, 08:15:04 AM
All working great, except "publisher". It is not publishing to facebook page. It worked at first, but stoped quite soon after first publishings.

When any one change the code? First publisher is working then stop for century.
Youtube changed their API this month.
Title: Re: SA Facebook Integration
Post by: MESWEB on July 05, 2013, 05:43:05 PM
Quote from: xPandax on July 05, 2013, 11:02:33 AM
Youtube changed their API this month.
I don't care about youtube API. This mod os for youtube or facebook? I want only publish my posts.
Title: Re: SA Facebook Integration
Post by: Neo_TE on July 06, 2013, 03:30:48 AM
Quote from: MESWEB on July 05, 2013, 05:43:05 PM
Quote from: xPandax on July 05, 2013, 11:02:33 AM
Youtube changed their API this month.
I don't care about youtube API. This mod os for youtube or facebook? I want only publish my posts.

lol sorry.

I meant Facebook changed their API this month.  ::)
Title: Re: SA Facebook Integration
Post by: ukhalik2 on July 13, 2013, 03:54:03 PM
Is there a way to still show the facebook connect on the user bar (the bar on the top where there is a link to going to unread posts or new replies) on registered users if they haven't connected through facebook??

Edit: Please also assist on how can we get facebook display pic as avatar when someone connects through facebook. I see this in features, but can't get it working.

Edit2: Read the last two pages of the thread, everything seem to be working fine except the above problem.

And also I tried searching my problem, but can't find the solution.

Please assist me on this,
Let me know,
Regards.
Title: Re: SA Facebook Integration
Post by: Neo_TE on July 13, 2013, 09:03:42 PM
Quote from: ukhalik2 on July 13, 2013, 03:54:03 PM
Is there a way to still show the facebook connect on the user bar (the bar on the top where there is a link to going to unread posts or new replies) on registered users if they haven't connected through facebook??

Edit: Please also assist on how can we get facebook display pic as avatar when someone connects through facebook. I see this in features, but can't get it working.

Edit2: Read the last two pages of the thread, everything seem to be working fine except the above problem.

And also I tried searching my problem, but can't find the solution.

Please assist me on this,
Let me know,
Regards.

Yes avatar is not getting synced for me too.
Title: Re: SA Facebook Integration
Post by: komp on July 24, 2013, 09:59:47 AM
glad i tested this on my test site first
as everything appears to be working fine until i go into the facebook configuration settings on the forum
i then get

403 Forbidden
Access to this resource on the server is denied!


just about to restore the forum software for a 3rd time
to try and work out exactly what setting is causing this, i suspect the enabling of the plugin
Title: Re: SA Facebook Integration
Post by: Shirlene Clark on July 26, 2013, 12:47:05 AM
I have installed SA facebook integration on my forum and I created an app.  So the mod packages is up and running but I want to be able to do a couple of things and I am not sure how to do it;

1.  When I comment or like something on my forum and that goes to my timeline showing a login screen to the forum can I customise the image on the login screen  that appears on the FB timeline?

2.  Can I somehow set "moderation" for the comments that are made via FB on the forum ?

3.  Can I share to a Facebook Group rather than my timeline ?

Thank you for any assistance and I hope I asked in the right place.
Title: Re: SA Facebook Integration
Post by: Hj Ahmad Rasyid Hj Ismail on July 27, 2013, 07:30:04 PM
If a user register using SA Facebook Mod, he do not have to enter password or answer question which otherwise would be required under normal registration method. Can/will you fix this? Though it may not seems spammers are insterested to spam by registering using their facebook account, but it can happen.
Title: Re: SA Facebook Integration
Post by: Kindred on July 27, 2013, 07:44:14 PM
that rather defeats the purpose of a facebook associated login...

The facebook login is supposed to be a single click association, account creation and login - just like on every other site which uses "login with your facebook account" (none of them ask for additional stuff)
Title: Re: SA Facebook Integration
Post by: SA™ on July 28, 2013, 02:48:21 PM
IMO i doubt your get any spammers from facebook
what kindred said kinda sticks
Title: Re: SA Facebook Integration
Post by: sandiplfcg on July 31, 2013, 10:26:04 AM
Is there  a way to integrate with Facebook group ? Thanks
Title: Re: SA Facebook Integration
Post by: imad.dz on August 03, 2013, 07:02:15 AM
whats the problem
i can't Register

No connection to facebook found
Title: Re: SA Facebook Integration
Post by: Kindred on August 03, 2013, 07:19:58 AM
interesting thing....

this is working PERFECTLY on one of my sites.
Associations to accounts are active, posts and replied from the main board are being duplicated to facebook....

on the other site,
it seems to be associated to accounts... but posts are not going to facebook.
Same settings. I set up both apps the same way as well.

wierd
Title: Re: SA Facebook Integration
Post by: ryan_dwight on August 03, 2013, 07:40:10 AM
Same here i did manage to associate my account to facebook with the help of SA. But when i tried to reply it doesnt duplicate.
Title: Re: SA Facebook Integration
Post by: Uhura! on August 12, 2013, 09:59:42 PM

I have this mod installed & it is wonderful.

How do I remove the facebook link from my top menu. I don't see it in Subs.php... Thanks :)

(http://img.ourmomspot.net/images/LLv5S1376353153/facebook.png)
Title: Re: SA Facebook Integration
Post by: SA™ on August 12, 2013, 10:59:55 PM
it is in sources/facebook/facebookHooks.php
Title: Re: SA Facebook Integration
Post by: Uhura! on August 13, 2013, 08:28:44 AM
Any tips about safely removing the code so that the facebook link doesn't appear in my menu header but the mod still works as-is?

I need details because I am not an advanced coder.

Thanks
Title: Re: SA Facebook Integration
Post by: SA™ on August 13, 2013, 08:51:51 AM
find and remove

if(!empty($user_settings['fbname']) && !empty($modSettings['fb_mode1']) && !empty($modSettings['fb_app_enabled'])){
         self::facebook_array_insert($menu_buttons, 'mlist',
        array(
        'facebook' => array(
        'title' => $txt['fb_main5'],
        'href' => $scripturl . '?action=facebook',
        'show' => true,
        'sub_buttons' => array(),
        'active_button' => false,
        ),
        )
        );
        }

        if(!$context['user']['is_logged'] && !empty($modSettings['fb_mode1']) && !empty($modSettings['fb_app_enabled']) && !empty($modSettings['fb_app_enableguest'])){
         self::facebook_array_insert($menu_buttons, 'mlist',
        array(
        'facebook' => array(
        'title' => $txt['fb_main5'],
        'href' => $scripturl . '?action=facebook',
        'show' => true,
        'sub_buttons' => array(),
        'active_button' => false,
        ),

        )
        );
        }
Title: Re: SA Facebook Integration
Post by: Uhura! on August 13, 2013, 09:00:17 AM
Hi

That just broke my site - my site is down now

Here's the error i am getting:

Quote
Parse error: syntax error, unexpected ')' in /home/ourmo0/public_html/community/Sources/Facebook/FacebookHooks.php on line 601


Next, i put it back the way it was... but I am waiting for help from you :)

now everything looks ok - I am so confused. Please take a look for me: www.OurMomSpot.net
Title: Re: SA Facebook Integration
Post by: SA™ on August 13, 2013, 09:31:23 AM
post up the file pls
Title: Re: SA Facebook Integration
Post by: imad.dz on August 14, 2013, 03:11:43 PM
i can't Register with this mod

No connection to facebook found

whats the problem !!
Title: Re: SA Facebook Integration
Post by: Kindred on August 14, 2013, 03:27:57 PM
did you set up your facebook app?
did you configure the mod and grant the mod permissions for facebook?

it's rather difficult to figure out your problem when you don't actually give any DETAILS

also... repeating yourself doens't do any good -- if no one answered the first time, it's probably because no one could understand what sort of problem you might be having because you never gave any actual information...
Title: Re: SA Facebook Integration
Post by: akbora on August 15, 2013, 06:41:44 PM
Dear SA, I installed 2.0.5 new version your product and I created new app on FB but no publish automatically new post or topic. And second one you gave some codes that us to remove from some files. Now the last version we have, must we change these files? The last one Facebook Access Tokens info where can we get it? Thanks
Title: Re: SA Facebook Integration
Post by: vietravel247.com on August 16, 2013, 01:26:59 PM
Dear SA,
When I move host to nginx, my SA facebok is not show in admin menu. And go to : abc.com/index.php?action=admin;area=facebook it go to home page. Please help everybody. Thanks.
Title: Re: SA Facebook Integration
Post by: vietravel247.com on August 16, 2013, 01:46:00 PM
Attach picture
Title: Re: SA Facebook Integration
Post by: vietravel247.com on August 18, 2013, 11:56:22 PM
Please help. Thank you very much.
Title: Re: SA Facebook Integration
Post by: vbgamer45 on August 19, 2013, 10:05:26 AM
Is it still installed? Or showing as installed?
Title: Re: SA Facebook Integration
Post by: vietravel247.com on August 19, 2013, 10:21:02 PM
Quote from: vbgamer45 on August 19, 2013, 10:05:26 AM
Is it still installed? Or showing as installed?
Yes, It's show ok in package browser. I moved all from old hosting (cPanel: apache+php) to new hosting (nginx + php).
Title: Re: SA Facebook Integration
Post by: vbgamer45 on August 20, 2013, 12:02:03 AM
I would try to uninstall and install again and see if it helps
Title: Re: SA Facebook Integration
Post by: vietravel247.com on August 20, 2013, 06:14:34 AM
Quote from: vbgamer45 on August 20, 2013, 12:02:03 AM
I would try to uninstall and install again and see if it helps
I uninstall and install many times.
Title: Re: SA Facebook Integration
Post by: vbgamer45 on August 20, 2013, 11:59:04 AM
Try checking the manual code instructions for the mod and make sure all the edits are present.
Title: Re: SA Facebook Integration
Post by: vietravel247.com on August 20, 2013, 11:14:55 PM
Quote from: vbgamer45 on August 20, 2013, 11:59:04 AM
Try checking the manual code instructions for the mod and make sure all the edits are present.
Thank you for your support. It's ok now. I don't know why but when I restart module: APC Opcode Cache on my server it work well.
Title: Re: SA Facebook Integration
Post by: drfun on August 25, 2013, 07:05:15 AM
Hello,
I dont know if any one has noticed this on he/her site, though i have search to see if there is a similar complain on this.
I notice after installation of SA Facebook Integration which went smoothly and working fine, that load time of my site become very slow, especially when you want to view topics or post. the menu part of the page loads and it takes a longer time say 10 to 15 minute to load the remaining page for you to read the post.
It keeps showing (connected to connect.facebook.net), during this time when you take your mouse to the part of the page that is not yet displaying. This is driving my user mad.

Please any idea on how i can solve this or make it loads faster?
Thanks
Title: Re: SA Facebook Integration
Post by: helloworld123 on August 28, 2013, 05:25:49 PM
So, can someone clarify me that this is not login to forum using facebook account? instead, it is register using a facebook account?

secondly, i am having problem here. The problem is even user log in and register with their own facebook account, it is always integrated with the account that i created the apps instead of their account.... anyone know how to resolve this issue?

using 2.0.5
Title: Re: SA Facebook Integration
Post by: Britvica on August 30, 2013, 06:13:00 AM
i have read almost all pages and saw that many have the same problem as me with this mode  "No connection to facebook found".

I will put you all screenshots that i have edited something and you try to find a problem .. where did i get wrong ?

(http://i.imgur.com/f9aPPnM.png)

(http://i.imgur.com/TscMzVB.png)

(http://i.imgur.com/ds36GJA.png)

(http://i.imgur.com/sYBVcFK.png)

That are all things i have modifed.. Please tell if i got wrong somewhere or if i havent done something

Thanks for your help
Title: Re: SA Facebook Integration
Post by: akbora on August 30, 2013, 09:33:49 AM
@Britvica Thanks al lot friend... Your SS very very important for all us..

Please we wait for information.... I have filled similar but no publish unfotunateliy
Title: Re: SA Facebook Integration
Post by: drfun on August 30, 2013, 01:49:24 PM
I am having little issues with the SA mod not been able to call up the user avatar from facebook when the user post on the forum using the facebook account and after reading through this pages i noted some persons have also made this complain in here but no response to this problem yet.
Quote
ukhalik2:  Please also assist on how can we get facebook display pic as avatar when someone connects through facebook. I see this in features, but can't get it working.
QuotexPandax:Yes avatar is not getting synced for me too.

Please is there any way i can fix this??
Title: Re: SA Facebook Integration
Post by: Britvica on August 30, 2013, 08:59:27 PM
Will someone help me ?
Title: Re: SA Facebook Integration
Post by: vbgamer45 on August 31, 2013, 02:18:15 PM
Sorry haven't had the time lately to look into it.
Title: Re: SA Facebook Integration
Post by: Britvica on August 31, 2013, 02:27:58 PM
Quote from: vbgamer45 on August 31, 2013, 02:18:15 PM
Sorry haven't had the time lately to look into it.

Can you answer me now ? It is relly imprtant
Title: Re: SA Facebook Integration
Post by: vbgamer45 on August 31, 2013, 02:49:42 PM
No
Title: Re: SA Facebook Integration
Post by: SA™ on September 02, 2013, 09:43:42 AM
Quote from: Britvica on August 31, 2013, 02:27:58 PM
Quote from: vbgamer45 on August 31, 2013, 02:18:15 PM
Sorry haven't had the time lately to look into it.

Can you answer me now ? It is relly imprtant

try disabling sandbox mode in your app prety sure it dont work with that enabled
Title: Re: SA Facebook Integration
Post by: drfun on September 05, 2013, 05:50:40 AM
Quote from: drfun on August 30, 2013, 01:49:24 PM
I am having little issues with the SA mod not been able to call up the user avatar from facebook when the user post on the forum using the facebook account and after reading through this pages i noted some persons have also made this complain in here but no response to this problem yet.
Quote
ukhalik2:  Please also assist on how can we get facebook display pic as avatar when someone connects through facebook. I see this in features, but can't get it working.
QuotexPandax:Yes avatar is not getting synced for me too.

Please is there any way i can fix this??
Any hope on this please
Title: Re: SA Facebook Integration
Post by: SA™ on September 05, 2013, 09:25:50 AM
no it cant be fixed why? cos the mod was never coded to do that
if you want avatars then sync them in your profiles this is not done automaticly and doubt it ever will be
Title: Re: SA Facebook Integration
Post by: drfun on September 06, 2013, 09:43:51 AM
Ok thanks, they can all use the forum default avatar then.
Title: Re: SA Facebook Integration
Post by: ogzkhrmn on September 08, 2013, 08:49:45 AM
when i try to go to login page , it get the 404 error. But when i remove this mode , i  can enter my site's login page. Why do i get this error. Please help me.
Title: Re: SA Facebook Integration
Post by: ogzkhrmn on September 09, 2013, 03:43:04 PM
Quote from: ogzkhrmn on September 08, 2013, 08:49:45 AM
when i try to go to login page , it get the 404 error. But when i remove this mode , i  can enter my site's login page. Why do i get this error. Please help me.
please help me
Title: Re: SA Facebook Integration
Post by: Lovejist on September 11, 2013, 06:34:48 AM
I would want to integrate facebook like icon with pictures into the forum and put the icon on the home page. Do I need this SA Facebook Integration to do that? 

I went to the facebook developers page and there is a code it generated for this. But I don't know where and how to add it to my site.
Can somebody help me out please.
Title: Re: SA Facebook Integration
Post by: Kindred on September 11, 2013, 09:21:13 AM
if you just want the facbeook LIKE, then you don't want this mod.

This mod integrates SMF to Facebook login, allowing people to link their accounts or to register and login solely with a facebook account as well as posting the forum content to a facebook page...

If you just want the LIKE, then there are a half dozen other mods that involve less effort to do that.
Title: Re: SA Facebook Integration
Post by: Lovejist on September 11, 2013, 05:02:06 PM
Thanks Kindred. Could you please tell me which mods I could use for that. I just need the facebook social plug in. Thanks.
Title: Re: SA Facebook Integration
Post by: Kindred on September 11, 2013, 06:11:14 PM
use search? :P
Title: Re: SA Facebook Integration
Post by: Lovejist on September 12, 2013, 10:21:28 AM
I have tried search but couldn't find any mode for that. I have facebook and got the codes below:

Include the JavaScript SDK on your page once, ideally right after the opening <body> tag.

<div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script>

Place the code for your plugin wherever you want the plugin to appear on your page.

<div class="fb-like" data-href="http://developers.facebook.com/docs/reference/plugins/like" data-width="450" data-show-faces="true" data-send="true"></div>

Please could somebody guide me on how to add this code to my website. I would like to place the social plug in  by the right top corner of my site.

Thanks
Title: Re: SA Facebook Integration
Post by: Kindred on September 12, 2013, 10:22:33 AM
1- this topic is not for support of generic facebook stuff.
2- there are at least 5 mods (probably more) that do what you are asking (add a like button)
Title: Re: SA Facebook Integration
Post by: Kyrianchigozie on September 18, 2013, 05:12:30 PM
please after configuring my facebook app, if i
want to publish post to timeline, after
succesful publishin instead to show succsfull
message, it will show blank page whereas
the post will be publish. again please which
mod will i use to import my friends pictures
dat like my page in a block wen they are
online,can sa faceook integration mod do d
work plz?
Title: Re: SA Facebook Integration
Post by: tarantula901 on October 20, 2013, 12:28:51 PM
Facebook link found this way I get an error.

I'm taking all the settings I used and öncedende facebooktan api key problem of this type of output is now
Title: Re: SA Facebook Integration
Post by: vbgamer45 on October 20, 2013, 12:39:57 PM
Quote from: tarantula901 on October 20, 2013, 12:28:51 PM
Facebook link found this way I get an error.

I'm taking all the settings I used and öncedende facebooktan api key problem of this type of output is now
What is the exact error?
Title: Re: SA Facebook Integration
Post by: tarantula901 on October 20, 2013, 01:51:41 PM
After clicking the Login button to log in Siteki I want to get this error an error that you receive the error pointed out, the error Back to the top
Title: Re: SA Facebook Integration
Post by: vbgamer45 on October 20, 2013, 01:52:09 PM
I do not understand.
Title: Re: SA Facebook Integration
Post by: tarantula901 on October 20, 2013, 01:54:50 PM
Try logging in with Facebook by clicking the following link http://www.buyuknet.com/index.php?action=login
Title: Re: SA Facebook Integration
Post by: SA™ on October 20, 2013, 03:03:50 PM
your app is in sandbox mode. Edit the app configuration at http://developers.facebook.com/apps to make the app publicly visible.
Title: Re: SA Facebook Integration
Post by: tarantula901 on October 20, 2013, 03:08:50 PM
Quote from: SA™ on October 20, 2013, 03:03:50 PM
your app is in sandbox mode. Edit the app configuration at http://developers.facebook.com/apps to make the app publicly visible.

facebook api ket secret files from the active steps are to used it earlier, I've used facebook login will not work
Title: Re: SA Facebook Integration
Post by: Kyrianchigozie on October 22, 2013, 05:09:03 AM
please after installing the facebook integrtion and getin an app id, i tried publishin through facebook but aftr the last procces of publishin instead of showin the succes publishin message or showin the published post in ur timeline, but it shows blank page although the post will be published succesfully but how can i make it to stop showin blankpage after publishin?
Title: Re: SA Facebook Integration
Post by: qubbah on October 22, 2013, 07:12:29 PM
How to change the facebook like from top display to the bottom?
Title: SMFHacks Sa Facebook integration was OK untill upgraded to 2.0.6
Post by: GZ06 on October 23, 2013, 11:38:02 PM
I think, this problem might be for many users.

Right now upgraded to 2.0.6 from 2.0.5 and Facebook comments disappeared. Now in this place I see:

Param numposts must be a number greater than or equal to 1

This is Facebook integration mod SA Facebook Integration from SMFHacks and it was OK earlier.

Do not have idea?

http://forumkavkaz.com/index.php?action=forum and check end pages of any topics
Title: Re: SA Facebook Integration
Post by: Arantor on October 23, 2013, 11:45:03 PM
Topic merged from support boards.
Title: Re: SA Facebook Integration
Post by: vbgamer45 on October 23, 2013, 11:48:38 PM
Quote from: GZ06 on October 23, 2013, 11:38:02 PM
I think, this problem might be for many users.

Right now upgraded to 2.0.6 from 2.0.5 and Facebook comments disappeared. Now in this place I see:

Param numposts must be a number greater than or equal to 1

This is Facebook integration mod SA Facebook Integration from SMFHacks and it was OK earlier.

Do not have idea?

http://forumkavkaz.com/index.php?action=forum and check end pages of any topics
You need to update your SA-Facebook settings in the admin area. This setting increase it from zero "'Number Comments To Show In unique comments box with topics'"
Title: Re: SA Facebook Integration
Post by: Kyrianchigozie on October 24, 2013, 12:44:38 AM
i always get blank page while publishin on facebook, why?
Title: Re: SA Facebook Integration
Post by: Kindred on October 24, 2013, 12:49:48 AM
look at your forum error logs... then your serer error logs... and finally look for an error.log file created at the site root...
Title: Re: SA Facebook Integration
Post by: GZ06 on October 24, 2013, 01:08:43 AM
Quote from: vbgamer45 on October 23, 2013, 11:48:38 PM
Quote from: GZ06 on October 23, 2013, 11:38:02 PM
I think, this problem might be for many users.

Right now upgraded to 2.0.6 from 2.0.5 and Facebook comments disappeared. Now in this place I see:

Param numposts must be a number greater than or equal to 1

This is Facebook integration mod SA Facebook Integration from SMFHacks and it was OK earlier.

Do not have idea?

http://forumkavkaz.com/index.php?action=forum and check end pages of any topics
You need to update your SA-Facebook settings in the admin area. This setting increase it from zero "'Number Comments To Show In unique comments box with topics'"

it's "15" there, but still shows -Param numposts must be a number greater than or equal to 1

I'm playing with this plugin, changing number of posts, turning on/off but nothing helping. If it's turned on, still this presenting -Param numposts must be a number greater than or equal to 1

It was working well till upgraded to 2.0.6. From the begining it was "10" recorded in number of comments. Why it's wrinting this now, do not have idea. 
Title: Re: SA Facebook Integration
Post by: Kindred on October 24, 2013, 01:42:52 AM
hmmmm... I can confirm this...

http://los.turtleshellprod.com/index.php?action=facebook

value tried setting at "0" (original setting)
then at 10 and again at 1
Title: Re: SA Facebook Integration
Post by: jekwusky on October 24, 2013, 05:48:32 AM
please help, when I connect my facebook with my forum it shows this error : No connection to facebook found
Title: Re: SA Facebook Integration
Post by: jekwusky on October 24, 2013, 05:50:37 AM
hello, please friend, where can I locate this code file : ''function facebook_array_insert(&$input, $key, $insert, $where = 'before', $strict = false)''
Title: Re: SA Facebook Integration
Post by: Burke ♞ Knight on October 24, 2013, 05:53:34 AM
jekwusky

Please do not double post.
If your last post is very recent and the last post still, just use the edit button. :)
Title: Re: SA Facebook Integration
Post by: Kindred on October 24, 2013, 07:13:50 AM
jekwusky, why are you asking? What are you trying to do?
Title: Re: SA Facebook Integration
Post by: GZ06 on October 24, 2013, 08:32:56 AM
Quote from: Kindred on October 24, 2013, 01:42:52 AM
hmmmm... I can confirm this...

http://los.turtleshellprod.com/index.php?action=facebook

value tried setting at "0" (original setting)
then at 10 and again at 1

There is nothing on such link
Title: Re: SA Facebook Integration
Post by: Kindred on October 24, 2013, 09:32:53 AM
there is, if you have an account...
Title: Re: SA Facebook Integration
Post by: GZ06 on October 24, 2013, 11:40:48 AM
Quote from: Kindred on October 24, 2013, 09:32:53 AM
there is, if you have an account...

also facebook comments dead. no solutions yet?
Title: Re: SA Facebook Integration
Post by: Kindred on October 24, 2013, 12:06:09 PM
what do you mean "facebook comments dead"?  That is a buck useless description of a problem.

My site still posts new threads to the facebook group...
Title: Re: SA Facebook Integration
Post by: GZ06 on October 24, 2013, 12:59:34 PM
Quote from: Kindred on October 24, 2013, 12:06:09 PM
what do you mean "facebook comments dead"?  That is a buck useless description of a problem.

My site still posts new threads to the facebook group...

I mean that still no solution. I know that your site is still shows it, but my stopped after update to 2.0.6 and still do not have answer from mod or smf creators


(http://foto.forumkavkaz.com/upload/78a8174058b73b0340b97d86bbbe0615.JPG)

What tables are using FB integration in database, anybody news it? I will try to check.
Title: Re: SA Facebook Integration
Post by: jekwusky on October 25, 2013, 03:55:21 AM
Quote from: Kindred on October 24, 2013, 07:13:50 AM
jekwusky, why are you asking? What are you trying to do?
I wanna fix the error of ''No connection to facebook found'' for facebook integration mod
Title: Re: SA Facebook Integration
Post by: Kindred on October 25, 2013, 07:39:19 AM
So then why are you asking this?
Quote from: jekwusky on October 24, 2013, 05:50:37 AM
hello, please friend, where can I locate this code file : ''function facebook_array_insert(&$input, $key, $insert, $where = 'before', $strict = false)''
Title: Re: SA Facebook Integration
Post by: GZ06 on October 25, 2013, 10:28:07 AM
what about "faster support" I'm not sure. Right now I have related topic http://www.smfhacks.com/index.php/topic,7935.msg33942.html#msg33942
Looks support team do not see that, yet.

Title: Re: SA Facebook Integration
Post by: Arantor on October 25, 2013, 11:05:19 AM
How about being a bit more patient because everyone here is a volunteer and doing this in their free time? Unless you paid for something, you're really not entitled to 'fast' support.
Title: Re: SA Facebook Integration
Post by: GZ06 on October 25, 2013, 12:13:31 PM
Quote from: Arantor on October 25, 2013, 11:05:19 AM
How about being a bit more patient because everyone here is a volunteer and doing this in their free time? Unless you paid for something, you're really not entitled to 'fast' support.

yes, will wait. no other chance. 
Title: Re: SA Facebook Integration
Post by: SA™ on October 25, 2013, 12:40:21 PM
the issue with the comments is cos incorrect logic in the template
facebook.template.php
$com_com = empty($modSettings['fb_admin_commets_post']) ? $modSettings['fb_admin_commets_post'] : '0';
should be
$com_com = !empty($modSettings['fb_admin_commets_post']) ? $modSettings['fb_admin_commets_post'] : '0';

you also need to change that code in facebookHooks.php
Title: Re: SA Facebook Integration
Post by: vbgamer45 on October 25, 2013, 01:32:21 PM
Quote from: SA™ on October 25, 2013, 12:40:21 PM
the issue with the comments is cos incorrect logic in the template
facebook.template.php
$com_com = empty($modSettings['fb_admin_commets_post']) ? $modSettings['fb_admin_commets_post'] : '0';
should be
$com_com = !empty($modSettings['fb_admin_commets_post']) ? $modSettings['fb_admin_commets_post'] : '0';

you also need to change that code in facebookHooks.php

Thanks SA have posted the update/fix in the latest version.
Title: Re: SA Facebook Integration
Post by: GZ06 on October 25, 2013, 01:43:47 PM
Quote from: SA™ on October 25, 2013, 12:40:21 PM
the issue with the comments is cos incorrect logic in the template
facebook.template.php
$com_com = empty($modSettings['fb_admin_commets_post']) ? $modSettings['fb_admin_commets_post'] : '0';
should be
$com_com = !empty($modSettings['fb_admin_commets_post']) ? $modSettings['fb_admin_commets_post'] : '0';

you also need to change that code in facebookHooks.php

Yes, solved! code fix in facebookHooks.php helped at the end.
Thanks.
Title: Re: SA Facebook Integration
Post by: jekwusky on October 26, 2013, 04:34:47 AM
Quote from: Kindred on October 25, 2013, 07:39:19 AM
So then why are you asking this?
Quote from: jekwusky on October 24, 2013, 05:50:37 AM
hello, please friend, where can I locate this code file : ''function facebook_array_insert(&$input, $key, $insert, $where = 'before', $strict = false)''
someone said I should locate the file and change the code to another thing else,or do you have any idea on what to do apart from changing the code for facebook integration mod to work properly.
Title: Re: SA Facebook Integration
Post by: Don Jajo on October 26, 2013, 09:34:49 AM
Hi all,
Please how can i callup this SA Facebook Login link in Wap2 login page?
Title: Re: SA Facebook Integration
Post by: Sincere on October 28, 2013, 07:25:54 PM
I installed it, but did not find its ACP ::)
Title: Re: SA Facebook Integration
Post by: qubbah on October 30, 2013, 09:10:40 PM
How can we set auto import avatar?

New user that registered using facebook having no avatar...

i look in source html  it is show

<img class="Avatar_Off" src="http://[email protected]/avatars/''" alt="">
                     </a>
Title: Re: SA Facebook Integration
Post by: SA™ on October 31, 2013, 02:04:56 PM
you cant simple as that
Title: Re: SA Facebook Integration
Post by: qubbah on October 31, 2013, 09:31:49 PM
from this mod
Features:
-Import your facebook avatar

is this features must be manually or automatically?
Title: Re: SA Facebook Integration
Post by: Bob.Nudd on November 01, 2013, 11:00:35 AM
When I try to install this mod or the twitter mod, it changes the permissions of my home folder and renders my entire site useless give's me a 500 internal server error on all .php files
Title: Re: SA Facebook Integration
Post by: Kindred on November 01, 2013, 11:51:17 AM
that will likely happen with ANY mod that you try to install....

You should get your directories and files to be writeable by the script without going to 777/666 (which, per your hosts's configuration, is what is causing the trouble)
The fact that SMF is attempting to set your files and directories to 666 and 777 indicates that they are NOT writable in the first place and the script needs to make them writeable in order to install the mod.
Title: Re: SA Facebook Integration
Post by: Bob.Nudd on November 01, 2013, 12:55:11 PM
Quote from: Kindred on November 01, 2013, 11:51:17 AM
that will likely happen with ANY mod that you try to install....

You should get your directories and files to be writeable by the script without going to 777/666 (which, per your hosts's configuration, is what is causing the trouble)
The fact that SMF is attempting to set your files and directories to 666 and 777 indicates that they are NOT writable in the first place and the script needs to make them writeable in order to install the mod.

Will a manual install not cause the issue then?
Title: Re: SA Facebook Integration
Post by: Kindred on November 01, 2013, 01:39:02 PM
correct
Title: Re: SA Facebook Integration
Post by: SA™ on November 01, 2013, 01:50:16 PM
Quote from: qubbah on October 31, 2013, 09:31:49 PM
from this mod
Features:
-Import your facebook avatar

is this features must be manually or automatically?
manually in your profile/facebook
Title: Re: SA Facebook Integration
Post by: eladio on November 01, 2013, 05:15:37 PM
after problem with  "Param numposts must be a number greater than or equal to 1"   that is solved with upgrade of this mod, now i am confused with something else..

Registration Mode is set to "normal" , but there is no option in my forum to login (or register) trough facebook button (before this problem mod works just fine).. 

any clue?  :-\

PS
fb connect image is set , that is not a problem
Title: Re: SA Facebook Integration
Post by: eladio on November 04, 2013, 01:24:08 PM
Quote from: eladio on November 01, 2013, 05:15:37 PM
after problem with  "Param numposts must be a number greater than or equal to 1"   that is solved with upgrade of this mod, now i am confused with something else..

Registration Mode is set to "normal" , but there is no option in my forum to login (or register) trough facebook button (before this problem mod works just fine).. 

any clue?  :-\

PS
fb connect image is set , that is not a problem

i have try reinstall but problem is still there..

i have try registration mode: "facebook only" , and then registration work (button is shown inside registraton form) , with remark --> under registration form (under facebook button) is statement that i use "sa facebook mod 2.0.2"
..hm?

i have change to registration mode "normal", i am still without button , any idea?

hm ?
Title: Re: SA Facebook Integration
Post by: SA™ on November 04, 2013, 01:48:44 PM
hmm this is weird in testing it still works for me got a link to your forum?
Title: Re: SA Facebook Integration
Post by: SA™ on November 04, 2013, 01:56:55 PM
if this http://forum.mojskuter.com/index.php is your site does it work on the default theme?

if all else fails you can add the login button anywere you want woth this code

global $fb_hook_object;
if(class_exists('SAFacebookhooks'))
    $fb_hook_object->call_facebook_hook('show_facebook_login',array(true));
Title: Re: SA Facebook Integration
Post by: eladio on November 04, 2013, 03:27:47 PM
yes, default theme (css redesign)

here : http://forum.mojskuter.com/index.php?action=facebook
i use 2.0.3 version, but you can see wrong version in "description" :
Quote
SA Facebook Intergration 2.0.2
© 2012 SMF Hacks 


i have moved forum from VPS to DS,
and change from domain.com/forum to forum.domain.com (a month ago, mod and everything worked as expected after moving),
is possible that is some database problem? ->
forum and all mods working fine --> after SMF upgrade to 2.0.6 , first problem --> update to 2.0.3 (first problem solved) now login button disappeared (new problem)
?   thinking  :o

PS
i will try your fix later



Title: Re: SA Facebook Integration
Post by: eladio on November 04, 2013, 08:30:19 PM
i have try to put your code in index.template.php on several places, like for example:
<div style="text-align:center">
<a href="http://www.federation-servers.com" target="_blank"><img id=" federation-servers " src="http://www.mojskuter.com/images/banners/federation-servers-veliki.jpg" alt="this website is hosted by: FEDERATION SERVERS" width="468" height="60"/></a>

                       

            </div> </li>
<li class="copyright">', theme_copyright(), '</li>
<li><a id="button_xhtml" href="http://validator.w3.org/check?uri=referer" target="_blank" class="new_win" title="', $txt['valid_xhtml'], '"><span>', $txt['xhtml'], '</span></a></li>
', !empty($modSettings['xmlnews_enable']) && (!empty($modSettings['allow_guestAccess']) || $context['user']['is_logged']) ? '<li><a id="button_rss" href="' . $scripturl . '?action=.xml;type=rss" class="new_win"><span>' . $txt['rss'] . '</span></a></li>' : '', '
<li class="last"><a id="button_wap2" href="', $scripturl , '?wap2" class="new_win"><span>', $txt['wap2'], '</span></a></li>
</ul>';




global $fb_hook_object;
if(class_exists('SAFacebookhooks'))
    $fb_hook_object->call_facebook_hook('show_facebook_login',array(true));





// Show the load time?
if ($context['show_load_time'])
echo '
<p>', $txt['page_created'], $context['load_time'], $txt['seconds_with'], $context['load_queries'], $txt['queries'], '</p>';

echo '
</div></div>', !empty($settings['forum_width']) ? '
</div>' : '';
}


but nothing  :o

i am not good in coding, but I'm stubborn, so i have try to "firebug" the problem,
unfortunately i had no luck in finding the problem  ???
Title: Re: SA Facebook Integration
Post by: IcePhreak on November 05, 2013, 02:22:06 AM
I get this error:

An Error Has Occurred!
CurlException: 7: couldn't connect to host

Happens when I try to register or login,
please help! I've searched this topic and to no avail!
Title: Re: SA Facebook Integration
Post by: vbgamer45 on November 05, 2013, 10:02:49 AM
Contact your hosting company see if they can help that means it can't connect to facebook
Title: Re: SA Facebook Integration
Post by: eladio on November 05, 2013, 10:47:06 AM
about my situation , some new hints..

one guy help me, he do some testing and tell me, that something wrong is here:

global $fb_hook_object;
if(class_exists('SAFacebookhooks'))
    $fb_hook_object->call_facebook_hook('show_facebook_login',array(true));


it does not work,

but if he put this above that code:
require_once('path_to_SMF/facebookauth/facebook.php');
require_once(path_to_SMF/Sources/Facebook/FacebookHooks.php');


then start to work

is that helping you? i dont have time now for testing this, but i believe that guy :D ..i will test this later and give you more info
Title: Re: SA Facebook Integration
Post by: SA™ on November 05, 2013, 01:00:03 PM
require_once(path_to_SMF/Sources/Facebook/FacebookHooks.php');

should only need that outside smf but if it works then go for it
Title: Re: SA Facebook Integration
Post by: eladio on November 05, 2013, 02:07:48 PM
Quote from: SA™ on November 05, 2013, 01:00:03 PM
require_once(path_to_SMF/Sources/Facebook/FacebookHooks.php');

should only need that outside smf but if it works then go for it


hm.. maybe if your fix dont work, that is the reason why login button dont work from the first place..
what you mean outside smf?  modification is installed in SMF , maybe something is not installed correctly ?

maybe i can put that line on the right place, and then will login button show up.. where i can try to do something like that, or you have other idea?

thanks

Title: Re: SA Facebook Integration
Post by: SA™ on November 05, 2013, 02:30:32 PM
could be cos FacebookHooks.php is/was loaded with smf can i have a copy of your theme? todo some testing cos the mod does work for me on localhost with default theme
Title: Re: SA Facebook Integration
Post by: SA™ on November 05, 2013, 02:57:19 PM
the issue is with this piece of code in your index.template.php

$content = ob_get_contents();
ob_end_clean();
$content = preg_replace_callback('/(<img src=")(http:\/\/img.tapatalk.com\/d\/[0-9]{2}\/[0-9]{2}\/[0-9]{2})(.*?)(".*?>)/i',
create_function(
'$matches',
'return \'<a href="http://tapatalk.com/tapatalk_image.php?img=\'.urlencode(base64_encode($matches[2].\'/original\'.$matches[3])).\'" target="_blank" class="externalLink">\'.$matches[1].$matches[2].\'/thumbnail\'.$matches[3].$matches[4].\'</a>\';'
),
$content);
echo $content;
ob_start();


this breaks smf's buffer hook would also say is problay not good to have that in your template  but dont just remove that peice of code cos it looks like copy right for that mod eaither remove tapatalk or ask them to fix it
Title: Re: SA Facebook Integration
Post by: eladio on November 05, 2013, 03:22:34 PM
thanks, i will send to them "a ticket"
..tapatalk is very popular mod for SMF, it is good to know for others that here is "conflict"

Title: Re: SA Facebook Integration
Post by: Kindred on November 05, 2013, 03:39:13 PM
tapatalk is a PITA.... I see all these people who claim that it's great....   and then I see a continual stream of issues with the sites that run it.
Title: Re: SA Facebook Integration
Post by: Mr. Jinx on November 05, 2013, 04:39:53 PM
Ok, but what alternatives do we have? Tapatalk seems to be a nice option if you want to offer a mobile version of your smf forum.
Title: Re: SA Facebook Integration
Post by: Arantor on November 05, 2013, 04:44:35 PM
There are other options like using a good mobile theme... plus then you get to keep it customised (and you don't have to rely on your users buying an app)
Title: Re: SA Facebook Integration
Post by: ensarman on November 06, 2013, 01:52:17 AM
greetings

I had made a translation from english to spanish_latin-utf-8, SA if you want put it in the oficial plugin meanwhile i'll publish it in the spanish forum

thanks for your hard work
Title: Re: SA Facebook Integration
Post by: Tapatalk on November 07, 2013, 09:39:31 PM
Quote from: SA™ on November 05, 2013, 02:57:19 PM
the issue is with this piece of code in your index.template.php

$content = ob_get_contents();
ob_end_clean();
$content = preg_replace_callback('/(<img src=")(http:\/\/img.tapatalk.com\/d\/[0-9]{2}\/[0-9]{2}\/[0-9]{2})(.*?)(".*?>)/i',
create_function(
'$matches',
'return \'<a href="http://tapatalk.com/tapatalk_image.php?img=\'.urlencode(base64_encode($matches[2].\'/original\'.$matches[3])).\'" target="_blank" class="externalLink">\'.$matches[1].$matches[2].\'/thumbnail\'.$matches[3].$matches[4].\'</a>\';'
),
$content);
echo $content;
ob_start();


this breaks smf's buffer hook would also say is problay not good to have that in your template  but dont just remove that peice of code cos it looks like copy right for that mod eaither remove tapatalk or ask them to fix it

Thanks for reporting this, we also get report from eladio on our support forum.
https://support.tapatalk.com/threads/tapatalk-3-9-0-breaks-smfs-buffer.21491/
We already have a solution on this issue and will confirm it with eladio and then we'll release an update.
You can also get our latest plugin code for SMF2 in Github soon later:
https://github.com/tapatalk/tapatalk-smf2
Title: Re: SA Facebook Integration
Post by: eladio on November 08, 2013, 05:26:49 AM
Quote from: Tapatalk on November 07, 2013, 09:39:31 PM
Quote from: SA™ on November 05, 2013, 02:57:19 PM
the issue is with this piece of code in your index.template.php

$content = ob_get_contents();
ob_end_clean();
$content = preg_replace_callback('/(<img src=")(http:\/\/img.tapatalk.com\/d\/[0-9]{2}\/[0-9]{2}\/[0-9]{2})(.*?)(".*?>)/i',
create_function(
'$matches',
'return \'<a href="http://tapatalk.com/tapatalk_image.php?img=\'.urlencode(base64_encode($matches[2].\'/original\'.$matches[3])).\'" target="_blank" class="externalLink">\'.$matches[1].$matches[2].\'/thumbnail\'.$matches[3].$matches[4].\'</a>\';'
),
$content);
echo $content;
ob_start();


this breaks smf's buffer hook would also say is problay not good to have that in your template  but dont just remove that peice of code cos it looks like copy right for that mod eaither remove tapatalk or ask them to fix it

Thanks for reporting this, we also get report from eladio on our support forum.
https://support.tapatalk.com/threads/tapatalk-3-9-0-breaks-smfs-buffer.21491/
We already have a solution on this issue and will confirm it with eladio and then we'll release an update.
You can also get our latest plugin code for SMF2 in Github soon later:
https://github.com/tapatalk/tapatalk-smf2


problem is still there..
After first post on forum , from my mobile phone (omnia7) , server crash (error 504), After that facebook plugin stop working correctly like last time.

Maybe worse, because after uninstall that first version of tapatalk that you send to me, problem now is still there..
uh..

i have purge cache from cloudflare , and from SMF , i also try to reinstall sa facebook mod, but..

you send to me one more version of tapatalk, but i will wait some time, i must see why i have now again problem (i still doubt the cache must be problem) hm..





Title: Re: SA Facebook Integration
Post by: eladio on November 08, 2013, 06:57:19 AM
ok, i have clean index.template.php ,
after uninstall i found there some lines of tapatalk code, now is all OK

i will test new tapatalk version that i get from them later
Title: Re: SA Facebook Integration
Post by: SA™ on November 08, 2013, 12:35:17 PM
the same code is still in your theme
$content = ob_get_contents();
ob_end_clean();
$content = preg_replace_callback('/(<img src=")(http:\/\/img.tapatalk.com\/d\/[0-9]{2}\/[0-9]{2}\/[0-9]{2})(.*?)(".*?>)/i',
create_function(
'$matches',
'return \'<a href="http://tapatalk.com/tapatalk_image.php?img=\'.urlencode(base64_encode($matches[2].\'/original\'.$matches[3])).\'" target="_blank" class="externalLink">\'.$matches[1].$matches[2].\'/thumbnail\'.$matches[3].$matches[4].\'</a>\';'
),
$content);
echo $content;
ob_start();
Title: Re: SA Facebook Integration
Post by: SA™ on November 08, 2013, 12:40:15 PM
yup it that code still breaks the buffer hook

Quote from: Tapatalk on November 07, 2013, 09:39:31 PM
Quote from: SA™ on November 05, 2013, 02:57:19 PM
the issue is with this piece of code in your index.template.php

$content = ob_get_contents();
ob_end_clean();
$content = preg_replace_callback('/(<img src=")(http:\/\/img.tapatalk.com\/d\/[0-9]{2}\/[0-9]{2}\/[0-9]{2})(.*?)(".*?>)/i',
create_function(
'$matches',
'return \'<a href="http://tapatalk.com/tapatalk_image.php?img=\'.urlencode(base64_encode($matches[2].\'/original\'.$matches[3])).\'" target="_blank" class="externalLink">\'.$matches[1].$matches[2].\'/thumbnail\'.$matches[3].$matches[4].\'</a>\';'
),
$content);
echo $content;
ob_start();


this breaks smf's buffer hook would also say is problay not good to have that in your template  but dont just remove that peice of code cos it looks like copy right for that mod eaither remove tapatalk or ask them to fix it

Thanks for reporting this, we also get report from eladio on our support forum.
https://support.tapatalk.com/threads/tapatalk-3-9-0-breaks-smfs-buffer.21491/
We already have a solution on this issue and will confirm it with eladio and then we'll release an update.
You can also get our latest plugin code for SMF2 in Github soon later:
https://github.com/tapatalk/tapatalk-smf2

hmmmm
Title: Re: SA Facebook Integration
Post by: eladio on November 08, 2013, 06:56:44 PM
this code i get last:

$content = @ob_get_clean();
$content = preg_replace_callback('/(<img src=")(http:\/\/img.tapatalk.com\/d\/[0-9]{2}\/[0-9]{2}\/[0-9]{2})(.*?)(".*?>)/i',
create_function(
'$matches',
'return \'<a href="http://tapatalk.com/tapatalk_image.php?img=\'.urlencode(base64_encode($matches[2].\'/original\'.$matches[3])).\'" target="_blank" class="externalLink">\'.$matches[1].$matches[2].\'/thumbnail\'.$matches[3].$matches[4].\'</a>\';'
),
$content);
@ob_start();
echo $content;


but problem is the same  :-[

and i still have problems with tapatalk, because my windows phone omnia7 have (very buggy version of) tapatalk , and i have errors in database when i make post from my phone..
Title: Re: SA Facebook Integration
Post by: Kindred on November 08, 2013, 09:22:25 PM
kill tapatalk.  IMO, it really serves no useful purpose
Title: Re: SA Facebook Integration
Post by: SA™ on November 08, 2013, 10:30:48 PM
lol the only differenc in that code is they added "@" before the ob functions not exsacly a fix
the "@" will silence any php errors but would not fix your issue IMO your issue is that peice of code should not be in the template full stop but what do i know?
as kindred said just kill tapatalk  8)
Title: Re: SA Facebook Integration
Post by: lolicute on November 10, 2013, 04:20:32 PM
I want change the FB Button Login to the top, someone know how?

(http://puu.sh/5eyxj.png)
Title: Re: SA Facebook Integration
Post by: cagancelik on November 10, 2013, 05:49:07 PM
Installed the mod, login/register feature work ok but don't see any like/recommend buttons on posts. What could be the issue?
Title: Re: SA Facebook Integration
Post by: eladio on November 10, 2013, 07:22:51 PM
Quote from: SA™ on November 08, 2013, 10:30:48 PM
lol the only differenc in that code is they added "@" before the ob functions not exsacly a fix
the "@" will silence any php errors but would not fix your issue IMO your issue is that peice of code should not be in the template full stop but what do i know?
as kindred said just kill tapatalk  8)

soap opera continues ..  ;D , i get this answer:
QuoteYou may need to send this package to SMF guys as we are not familiar with how SMF's facebook integration works and we can only fix our codes to fit SMF guy's suggestion. I trust that the problem has been solved from our side. Please let me know if SMF guys give more suggestion.

Thank you.
Regards,

Euhow Huang
tapatalk.com

After that i see this , https://support.tapatalk.com/threads/tapatalk-3-9-0-breaks-smfs-buffer.21491/#_=_ :

QuoteI moved ob_start(); in front of $content = ob_get_contents(); and my mods started works normaly
Last modification also crash mod Optimus Brave

hm.. They definitely have a problem..


..I dont know, lots of my users ask me for tapatalk (asking me to handle it, because it brings them all forums in one place) ,
for now i am sure that i will wait.. I can not afford problems, I hope they have their own ways how tapatalk can be tested without me to be beta-tester..
until then, I will obey your advice - kill Tapatalk ,
I hope that it will eventually show up alternative fot that app/mod

Big thanks to all
Title: Re: SA Facebook Integration
Post by: maarawoe on November 11, 2013, 05:06:42 AM
Hi,

I have already installed version 2.0.2 which is properly listed in the list of my packages.
26.   SA Facebook    2.0.2     [ Uninstall ] [ List Files ] [ Delete ]

I downloaded a 2.0.3 zip to update this mod but i can't upload as it says the mod is already there....-could anyone suggest me whats wrong?

Thanks!
Title: Re: SA Facebook Integration
Post by: Kindred on November 11, 2013, 08:30:10 AM
you will have to uninstall 2.0.2 and then install 2.0.3
Title: Re: SA Facebook Integration
Post by: kingkingston on November 13, 2013, 12:20:22 PM
does the publish posts always post automatically to facebook ?
Title: Re: SA Facebook Integration
Post by: vbgamer45 on November 13, 2013, 12:33:41 PM
Yes
Title: Re: SA Facebook Integration
Post by: kingkingston on November 13, 2013, 01:33:02 PM
it posted once on my facebook page and hasn't done it since
Title: Re: SA Facebook Integration
Post by: pathuri on November 14, 2013, 09:09:16 AM
I started using SMF on my domain.
I see pictures/images are embedded in-line with the text.
This is might be a nerd question - can you pl let me know how to do this.
I'm using SMF 2.0.06.
Also is there any possibility of linking FACEBOOK groups with SMF?
Title: Re: SA Facebook Integration
Post by: Kindred on November 14, 2013, 09:20:16 AM
This mod allows you to connect your SMF forum with facebook --- Facebook PAGEs, yes... facebook GROUPs... no.
https://www.facebook.com/pages/Legions-of-Steel/272479519478619 links from http://los.turtleshellprod.com

Your other question has nothing at all to do with this mod.
Title: Re: SA Facebook Integration
Post by: rutenio3 on November 14, 2013, 11:24:08 AM
I installed this mod but did not appear to me in the admin panel.
I can remove it perfectly.
How I can fix it as it supposedly is improperly installed,
Thanks

I have smf 2.0.5

And this mods are intalled

Quote1.   SMFShop    3.2.1     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
2.   Quick Spoiler    0.9.2     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
3.   RateThatTopic    2.2.0   [ Instalar modificación. ] [ Listar archivos ] [ Borrar ]
4.   SMF 2.0.4 Update    1.0     [ Listar archivos ] [ Borrar ]
5.   Aeva ~ Auto-Embed Video & Audio    7.2     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
6.   Post Ratings    1.6   [ Instalar modificación. ] [ Listar archivos ] [ Borrar ]
7.   Adk Personal Icon forums    1.0     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
8.   Google Analytics Code    1.4     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
9.   Advance Facebook Like with OpenGraph    0.2   [ Instalar modificación. ] [ Listar archivos ] [ Borrar ]
10.   Profile like mybb    2.0     [ Listar archivos ] [ Borrar ]
11.   Yolks Emoticons    1.0   [ Listar archivos ] [ Borrar ]
12.   EU Cookie    1.0.1     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
13.   SMF 2.0.3 Update    1.0     [ Listar archivos ] [ Borrar ]
14.   nCode Image Resizer    1.3.1     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
15.   Tapatalk SMF 2.0 RC5/Final Plugin    3.2.1     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
16.   Social Login    2.6     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
17.   Registered Links    3.0   [ Instalar modificación. ] [ Listar archivos ] [ Borrar ]
18.   Thank-o-matic    3.0     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
19.   Treasury    2.12     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
20.   Topic Rating Bar    0.8.1     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
21.   Hide Topics from Guests    3.0   [ Instalar modificación. ] [ Listar archivos ] [ Borrar ]
22.   Popos Smiley    1.0     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
23.   Default Avatar    2.3     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
24.   cbi 1.0    1.7.8   [ Instalar modificación. ] [ Listar archivos ] [ Borrar ]
25.   SMF 2.0.5 Update    1.0     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
26.   Inventory In Display    1.0     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
27.   Avatar On Board RC1    2.1   [ Instalar modificación. ] [ Listar archivos ] [ Borrar ]
28.   SA Facebook    2.0.3     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
29.   SimplePortal    2.3.5     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
30.   Adk Login    1.0   [ Instalar modificación. ] [ Listar archivos ] [ Borrar ]
31.   Board Icons Multiboard    0.1.0     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
32.   Forum Firewall    1.1.5     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
33.   SMF_Points    1.0   [ Listar archivos ] [ Borrar ]
34.   Pretty URLs    1.0     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
35.   Tidy Child Boards    1.4.1     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
36.   SMF Trader System
Title: Re: SA Facebook Integration
Post by: lepard on November 14, 2013, 03:23:38 PM
Anyone willing to get me set up for facebook intergration on my boards for money? [email protected]
Title: Re: SA Facebook Integration
Post by: STRRAYNGE on November 14, 2013, 11:36:21 PM
Quote from: lepard on November 14, 2013, 03:23:38 PM
Anyone willing to get me set up for facebook intergration on my boards for money? [email protected]
I honestly wanted to ask the same thing. Ive tried setting up a Facebook application, then installing this app, and ive crashed my site all 3 times. Not sure what im doing wrong, but whatever it is its beyond my knowledge.  But, same as you, ill pay someone to help me get this going!
Title: Re: SA Facebook Integration
Post by: lepard on November 15, 2013, 08:07:42 PM
I crashed trying to uninstall an old version.
Title: Re: SA Facebook Integration
Post by: vbgamer45 on November 16, 2013, 12:36:28 AM
What was the erorr?
Title: Re: SA Facebook Integration
Post by: STRRAYNGE on November 16, 2013, 02:14:53 AM
Ok, I sort of got it working, finally! But maybe im missing something, but where is the comment box, where do I update my status, etc? Is this stuff that can be done from my forum with this app? Im trying to learn this stuff so please go easy on me.
Title: Re: SA Facebook Integration
Post by: rutenio3 on November 16, 2013, 07:49:58 AM
I installed this mod but did not appear to me in the admin panel.
I can remove it perfectly.
How I can fix it as it supposedly is improperly installed,
Thanks

I have smf 2.0.5

And this mods are intalled

Quote1.   SMFShop    3.2.1     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
2.   Quick Spoiler    0.9.2     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
3.   RateThatTopic    2.2.0   [ Instalar modificación. ] [ Listar archivos ] [ Borrar ]
4.   SMF 2.0.4 Update    1.0     [ Listar archivos ] [ Borrar ]
5.   Aeva ~ Auto-Embed Video & Audio    7.2     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
6.   Post Ratings    1.6   [ Instalar modificación. ] [ Listar archivos ] [ Borrar ]
7.   Adk Personal Icon forums    1.0     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
8.   Google Analytics Code    1.4     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
9.   Advance Facebook Like with OpenGraph    0.2   [ Instalar modificación. ] [ Listar archivos ] [ Borrar ]
10.   Profile like mybb    2.0     [ Listar archivos ] [ Borrar ]
11.   Yolks Emoticons    1.0   [ Listar archivos ] [ Borrar ]
12.   EU Cookie    1.0.1     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
13.   SMF 2.0.3 Update    1.0     [ Listar archivos ] [ Borrar ]
14.   nCode Image Resizer    1.3.1     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
15.   Tapatalk SMF 2.0 RC5/Final Plugin    3.2.1     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
16.   Social Login    2.6     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
17.   Registered Links    3.0   [ Instalar modificación. ] [ Listar archivos ] [ Borrar ]
18.   Thank-o-matic    3.0     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
19.   Treasury    2.12     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
20.   Topic Rating Bar    0.8.1     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
21.   Hide Topics from Guests    3.0   [ Instalar modificación. ] [ Listar archivos ] [ Borrar ]
22.   Popos Smiley    1.0     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
23.   Default Avatar    2.3     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
24.   cbi 1.0    1.7.8   [ Instalar modificación. ] [ Listar archivos ] [ Borrar ]
25.   SMF 2.0.5 Update    1.0     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
26.   Inventory In Display    1.0     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
27.   Avatar On Board RC1    2.1   [ Instalar modificación. ] [ Listar archivos ] [ Borrar ]
28.   SA Facebook    2.0.3     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
29.   SimplePortal    2.3.5     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
30.   Adk Login    1.0   [ Instalar modificación. ] [ Listar archivos ] [ Borrar ]
31.   Board Icons Multiboard    0.1.0     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
32.   Forum Firewall    1.1.5     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
33.   SMF_Points    1.0   [ Listar archivos ] [ Borrar ]
34.   Pretty URLs    1.0     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
35.   Tidy Child Boards    1.4.1     [ Desinstalar ] [ Listar archivos ] [ Borrar ]
36.   SMF Trader System
Title: Re: SA Facebook Integration
Post by: SA™ on November 16, 2013, 01:29:25 PM
Quote from: STRRAYNGE on November 16, 2013, 02:14:53 AM
Ok, I sort of got it working, finally! But maybe im missing something, but where is the comment box, where do I update my status, etc? Is this stuff that can be done from my forum with this app? Im trying to learn this stuff so please go easy on me.

comments can be enbled in facebook admin and by clicking the facebook menu button if enbled
Title: Re: SA Facebook Integration
Post by: STRRAYNGE on November 16, 2013, 03:40:03 PM
Quote from: SA™ on November 16, 2013, 01:29:25 PM
Quote from: STRRAYNGE on November 16, 2013, 02:14:53 AM
Ok, I sort of got it working, finally! But maybe im missing something, but where is the comment box, where do I update my status, etc? Is this stuff that can be done from my forum with this app? Im trying to learn this stuff so please go easy on me.

comments can be enbled in facebook admin and by clicking the facebook menu button if enbled
Ive got that enabled. Ive got it setup where I can share posts and topics, set up my posts on my forum to post to my facebook, but im still not seeing a comments section? Im probably overlooking it somewhere? Is there a site that someone has this working on that I could go into and check it out?

I dont have a facebook login either? Is that something this mod puts on my forum? I saw a post a page back where a someone was asking about moving the button, but I dont have that box at all? Could it be something in the way I tried to setup up my facebook app? I read on your first page about clicking the facebook integration when creating the app, but when  I was creating mine, I didnt see that anywhere on facebook? Once again, I apologize for so many questions.
Title: Re: SA Facebook Integration
Post by: Kindred on November 16, 2013, 06:00:06 PM
los.turtleshellprod.com
Title: Re: SA Facebook Integration
Post by: STRRAYNGE on November 16, 2013, 06:39:10 PM
Quote from: Kindred on November 16, 2013, 06:00:06 PM
los.turtleshellprod.com
Ok, so mine is semi working. I noticed on that site, that there is facebook button at the top, and if you click on it, it brings you to another screen for you to post? Mine doesnt have that? It has a facebook button that I added a couple weeks ago in my subs.php, but its only setup to take you to my facebook site. Id love to have the facebook button like that site has. I also just noticed that comment box at the bottom. I dont have that either?

EDIT: Ok, I got the comment box at the bottom by adding edits to my display.template.  ;D But how do I get the facebook button at the top to do that as well? And if I comment in that bottom box, it sends the comments to my app I created on Facebook? Is there a way to change that to where it posts on my facebook wall or profile?
Title: Re: SA Facebook Integration
Post by: Kindred on November 16, 2013, 09:20:04 PM
1- tie the app in to the page...
2- I did not add any custom coding at all. Everything you see on the LOS site is available through options in the facebook mod settings
Title: Re: SA Facebook Integration
Post by: STRRAYNGE on November 16, 2013, 09:34:21 PM
Quote from: Kindred on November 16, 2013, 09:20:04 PM
1- tie the app in to the page...
2- I did not add any custom coding at all. Everything you see on the LOS site is available through options in the facebook mod settings

Thanks Kindred. Unfortunately im still too new at this to understand alot of it. I didnt add any custom coding, I just clicked on the parse button on the mod download page and copied the script it had and placed it where it needed to go. By doing that, it did give me the comment box at the bottom of my screen, but I do not have any top buttons as you do.

Im not quite sure what you mean about tie the app in to the page

Edit: Ok, I was able to edit the original facebook button array that I had added a couple weeks ago to basically link to the same index.php?action that the bottom box does. So that is set. Now the only thing left, if its even possible, is to have it where commenting in that box actually posts on my facebook wall or profile instead of my facebook app. I have never created an app, this one was my first one, so there is probably something I did wrong, but I dont know for sure.

EDIT 2: I think I have finally gotten it figured out!! Im able to write to my wall, which is awesome, but is there anyway for someone to write back and have it show up on my forum?
Title: Re: SA Facebook Integration
Post by: Kindred on November 16, 2013, 11:26:48 PM
so far, i have not gotten it to do that....

it posts to the page-wall but does not post back to the forum....  I don't think it is supposed to (that would involve a lot more complicated coding, if it's even possible at all, I believe)

(my other facebook linked apps don't post back to the original site from facebook, either)
Title: Re: SA Facebook Integration
Post by: STRRAYNGE on November 16, 2013, 11:51:09 PM
Quote from: Kindred on November 16, 2013, 11:26:48 PM
so far, i have not gotten it to do that....

it posts to the page-wall but does not post back to the forum....  I don't think it is supposed to (that would involve a lot more complicated coding, if it's even possible at all, I believe)

(my other facebook linked apps don't post back to the original site from facebook, either)
Thank you! Im not sure what I did, but its all working now. I can post to facebook, and when someone replies it shows up on the forum. Exactly what I was wanting. This app is great!!!
Title: Re: SA Facebook Integration
Post by: rutenio3 on November 18, 2013, 12:54:47 PM
anyone can help me :(
Title: Re: SA Facebook Integration
Post by: SA™ on November 18, 2013, 02:07:16 PM
Quote from: STRRAYNGE on November 16, 2013, 11:51:09 PM
Quote from: Kindred on November 16, 2013, 11:26:48 PM
so far, i have not gotten it to do that....

it posts to the page-wall but does not post back to the forum....  I don't think it is supposed to (that would involve a lot more complicated coding, if it's even possible at all, I believe)

(my other facebook linked apps don't post back to the original site from facebook, either)
Thank you! Im not sure what I did, but its all working now. I can post to facebook, and when someone replies it shows up on the forum. Exactly what I was wanting. This app is great!!!

great you got the mod todo something it wasnt coded to do :P

Quote from: rutenio3 on November 18, 2013, 12:54:47 PM
anyone can help me :(
anything in the error logs?
Title: Re: SA Facebook Integration
Post by: rutenio3 on November 18, 2013, 02:54:54 PM
This is what appears to me

http://awesomescreenshot.com/0fc1z4qu89

and this, only about SA Facebook

http://awesomescreenshot.com/03b1z4r76f
Title: Re: SA Facebook Integration
Post by: SA™ on November 18, 2013, 03:32:13 PM
from them error i see it didnt copy the files

check the manualy install instructions on the mod page
Title: Re: SA Facebook Integration
Post by: rutenio3 on November 19, 2013, 05:58:36 AM
I install it manually

http://awesomescreenshot.com/0181z89vfc

But now looks like this

http://awesomescreenshot.com/0031z8crf1


Edit: I GOT IT, THANKS   ;D ;D ;)
Title: Re: SA Facebook Integration
Post by: nix_ee on November 24, 2013, 05:09:19 PM
Great mod, thank you  8)

Is there any likelihood that the coding could be amended so that you can share to groups/friend's timelines as well as your own timeline please? Thanks again  :)
Title: Re: SA Facebook Integration
Post by: Kindred on November 25, 2013, 01:02:38 AM
no... Facebook's API does not work that way.
Title: Re: SA Facebook Integration
Post by: Hj Ahmad Rasyid Hj Ismail on November 25, 2013, 05:47:05 PM
Quote from: nix_ee on November 24, 2013, 05:09:19 PM
Great mod, thank you  8)

Is there any likelihood that the coding could be amended so that you can share to groups/friend's timelines as well as your own timeline please? Thanks again  :)
But you can use some other tips to do that. Like this one: http://www.simplemachines.org/community/index.php?topic=391753.0
Title: Re: SA Facebook Integration
Post by: lepard on November 27, 2013, 02:46:12 PM
Quote from: vbgamer45 on November 16, 2013, 12:36:28 AM
What was the erorr?

Been too long don't recall, but the smf had to be restored from backup.
Title: Re: SA Facebook Integration
Post by: luisjanj on December 18, 2013, 04:33:13 PM
I installed with Facebook integration mode.
When I click recommend post appears on Facebook but no picture.
that you can display the images of a post on Facebook as in the case of YouTube videos?
in that case, maybe you should recommend button that is part of the message?
there is a button to publish part of the message of al it is not showing the image.
Title: Re: SA Facebook Integration
Post by: Kindred on December 18, 2013, 04:36:07 PM
images on the page are not part of this mod....
Title: Re: SA Facebook Integration
Post by: luisjanj on December 18, 2013, 04:58:44 PM
Is there a mod or another way to do it
Title: Re: SA Facebook Integration
Post by: Kindred on December 19, 2013, 12:35:25 AM
not easily.
Title: Re: SA Facebook Integration
Post by: ummizu on December 21, 2013, 07:16:09 PM
If I unistall this mod, will I lose the users who signed up with it? Will they be able to log in with a different facebook mod later?
Title: Re: SA Facebook Integration
Post by: Kindred on December 22, 2013, 08:53:35 AM
no. you will not lose users...

however, it is unlikely that they will be able to log in with a different mod later
Title: Re: SA Facebook Integration
Post by: sneijder23 on December 27, 2013, 06:07:17 AM
Hello, I have a problem with the default avatar to register with facebook, stem image appears, someone has the solution to fix this possible? I've seen several forum users have this problem but have not found the solution :/ Thanks :)
Title: Re: SA Facebook Integration
Post by: bilbo32 on December 30, 2013, 06:25:22 PM
Hi, I need to make it publish to a page I manage rather than my own FB profile?
Title: Re: SA Facebook Integration
Post by: vbgamer45 on December 30, 2013, 08:16:49 PM
Yes I think it does
Title: Re: SA Facebook Integration
Post by: bilbo32 on December 30, 2013, 08:25:25 PM
Ah, good. Just it's not entirely clear how to. I've tried putting the FB page ID into the user ID, but no dice :-\
Title: Re: SA Facebook Integration
Post by: Kindred on December 30, 2013, 08:32:48 PM
It sets to either a page or a profile. You have to pick you the profile ID for the page ID but they don't go into the same spot. There are two different fields.
Title: Re: SA Facebook Integration
Post by: bilbo32 on December 30, 2013, 09:22:54 PM
Oops, outdated version, sorry  :-X
Title: Re: SA Facebook Integration
Post by: sneijder23 on December 31, 2013, 04:03:01 AM
Can anyone help :(

Quote from: sneijder23 on December 27, 2013, 06:07:17 AM
Hello, I have a problem with the default avatar to register with facebook, stem image appears, someone has the solution to fix this possible? I've seen several forum users have this problem but have not found the solution :/ Thanks :)
Title: Re: SA Facebook Integration
Post by: bilbo32 on December 31, 2013, 09:23:35 AM
I'm not entirely sure I understand what your problem is exactly, AFAIK, the default avatar remains the default avatar, and unless your members choose to import their FB profile pic as one the existing SMF user profile setting remain in effect. Perhaps if you explain your problem in more detail, someone might be able to advise.
Title: Re: SA Facebook Integration
Post by: sneijder23 on January 01, 2014, 12:00:23 PM
When a user registers with facebook an error in your avatar, explained in more detail here (and pictures) the problem

http://www.simplemachines.org/community/index.php?topic=365503.msg3524680#msg3524680
Title: Re: SA Facebook Integration
Post by: bilbo32 on January 01, 2014, 03:15:58 PM
Look for the loadMemberContext function in Sources/Load.php and see if you can find this -
'avatar' => array(
'name' => $profile['avatar'],
'image' => $profile['avatar'] == '' ? ($profile['id_attach'] > 0 ? '<img class="avatar" src="' . (empty($profile['attachment_type']) ? $scripturl . '?action=dlattach;attach=' . $profile['id_attach'] . ';type=avatar' : $modSettings['custom_avatar_url'] . '/' . $profile['filename']) . '" alt="" />' : '') : (stristr($profile['avatar'], 'http://') ? '<img class="avatar" src="' . $profile['avatar'] . '"' . $avatar_width . $avatar_height . ' alt="" />' : '<img class="avatar" src="' . $modSettings['avatar_url'] . '/' . htmlspecialchars($profile['avatar']) . '" alt="" />'),
'href' => $profile['avatar'] == '' ? ($profile['id_attach'] > 0 ? (empty($profile['attachment_type']) ? $scripturl . '?action=dlattach;attach=' . $profile['id_attach'] . ';type=avatar' : $modSettings['custom_avatar_url'] . '/' . $profile['filename']) : '') : (stristr($profile['avatar'], 'http://') ? $profile['avatar'] : $modSettings['avatar_url'] . '/' . $profile['avatar']),
'url' => $profile['avatar'] == '' ? '' : (stristr($profile['avatar'], 'http://') ? $profile['avatar'] : $modSettings['avatar_url'] . '/' . $profile['avatar'])
),


If what's in your Load.php file isn't that, then it probably means you've got some other mod or other that's affecting how empty avatar fields are handled. AFAIK, it's not something that's affected by this mod as such. Members who sign up using FB on my forum are still served the default avatar since that's the way an empty avatar field is handled.
Title: Re: SA Facebook Integration
Post by: sneijder23 on January 02, 2014, 03:07:05 AM
It appears the same...
I uninstalled the mod default avatar but still the same error
In my source code this line appears, I can edit it to display a default image to record and fix the problem?

Quote<img class="avatar" src="http://mysite.com/avatars/''" alt="" /><br />

Change to:

Quote<img class="avatar" src="http://mysite.com/avatars/default.png" alt="default avatar" /><br />
Title: Re: SA Facebook Integration (Registration Agreement issue help)
Post by: itsisme on January 02, 2014, 03:17:56 AM
Hai there,

Just a small question I have SMF with some mods installed and all works great also with the SA Facebook mod the only item I see is that if I log in using the Facebook link the Registration Agreement pops up only ARRAY if I use only the SMF registration this shows up ok.

Who can point me to the proper solution? Checked the error log etc not no clous found.

The only way to get it to work for me is :
//                              if (file_exists($boarddir . '/agreement.' . $user_info['language'] . '.txt'))
//                      $context['agreement'] = parse_bbc(fetch_web_data($boardurl . '/agreement.' . $user_info['language'] . '.txt'), true, 'agreement_' . $user_info['language']);
//                  elseif (file_exists($boarddir . '/agreement.txt'))
//                      $context['agreement'] = parse_bbc(fetch_web_data($boardurl . '/agreement.txt'), true, 'agreement');
//                  else
//                      $context['agreement'] = '';
==>>                $context['agreement'] = parse_bbc(file_get_contents($boarddir . '/agreement.txt'), true, 'agreement');


Added the last line and remmed out the rest..

After that I tested:

                                if (file_exists($boarddir . '/agreement.' . $user_info['language'] . '.txt'))
                        $context['agreement'] = parse_bbc(file_get_contents($boarddir . '/agreement.' . $user_info['language'] . '.txt'), true, 'agreement_' . $user_info['language']);
                    elseif (file_exists($boarddir . '/agreement.txt'))
                        $context['agreement'] = parse_bbc(file_get_contents($boarddir . '/agreement.txt'), true, 'agreement');
                    else
                        $context['agreement'] = '';


This did the trick also...... $boarddir and $boardurl what's the difference?

Also originally it takes long to load with the added changes the agreement text pops up immediately. (a bit longer with the second option)

Looks it can not read that agreement value otherwise for my config.

Chrs..
Title: Re: SA Facebook Integration
Post by: Bruno36 on January 02, 2014, 07:09:45 AM
Hello!

When a new member joins with facebook it is redirected to a blank page with the link
http://www.scooter-chinois-4t.com/board/index.php?action=facebookintegrate;area=auto;agree#_=_
Title: Re: SA Facebook Integration
Post by: bilbo32 on January 02, 2014, 09:17:00 AM
Quote from: sneijder23 on January 02, 2014, 03:07:05 AM
It appears the same...
I uninstalled the mod default avatar but still the same error
In my source code this line appears, I can edit it to display a default image to record and fix the problem?

Quote<img class="avatar" src="http://mysite.com/avatars/''" alt="" /><br />

Change to:

Quote<img class="avatar" src="http://mysite.com/avatars/default.png" alt="default avatar" /><br />

That won't do any good, it's where that source code is generated you need to fix. I suspect the integrate_pre_include call from the default avatar mod is still being called, and that for some reason the contained function's conditions are never met so it returns '' for the default avatar name, hence your problem. The core code is checking for an empty string, but it's not technically empty.

if the file "Sources/DefaultAvatar.php" still exists, try changing the line $avatar_url = ''; to $avatar_url="default_avatar.png";

If that sorts it, then I think you can safely reinstall the remainder of the mod again and have both.
Title: Re: SA Facebook Integration
Post by: le.mag.cinema on January 03, 2014, 10:40:47 AM
Hi,
I have just installed the module and find it theoritically excellent, but ...

when I try to publish or to like a category, I have a bahaviour which I don't know if it is the expected one, but that is not what I was expected ...

When clicking to like, it says You like "subscribe" 'in french vous aimez "inscrivez-vous" ?
Is that a problem of my facebook app or a problem of configuration ?

When clicking to publish, I have no image integrated ... is that the expected behaviour ?

Thanks in advance.

Title: Re: SA Facebook Integration
Post by: le.mag.cinema on January 03, 2014, 10:44:20 AM
Quote from: le.mag.cinema on January 03, 2014, 10:40:47 AM
Hi,
I have just installed the module and find it theoritically excellent, but ...

when I try to publish or to like a category, I have a bahaviour which I don't know if it is the expected one, but that is not what I was expected ...

When clicking to like, it says You like "subscribe" 'in french vous aimez "inscrivez-vous" ?
Is that a problem of my facebook app or a problem of configuration ?

When clicking to publish, I have no image integrated ... is that the expected behaviour ?

Thanks in advance.

in fact, to be more precise :
When clicking to like, it says You like "identify yourself" 'in french vous aimez "identifiez vous" ?
Title: Re: SA Facebook Integration
Post by: Kindred on January 03, 2014, 11:39:47 AM
Is your forum visible to guests?
Title: Re: SA Facebook Integration
Post by: nicotoine on January 04, 2014, 04:00:27 AM
Hello, I installed this mod SA_Facebook_Integration but when I try to connect I have this message No connection found to facebook
I created a facebook application (configuration see attachment), I put the id code on the mod.
http://pralognan-vanoise.com/forum
thank you for your help
Title: Re: SA Facebook Integration
Post by: bilbo32 on January 05, 2014, 12:16:07 PM
Bug report  :o

In the file FacebookHooks.php, you will find -
if($insmf == false){
    fb_call_js_sdk();
}

echo'<script src="http://connect.facebook.net/'.$modSettings['fb_admin_intern1'].'/all.js#appId='.$modSettings['fb_app_id'].'&amp;xfbml=1"></script>';


However, the echoed script tag may cause you problems. The reason being, the fb_call_js_sdk function has already embedded the necessary code to load the all.js file asynchronously - including reference to your channel file which solves various cross domain issues on various browsers. Since if the called hook is used within smf, that code is already added, and the 'if($insmf == false)' condition calls fb_call_js_sdk if it isn't, the script tag is added unnecessarily in all cases. You can therefore replace ALL instances of the above with -

if($insmf == false){
    fb_call_js_sdk();
}


Depending on browser behaviour, it will either throw up an error warning each time the hook is called per page, since the all.js is already loaded, or load and process the first unnecessary script tag without necessarily referencing the channel file. It's simply not needed.
Title: Re: SA Facebook Integration
Post by: madfitz on January 11, 2014, 02:18:57 PM
Whatever I try I can't publish to a page. Can only publish to my personal wall.

How do I fix that?

(Could really benefit from an up to date, step by step guide to creating the facebook app. The example on the first page of this thread is nothing like the latest FB developer pages)
Title: Re: SA Facebook Integration
Post by: SA™ on January 11, 2014, 03:14:51 PM
ive said this many times in this thread now dont over complecate things wich is what the setup guide does in first post does its old and just bs all you need is a url  in the box save and done

Title: Re: SA Facebook Integration
Post by: madfitz on January 12, 2014, 03:10:11 AM
Well if you explained what box to put the url in? There's a lot of choice out there and right now, this doesn't publish to my page (only to my own timeline).
Title: Re: SA Facebook Integration
Post by: bilbo32 on January 12, 2014, 09:31:10 AM
Admin area -> Facebook Integration -> Publisher

you need to put the page id in the relevant box, then set 'publish to facebook' to page rather than profile
Title: Re: SA Facebook Integration
Post by: madfitz on January 12, 2014, 12:56:09 PM
Quote from: bilbo32 on January 12, 2014, 09:31:10 AM
Admin area -> Facebook Integration -> Publisher

you need to put the page id in the relevant box, then set 'publish to facebook' to page rather than profile

Thanks bilbo32. I have already done that but it still only publishes to my own timeline.

That page ID is the number and not a url right? eg 31844653 and not facebook.com/mypage
Title: Re: SA Facebook Integration
Post by: bilbo32 on January 12, 2014, 01:28:20 PM
It's just the page ID, yes. But I think I saw reference many pages back about some people requiring to set it to their profile, save, then back to page again before it worked. Not sure if it was properly resolved or not, worth a try.

Also, I would expect due to facebook permissions, the your profile ID would need to be an admin of the facebook page, otherwise people could hook any facebook app up to any facebook page. So your app and page would need to have the logged in fb user who is admin of your forum too, request the permissions on the publish page. FB would only authorize and give the necessary tokens to someone with sufficient privilege.
Title: Re: SA Facebook Integration
Post by: madfitz on January 12, 2014, 02:41:49 PM
Thanks again. I tried switching, saving, switching back but it still doesn't work for me.

And yes, I am a page admin/owner.

I may try cleaning all traces from the database and reinstalling. If that don't work I'll give up lol
Title: Re: SA Facebook Integration
Post by: SA™ on January 12, 2014, 02:59:29 PM
Quote from: madfitz on January 12, 2014, 03:10:11 AM
Well if you explained what box to put the url in? There's a lot of choice out there and right now, this doesn't publish to my page (only to my own timeline).

settings add platform choose website and there you go
Title: Re: SA Facebook Integration
Post by: madfitz on January 13, 2014, 03:27:24 AM
Same result - publishing to timeline only.

Uninstalled. Thanks for your "help".
Title: Re: SA Facebook Integration
Post by: harcos on January 15, 2014, 12:38:13 PM
When i install this mod, i can't access my forum anymore.
De mod won't redirect to the admin page en when i try myself to click on a link, i get a download with index.php

smf version 2.06 and no mods.

What am i doing wrong?

For now i have uninstalled the mod.

Sorry for my english..


Title: Re: SA Facebook Integration
Post by: maarawoe on January 21, 2014, 02:03:31 PM
Hi,

Could anyone help me how to get around these errors please?

8: Undefined index: fb_admin_grant
Apply Filter: Only show the errors from this file File: /web/htdocs2/gamestickersnet/home/www/Sources/Facebook/FacebookHooks.php
Line: 649


8: Undefined index: fb_postto
Apply Filter: Only show the errors from this file File: /web/htdocs2/gamestickersnet/home/www/Sources/Facebook/FacebookHooks.php
Line: 597



Many thanks!
Title: Re: OAuthException: (#803) Some of the aliases you requested do not exist
Post by: ryukent on January 21, 2014, 04:28:12 PM
I solved this problem by deleting all the files in the facebookauth folder, all the files in the /source/facebook folder, then downloading the package and installing again.

Quote from: osckar on April 03, 2012, 01:46:37 PM
Hi:

I'm using this mod with SMF 2.0.2 and I get this error when a user tries to register or an already registered user clicks on the Facebook configuration in profile:

QuoteAn error has occured

OAuthException: (#803) Some of the aliases you requested do not exist: me&fields=id,name,username

Any help is appreciated.

Thanks!
Title: Re: SA Facebook Integration
Post by: awolexpat on January 26, 2014, 01:37:09 AM
I am getting an error similar to maarawoe, as follows:
Quote8: Undefined index: fb_postpostt
File: /public_html/forum/Sources/Facebook/FacebookHooks.php
Line: 653

Any ideas? It has been happening almost since I installed the mod but as it didn't seem to affect it working I have left it, but would like to clear it up. I am currently on the latest version of both SMF and the mod but has appeared in all versions I have used.
Title: Re: SA Facebook Integration
Post by: shumilica on January 28, 2014, 05:07:09 PM
Hi
I have installed the version 2.0RC4 and I want to update to the latest version. I tried to uninstall the old version but it says it doesn't have an installer. Does that mean that I have to manually undone the changes?
Or what is the official way of updating to the latest version of this mod?
Thank you
Title: Re: SA Facebook Integration
Post by: sydbat on January 29, 2014, 11:21:12 AM
Because there are over 180 pages in this thread, and searching doesn't help find the issue, I am posting a possible repeat of a question.

The first post in this very long thread is outdated. Extremely outdated.

Facebook has completely changed how to create apps. Most of the tutorial steps in the original post no longer exist.

Can one of the mod developers please go to the developers area of Facebook and create a new app so that they can post an accurate updated tutorial? This will help those getting lost due to the changes for developing apps at Facebook immensely.

Thank you.
Title: Re: SA Facebook Integration
Post by: von COLLINZO on January 29, 2014, 06:47:06 PM
This mod rocks big time... ;-)
Title: Re: SA Facebook Integration
Post by: lepard on February 05, 2014, 04:19:45 AM
Seems to me that if Simple Machines does not get this integrated into their board they will continue to lose market share.. What do I know, I am a novice who used to have hundreds at once in his board before Facebook took over..
Title: Re: SA Facebook Integration
Post by: Kreator on February 08, 2014, 02:33:19 AM
Quote from: sydbat on January 29, 2014, 11:21:12 AM
Because there are over 180 pages in this thread, and searching doesn't help find the issue, I am posting a possible repeat of a question.

The first post in this very long thread is outdated. Extremely outdated.

Facebook has completely changed how to create apps. Most of the tutorial steps in the original post no longer exist.

Can one of the mod developers please go to the developers area of Facebook and create a new app so that they can post an accurate updated tutorial? This will help those getting lost due to the changes for developing apps at Facebook immensely.

Thank you.

Agree entirely, I have had this mod sitting on my machine for some time now perhaps a year or so, basically because the initial app runthrough  was out of date, and I see there has been no attempt to amend it.

Title: Re: SA Facebook Integration
Post by: GamePersia on February 11, 2014, 08:03:29 AM
Is This mod contains copyright footer note ??
if no,..then please update the method for how to make facebook app,..as facebook has changed his design !!
Title: Re: SA Facebook Integration
Post by: vbgamer45 on February 11, 2014, 11:56:44 AM
It probably does not sure though.
Title: Re: SA Facebook Integration
Post by: sydbat on February 11, 2014, 12:05:07 PM
Quote from: Kreator on February 08, 2014, 02:33:19 AM
Quote from: sydbat on January 29, 2014, 11:21:12 AM
Because there are over 180 pages in this thread, and searching doesn't help find the issue, I am posting a possible repeat of a question.

The first post in this very long thread is outdated. Extremely outdated.

Facebook has completely changed how to create apps. Most of the tutorial steps in the original post no longer exist.

Can one of the mod developers please go to the developers area of Facebook and create a new app so that they can post an accurate updated tutorial? This will help those getting lost due to the changes for developing apps at Facebook immensely.

Thank you.

Agree entirely, I have had this mod sitting on my machine for some time now perhaps a year or so, basically because the initial app runthrough  was out of date, and I see there has been no attempt to amend it.

So I looked for other things that will do what this does, and found oneall (http://www.oneall.com/). It does even more and is completely simple to set up. No issues at all. Sorry SA Integration, but you lost a 'customer'.
Title: Re: SA Facebook Integration
Post by: HEMI on February 11, 2014, 12:10:38 PM
Quote from: nicotoine on January 04, 2014, 04:00:27 AM
Hello, I installed this mod SA_Facebook_Integration but when I try to connect I have this message No connection found to facebook
I created a facebook application (configuration see attachment), I put the id code on the mod.
http://pralognan-vanoise.com/forum
thank you for your help

Simple response but have you tried adding your app domain in your facebook app? yourwebsite.com
If you're using a pretty url mod or the like too, could that be blocking? Try index.php?action=forum
Title: Re: SA Facebook Integration
Post by: Kindred on February 11, 2014, 04:08:25 PM
well, you are entitled to your opinion... However, I would not let my site touch oneall with a 20 foot pole...
Title: Re: SA Facebook Integration
Post by: SA™ on February 12, 2014, 05:21:36 AM
QuoteSo I looked for other things that will do what this does, and found oneall [nofollow]. It does even more and is completely simple to set up. No issues at all. Sorry SA Integration, but you lost a 'customer'.

lol no one has lost anything you should use whats right for you at the end of the day
this mod is not hard to setup the problem is people overcomplicate things so i just give up posting insturctions to do it i mean how hard is it t put a url in the fb app?
Title: Re: SA Facebook Integration
Post by: SMFHacks.com Team on February 12, 2014, 12:04:44 PM
Updated some of the graphics/steps. But FB seems to make changes often so guide may become outdated.
Title: Re: SA Facebook Integration
Post by: 2greedy on February 12, 2014, 04:41:01 PM
why am i getting this error?

This must be derived from Canvas URL, Secure Canvas URL, Site URL, Mobile Site URL, Page Tab URL or Secure Page Tab URL. Check and correct the following domains: qcc4x4.com/smf/
Title: Re: SA Facebook Integration
Post by: sydbat on February 12, 2014, 04:55:07 PM
Quote from: SMFHacks.com Team on February 12, 2014, 12:04:44 PM
Updated some of the graphics/steps. But FB seems to make changes often so guide may become outdated.
Thank you for doing this. I know that FB changes things all the time, which is why there are so many complaints.

Quote from: SA™ on February 12, 2014, 05:21:36 AM
this mod is not hard to setup the problem is people overcomplicate things so i just give up posting insturctions to do it i mean how hard is it t put a url in the fb app?
If you look at the newly updated OP, you will notice that things have changed significantly enough that just figuring out HOW to create a FB app is completely different from how things were before the OP was updated. Dismissing people's concerns as overcomplicating things is counter-productive. Acknowledging that the process is different than the way it was originally presented, AND helping others figure things out would have been much better.
Title: Re: SA Facebook Integration
Post by: vbgamer45 on February 12, 2014, 05:09:34 PM
Quote from: 2greedy on February 12, 2014, 04:41:01 PM
why am i getting this error?

This must be derived from Canvas URL, Secure Canvas URL, Site URL, Mobile Site URL, Page Tab URL or Secure Page Tab URL. Check and correct the following domains: qcc4x4.com/smf/
All domains in FB apps settings must match qcc4x4.com
Title: Re: SA Facebook Integration
Post by: 2greedy on February 12, 2014, 05:29:37 PM
Quote from: vbgamer45 on February 12, 2014, 05:09:34 PM
Quote from: 2greedy on February 12, 2014, 04:41:01 PM
why am i getting this error?

This must be derived from Canvas URL, Secure Canvas URL, Site URL, Mobile Site URL, Page Tab URL or Secure Page Tab URL. Check and correct the following domains: qcc4x4.com/smf/
All domains in FB apps settings must match qcc4x4.com

it's ok vbgamer, got it sorted i just didn't read the facebook app instructions properly, thanks for your fast response ;)
Title: Re: SA Facebook Integration
Post by: Vivid Values on February 12, 2014, 05:49:04 PM
those who lose the mod setup is not a problem, it's only that the people who over-complicate their settings, I am posting for those who surrender> how was it for you to install the fb app?
Title: Re: SA Facebook Integration
Post by: David111567 on February 14, 2014, 05:19:23 AM
Been reading over the posts and I notice that people are still talking about the eNotify/SA Facebook mod conflicts.  We found a solution to this issue about 2 years ago... it was posted on the FB mod site which has been down for ages. 

The solution still works...

To use eNotify and SA Facebook Integration together without the conflict during account association...DO THE FOLLOWING:

in "sources/Facebook/FacebookIntergrate.php"

find

if (empty($_SESSION['login_url'])){


And replace that line with:

if ((!empty($_SESSION['login_url']) && strpos($_SESSION['login_url'], 'enotify')) || empty($_SESSION['login_url'])){


I do it every time I load these two mods together.   It works just fine.

;D
Title: Re: SA Facebook Integration
Post by: GamePersia on February 14, 2014, 06:53:33 AM
May i hope for getting update in procedure for making facebook application to use this mod ??... :'(
Title: Re: SA Facebook Integration
Post by: SA™ on February 14, 2014, 04:15:39 PM
Quote from: David111567 on February 14, 2014, 05:19:23 AM
Been reading over the posts and I notice that people are still talking about the eNotify/SA Facebook mod conflicts.  We found a solution to this issue about 2 years ago... it was posted on the FB mod site which has been down for ages. 

The solution still works...

To use eNotify and SA Facebook Integration together without the conflict during account association...DO THE FOLLOWING:

in "sources/Facebook/FacebookIntergrate.php"

find

if (empty($_SESSION['login_url'])){


And replace that line with:

if ((!empty($_SESSION['login_url']) && strpos($_SESSION['login_url'], 'enotify')) || empty($_SESSION['login_url'])){


I do it every time I load these two mods together.   It works just fine.

;D

yup this is actualy in the mod just commented out cos it didnt work with out enotify
Quote from: GamePersia on February 14, 2014, 06:53:33 AM
May i hope for getting update in procedure for making facebook application to use this mod ??... :'(
see first post
Quote from: SMFHacks.com Team on February 12, 2014, 12:04:44 PM
Updated some of the graphics/steps. But FB seems to make changes often so guide may become outdated.
Title: Re: SA Facebook Integration
Post by: David111567 on February 14, 2014, 09:39:33 PM
SA - Yeah, I was noticing that the eNotify solution was not in the SMF threads... I could have sworn we posted it here, but it seems it was only posted on the old website which is long gone.  I could have sworn it was you who figured the problem out long ago, but I might be mistaken. At any rate, yes, it still works great.

GamePersia - The process is actually pretty easy... but if you want, I can toss up some screen shots and a set of new instructions when I get some time. I don't mind doing it... but I do have some "real life" stuff going on at the moment that I need to be a part of, so it won't happen tomorrow. Give me a week... send me a reminder in PM and I'll be happy to help out.
Title: Re: SA Facebook Integration
Post by: SA™ on February 15, 2014, 07:02:35 PM
yes it was me who come up with that solution
Title: Re: SA Facebook Integration
Post by: maarawoe on February 17, 2014, 02:57:42 PM
Quote from: maarawoe on January 21, 2014, 02:03:31 PM
Hi,

Could anyone help me how to get around these errors please?

8: Undefined index: fb_admin_grant
Apply Filter: Only show the errors from this file File: /web/htdocs2/gamestickersnet/home/www/Sources/Facebook/FacebookHooks.php
Line: 649


8: Undefined index: fb_postto
Apply Filter: Only show the errors from this file File: /web/htdocs2/gamestickersnet/home/www/Sources/Facebook/FacebookHooks.php
Line: 597



Many thanks!

Anyone please?
Title: Re: SA Facebook Integration
Post by: Raths Rants on February 22, 2014, 09:28:52 PM
I am getting ready to install this on my site. I am using OneAll atm.

I was thinking I needed to disable the Facebook login for OneAll in favor of this.

Will these two mods work together or should I choose one or the other.

Also interested in why you do not like the OneAll Social Login. Saw you made a comment about it in an earlier post.

If an issue you can PM me.
Title: Re: SA Facebook Integration
Post by: vbgamer45 on February 24, 2014, 10:41:46 AM
Probably will not work right since they both do the same thing not recommended.
Title: Re: SA Facebook Integration
Post by: Raths Rants on February 25, 2014, 07:07:10 AM
I have it installed and it appears to be working correctly.

My question is. Can I have it publish to a page I own instead of my profile. I looked around a while and did not find the option. I did change the link under my profile to point to the page instead of my personal page.
Title: Re: SA Facebook Integration
Post by: Kindred on February 25, 2014, 10:51:40 PM
Yes...   The option is right there in the admin settings, just under the entry for posting to a personal wall...

See...https://www.facebook.com/pages/Legions-of-Steel/272479519478619
Title: Re: SA Facebook Integration
Post by: Raths Rants on February 25, 2014, 11:31:03 PM
Thanks. The issue was I had this area setup wrong. Selected page and had put full address in. I removed the address and left the extension and it is working.

https://facebook.com/theddcnet
Title: Re: SA Facebook Integration
Post by: Neo_TE on February 28, 2014, 02:47:35 AM
@SA™

Bug Report

When the latest version (2.0.3) of this mod is installed in a fresh installation of SMF 2.0.7, it breaks the installation (after the mod installation is complete & after redirection happens, all I see is a white page).

I checked it twice to make sure that I'm not doing something wrong. Please check this.
Title: Re: SA Facebook Integration
Post by: Kindred on February 28, 2014, 07:53:45 AM
not this mod's fault...  it's a 2.0.7 glitch with some sites which are on the verge of memory load issues
Title: Re: SA Facebook Integration
Post by: Neo_TE on February 28, 2014, 09:19:30 AM
Quote from: Kindred on February 28, 2014, 07:53:45 AM
not this mod's fault...  it's a 2.0.7 glitch with some sites which are on the verge of memory load issues

Actually I tested it in a local lamp server and the memory limit is set at 128MB. Nothing is hosted in the localhost lamp server and I use it just for testing so I'm pretty sure that its not a memory load issue.

I checked it twice to make sure that I'm not doing something wrong.

But when I updated the mod in a live site which was using a previous version of this mod, the update worked flawless which confuses me.  ???


Here, another user also posted the same bug before a couple pages.

Quote from: harcos on January 15, 2014, 12:38:13 PM
When i install this mod, i can't access my forum anymore.
De mod won't redirect to the admin page en when i try myself to click on a link, i get a download with index.php

smf version 2.06 and no mods.

What am i doing wrong?

For now i have uninstalled the mod.

Sorry for my english..



So I request someone to check installing the latest version of this mod in a fresh installation of SMF 2.0.7. Thanks.
Title: Re: SA Facebook Integration
Post by: SA™ on February 28, 2014, 09:46:21 AM
i cannot replicate this error on a fresh install of smf tested in xampp and a friends site with no issues
Title: Re: SA Facebook Integration
Post by: Neo_TE on March 01, 2014, 10:36:07 AM
Great, thanks for checking. :)
Title: Re: SA Facebook Integration
Post by: Barthezjame on March 05, 2014, 03:47:46 PM
Hiya

I installed SA Facebook Integration all work well but just one thing about facebook icon infront of mod name in top menu is missing. Plz see pix.

I uploaded facebook.png as instruction already.

May I need help to fix this problem please.

Thx in advance.
Cheers
Jame
Title: Re: SA Facebook Integration
Post by: vbgamer45 on March 05, 2014, 03:58:50 PM
Looks like you are using a menu icon mod. You would have to modify the menu entry to include that icon.
Title: Re: SA Facebook Integration
Post by: Barthezjame on March 05, 2014, 04:08:27 PM
Quote from: vbgamer45 on March 05, 2014, 03:58:50 PM
Looks like you are using a menu icon mod. You would have to modify the menu entry to include that icon.

Many thx :D
Title: Re: SA Facebook Integration
Post by: Barthezjame on March 06, 2014, 11:01:42 AM
Hiya

May I ask when new member register by their facebook. The avatar show blank as pix.

I wonder when new member register how to setup the syster to import facebook profile pix as avatar automaticlly.

Thx
Jame
Title: Re: SA Facebook Integration
Post by: franktrog on March 06, 2014, 12:15:04 PM
Good afternoon,

Windows Server 2003 Dedicated Hosting
SMF 2.0.7 http://prntscr.com/2yf77d
I am currently trying to install this mod onto my smf forum 2.0.7 and the page freezes I think due to timeout on the server. Essentially two errors are showing up in the SMF error log.
http://prntscr.com/2yf63d

http://www.mysite.com/forum/index.php?action=admin;area=packages;sa=install2;package=SA_Facebook_Integration.zip;pid=0Apply Filter: Only show the errors with the same message2: fread() expects parameter 1 to be resource, boolean givenApply Filter: Only show the errors from this file File: C:/Inetpub/wwwroot/www.mysite.com/forum/Sources/Subs-Package.php
Line: 2817

http://www.mysite.com/forum/index.php?action=admin;area=packages;sa=install2;package=SA_Facebook_Integration.zip;pid=0Apply Filter: Only show the errors with the same message2: feof() expects parameter 1 to be resource, boolean givenApply Filter: Only show the errors from this file File: C:/Inetpub/wwwroot/www.mysite.com/forum/Sources/Subs-Package.php
Line: 2816

http://prntscr.com/2yf6ku

Error from php-errors.log
[06-Mar-2014 11:50:43 America/New_York] PHP Fatal error:  Maximum execution time of 300 seconds exceeded in C:\Inetpub\wwwroot\www.mysite.com\forum\Sources\Subs-Db-mysql.php on line 135

Would appreciate any assistance with this.
Title: Re: SA Facebook Integration
Post by: vbgamer45 on March 07, 2014, 11:54:01 AM
I would check your file permissions if not try to install the mod manually
Title: Re: SA Facebook Integration
Post by: franktrog on March 07, 2014, 12:29:22 PM
What are the manual installation procedures? I tried that on another mod and it worked but SMF wouldn't recognize it.
Title: Re: SA Facebook Integration
Post by: vbgamer45 on March 07, 2014, 01:25:42 PM
You can upload the mod to http://www.smfhacks.com/smf-package-parser.html and follow the install instructions
Title: Re: SA Facebook Integration
Post by: 2greedy on March 13, 2014, 12:01:33 AM
Hi guy's am getting this error
Given URL is not permitted by the application configuration.: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains.

was working but i have moved host's, domain is still the same could someone pls let me know what iv'e done wrong or missed pls?
Title: Re: SA Facebook Integration
Post by: gomzy on March 13, 2014, 03:25:53 AM
hi , i am getting this error, any help please, im using smf 2.0

the access is ok on my app

the issues are

1. when it says "xxx would like to post to Facebook for you." you click ok
2. it redirects to https://www.facebook.com/dialog/oauth/read
3. nothing happens  and on my forum it says " No connection to facebook found

No connection to facebook found

Title: Re: SA Facebook Integration
Post by: mroyusa on March 26, 2014, 06:42:37 PM
addon works great except in the top navigation it says FacebookFacebook instead of just once
Title: Re: SA Facebook Integration
Post by: vbgamer45 on March 26, 2014, 06:45:41 PM
Quote from: mroyusa on March 26, 2014, 06:42:37 PM
addon works great except in the top navigation it says FacebookFacebook instead of just once
That means you are missing the graphic icon or forgot to upload it.
Title: Re: SA Facebook Integration
Post by: mroyusa on March 26, 2014, 06:56:34 PM
within my simple icon mod or the facebook mod?
Title: Re: SA Facebook Integration
Post by: vbgamer45 on March 26, 2014, 07:06:07 PM
Probably for the facebook mod
Title: Re: SA Facebook Integration
Post by: mroyusa on March 26, 2014, 07:07:40 PM
I used the package manager and when i ftp into the theme/default/images folder i see the facebook.png file am i missing something?


Figured it out had to upload to theme/default/images/smi folder for simple menu icon mod for it to stop seing facebookfacebook, now i know how to fix the other menu items doing that, great mod works great, thank you so much!!!
Title: Re: SA Facebook Integration
Post by: Uhura! on March 27, 2014, 07:42:54 PM
Quote from: SA™ on October 25, 2013, 12:40:21 PM
the issue with the comments is cos incorrect logic in the template
facebook.template.php
$com_com = empty($modSettings['fb_admin_commets_post']) ? $modSettings['fb_admin_commets_post'] : '0';
should be
$com_com = !empty($modSettings['fb_admin_commets_post']) ? $modSettings['fb_admin_commets_post'] : '0';

you also need to change that code in facebookHooks.php

Please help - I cannot find these files.
Title: Re: SA Facebook Integration
Post by: SA™ on March 27, 2014, 08:03:46 PM
if you look at the post below the one you quoted your see vb fixed this in the package
Title: Re: SA Facebook Integration
Post by: Uhura! on March 28, 2014, 01:14:12 AM
I read the post below - several times. I need more specific info. I am not an advanced html user. Thanks.
Title: Re: SA Facebook Integration
Post by: Kindred on March 28, 2014, 09:22:50 AM
vbgamer fixed the package.   there is nothing for you to do if you have the most recent version of the mod
Title: Re: SA Facebook Integration
Post by: Uhura! on March 28, 2014, 11:38:33 AM
Apparently I don't.

Drats. OK. Thank you.
Title: Re: SA Facebook Integration
Post by: Uhura! on March 29, 2014, 11:58:33 PM
I had someone check this for me.

According to: http://custom.simplemachines.org/mods/?mod=2322
2.0.3 is the latest version. So it would appear I already have latest version installed.

The person looked at the code, the strings being referred to that should be changed are NOT present.
I already have the "it should be this" code in there.

So it would seem:
1.) I am already running the latest version
2.) Despite that, the person still checked the code: it is what it, according to that topic, should be.

Please advise what else can be done

i am still getting the error shown here: http://www.simplemachines.org/community/index.php?topic=365503.msg3626516#msg3626516

Thanks!
Title: Re: SA Facebook Integration
Post by: SA™ on March 30, 2014, 01:23:54 PM
QuoteThe person looked at the code, the strings being referred to that should be changed are NOT present.
I already have the "it should be this" code in there.

oh it is there
$com_com = !empty($modSettings['fb_admin_commets_post']) ? $modSettings['fb_admin_commets_post'] : '0';

but as i said before vb fixed this in the package so you wont fine the code to change cos it will de slitly different now

even if you think you have the latest version id just uninstall and reinstall cosi dont think vb changes the version for one lonely fix [could be wrong]
Title: Re: SA Facebook Integration
Post by: desai_amogh on April 01, 2014, 10:12:18 AM
how do i invite my fb friends to join m forum from this mod  couldnt find such an option..
Title: Re: SA Facebook Integration
Post by: AZMazda3 on April 01, 2014, 11:54:16 AM
I've searched but can not seem to find to really helpful items.

#1 An updated 'user manual' for this mod, the current one's configuration seems a bit more involved than the original post.
#2 Perhaps I could figure this out on my own but have to too figure out why I have no visible buttons, other than the publish button, which as of yet works sort of.
Title: Re: SA Facebook Integration
Post by: vbgamer45 on April 01, 2014, 02:02:32 PM
1. Doesn't exist

2. Most likely missing graphic icons.
Title: Re: SA Facebook Integration
Post by: AZMazda3 on April 01, 2014, 04:26:07 PM
Quote from: vbgamer45 on April 01, 2014, 02:02:32 PM
1. Doesn't exist

2. Most likely missing graphic icons.

Regarding #2, you'd think they would have been in the mod files, right?
Title: Re: SA Facebook Integration
Post by: vbgamer45 on April 01, 2014, 05:54:08 PM
More than likely yes
Title: Re: SA Facebook Integration
Post by: AZMazda3 on April 01, 2014, 06:12:42 PM
Quote from: vbgamer45 on April 01, 2014, 05:54:08 PM
More than likely yes

I must have totally missed something then, because the "Like" buttons are no where to be seen.
Title: Re: SA Facebook Integration
Post by: desai_amogh on April 02, 2014, 03:10:55 AM
On my site here: www.electronicsforum.in

1. Like button can be seen, but the opengraph image doesnt get pulled when posting to FB.  I have a 250*250 px image set for opengraph.  All the time OP's profile pic get posted.

2.  I dont see the invite option.
Title: Re: SA Facebook Integration
Post by: GamePersia on April 05, 2014, 03:14:10 AM
whenever putting site url it's saying
This url has been identified as malicious and/or abusive.
Help Needed... :'(
Title: Re: SA Facebook Integration
Post by: AZMazda3 on April 05, 2014, 11:30:15 AM
I gave up on this mod, although the features are nice, it was not playing nice with 2.0.7 and I really only want to OG tags for FB to pull everything else at this time is overkill.

Unistalled.
Title: Re: SA Facebook Integration
Post by: vkot on April 06, 2014, 04:55:43 AM
I moved to a new server and the mod is not working anymore. I have spent much time wondering what could be wrong. I don't see the facebook button on my forum anymore (nothing relevant in the page source too), and I don't see the mod's link in the forum's admin panel. (Shouldn't it be there? I installed the mod a couple of months ago but I forgot already what I did to set it up (at the forum, not the app))

Ownership & permissions of the mod's files seem OK on the server, and the mod's records are in the DB (settings table). /index.php?action=facebook shows me the home page. The rest of the forum works well. I don't know what else to check...  :-[
Title: Re: SA Facebook Integration
Post by: desai_amogh on April 07, 2014, 02:49:54 AM
for wahetever reasons, this mod doesnt work for me as expected.. all i need is a like button + OG image tags and fb pulling the image i set for posts.  It doesnt do it.
Title: Re: SA Facebook Integration
Post by: Padre gremista on April 11, 2014, 12:35:21 PM
Here the mod is not working. Happens the error in URLs and I cann't repair this.
Title: Re: SA Facebook Integration
Post by: Kindred on April 11, 2014, 06:12:40 PM
you really need to provide more than a single line of complaint with no details....

The mod works fine on my site...
Title: Re: SA Facebook Integration
Post by: firefox60 on April 14, 2014, 12:04:13 PM
Hi all just installed the mod but dont think its working
i see the facbook logo on the forum but the web page in facebook does not show any thing from the forum
firefox
forum www.expatslivinginasia.com
facebook expa­t­s­l­i­v­i­n­g­i­n­a­s­i­a­.com
Title: Re: SA Facebook Integration
Post by: vkot on April 14, 2014, 12:38:36 PM
Regarding my problem, 4 messages behind, I uninstalled and installed the mod again (without errors), and again I see nothing. I examined all mod's changes and file copies using the package parser http://www.tytyweb.net/projects/smf/package-parser/ For some unknown (to me) reason, the mod did not make file changes and copying, although the package manager installed without errors.
I did it the install manually and the mod works now. :)

@firefox60
Maybe your problem is similar to the one I had, check it out.
Title: Re: SA Facebook Integration
Post by: margarett on April 14, 2014, 04:29:34 PM
That issue is usually related to files ownership, check this I wrote some time ago.
http://www.simplemachines.org/community/index.php?topic=515350.msg3654634#msg3654634

Do you have similar issue installing other MODs?
Title: Re: SA Facebook Integration
Post by: firefox60 on April 15, 2014, 01:14:59 PM
Thanks Marg sorry about the multiple post
Still cant get it to work don't know what the problem is any one help me
thanks website expatslivinginasia.com

the forum is not showing on facebook but i can comment and it will show on face book what am I doing wrong

I did a test post on the forum but nothing went to facebook can some one log into the forum for me and check my settings for the mod

On the publish button at the bottom of the screen comes up with javascriptvoid(0)

marg edit: please don't create multiple posts. There is an edit button, use it ;) Posts were merged

Title: Re: SA Facebook Integration
Post by: firefox60 on April 16, 2014, 08:36:23 PM
Any one help me with the javascript error I cant publish but I can comment and it shows on the facebook page

Quote from: firefox60 on April 15, 2014, 01:14:59 PM
Thanks Marg sorry about the multiple post
Still cant get it to work don't know what the problem is any one help me
thanks website expatslivinginasia.com

the forum is not showing on facebook but i can comment and it will show on face book what am I doing wrong

I did a test post on the forum but nothing went to facebook can some one log into the forum for me and check my settings for the mod

On the publish button at the bottom of the screen comes up with javascriptvoid(0)

marg edit: please don't create multiple posts. There is an edit button, use it ;) Posts were merged
Title: Re: SA Facebook Integration
Post by: Barthezjame on April 18, 2014, 12:19:04 PM
May I ask How to force the mod to Import FB Avatar automatic when make a new registration ?

Now I found problem about Avartar of member who register by facebook. The avartar missing as pix :P

Many thx
Title: Re: SA Facebook Integration
Post by: vbgamer45 on April 18, 2014, 01:54:33 PM
Not supported at this time.
Title: Re: SA Facebook Integration
Post by: firefox60 on April 19, 2014, 12:36:13 AM

Can no one answer this one ????
Quote from: firefox60 on April 16, 2014, 08:36:23 PM
Any one help me with the javascript error I cant publish but I can comment and it shows on the facebook page

Quote from: firefox60 on April 15, 2014, 01:14:59 PM
Thanks Marg sorry about the multiple post
Still cant get it to work don't know what the problem is any one help me
thanks website expatslivinginasia.com

the forum is not showing on facebook but i can comment and it will show on face book what am I doing wrong

I did a test post on the forum but nothing went to facebook can some one log into the forum for me and check my settings for the mod

On the publish button at the bottom of the screen comes up with javascriptvoid(0)

marg edit: please don't create multiple posts. There is an edit button, use it ;) Posts were merged
Quote from: firefox60 on April 16, 2014, 08:36:23 PM
Any one help me with the javascript error I cant publish but I can comment and it shows on the facebook page

Quote from: firefox60 on April 15, 2014, 01:14:59 PM
Thanks Marg sorry about the multiple post
Still cant get it to work don't know what the problem is any one help me
thanks website expatslivinginasia.com

the forum is not showing on facebook but i can comment and it will show on face book what am I doing wrong

I did a test post on the forum but nothing went to facebook can some one log into the forum for me and check my settings for the mod

On the publish button at the bottom of the screen comes up with javascriptvoid(0)

marg edit: please don't create multiple posts. There is an edit button, use it ;) Posts were merged
Title: Re: SA Facebook Integration
Post by: firefox60 on April 23, 2014, 04:13:56 PM
I uninstalled the mod and re installed it myself and still got the same error. I changed the themes and lost the facebook button. Changed the theme back to the default one and got the button back but still get the java error when clicking on the publish button but i can place a comment and that will post to facebook.

any ideas why i get the javascriptvoid:(0) just on the publish button
HELP ME PLease
Title: Re: SA Facebook Integration
Post by: firefox60 on April 24, 2014, 03:16:08 PM
This is the part of the code that i think is the problem
li class="fbpub_button">

    <a onclick="publishStream('Retirement in Cambodia',' (adsbygoogle = w...//expatslivinginasia.com/index.php?topic=56.msg105#msg105');" href="javascript:void(0)"></a>

</li>
Quote from: firefox60 on April 23, 2014, 04:13:56 PM
I uninstalled the mod and re installed it myself and still got the same error. I changed the themes and lost the facebook button. Changed the theme back to the default one and got the button back but still get the java error when clicking on the publish button but i can place a comment and that will post to facebook.

any ideas why i get the javascriptvoid:(0) just on the publish button
HELP ME PLease
Title: Re: SA Facebook Integration
Post by: ryangassxx on April 25, 2014, 05:50:21 PM
My Facebook integration functionality has vanished... I'm not really sure what happened. I've had it running for months without any trouble and not the login with facebook option is simply missing..

I've uninstalled and reinstalled the updated version and it's still not there..

The only change I've made lately is adding tapatalk functionality..

I'm at http://bearshq.com

Anyone have any idea what might have happened?
Title: Re: SA Facebook Integration
Post by: margarett on April 25, 2014, 06:26:48 PM
If you remove tapatalk, does it work?
Title: Re: SA Facebook Integration
Post by: Dzonny on May 02, 2014, 02:17:21 PM
I keep getting this error when trying to register with this mod:
OAuthException: (#12) username is deprecated for versions v2.0 and higher

I have no idea what's that all about as mod works just fine on all forums I have it on.

2.0.7 version.
Title: Re: SA Facebook Integration
Post by: amritsidhu on May 02, 2014, 08:19:59 PM
Hi I am getting the following error in error log

http://www.******.com/index.php?pretty;action=profile&amp;area=fsettings;u=273
2: Illegal string offset 'user_id'Apply
/home/******/public_html/*******.com/Sources/Facebook/FacebookProfile.php
Line: 42

and On line 42 I have

$this->user = $user['user_id'];

could anyone help please?
Title: Re: SA Facebook Integration
Post by: PSN on May 04, 2014, 05:52:38 AM
An Error Has Occurred!
CurlException: 7: couldn't connect to host
Title: Re: SA Facebook Integration
Post by: PSN on May 04, 2014, 06:21:54 AM
Quote from: pavan061994 on January 02, 2013, 03:43:49 AM
Have A problem:

After Doing all things.... Getting error:

No connection to facebook found

and after I logged in FB.....thn it shows:

CurlException: 7: couldn't connect to host

Link: forum.risingphoenix.asia

Same with me
Title: Re: SA Facebook Integration
Post by: amritsidhu on May 05, 2014, 07:38:44 AM
Quote from: PSN on May 04, 2014, 06:21:54 AM
Quote from: pavan061994 on January 02, 2013, 03:43:49 AM
Have A problem:

After Doing all things.... Getting error:

No connection to facebook found

and after I logged in FB.....thn it shows:

CurlException: 7: couldn't connect to host

Link: forum.risingphoenix.asia

Same with me

Try this http://www.tech-and-dev.com/2012/07/how-to-fix-facebook-connect-error.html
Title: Re: SA Facebook Integration
Post by: DBCoop on May 07, 2014, 01:08:26 PM
Quote from: HEMI on February 11, 2014, 12:10:38 PM
Quote from: nicotoine on January 04, 2014, 04:00:27 AM
Hello, I installed this mod SA_Facebook_Integration but when I try to connect I have this message No connection found to facebook
I created a facebook application (configuration see attachment), I put the id code on the mod.
http://pralognan-vanoise.com/forum
thank you for your help

Simple response but have you tried adding your app domain in your facebook app? yourwebsite.com
If you're using a pretty url mod or the like too, could that be blocking? Try index.php?action=forum


Took me a long time to find this solution 
Thanks to you my headache has cleared.   Thanks alot worked perfectly as it should
Title: Re: SA Facebook Integration - PUBLISHER: RIGHT LINK WRONG THREAD TITLE
Post by: forfun on May 08, 2014, 03:45:21 PM
I have question on the "publisher" feature.  The mod is working awesome, except that it doesn't show the topic title, instead it only shows in all the posts and comments, the website description, which has the right link to the post or comment.
How can I "fix" and set the mod, so it will show the correct title on facebook.
The attached image is the sample page on facebook that shows all 3 comments have the same topic title, but actually they have different link to different thread.
Thanks much in advance
Here is the link to the real facebook page. https://www.facebook.com/pages/HDvTwinForums/709687289070339
You can see that ALL the "comments" have the same "topic", but they all have different links. :-(
Title: Re: SA Facebook Integration
Post by: forfun on May 09, 2014, 06:06:05 AM
Anyone?
Title: Re: SA Facebook Integration
Post by: jlt1 on May 09, 2014, 02:27:49 PM
What files do I need to make writable in the FTP directory? When I go to install it isn't connecting to my database so I want to do it manually but I can't find the files listed in order to do that. Thanks.
Title: Re: SA Facebook Integration
Post by: Kindred on May 09, 2014, 04:42:40 PM
attempting to fully-manually install mods is a bad idea...
(updating a failed line or two is one thing, doing a full manual install? bad)

However, if you go to the mod page, there is a "parse this mod for manual installation" option.

If you are having problems connecting to the database, then you have bigger issues than this mod....   and I'd suggest you fix those before trying to install a mod like that.
Title: Re: SA Facebook Integration
Post by: JOSHSKORN on May 09, 2014, 11:23:49 PM
Have the instructions changed on how to create a Facebook App?  After the second picture on the OP, I get lost.  I don't know where to enter the Description, Icon, logo, language and everything else listed there.  Any help?

For awhile, I was getting the canvas error entering the app domain, and I couldn't find how to enter in the website URL.  Figured that out by adding a platform. For App domain, I just took out the "http://www." portion and it worked fine.
Title: Re: SA Facebook Integration
Post by: forfun on May 10, 2014, 05:56:40 AM
Quote from: forfun on May 08, 2014, 03:45:21 PM
I have question on the "publisher" feature.  The mod is working awesome, except that it doesn't show the topic title, instead it only shows in all the posts and comments, the website description, which has the right link to the post or comment.
How can I "fix" and set the mod, so it will show the correct title on facebook.
The attached image is the sample page on facebook that shows all 3 comments have the same topic title, but actually they have different link to different thread.
Thanks much in advance
Here is the link to the real facebook page. https://www.facebook.com/pages/HDvTwinForums/709687289070339
You can see that ALL the "comments" have the same "topic", but they all have different links. :-(

Any idea?
Title: Re: SA Facebook Integration
Post by: Harvester on May 10, 2014, 10:44:35 AM
Im having issues setting the image that will show on facebook when I make a post to it through the Comment feature. It keeps showing a generic green chat bubble looking thing, which as far as I know, is nowhere on my site. I would like to set it so that it at least uses my site logo.

also, i notice that when i use the publish feature, it uses an altogether different thumbnail... some little grey thing.

I would love to be able to set this. Either to set them and leave or even better yet, to set specifically per posting to facebook.
Title: Re: SA Facebook Integration
Post by: Kindred on May 10, 2014, 03:33:41 PM
index.php?action=admin;area=facebook;sa=og

Open graph settings of the facebook mod....
set your image there.

You can not do it "per post"
Title: Re: SA Facebook Integration
Post by: oroedel on May 11, 2014, 04:37:38 PM
I´ve got this error:

OAuthException: (#12) username is deprecated for versions v2.0 and higher

is this why my fb name is "Oliver Rödel"

or what happened?

Is there an actual instalation guide cause the posted one is a "little" bit confusing.
Title: Re: SA Facebook Integration
Post by: Dzonny on May 11, 2014, 07:35:37 PM
Quote from: oroedel on May 11, 2014, 04:37:38 PM
I´ve got this error:

OAuthException: (#12) username is deprecated for versions v2.0 and higher

is this why my fb name is "Oliver Rödel"

or what happened?

Is there an actual instalation guide cause the posted one is a "little" bit confusing.

Same error here, and I have no idea what's up with that tho'.
Title: Re: SA Facebook Integration
Post by: Kindred on May 11, 2014, 07:44:09 PM
I think it  has to do with the UTF8 characters in the names....
Title: Re: SA Facebook Integration
Post by: Arantor on May 11, 2014, 07:47:28 PM
Or the fact that part of the API being called is deprecated by the version of OAuth, like the error says?
Title: Re: SA Facebook Integration
Post by: cjgoodings on May 12, 2014, 01:47:16 PM
Ya im having that same error message "OAuthException: (#12) username is deprecated for versions v2.0 and higher"

Not to sound like a complete idiot, but what would be a quick fix to get things going?

Title: Re: SA Facebook Integration
Post by: Arantor on May 12, 2014, 01:49:35 PM
I don't think there is a quick fix.
Title: Re: SA Facebook Integration
Post by: cjgoodings on May 12, 2014, 01:53:35 PM
Heh, sounds just like my luck. Im trying to launch a forum for a facebook buy/sell/trade/job group, in order to keep track on all transactions and review sellers. With it already existing on fb, the only option i had was fb integration.
Title: Re: SA Facebook Integration
Post by: forfun on May 12, 2014, 02:08:19 PM
Try again!

I have question on the "publisher" feature.  The mod is working awesome, except that it doesn't show the topic title, instead it only shows in all the posts and comments, the website description, which has the right link to the post or comment.
How can I "fix" and set the mod, so it will show the correct title on facebook.
The attached image is the sample page on facebook that shows all 3 comments have the same topic title, but actually they have different link to different thread.
Thanks much in advance
Here is the link to the real facebook page. https://www.facebook.com/pages/HDvTwinForums/709687289070339
You can see that ALL the "comments" have the same "topic", but they all have different links. :-(
Title: Re: SA Facebook Integration
Post by: cjgoodings on May 12, 2014, 02:10:00 PM
Was reading some of the comments on previous pages, is it that SMF's newest version doesn't play well with this plugin?
Title: Re: SA Facebook Integration
Post by: Arantor on May 12, 2014, 02:13:38 PM
No, it's that this plugin needs updating because Facebook has deprecated some of the functions, based on the error message being received...
Title: Re: SA Facebook Integration
Post by: cjgoodings on May 12, 2014, 02:16:18 PM
Bah, don't feel like this much stress right now, i'll figure something else out.
Title: Re: SA Facebook Integration
Post by: Kindred on May 12, 2014, 08:27:11 PM
strange...   this mod is working successfully on my 2.0.6 forum


http://los.turtleshellprod.com
https://www.facebook.com/pages/Legions-of-Steel/272479519478619
Title: Re: SA Facebook Integration
Post by: Arantor on May 12, 2014, 08:29:19 PM
Maybe it's a case of accounts being updated to use a more recent version of OAuth on FB's end. I'm only going off the error message being given where it says that the API call being used is deprecated...
Title: Re: SA Facebook Integration
Post by: Kindred on May 12, 2014, 09:03:53 PM
Yup... I was not disagreeing with you.  I just found it odd that these folks are having this issue... Maybe it has something to do with the Facebook application that they created? Because my application was created a year or more ago....
Title: Re: SA Facebook Integration
Post by: Arantor on May 12, 2014, 09:04:24 PM
It's Facebook. APIs change randomly, regularly and often without as much warning as would be nice.
Title: Re: SA Facebook Integration
Post by: forfun on May 12, 2014, 10:25:11 PM
Quote from: Kindred on May 12, 2014, 09:03:53 PM
Yup... I was not disagreeing with you.  I just found it odd that these folks are having this issue... Maybe it has something to do with the Facebook application that they created? Because my application was created a year or more ago....

It works fine with my smf 2.0.7 version, except the little glitch that I am still waiting for some help.

QuoteI have question on the "publisher" feature.  The mod is working awesome, except that it doesn't show the topic title, instead it only shows in all the posts and comments, the website description, which has the right link to the post or comment.
How can I "fix" and set the mod, so it will show the correct title on facebook.
The attached image is the sample page on facebook that shows all 3 comments have the same topic title, but actually they have different link to different thread.
Thanks much in advance
Here is the link to the real facebook page. https://www.facebook.com/pages/HDvTwinForums/709687289070339
You can see that ALL the "comments" have the same "topic", but they all have different links. :-(
Title: Re: SA Facebook Integration
Post by: Arantor on May 12, 2014, 10:28:55 PM
Of course they do. Your forum provides the same title and meta description on every topic.

Example - http://www.hdvtwinforums.com/forum/246/who-are-you/

title: hdvtwinforums.com - HD Forum - Harley Davidson Vtwin Forum Provides Motorcycle Tech Tips, Reviews, Parts, Riding Across USA with Google Map
meta description: Harley Davidson V-Twin Motorcycle Forum - HDForum - The rest stop for those who ride across the USA with a motorcycle

Facebook is republishing what you give it. One of your 'SEO' mods is helpfully breaking things for you.
Title: Re: SA Facebook Integration
Post by: forfun on May 12, 2014, 10:37:26 PM
Thanks much for the tip.
Even though, I don't have enough knowledge to fix the problem by my self in this case, but at least, that is the first step of improvement.
Thanks again.
Anyone else knows how to fix this please show me a little more.
Title: Re: SA Facebook Integration
Post by: Arantor on May 12, 2014, 10:42:12 PM
Well, your theme's index.template.php would be a helpful start...
Title: Re: SA Facebook Integration
Post by: forfun on May 12, 2014, 10:45:23 PM
Thanks so much for the tip.
I will get to work immediately.
Title: Re: SA Facebook Integration
Post by: Kindred on May 12, 2014, 10:50:20 PM
What seo mod are you using? Ask the author of that mod...
Title: Re: SA Facebook Integration
Post by: forfun on May 12, 2014, 11:20:18 PM
I am running PortaMx-SEF 1.51.
I will try to turn the SEF off to see what will happen.
Title: Re: SA Facebook Integration
Post by: Dzonny on May 13, 2014, 12:31:26 PM
Quote from: Kindred on May 12, 2014, 08:27:11 PM
strange...   this mod is working successfully on my 2.0.6 forum


http://los.turtleshellprod.com
https://www.facebook.com/pages/Legions-of-Steel/272479519478619

Same situation here, the mod is working just fine on few of mine forums, but I can't get it to work with the one i'm working on now sadly...
Title: Re: SA Facebook Integration
Post by: oroedel on May 13, 2014, 07:55:08 PM
Ok, there are some smf installations that have the same error and now!?

Could it an fb app setup problem, cause I did the setup "shooting" around cause the installation "guide" doesn´t shows todays fb reallity.
Title: Re: SA Facebook Integration
Post by: JOSHSKORN on May 16, 2014, 08:09:33 AM
Has anyone gotten this mod to work, recently, as in within the last week or two, with SMF 2.0.7?
Title: Re: SA Facebook Integration
Post by: Kindred on May 16, 2014, 02:51:39 PM
well, 2.0.6 and 2.0.7 don't have any difference that would affect this mod.

And it works perfectly well on my 2.0.6 site....  however, as Arantor and I discussed above... it looks like FB may have changed their API yet again, meaning anyone who is trying to set up a new app may have trouble... not with the mod itself, but with the connection to FB
Title: Re: SA Facebook Integration
Post by: JOSHSKORN on May 16, 2014, 06:25:24 PM
Quote from: Kindred on May 16, 2014, 02:51:39 PM
well, 2.0.6 and 2.0.7 don't have any difference that would affect this mod.

And it works perfectly well on my 2.0.6 site....  however, as Arantor and I discussed above... it looks like FB may have changed their API yet again, meaning anyone who is trying to set up a new app may have trouble... not with the mod itself, but with the connection to FB

Any word from the mod maker about this issue?  I need to get going on my community site and I need this mod.  My group is currently Facebook based and I'd like to transition it to a site/forum.  This at first seemed like a really great way to do it.
Title: Re: SA Facebook Integration
Post by: Kindred on May 22, 2014, 01:03:23 AM
Jason,

Why don't you POST the answer here for the whole community to share?
Title: Re: SA Facebook Integration
Post by: Dzonny on May 22, 2014, 04:36:27 AM
Quote from: Kindred on May 22, 2014, 01:03:23 AM
Jason,

Why don't you POST the answer here for the whole community to share?
Yeah, that would be highly appreciated.
Title: Re: SA Facebook Integration
Post by: forfun on May 22, 2014, 03:37:58 PM
This is his first post. He is just a troll!
Title: Re: SA Facebook Integration
Post by: Arantor on May 22, 2014, 03:38:53 PM
I'm fairly sure that it's about fixing it in exchange for a fee. Assuming he's got the skills and right now I'm somewhat sceptical.
Title: Re: SA Facebook Integration
Post by: Kindred on May 22, 2014, 04:27:02 PM
I suspect the same thing, Arantor (the fee, that is - I leave the debate as to his skill until there is evidence one way or the other)

However, I want him to come out and say it rather than hinting....   
Title: Re: SA Facebook Integration
Post by: Arantor on May 22, 2014, 04:28:29 PM
The fee was pretty much a given. The skill... that's speculation on my part but nothing about his post gives me cause to think he knows enough to make it work, let's put it that way.
Title: Re: SA Facebook Integration
Post by: Kindred on May 22, 2014, 04:59:51 PM
I will note... if he's charging for a modified version of SA's mod, then he is likely in violation of the license
Title: Re: SA Facebook Integration
Post by: Dblog on May 23, 2014, 02:08:22 PM
Even when facebook auto login is enabled, but registration is disabled, facebook login button in login page is not seen.
This button becomes visible only when registration is enabled ?? how and why ??

I also use SA Google Integration but there i see no such issues

How can i disable all registrations but still allow login button to be seen (though i guess ppl with cookies enabled are being auto logged in)
Title: Re: SA Facebook Integration
Post by: jlt1 on May 24, 2014, 11:29:19 PM
After launching my website, it has been brought up to me, that in order for a user who registered with facebook using the SA Facebook mod, that they can't save account changes because they have to enter a password. If the user is using their facebook for registration, is a local registration completely bypassed, therefore the user does not have a password on the website? I am confused on this. If a user wants to change their information under account settings, they can't do it without having a password to save the changes. Any tips on this?
Title: Re: SA Facebook Integration
Post by: vbgamer45 on May 25, 2014, 09:06:57 PM
Quote from: jlt1 on May 24, 2014, 11:29:19 PM
After launching my website, it has been brought up to me, that in order for a user who registered with facebook using the SA Facebook mod, that they can't save account changes because they have to enter a password. If the user is using their facebook for registration, is a local registration completely bypassed, therefore the user does not have a password on the website? I am confused on this. If a user wants to change their information under account settings, they can't do it without having a password to save the changes. Any tips on this?
That is a current bug since we set an internal password not shown for facebook registrations.
Title: Re: SA Facebook Integration
Post by: Kindred on May 25, 2014, 10:16:24 PM
they can always recover/reset the forum password by using the lost password function
Title: Re: SA Facebook Integration
Post by: smartmouse on May 28, 2014, 04:26:45 AM
Hello.
i'm trying to install SA Facebook mod but i get some errors.

When i try to install the mod SMF asks me to enter FTP login details (it is the first time i see it) and after i entered them i get this error:
"You cannot download or install new packages because the Packages directory or one of the files in it are not writable!"
so i created a "temp" folder and chmoded it to 777 to solve it.
Then the installation seems to be fine but i discovered that no files was modified.
The installation only adds new files but do not modify file like Display.template.php.
In fact if i try to remove the mod i get "Test failed" errors...

What could be the problem?

I tried to install other packages and all was fine. I also tried to install SA Facebook and other site but i get the same problems!

Thank you in advance for your help and sorry for my english.
Title: Re: SA Facebook Integration
Post by: kronprom on May 30, 2014, 03:34:58 AM
"OAuthException: (#12) username is deprecated for versions v2.0 and higher"

It's happen because Graph API 2.0 not allow to access "username"

solve:
change to API 1.0   (get /v1.0/me)    or  get "name" instead




Title: Re: SA Facebook Integration
Post by: jlt1 on May 30, 2014, 12:19:34 PM
Quote from: Kindred on May 25, 2014, 10:16:24 PM
they can always recover/reset the forum password by using the lost password function
After digging I found a solution. I set registration method to manual and it'll use some facebook data but the user will still have to do all the required registration steps and bypass e-mail activation (that's how I wanted it). The resetting password with their e-mail was also no good under the automatic setting because it used their facebook profile URL (e.g., fb.com/[email protected]. It often wasn't a valid e-mail address and even then those e-mails typically go the facebook messages "other" folder and therefore they had no access to getting a retrieval password via e-mail reset. Admin action was required. :)
Title: Re: SA Facebook Integration
Post by: Dzonny on May 30, 2014, 04:02:09 PM
Quote from: kronprom on May 30, 2014, 03:34:58 AM
"OAuthException: (#12) username is deprecated for versions v2.0 and higher"

It's happen because Graph API 2.0 not allow to access "username"

solve:
change to API 1.0   (get /v1.0/me)    or  get "name" instead





Sorry, can you please explain a bit more how to do it?
I just tried to change version to 1.0 and to change "name" to "username" but i failed, because when i save changes i got some error page or whatever it is...
Printscreen attached.
Title: Re: SA Facebook Integration
Post by: kronprom on May 31, 2014, 06:54:07 AM
Dzonny  :   sorry for my bad English .. I will try my best to answer you  :)


1 .  Choose : Your Application name
2.   Check:    API  version  supported  for your App
                      **   If you just create new application , it will show only v2.0 that's means  you can not use SA FB Module with your App.
                 To Solve :
                      1.  Change your Application   (if you have created  before April , Choose one that support API v1.0 "
                      or 2. Modify code in File  FaccbookHooks.php     find  " me?fields=id,name,username"  then remove ",username"
                               

3.  Click :  "Get Access Token" 
4.   Test Get :  field " username"   


.........................
Title: Re: SA Facebook Integration
Post by: Dzonny on May 31, 2014, 11:58:45 AM
Thank you so much    kronprom, that helped to me, and app is working fine now :)

So for everyone who's not sure how to do it, I did it with using one of mine old apps on FB which has option for v 1.0, so I just changed url and all settings in that app, and then go to Tools - Graph Explored, choose the app that you'll use, and firstly change the version to 1.0 then get access token and debug it. After that just add ",username" to the field below and save everything. That should be it.

However, let me just note that editing FacebookHooks.php file didn't helped in my case though.

Thanks once again!
Title: Re: SA Facebook Integration
Post by: JOSHSKORN on May 31, 2014, 11:57:01 PM
Where are THESE settings?  I see a screen shot much further down in the instructions that seem to go with the inputs described here but where do I find the screen for it?  Is it on Facebook or is it on my site?  THIS is where I'm getting confused.

QuoteDescription - you may put a description for your application/website if you wish
    Icon - You may use a 16x16 favicon if you wish
    Logo - you may upload a logo to be used on facebook for your application if you wish
    Language - (self explanatory) Select your preferred language
    User Support Address - You MUST choose an option.
    You MUST complete the field below based on your choice
    Facebook automatically uses your personal email address if you do not complete this field
    This field cannot be left blank
    Contact Email - this is the email address that you would prefer to have Facebook contact you as the developer of the application
    Privacy Policy URL & Terms of Use URL - I recommend yoursite/action=register
    You may also simple copy the registration agreement into a post and provide a link to said post
    Developers - (self explanatory) Add and remove other developers if needed
    You do NOT need to click save at this time... just continue to the next step.
Title: Re: SA Facebook Integration
Post by: Kindred on June 01, 2014, 12:01:44 AM
Those are part of creating the Facebook app
Title: Re: SA Facebook Integration
Post by: JOSHSKORN on June 01, 2014, 12:45:04 AM
Quote from: Kindred on June 01, 2014, 12:01:44 AM
Those are part of creating the Facebook app

What do I click on to see where to input those?  When creating the Facebook app, I only see what's on the first screen shot.
Title: Re: SA Facebook Integration
Post by: Kindred on June 01, 2014, 12:55:29 AM
It's either somewhere in the app settings... Of Facebook, being the digits that they are went and fundamentally changed their app setup so that everything that was done before is no longer relevant.

Which is likely, given their record.
Title: Re: SA Facebook Integration
Post by: EliteClicks on June 03, 2014, 12:15:39 PM
Hello!

I installed in this mod in theforum..

When I click on register it show's :


An Error Has Occurred!
OAuthException: An active access token must be used to query information about the current user.


and Another error:


An Error Has Occurred!
OAuthException: (#12) username is deprecated for versions v2.0 and higher


Please Help me ;)

Let me know if any other details needed :)
Title: Re: SA Facebook Integration
Post by: MESWEB on June 03, 2014, 12:33:58 PM
I have this error:
Quote
8192: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead
Plik: /home/messiah/domains/obeznany.pl/public_html/Sources/Facebook/FacebookHooks.php
Line: 174
Title: Re: SA Facebook Integration
Post by: margarett on June 03, 2014, 12:59:01 PM
@EliteClicks: check previous posts. FB changed something on their side and, as it stands, you can't use this MOD until the author fixes/upgrades it.

@MESWEB: You are running PHP 5.5+ and this MOD needs to be rewritten to suppress those errors. Pretty much what happened to SMF from version 2.0.6 to 2.0.7 ;)
Title: Re: SA Facebook Integration
Post by: EliteClicks on June 04, 2014, 12:26:49 AM
Quote from: margarett on June 03, 2014, 12:59:01 PM
@EliteClicks: check previous posts. FB changed something on their side and, as it stands, you can't use this MOD until the author fixes/upgrades it.

@MESWEB: You are running PHP 5.5+ and this MOD needs to be rewritten to suppress those errors. Pretty much what happened to SMF from version 2.0.6 to 2.0.7 ;)

So can I get similar mod that works for me?
Title: Re: SA Facebook Integration
Post by: JOSHSKORN on June 04, 2014, 12:47:31 AM
Quote from: margarett on June 03, 2014, 12:59:01 PM
@EliteClicks: check previous posts. FB changed something on their side and, as it stands, you can't use this MOD until the author fixes/upgrades it.

@MESWEB: You are running PHP 5.5+ and this MOD needs to be rewritten to suppress those errors. Pretty much what happened to SMF from version 2.0.6 to 2.0.7 ;)

Let me get this straight.  I'm trying to use this MOD for the first time.  Due to a change on Facebook's side, this MOD is currently unusable?
Title: Re: SA Facebook Integration
Post by: Kindred on June 04, 2014, 12:50:24 AM
possibly...  some people have gotten it to work, some have not.

Based on a post a few posts back, it looks like it may matter what kind of app you created --- a v1 or v2 OAuth version....
v1 works
v2 does not

All thatnks to facebook and their crap about changing interfaces without actually telling people
Title: Re: SA Facebook Integration
Post by: JOSHSKORN on June 04, 2014, 12:52:11 AM
Quote from: Kindred on June 04, 2014, 12:50:24 AM
possibly...  some people have gotten it to work, some have not.

Based on a post a few posts back, it looks like it may matter what kind of app you created --- a v1 or v2 OAuth version....
v1 works
v2 does not

All thatnks to facebook and their crap about changing interfaces without actually telling people
How do you know which one you created and if you did v2 can you switch over to v1 or do you have delete it and start over?
Title: Re: SA Facebook Integration
Post by: Jack_Elixir on June 04, 2014, 06:27:59 AM
Give me link of Mod
Title: Re: SA Facebook Integration
Post by: Dzonny on June 04, 2014, 06:51:24 AM
If you created an app more than a month ago or so, it can be changed to v1 probably, but if you create it later you can not go back to v1 sadly. Follow the instructions provided few posts above and you'll see if you can change it to v1.
Title: Re: SA Facebook Integration
Post by: JOSHSKORN on June 05, 2014, 02:19:37 AM
Quote from: kronprom on May 31, 2014, 06:54:07 AM
2. Modify code in File  FaccbookHooks.php     find  " me?fields=id,name,username"  then remove ",username"                               

3.  Click :  "Get Access Token" 
4.   Test Get :  field " username"   
Step #2 here doesn't seem to work for me.  By default, I do not see username, anyway.  What is the deal with the rest of the code in the second screen shot? Where do I get it from?  Obviously I can't copy text from a screen shot.
Title: Re: SA Facebook Integration
Post by: EliteClicks on June 05, 2014, 08:06:10 AM
Quote from: kronprom on May 31, 2014, 06:54:07 AM
Dzonny  :   sorry for my bad English .. I will try my best to answer you  :)


1 .  Choose : Your Application name
2.   Check:    API  version  supported  for your App
                      **   If you just create new application , it will show only v2.0 that's means  you can not use SA FB Module with your App.
                 To Solve :
                      1.  Change your Application   (if you have created  before April , Choose one that support API v1.0 "
                      or 2. Modify code in File  FaccbookHooks.php     find  " me?fields=id,name,username"  then remove ",username"
                               

3.  Click :  "Get Access Token" 
4.   Test Get :  field " username"   


.........................

I followed that buy just error msg changed..

OAuthException: An active access token must be used to query information about the current user.

Please help me   :o
Title: Re: SA Facebook Integration
Post by: Dzonny on June 05, 2014, 12:54:12 PM
That edit wasn't helpful for me as well.
I already wrote what to do and which helped me:
Quote from: Dzonny on May 31, 2014, 11:58:45 AM
Thank you so much    kronprom, that helped to me, and app is working fine now :)

So for everyone who's not sure how to do it, I did it with using one of mine old apps on FB which has option for v 1.0, so I just changed url and all settings in that app, and then go to Tools - Graph Explored, choose the app that you'll use, and firstly change the version to 1.0 then get access token and debug it. After that just add ",username" to the field below and save everything. That should be it.

However, let me just note that editing FacebookHooks.php file didn't helped in my case though.

Thanks once again!
Title: Re: SA Facebook Integration
Post by: EliteClicks on June 05, 2014, 02:50:01 PM
Quote from: Dzonny on June 05, 2014, 12:54:12 PM
That edit wasn't helpful for me as well.
I already wrote what to do and which helped me:
Quote from: Dzonny on May 31, 2014, 11:58:45 AM
Thank you so much    kronprom, that helped to me, and app is working fine now :)

So for everyone who's not sure how to do it, I did it with using one of mine old apps on FB which has option for v 1.0, so I just changed url and all settings in that app, and then go to Tools - Graph Explored, choose the app that you'll use, and firstly change the version to 1.0 then get access token and debug it. After that just add ",username" to the field below and save everything. That should be it.

However, let me just note that editing FacebookHooks.php file didn't helped in my case though.

Thanks once again!

Hello Mate thanks for reply..

But My app cannot be converted to v1.0
As I recently created that..
Please can any one help me in this..
Title: Re: SA Facebook Integration
Post by: Dzonny on June 05, 2014, 07:07:54 PM
Sadly there's nothing we can do about that in that case, we must wait for new version of app to be published or some patch for this problem...
Title: Re: SA Facebook Integration
Post by: JOSHSKORN on June 06, 2014, 05:14:45 AM
Quote from: Dzonny on June 05, 2014, 12:54:12 PM
That edit wasn't helpful for me as well.
I already wrote what to do and which helped me:
Quote from: Dzonny on May 31, 2014, 11:58:45 AM
Thank you so much    kronprom, that helped to me, and app is working fine now :)

So for everyone who's not sure how to do it, I did it with using one of mine old apps on FB which has option for v 1.0, so I just changed url and all settings in that app, and then go to Tools - Graph Explored, choose the app that you'll use, and firstly change the version to 1.0 then get access token and debug it. After that just add ",username" to the field below and save everything. That should be it.

However, let me just note that editing FacebookHooks.php file didn't helped in my case though.

Thanks once again!

Unfortunately, I have a new app (v2). I didn't even begin playing with this mod until around April or May.
Title: Re: SA Facebook Integration
Post by: EliteClicks on June 07, 2014, 05:41:48 AM
I'm getting this error


Database Error
Please try again. If you come back to this error screen, report the error to an administrator.
Title: Re: SA Facebook Integration
Post by: JOSHSKORN on June 19, 2014, 06:10:13 PM
I noticed this app was updated recently to work with SMF 2.08.  Any word on integration with Facebook Apps 2.0?  I can't go back to 1.0.
Title: Re: SA Facebook Integration
Post by: vbgamer45 on June 19, 2014, 06:46:06 PM
Haven't made any changes don't have time at the moment.
Title: Re: SA Facebook Integration
Post by: JOSHSKORN on June 19, 2014, 07:25:36 PM
Quote from: vbgamer45 on June 19, 2014, 06:46:06 PM
Haven't made any changes don't have time at the moment.
Ugh ok.  I'm eagerly awaiting this mod.  I'm going to go ahead with a "functional work-around" for now.  Not what I wanted, but when this mod is updated for FB Apps 2.0, I'll take advantage of it.  Thanks for the reply.
Title: Re: SA Facebook Integration
Post by: MESWEB on June 21, 2014, 05:06:26 PM
I have error:
http://obeznany.pl/index.php?topic=10.msg16
8192: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead
File: /home/*l/public_html/Sources/Facebook/FacebookHooks.php
Line: 173 & 174
Title: Re: SA Facebook Integration
Post by: Kindred on June 21, 2014, 05:25:15 PM
that's because you are running php 5.5 - and this mod has not been updated for that
Title: Re: SA Facebook Integration
Post by: MESWEB on June 21, 2014, 05:41:31 PM
So when I can expect any update?
Title: Re: SA Facebook Integration
Post by: vbgamer45 on June 21, 2014, 06:08:28 PM
Not for a long time I am too busy at the moment maybe in a couple months
Title: Re: SA Facebook Integration
Post by: Polv89 on July 02, 2014, 03:38:24 PM
Hello, why i have this error logging in with facebook?
"OAuthException: (#12) username is deprecated for versions v2.0 and higher"

Thanks
Title: Re: SA Facebook Integration
Post by: Polv89 on July 02, 2014, 03:57:06 PM
Quote from: kronprom on May 31, 2014, 06:54:07 AM
Dzonny  :   sorry for my bad English .. I will try my best to answer you  :)


1 .  Choose : Your Application name
2.   Check:    API  version  supported  for your App
                      **   If you just create new application , it will show only v2.0 that's means  you can not use SA FB Module with your App.
                 To Solve :
                      1.  Change your Application   (if you have created  before April , Choose one that support API v1.0 "
                      or 2. Modify code in File  FaccbookHooks.php     find  " me?fields=id,name,username"  then remove ",username"
                               

3.  Click :  "Get Access Token" 
4.   Test Get :  field " username"   


.........................

I've tried this but i have this error "OAuthException: An active access token must be used to query information about the current user."
Title: Re: SA Facebook Integration
Post by: gnfb1234 on July 11, 2014, 09:42:41 PM
So I don't spend the next two days trying to get something working that doesnt

If installed on smf SMF 2.0.6 is this working with facebook ?

All I want is the ability that when a new thread is started on my forum that it creates a entry in my facebook page

Does this mod do that ?
Title: Re: SA Facebook Integration
Post by: Kindred on July 11, 2014, 10:48:35 PM
It would... If you have an older app... If you are just creating a new FB app, it won't work, based on people's current experiences with the deprecated functions.
Title: Re: SA Facebook Integration
Post by: eeToday on July 19, 2014, 01:59:53 AM
this is awesome, Lot of Love.
Title: Re: SA Facebook Integration
Post by: eeToday on July 19, 2014, 02:28:30 AM
I've got an error below while testing register with facebook,

OAuthException: (#12) username is deprecated for versions v2.0 and higher
Title: Re: SA Facebook Integration
Post by: Kindred on July 19, 2014, 07:13:40 AM
welcome to SMF... but did you bother to use the search option? That has been answered several dozen times in this very thread.
Title: Re: SA Facebook Integration
Post by: eeToday on July 19, 2014, 09:41:03 AM
Thanks you, I did followed as in history answer, and I've fixed the 1st error, then got this like another one.  "OAuthException: An active access token must be used to query information about the current user."

I think it may need to wait until patch update right, thanks you.
Title: Re: SA Facebook Integration
Post by: GZ06 on July 23, 2014, 03:43:02 AM
all works well, but when posting comment from forum to FB it's writing:

Object at URL 'http://forumkavkaz.com/raznoe/avtopoezda-armii-ssha/?PHPSESSID=ede648da831955df3b97bb176abd0ed4' of type '' is invalid because the given value '' for property 'og:url' could not be parsed as type 'url'.

How can we fix it?
Title: Re: SA Facebook Integration
Post by: samborabora on July 28, 2014, 06:29:12 PM
How can I call the link somewhere other than the profile page? I'd like the link the SA facebook array creates for the profile submenu, but it's all bound up in an array, any ideas how to get this to be generated somewhere else, such as display.template?
Title: Re: SA Facebook Integration
Post by: pushkardua on July 29, 2014, 03:50:46 PM
please please answer for OAuthException: (#12) username is deprecated for versions v2.0 and higher
error Pleaseeeee
Title: Re: SA Facebook Integration
Post by: Kindred on July 29, 2014, 04:26:52 PM
that has been answered 10 dozen times already. Please read the thread or use search.
Title: Re: SA Facebook Integration
Post by: vbgamer45 on July 29, 2014, 04:41:48 PM
Quote from: pushkardua on July 29, 2014, 03:50:46 PM
please please answer for OAuthException: (#12) username is deprecated for versions v2.0 and higher
error Pleaseeeee
Posted an update see if it helps
Title: Re: SA Facebook Integration
Post by: forfun on July 29, 2014, 10:42:43 PM
Sorry for a dumb question, but do I need to un-install the previous version to be able to do the upgrade, and just use the package manager (download package) to install the new version?
Thanks
Title: Re: SA Facebook Integration
Post by: vbgamer45 on July 29, 2014, 11:16:20 PM
I would suggest that if possible.
Title: Re: SA Facebook Integration
Post by: samborabora on July 30, 2014, 05:07:08 AM
Quote from: samborabora on July 28, 2014, 06:29:12 PM
How can I call the link somewhere other than the profile page? I'd like the link the SA facebook array creates for the profile submenu, but it's all bound up in an array, any ideas how to get this to be generated somewhere else, such as display.template?

Is this possible? I'd prefer not to just use a link but rather the same url that SA Facebook creates for the dropdown menu. I want to link an image and place it in display.template.
Title: Re: SA Facebook Integration
Post by: vbgamer45 on July 30, 2014, 08:46:27 AM
Possible yes most things can be done if you can code it.
Title: Re: SA Facebook Integration
Post by: samborabora on July 30, 2014, 09:17:53 AM
Quote from: vbgamer45 on July 30, 2014, 08:46:27 AM
Possible yes most things can be done if you can code it.

Er, okay, do you know how to do this?
Title: Re: SA Facebook Integration
Post by: vbgamer45 on July 30, 2014, 09:36:54 AM
No sorry it involves moving php code.
Title: Re: SA Facebook Integration
Post by: samborabora on July 30, 2014, 09:40:53 AM
Quote from: vbgamer45 on July 30, 2014, 09:36:54 AM
No sorry it involves moving php code.

Could you elaborate as to what 'moving php code' means in the context of this mod, please?
Title: Re: SA Facebook Integration
Post by: vbgamer45 on July 30, 2014, 10:45:38 AM
I am not sure I just know it uses php.
Title: Re: SA Facebook Integration
Post by: JOSHSKORN on July 30, 2014, 04:30:54 PM
I kinda wish the disclaimer on the mod page tells you that this mod won't work unless you had created a v1 app prior to whatever date it was that Facebook forced you to make v2 apps only, and when the mod is finally updated for v2 apps, to state so.

Edit:  Something like this:

Warning: You must create an application on facebook to use this modification.  Currently, this mod only supports Facebook Apps v1.0.  As of April 30th, 2014, Facebook has moved to v2.0 apps.  This mod will only work if you've created a v1.0 app prior to April 30th, 2014.
Title: Re: SA Facebook Integration
Post by: samborabora on July 31, 2014, 09:10:04 AM
Who coded this mod originally?
Title: Re: SA Facebook Integration
Post by: vbgamer45 on July 31, 2014, 09:19:01 AM
Was coded by SA
Title: Re: SA Facebook Integration
Post by: samborabora on July 31, 2014, 09:47:03 AM
Quote from: vbgamer45 on July 31, 2014, 09:19:01 AM
Was coded by SA

Is SA present?
Title: Re: SA Facebook Integration
Post by: Kindred on July 31, 2014, 11:31:14 AM
Quote from: samborabora on July 31, 2014, 09:47:03 AM
Quote from: vbgamer45 on July 31, 2014, 09:19:01 AM
Was coded by SA

Is SA present?

Why?  The current "owner" of the mod, and the one wgo would provide support is vbgamer.
Title: Re: SA Facebook Integration
Post by: Arantor on July 31, 2014, 11:49:23 AM
He probably wants to go hassle the original author for support, despite the original author having handed it over, and in all honesty this probably needs substantially more work to make it work on the newer app setup anyway
Title: Re: SA Facebook Integration
Post by: samborabora on July 31, 2014, 01:31:13 PM
Quote from: Kindred on July 31, 2014, 11:31:14 AM
Quote from: samborabora on July 31, 2014, 09:47:03 AM
Quote from: vbgamer45 on July 31, 2014, 09:19:01 AM
Was coded by SA

Is SA present?

Why?  The current "owner" of the mod, and the one wgo would provide support is vbgamer.
Quote from: ‽ on July 31, 2014, 11:49:23 AM
He probably wants to go hassle the original author for support, despite the original author having handed it over, and in all honesty this probably needs substantially more work to make it work on the newer app setup anyway

Wow, you two are hunting me down now to have a go. The current "owner" quite frankly doesn't seem particularly qualified to support his mods, no offence vb, so it seems useless asking for support from him, I've tried before and it's not been a helpful experience.

I don't see why your trying to be antagonistic towards me just because I'm asking for help, and not receiving it. You both had your fun in that other thread, why are you trying to turn someone else's support thread into a  s h i t   storm because you don't like me? Just be helpful or STFU and stop being so rude and inconsiderate to other peoples feelings.

Once again, I'll ask, why the hell is it supposed to be so difficult to have the link that's generated in the sub-menu put in the display.template.php page? I'm not experienced enough to know, but supposedly you, Arantor, WOULD be experienced enough, even though I've yet to see anything seriously useful or helpful come out of your fingers.
Title: Re: SA Facebook Integration
Post by: Arantor on July 31, 2014, 01:42:24 PM
No, Kindred just asked why it mattered who the author was. Fact is they've passed on support of the mod to someone else - and frankly, finding out who the author was won't get you anywhere.

I was just trying to answer Kindred's question. Not trying to persecute anyone.

I have the skill, but I don't have the desire or time to work on such things for people who always seem so ungrateful. I suppose the many, many bug fixes or dozens of mods I've written over the years don't count. I don't have a need to bridge to FB, so why would I invest time in something I don't use for the benefit of people who just seem to complain about things?
Title: Re: SA Facebook Integration
Post by: real_ugee on July 31, 2014, 02:27:03 PM
Nice...
Title: Re: SA Facebook Integration
Post by: Kindred on July 31, 2014, 03:41:28 PM
and I am not chasing you anywhere.
There are certain threads many) that I have previously posted in -- often in mods that I have used.
When I get notified of a new post, I read it...  and answer or address the issue if I can.

Whether you have had success with vbgamer or not is hardly relevant.
SA handed the mod off to vbgamer because he didn't want to support it any more -- or maybe for some other reason.  That exact reason is not relevant either...
What is relevant is that vbgamer is the current author and support for this mod. Any requests should go to him.
I suspected that you asked for the original author for exactly the reason that Arantor indicated, but was giving you an out. 
Since you have proven my supposition correct, let me state this: Harassing the FORMER author of a mod is uncouth and obnoxious and, if I hear about it, I will have to give you a time out.

You have a history on this site of ignoring people because of your attitude that you "know better than the rest of us". I suggest some modification of that attitude.



Title: Re: SA Facebook Integration
Post by: samborabora on August 02, 2014, 08:02:03 AM
Quote from: Kindred on July 31, 2014, 03:41:28 PM
and I am not chasing you anywhere.
There are certain threads many) that I have previously posted in -- often in mods that I have used.
When I get notified of a new post, I read it...  and answer or address the issue if I can.

Whether you have had success with vbgamer or not is hardly relevant.
SA handed the mod off to vbgamer because he didn't want to support it any more -- or maybe for some other reason.  That exact reason is not relevant either...
What is relevant is that vbgamer is the current author and support for this mod. Any requests should go to him.
I suspected that you asked for the original author for exactly the reason that Arantor indicated, but was giving you an out. 
Since you have proven my supposition correct, let me state this: Harassing the FORMER author of a mod is uncouth and obnoxious and, if I hear about it, I will have to give you a time out.

You have a history on this site of ignoring people because of your attitude that you "know better than the rest of us". I suggest some modification of that attitude.

I'm going to make this brief. I never insinuated I was going to 'harrass' the author, you both made that one up. I just asked. I didn't prove your supposition correct, you supposed it all by yourself. I never contacted anyone, I was just curious as to why the current 'author' has no idea how to support his own mods, no offence intended.

I do not ignore people because of my attitude, I always respond to any issues other people have with my enquiries. I cannot imagine why you would consider my conduct to fit the description of "know better than the rest of us", unless of course you assume that I consider my own personal 'taste' and 'opinions' on how this software should be manipulated and modified to be superior to the majority of users, which I do not. I clearly have special requirements for how I personally would like the software to behave, and if this isn't widely considered useful or interesting, then it's not for anyone else to tell me what to do or how to do it, all I am asking for is suggestions or help, not an on-running string of personal attacks and lectures on WHY it shouldn't be done.

Now, the solution, I worked out by myself. It was simple. The FacebookHooks.php file contains the buffer string and the replace line, just rewrite the template and rewrite the hook, there's three hooks in the mod be default, and I assume more can be added if required.

original hooks:
$buffer = preg_replace('~(' . preg_quote('<div class="info">'. $txt['guestnew']. '</div>') . ')~', '<a href="'.$loginUrl.'"><img src="'.$modSettings['fb_log_logo'].'" alt="" /></a><div class="info">'. $txt['guestnew']. '</div>', $buffer);
        $buffer = preg_replace('~(' . preg_quote($txt['forgot_your_password']. '</a></p>') . ')~', $txt['forgot_your_password']. '</a></p><div align="center"><a href="'.$loginUrl.'"><img src="'.$modSettings['fb_log_logo'].'" alt="" /></a></div>', $buffer);
        $buffer = preg_replace('~(' . preg_quote('<dt><strong><label for="smf_autov_username">'. $txt['username']. ':</label></strong></dt>') . ')~','<dt><strong>'.$txt['fb_rwf'].':</strong><div class="smalltext">'.$txt['fb_regmay'].'</div></dt><dd><a href="'.$loginUrl.'"><img src="'.$modSettings['fb_log_logo'].'" alt="" /></a></dd><dt><strong><label for="smf_autov_username">'. $txt['username']. ':</label></strong></dt>', $buffer);
    }


modified hooks that match the positions within my template:
$buffer = preg_replace('~(' . preg_quote('<div class="info">'. $txt['guestnew']. '</div>') . ')~', '<a href="'.$loginUrl.'"><img src="'.$modSettings['fb_log_logo'].'" alt="" /></a><div class="info">'. $txt['guestnew']. '</div>', $buffer);
        $buffer = preg_replace('~(' . preg_quote('<div id="loginlogo"></div>') . ')~', '<div style="float: right;
clear: both;"><a href="'.$loginUrl.'"><img src="'.$settings['theme_url']. '/images/theme/fb.png" alt="" /></a></div><div id="loginlogo"></div>', $buffer);
        $buffer = preg_replace('~(' . preg_quote('<div id="registerlogo"></div>') . ')~','<div style="float: right;
clear: both;"><a href="'.$loginUrl.'"><img src="'.$settings['theme_url']. '/images/theme/fb.png" alt="" /></a></div><div id="registerlogo"></div>', $buffer);
    }


So, that's all that's needed, and if the so-called superior and experienced members of this 'help forum' could have been useful in their responses, instead of waving their power around and being personally insulting, I might have learned that a little faster, but either way, I hope it serves of some use to others wishing to modify this in a similar manner.

Oh, and I use version 1.0 apps, so it still works for me. Probably be handy to update it for less-fortunate users, tho.
Title: Re: SA Facebook Integration
Post by: Chris Grable on August 04, 2014, 10:49:49 PM
Checking my logic or understanding of this mod.   If I installed this tomorrow and hooked it up to Facebook it will not work due to Facebook now using v2.0 apps while this mod still only supports v1.0- apps.  Yes?

thanks!
chris
Title: Re: SA Facebook Integration
Post by: JOSHSKORN on August 05, 2014, 01:33:10 AM
Quote from: Chris Grable on August 04, 2014, 10:49:49 PM
Checking my logic or understanding of this mod.   If I installed this tomorrow and hooked it up to Facebook it will not work due to Facebook now using v2.0 apps while this mod still only supports v1.0- apps.  Yes?

thanks!
chris

You are correct.  You would have had to have an existing mod, created before April 30th, 2014 in order to have a v1 app.  Unfortunately, I missed out on that, so this mod is useless to me and others in the same boat.  I wish I'd known this BEFORE I installed the mod, but unfortunately that wasn't the case.  I was able to successfully install the mod, as it does install on SMF 2.08, but again, it does not connect to Facebook with a v2 app.  Sucks, because I was drooling at the mod's features and sad when I couldn't use it.
Title: Re: SA Facebook Integration
Post by: vbgamer45 on August 05, 2014, 11:57:13 AM
If enough people want a new version I can look into doing it as a paid modification with a v2 app and see if it is possible to do.
Title: Re: SA Facebook Integration
Post by: JOSHSKORN on August 05, 2014, 08:46:06 PM
Quote from: vbgamer45 on August 05, 2014, 11:57:13 AM
If enough people want a new version I can look into doing it as a paid modification with a v2 app and see if it is possible to do.
If I was involved in the same community I was a couple months ago, I'd hop on board.  Unfortunately, some things fell through.  I have to say, those that never got the mod to work, like me, I was just looking at the features this mod provides, and it didn't compare to anything else I saw out there.  Worth a paid mod? I'd say yes.  I think at some point, it'd have to be free, though.
Title: Re: SA Facebook Integration
Post by: samborabora on August 13, 2014, 10:04:48 AM
Okay, I'm getting somewhere. I just need to know what the check is if you are connected with facebook or not. Is it:

Logged in:empty($user_settings['fbname'])
Not logged in:!empty($user_settings['fbname'])

Or:

Logged in:empty($modSettings['fb_app_enabled'])
Not logged in:!empty($modSettings['fb_app_enabled'])

Or:

Logged in:$modSettings['fb_dfbreg2'] == 1
Not logged in:$modSettings['fb_dfbreg2'] == 0
Or even:
Not logged in:$modSettings['fb_dfbreg2'] == 2

I can't seem to find a way that works so I can display a hook ONLY if you are not connected/associated to facebook.
Title: Re: SA Facebook Integration
Post by: vbgamer45 on August 13, 2014, 10:24:29 AM
This one below
Quote from: samborabora on August 13, 2014, 10:04:48 AM
Not Logged in:empty($user_settings['fbname'])
Logged in:!empty($user_settings['fbname'])



Title: Re: SA Facebook Integration
Post by: samborabora on August 13, 2014, 12:28:23 PM
Quote from: vbgamer45 on August 13, 2014, 10:24:29 AM
This one below
Quote from: samborabora on August 13, 2014, 10:04:48 AM
Not Logged in:empty($user_settings['fbname'])
Logged in:!empty($user_settings['fbname'])



This should work, but it just isn't. I'm trying this:
  if(empty($user_settings['fbname']) ){
$buffer = preg_replace('~(' . preg_quote('<span name=facebookwhereabouts></span>') . ')~','<a href="'.$loginUrl.'"><span style="color: #c00;
text-decoration: underline;">login with facebook</span></a>', $buffer);
  }


And yet whether or not my account is associated or disassociated, it keeps displaying the message. I obviously only want it to offer the login option if the account is not associated with facebook (Ie: the same check that switches in and out the "associate account with facebook" to "settings" in the profile menu. It seems that just uses:
if(empty($user_settings['fbname']) && !empty($modSettings['fb_app_enabled']))
If the account is NOT associated and:
if(!empty($user_settings['fbname']) && !empty($modSettings['fb_app_enabled']))
if the account IS associated. So I can't see why this wouldn't work?
Title: Re: SA Facebook Integration
Post by: samborabora on August 15, 2014, 04:44:06 AM
Quote from: samborabora on August 13, 2014, 12:28:23 PM
Quote from: vbgamer45 on August 13, 2014, 10:24:29 AM
This one below
Quote from: samborabora on August 13, 2014, 10:04:48 AM
Not Logged in:empty($user_settings['fbname'])
Logged in:!empty($user_settings['fbname'])



This should work, but it just isn't. I'm trying this:
  if(empty($user_settings['fbname']) ){
$buffer = preg_replace('~(' . preg_quote('<span name=facebookwhereabouts></span>') . ')~','<a href="'.$loginUrl.'"><span style="color: #c00;
text-decoration: underline;">login with facebook</span></a>', $buffer);
  }


And yet whether or not my account is associated or disassociated, it keeps displaying the message. I obviously only want it to offer the login option if the account is not associated with facebook (Ie: the same check that switches in and out the "associate account with facebook" to "settings" in the profile menu. It seems that just uses:
if(empty($user_settings['fbname']) && !empty($modSettings['fb_app_enabled']))
If the account is NOT associated and:
if(!empty($user_settings['fbname']) && !empty($modSettings['fb_app_enabled']))
if the account IS associated. So I can't see why this wouldn't work?

Tried some more, I can't see why this function isn't working when hooked into display.template. There's no question that it changed dependent on association with facebook, because the exact same call works in the array that hooks into the menu taht switches between 'settings' and 'associate account with facebook'. The call should be available when hooked into display.template, shouldn't it?
Title: Re: SA Facebook Integration
Post by: backgoes on August 15, 2014, 08:53:06 PM
great mod but cant import fb avatar,  try manual but nothing happen... this great if auto import fb avatar too...
Title: Re: SA Facebook Integration
Post by: m62power on August 17, 2014, 03:46:34 PM
Hi all,

First off all i need to say that i am new on this forum. I read it for a while now and already have found allot answers to my questions for early problems i have with the setup for my forum (modifications)

But now i have a problem with the mod (SA Facebook integration)

I am running SMF 2.0.8
I have installed this package : SA Facebook Integration 2.0.4
I have done the setup by the info page in the forum
I have filled in the Facebook Application ID & Facebook Application Secret
I have enabled the function in my smf forum
I have set it public on facebook developers (app) page.


But now the problem is next: When somebody tried to sign up with facebook.
It goes to facebook, ask autorization, next it goes back to my smf forum and gives this error: no connection to facebook found

I have read already allot off topics but the answer is not given anywhere that i can see.
I have found someonene said there is a fix for this with a link. Only the link is dead!

He said this:

Quote from: SA™ on February 15, 2012, 02:15:15 PM
there is a fix fo that here

Dead link


But on the end this is unsolved.

Is there someone who can help me out with this ore maybe have the link to the fix for this issue?
Sorry but i am unable to post any links at the moment.   :(

Thanks in advance!
Title: Re: SA Facebook Integration
Post by: samborabora on August 17, 2014, 04:54:50 PM
Quote from: m62power on August 17, 2014, 03:46:34 PM
Hi all,

First off all i need to say that i am new on this forum. I read it for a while now and already have found allot answers to my questions for early problems i have with the setup for my forum (modifications)

But now i have a problem with the mod (SA Facebook integration)

I am running SMF 2.0.8
I have installed this package : SA Facebook Integration 2.0.4
I have done the setup by the info page in the forum
I have filled in the Facebook Application ID & Facebook Application Secret
I have enabled the function in my smf forum
I have set it public on facebook developers (app) page.


But now the problem is next: When somebody tried to sign up with facebook.
It goes to facebook, ask autorization, next it goes back to my smf forum and gives this error: no connection to facebook found

I have read already allot off topics but the answer is not given anywhere that i can see.
I have found someonene said there is a fix for this with a link. Only the link is dead!

He said this:

Quote from: SA™ on February 15, 2012, 02:15:15 PM
there is a fix fo that here

Dead link


But on the end this is unsolved.

Is there someone who can help me out with this ore maybe have the link to the fix for this issue?
Sorry but i am unable to post any links at the moment.   :(

Thanks in advance!

If you didn't register your app before April this year, it wont work, this mod only works with v1 apps registered at facebook currently.
Title: Re: SA Facebook Integration
Post by: m62power on August 17, 2014, 05:43:48 PM
Quote from: samborabora on August 17, 2014, 04:54:50 PM
Quote from: m62power on August 17, 2014, 03:46:34 PM
Hi all,

First off all i need to say that i am new on this forum. I read it for a while now and already have found allot answers to my questions for early problems i have with the setup for my forum (modifications)

But now i have a problem with the mod (SA Facebook integration)

I am running SMF 2.0.8
I have installed this package : SA Facebook Integration 2.0.4
I have done the setup by the info page in the forum
I have filled in the Facebook Application ID & Facebook Application Secret
I have enabled the function in my smf forum
I have set it public on facebook developers (app) page.


But now the problem is next: When somebody tried to sign up with facebook.
It goes to facebook, ask autorization, next it goes back to my smf forum and gives this error: no connection to facebook found

I have read already allot off topics but the answer is not given anywhere that i can see.
I have found someonene said there is a fix for this with a link. Only the link is dead!

He said this:

Quote from: SA™ on February 15, 2012, 02:15:15 PM
there is a fix fo that here

Dead link


But on the end this is unsolved.

Is there someone who can help me out with this ore maybe have the link to the fix for this issue?
Sorry but i am unable to post any links at the moment.   :(

Thanks in advance!

If you didn't register your app before April this year, it wont work, this mod only works with v1 apps registered at facebook currently.


Thank you very much for fast answer! Is there any possibility to fix it anyway? Or do you have an idea if this mod will be updated again soon?
Title: Re: SA Facebook Integration
Post by: samborabora on August 17, 2014, 05:50:38 PM
Quote from: m62power on August 17, 2014, 05:43:48 PM
Quote from: samborabora on August 17, 2014, 04:54:50 PM
Quote from: m62power on August 17, 2014, 03:46:34 PM
Hi all,

First off all i need to say that i am new on this forum. I read it for a while now and already have found allot answers to my questions for early problems i have with the setup for my forum (modifications)

But now i have a problem with the mod (SA Facebook integration)

I am running SMF 2.0.8
I have installed this package : SA Facebook Integration 2.0.4
I have done the setup by the info page in the forum
I have filled in the Facebook Application ID & Facebook Application Secret
I have enabled the function in my smf forum
I have set it public on facebook developers (app) page.


But now the problem is next: When somebody tried to sign up with facebook.
It goes to facebook, ask autorization, next it goes back to my smf forum and gives this error: no connection to facebook found

I have read already allot off topics but the answer is not given anywhere that i can see.
I have found someonene said there is a fix for this with a link. Only the link is dead!

He said this:

Quote from: SA™ on February 15, 2012, 02:15:15 PM
there is a fix fo that here

Dead link


But on the end this is unsolved.

Is there someone who can help me out with this ore maybe have the link to the fix for this issue?
Sorry but i am unable to post any links at the moment.   :(

Thanks in advance!

If you didn't register your app before April this year, it wont work, this mod only works with v1 apps registered at facebook currently.


Thank you very much for fast answer! Is there any possibility to fix it anyway? Or do you have an idea if this mod will be updated again soon?

No problem! I think the author is considering doing a paid update, if he gets the time, I know a lot of people have been requesting it to be compatible with v2 apps.
Title: Re: SA Facebook Integration
Post by: m62power on August 17, 2014, 06:03:19 PM
Quote from: samborabora on August 17, 2014, 05:50:38 PM
Quote from: m62power on August 17, 2014, 05:43:48 PM
Quote from: samborabora on August 17, 2014, 04:54:50 PM
Quote from: m62power on August 17, 2014, 03:46:34 PM
Hi all,

First off all i need to say that i am new on this forum. I read it for a while now and already have found allot answers to my questions for early problems i have with the setup for my forum (modifications)

But now i have a problem with the mod (SA Facebook integration)

I am running SMF 2.0.8
I have installed this package : SA Facebook Integration 2.0.4
I have done the setup by the info page in the forum
I have filled in the Facebook Application ID & Facebook Application Secret
I have enabled the function in my smf forum
I have set it public on facebook developers (app) page.


But now the problem is next: When somebody tried to sign up with facebook.
It goes to facebook, ask autorization, next it goes back to my smf forum and gives this error: no connection to facebook found

I have read already allot off topics but the answer is not given anywhere that i can see.
I have found someonene said there is a fix for this with a link. Only the link is dead!

He said this:

Quote from: SA™ on February 15, 2012, 02:15:15 PM
there is a fix fo that here

Dead link


But on the end this is unsolved.

Is there someone who can help me out with this ore maybe have the link to the fix for this issue?
Sorry but i am unable to post any links at the moment.   :(

Thanks in advance!

If you didn't register your app before April this year, it wont work, this mod only works with v1 apps registered at facebook currently.


Thank you very much for fast answer! Is there any possibility to fix it anyway? Or do you have an idea if this mod will be updated again soon?

No problem! I think the author is considering doing a paid update, if he gets the time, I know a lot of people have been requesting it to be compatible with v2 apps.


Okay, Thanks again for the information!

Can you answer my latest question as last.

1. Do  you know if the rest off the Facebook app is functional or not. I mean the like buttons etc.. in topics and messages.
2. There is another social app modification. "Social Login Version 3.1". Do you know if this is about the same mod and is still functional?

Thanks again!
Title: Re: SA Facebook Integration
Post by: samborabora on August 18, 2014, 12:48:53 PM
Quote from: m62power on August 17, 2014, 06:03:19 PM
Quote from: samborabora on August 17, 2014, 05:50:38 PM
Quote from: m62power on August 17, 2014, 05:43:48 PM
Quote from: samborabora on August 17, 2014, 04:54:50 PM
Quote from: m62power on August 17, 2014, 03:46:34 PM
Hi all,

First off all i need to say that i am new on this forum. I read it for a while now and already have found allot answers to my questions for early problems i have with the setup for my forum (modifications)

But now i have a problem with the mod (SA Facebook integration)

I am running SMF 2.0.8
I have installed this package : SA Facebook Integration 2.0.4
I have done the setup by the info page in the forum
I have filled in the Facebook Application ID & Facebook Application Secret
I have enabled the function in my smf forum
I have set it public on facebook developers (app) page.


But now the problem is next: When somebody tried to sign up with facebook.
It goes to facebook, ask autorization, next it goes back to my smf forum and gives this error: no connection to facebook found

I have read already allot off topics but the answer is not given anywhere that i can see.
I have found someonene said there is a fix for this with a link. Only the link is dead!

He said this:

Quote from: SA™ on February 15, 2012, 02:15:15 PM
there is a fix fo that here

Dead link


But on the end this is unsolved.

Is there someone who can help me out with this ore maybe have the link to the fix for this issue?
Sorry but i am unable to post any links at the moment.   :(

Thanks in advance!

If you didn't register your app before April this year, it wont work, this mod only works with v1 apps registered at facebook currently.


Thank you very much for fast answer! Is there any possibility to fix it anyway? Or do you have an idea if this mod will be updated again soon?

No problem! I think the author is considering doing a paid update, if he gets the time, I know a lot of people have been requesting it to be compatible with v2 apps.


Okay, Thanks again for the information!

Can you answer my latest question as last.

1. Do  you know if the rest off the Facebook app is functional or not. I mean the like buttons etc.. in topics and messages.
2. There is another social app modification. "Social Login Version 3.1". Do you know if this is about the same mod and is still functional?

Thanks again!

I'm not sure, I registered my app before v2 became available, so I'm not sure how much works on v2. I haven't used Social Login, but it appears that this may be the only facebook mod for smf at this time, although I may be wrong? :D
Title: Re: SA Facebook Integration
Post by: samborabora on August 20, 2014, 01:12:24 AM
So, just need to know how to call ($user_settings['fbname']) outside of the admin menus? If absolutely not, can I set a flag that can be checked in display.template when the user associates?
Title: Re: SA Facebook Integration
Post by: sYsguard on August 23, 2014, 11:14:05 PM
Hello, great plugin.

However, I find some errors that i cant be resolved yet with your help:

check: goo.gl/9jEo7u

domain.com / /index.php?action=facebookintegrate;area=auto;agree#_=_
error message: You have not entered a valid email address

if i logged in (conventionally) and i syncronie with fb profile my account it is work fine (of course without fb avatar)

If you help me, of course I'll give you 3-1 years old apps. )i have more than 30 pieces)

pls help me any info, thank you
Title: Re: SA Facebook Integration
Post by: samborabora on August 25, 2014, 12:09:05 PM
I've globalized:

$modSettings, $fb_hook_object, $user_settings

Into display template. I just simply cannot find a combination that will check if the account is associated with facebook or not, nothing works! Ive tried:

if(!empty($user_settings['fbname']) && !empty($modSettings['fb_mode1']) && !empty($modSettings['fb_app_enabled'])){
and
if (($user_settings['fbname']) == 0){ including all numbers
and
if (!empty($user_settings['fbname'])){

and
if (empty($user_settings['fbname'])){

It's just crazy, it's working fine with:
if(empty($user_settings['fbname']) && !empty($modSettings['fb_app_enabled'])){
         self::facebook_array_insert($profile_areas, 'profile_action',
        array(
        'profile_fb' => array(
            'title' => $txt['fb_main5'],
            'areas' => array(
            'fsettings' => array(
            'label' => $txt['fb_sync1'],
            'custom_url' => $loginUrl.'" onclick="return confirm(\''.$txt['fb_sync2'].'\');"',
            'sc' => $sc,
            'permission' => array(
            'own' => 'profile_view_own',
            'any' => '',
                ),
            ),
            ),
            ),
        )
        );
        }


So, what's causing it not to recognize this in display.template, with everything globalized?!
Title: Re: SA Facebook Integration
Post by: samborabora on August 26, 2014, 08:29:39 AM
(http://i.imgur.com/Mm83Rtk.jpg)
These are the actual members table columns. Notice how when an account has been deactivated from facebook, it appears as blank, but if it has never been associated with facebook before, it's init value is 0? Would this have any effect on how I should call this? As I said, I have every variable globalized in display.template, and those are the same variables globalized in the hooks file. Now, is there a different section of the hooks file I should be including these hooks in? Currently mine are in public static function ob_facebook(&$buffer) with all of the other facebook hooks of this sort, but I suppose they could go somewhere else. I don't know why though, since the login screen hooks and the hooks I have for accounts that aren't logged into SMF work fine and dandy.

Literally, anyone has any idea why it either shows my hook or it doesn't, regardless of whether or not the user is logged in or not?

Oh, I also usedprint_r($user_settings['fbname']); in display.template just to guarantee that the topic display template knows exactly which template to display. The problem is, I have to use hooks for this, cause just putting this stuff in display.template means that <a href="'.$loginUrl.'"> doesn't mean anything to the display.template, unless there's some way of having it understand what loginurl is without the hooks?
Title: Re: SA Facebook Integration
Post by: samborabora on August 26, 2014, 08:36:03 AM
Phew, done. With a nasty hack, but okay...

in Sources/Facebook/facebookhooks.php
$buffer = preg_replace('~(' . preg_quote('<span name="facebooknotloggedin"></span>') . ')~','<a href="'.$loginUrl.'"><span style="color: #c00;
text-decoration: underline;">login with facebook</span></a>', $buffer);
 
   $buffer = preg_replace('~(' . preg_quote('<span name="facebookloggedin"></span>') . ')~','IN', $buffer);


In display.template:
if (empty($user_settings['fbname']))
echo '<span name="facebooknotloggedin"></span>';

  if (!empty($user_settings['fbname']))
echo '<span name="facebookloggedin"></span>';


Andfunction template_main()
{
global $context, $settings, $options, $txt, $scripturl, $modSettings, $fb_hook_object, $user_settings, $loginUrl;


You just need $fb_hook_object, $user_settings and $loginUrl globalized.
Title: Re: SA Facebook Integration
Post by: hunger on August 29, 2014, 02:38:51 PM
I just installed this mod into a fresh SMF forum that uses  the "connect " them style.

After installation, my forum aint loading anymore. It just doesn load. any pages.

Anyway to uninstall this mod via ftp?
Title: Re: SA Facebook Integration
Post by: vbgamer45 on August 29, 2014, 03:01:48 PM
Yeah you would need to follow the manual uninstall instructions on the mod's page reverse the install instructions for the mod
Title: Re: SA Facebook Integration
Post by: hunger on August 29, 2014, 03:17:05 PM
Is there any updated guided into how to sync this mod with the facebook app? cuz the OP guide talks about options and things that i just cant find in the current facebook page

im getting this error Exception: 12: REST API is deprecated for versions v2.1 and higher
Title: Re: SA Facebook Integration
Post by: ben sisko on September 08, 2014, 05:47:35 AM
I just reinstalled the mod after a big upgrade from SMF 2.0.2 to 2.0.8, but there is no link in the Admin CP for FB Integration.
I checked the installation. every new file/folder is in place, the modification to the files also made.
Also tried uninstall and reinstall, this time i had to made manually 2 file edits (installed other mods in between: PortaMX, AevaMedia, Menu Editor Lite, Downloads, Articles). still no success.

Any ideas?
Title: Re: SA Facebook Integration
Post by: samborabora on September 08, 2014, 07:11:52 AM
Quote from: hunger on August 29, 2014, 03:17:05 PM
Is there any updated guided into how to sync this mod with the facebook app? cuz the OP guide talks about options and things that i just cant find in the current facebook page

im getting this error Exception: 12: REST API is deprecated for versions v2.1 and higher

I do not believe this mod is compatible with facebook apps registered after April or something.
Title: Re: SA Facebook Integration
Post by: swaggaderby on September 11, 2014, 07:16:40 PM
Please i dont really get how this mod work...Is  that as the admin if i install it any post being posted on my forum will be automatically posted on my facebook page or what exactly....someone pls help
Title: Re: SA Facebook Integration
Post by: Kindred on September 11, 2014, 07:33:38 PM
if it gets installed properly, and then configured correctly, AND you have a facebook app built before April to use that configuration...   then yes - any post (in board(s) set in the confugruation) will get posted to facebook.

See my LoS forum
http://los.turtleshellprod.com
and the facebook page
https://www.facebook.com/pages/Legions-of-Steel/272479519478619

Title: Re: SA Facebook Integration
Post by: swaggaderby on September 11, 2014, 08:02:57 PM
Quote from: Kindred on September 11, 2014, 07:33:38 PM
if it gets installed properly, and then configured correctly, AND you have a facebook app built before April to use that configuration...   then yes - any post (in board(s) set in the confugruation) will get posted to facebook.

See my LoS forum
http://los.turtleshellprod.com
and the facebook page
https://www.facebook.com/pages/Legions-of-Steel/272479519478619



Thanks for ur reply....If i have an application before April what if i dont have an apps and i want to create one nw
Title: Re: SA Facebook Integration
Post by: Kindred on September 11, 2014, 08:23:23 PM
Then, for the moment, you are out of luck
Title: Re: SA Facebook Integration
Post by: swaggaderby on September 11, 2014, 08:34:35 PM
Quote from: Kindred on September 11, 2014, 08:23:23 PM
Then, for the moment, you are out of luck
i did way back thou but am not sure i remember the details i use for it again...is der no other way out?
Title: Re: SA Facebook Integration
Post by: swaggaderby on September 30, 2014, 09:46:54 AM
Quote from: swaggaderby on September 11, 2014, 08:34:35 PM
Quote from: Kindred on September 11, 2014, 08:23:23 PM
Then, for the moment, you are out of luck
i did way back thou but am not sure i remember the details i use for it again...is der no other way out?
?????????????/
Title: Re: SA Facebook Integration
Post by: ben sisko on September 30, 2014, 09:53:08 AM
Quote from: ben sisko on September 08, 2014, 05:47:35 AM
I just reinstalled the mod after a big upgrade from SMF 2.0.2 to 2.0.8, but there is no link in the Admin CP for FB Integration.
I checked the installation. every new file/folder is in place, the modification to the files also made.
Also tried uninstall and reinstall, this time i had to made manually 2 file edits (installed other mods in between: PortaMX, AevaMedia, Menu Editor Lite, Downloads, Articles). still no success.
Any ideas?
Title: Re: SA Facebook Integration
Post by: mikenye on October 09, 2014, 12:20:50 AM
Hello, this works really cool in regards with the like buttons however when I try to register via FB it saids:

Exception: 12: REST API is deprecated for versions v2.1 and higher

Any ones know how to fix?

Thanks so much!
Title: Re: SA Facebook Integration
Post by: Bruno36 on October 11, 2014, 05:46:42 AM
Hello ! when a member wants creates an account with facebook there is a message ereur

QuoteYou have not entered a valid email address

http://www.scooter-chinois-4t.com/board/register/
Title: Re: SA Facebook Integration
Post by: Bruno36 on October 14, 2014, 01:59:22 AM
Person to answer me ..?
Title: Re: SA Facebook Integration
Post by: vbgamer45 on October 14, 2014, 08:40:56 AM
Will need to look into it.
Title: Re: SA Facebook Integration
Post by: Ricky. on October 24, 2014, 10:58:54 AM
As already pointed out, this mod is broken with new update as Rest API is disabled with version 2.1 of FB apps.
However, even if you are using previously created FB app, auto registration is not working, it keeps giving error that you have not provided email address.

I hope it helps.
Title: Re: SA Facebook Integration
Post by: jm_araujo on October 25, 2014, 08:50:25 AM
Quote from: MESWEB on June 21, 2014, 05:06:26 PM
I have error:
http://obeznany.pl/index.php?topic=10.msg16
8192: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead
File: /home/*l/public_html/Sources/Facebook/FacebookHooks.php
Line: 173 & 174
I found out I had my log full of this errors (around 200k when I noticed)

Since I couldn't find a solution, I came out with my own.
I've changed the lines 173&174:
$cleaned[0]['body'] = preg_replace('~&#x([0-9a-f]+);~ei', 'chr(hexdec("\\1"))', $cleaned[0]['body']);
$cleaned[0]['body'] = preg_replace('~&#([0-9]+);~e', 'chr("\\1")', $cleaned[0]['body']);

To:
$cleaned[0]['body'] = preg_replace_callback('~&#x([0-9a-f]+);~i',
    function ($matches) {
        return chr(hexdec($matches[0]));
    },
    $cleaned[0]['body']);

$cleaned[0]['body'] = preg_replace_callback('~&#([0-9]+);~',
    function ($matches) {
        return chr($matches[0]);
    },
    $cleaned[0]['body']);


And now my log is error free!!
Title: Re: SA Facebook Integration
Post by: Kindred on October 25, 2014, 02:04:38 PM
ummm... I am not certain, but I don't think what you did is actually completely valid, code-wise.
Title: Re: SA Facebook Integration
Post by: Arantor on October 25, 2014, 02:07:29 PM
Actually it is. PHP 5.3+ supports such inlined functions, aka closures.

However... at least one of those - and likely both of those - are already available in similar form in SMF core because core itself needed the same functions during PHP 5.5 compat fixing.
Title: Re: SA Facebook Integration
Post by: SMFHacks.com Team on October 25, 2014, 08:59:49 PM
Update for that issue. Used a little different code than suggested.

2.0.5
!Better php 5.5 support in FacebookHooks.php
Title: Re: SA Facebook Integration
Post by: psousa on November 04, 2014, 12:36:06 PM
You should add information on FB API version restrictions to 1st page of this topic and also on smf module download page. It's a waste of time to install and configure this mod if you don't have an FB APP prior to may which, I think, is the most of the people...
Title: Re: SA Facebook Integration
Post by: aquagrrl on November 07, 2014, 02:09:51 PM
I'm trying to get the app to work, and running into a problem under :ublisher. I'm lucky in that I have an old facebook app to use, so I don't think that's the problem. The error is:
"In order for the Publisher to be able to publish your posts automatically, you must grant some "Extended Permissions" to the App. To do so, click this button. This will also cause the page to refresh, in order to save the results."
I hit grant permissions, the first time it said some things needed to be reviewed, the reloaded the page. The second time, it says "permissions granted?" it seems to flash something for a second, reload to the index, but then I go back to that page, and still have the same error.
Title: Re: SA Facebook Integration
Post by: franktrog on November 09, 2014, 01:26:39 PM
Should I be able to see options to share posts on Facebook or like posts on Facebook after implementing the SA Facebook Integration package?
http://latigo.marestare.com/forum3/

I was able to register a user via Facebook successfully, though it did say I needed to get the Facebook app approved, so maybe that is why some of the features aren't showing up on my forum yet?
Title: Re: SA Facebook Integration
Post by: franktrog on November 11, 2014, 07:10:47 AM
Can someone make a video showing how this plugin will work/look when properly installed? I can't find any share buttons for topics and stuff like that currently.
Title: Re: SA Facebook Integration
Post by: 420Connect.co.uk on November 15, 2014, 01:32:20 PM
can anyone help me REMOVE the facebook button you see above the login fields?

I'm looking to have it gone, so when users click register, they are then taken to the registration page, where they can instead see the reg. with facebook button.

thanks!
Title: Re: SA Facebook Integration
Post by: fapencio on November 18, 2014, 11:40:03 PM
error Exception: 12: REST API is deprecated for versions v2.1 and higher

I have installed the previous version (2.0.4), anyone know if the API error was solved with the new version?(2.0.5)

please help me
Title: Re: SA Facebook Integration
Post by: vbgamer45 on November 18, 2014, 11:53:55 PM
It wasn't
Title: Re: SA Facebook Integration
Post by: MESWEB on November 22, 2014, 06:24:52 AM
When mod to be updated?
Errors:

$cleaned[0]['body'] = preg_replace('~&#x([0-9a-f]+);~ei', 'chr(hexdec("\\1"))', $cleaned[0]['body']);
$cleaned[0]['body'] = preg_replace('~&#([0-9]+);~e', 'chr("\\1")', $cleaned[0]['body']);

and

You must upgrade this app to Graph API v2.x
v1.0 will be deprecated on April 30, 2015
Title: Re: SA Facebook Integration
Post by: vbgamer45 on November 22, 2014, 10:42:45 AM
Not sure on timeframe...I have to spend time reading the updated facebook api.. The problem with facebook is they tend to update things often causing stuff to break.

I should  have fixed all the preg_replace issues in the last update...
Title: Re: SA Facebook Integration
Post by: MESWEB on November 22, 2014, 06:42:31 PM
Quote from: vbgamer45 on November 22, 2014, 10:42:45 AM
I should  have fixed all the preg_replace issues in the last update...

How long need to wait? Next 6 months?
Title: Re: SA Facebook Integration
Post by: vbgamer45 on November 22, 2014, 06:51:33 PM
Unknown when I have time. I might make an updated paid Facebook mod.
Title: Re: SA Facebook Integration
Post by: Sesquipedalian on November 27, 2014, 12:27:37 AM
Quote from: vbgamer45 on November 22, 2014, 06:51:33 PM
Unknown when I have time. I might make an updated paid Facebook mod.

I suspect I am not the only person looking ahead to April 30, 2015, with some trepidation. I will be happy to pay for an update to SA Facebook that makes it work with the latest version of the Graph API before that date arrives, and I'm doubt I am the only one by a long shot. Would a Kickstarter campaign be a helpful way to go here? I'd make a good pledge on that, for sure.
Title: Re: SA Facebook Integration
Post by: vbgamer45 on December 01, 2014, 12:33:24 AM
It's on my todo list... Just really would need to research each of the new facebook api's the hard part is they tend to change often :(
Title: Re: SA Facebook Integration
Post by: HRM on December 04, 2014, 11:50:12 AM
Quote from: fapencio on November 18, 2014, 11:40:03 PM
error Exception: 12: REST API is deprecated for versions v2.1 and higher

I have installed the previous version (2.0.4), anyone know if the API error was solved with the new version?(2.0.5)

please help me

I have the same issue  with SA Facebook 2.0.5
SMF 2.0.9.
Is it something on facebook (app settings) or with the plugin?
Title: Re: SA Facebook Integration
Post by: vbgamer45 on December 04, 2014, 11:55:14 AM
Facebook this mod is only kept up for legacy users for now. New facebook apps will not work.
Title: Re: SA Facebook Integration
Post by: HRM on December 06, 2014, 11:46:43 AM
Quote from: vbgamer45 on December 04, 2014, 11:55:14 AM
Facebook this mod is only kept up for legacy users for now. New facebook apps will not work.

Wow... what does that all mean ?

I mean seriously... Means if I have code from some old FB App that it would work?
Title: Re: SA Facebook Integration
Post by: vbgamer45 on December 06, 2014, 11:58:20 AM
Yes you have to have an old facebook app.
Title: Re: SA Facebook Integration
Post by: HRM on December 06, 2014, 12:12:35 PM
Autsj..... Just uninstalled all old apps on that profile before installing this one :(
But thanks for replying anyway so no need to  search any further.
Title: Re: SA Facebook Integration
Post by: ButtScratchas on December 14, 2014, 06:13:24 PM
Hello all! This mod seems it has a lot to offer, but I cannot seem to get it to work, I have the developer account setup and configured, but when I click register on my site I get directed to the facebook login page, upon logging in and redirecting back to my site, I get this: CurlException: 7: Failed to connect to 255.255.255.255: Network is unreachable

Is this due to a misconfigured setting or is there some issue between this mod and the new facebook API?
Title: Re: SA Facebook Integration
Post by: HRM on December 16, 2014, 09:41:10 AM
Quote from: vbgamer45 on December 04, 2014, 11:55:14 AM
Facebook this mod is only kept up for legacy users for now. New facebook apps will not work.
Title: Re: SA Facebook Integration
Post by: _monotiz_ on December 27, 2014, 10:28:40 AM
I'm looking for find a solution.
Maybe this help.

Here the new SDK:
https://developers.facebook.com/docs/php/gettingstarted/4.0.0

This is as explanation:
https://www.webniraj.com/2014/05/01/facebook-api-php-sdk-updated-to-v4-0-0/
Title: Re: SA Facebook Integration
Post by: Bounty_y2k on January 01, 2015, 07:33:35 PM
Hi I have just installed this mod on my forum and I have a few questions.
I am only interested in two functions of this mod. One is the topic like button witch works very well.
And the other one is og:images from topics.
Do I need to setup an app for only these two functions?

And I think I have a small problem with those og:images.
Take a look what facebook debuger sees as my topics og:images:
(http://s6.postimg.org/wsylxmaq9/aaa.png)

First two images are my forums logoes and the third image is 'veryhot_post.gif'. The topic I debugged has 10 pictures in it but none of them shows up in the debugger as you can see.

Can you point me out?
Thanks.
Title: Re: SA Facebook Integration
Post by: d-gan on January 02, 2015, 05:12:03 AM
" error Exception: 12: REST API is deprecated for versions v2.1 and higher"
Title: Re: SA Facebook Integration
Post by: crimpson on January 19, 2015, 09:26:19 PM
Ok I give up and need help.

Everything seems to work except that it's not showing the comments. comments can be made and are sent to the facebook app page, and show up on the forum page immediately after they're made, but as soon as the page is refreshed the comments don't load. it seems like it can't fetch the comments from the facebook app page. can anyone help me with this?
Title: Re: SA Facebook Integration
Post by: crimpson on January 20, 2015, 02:54:06 PM
I guess I got it working after all. If I comment using the facebook app name instead of a profile name it won't load the comment in the forum, but if i comment using a profile name, everything seems to be working and it's showing the comments.
However, it's not loading replies that are made on facebook to comments made from the forum page. I don't know if that's normal or not. confusing.
Title: Re: SA Facebook Integration
Post by: pan125 on January 20, 2015, 04:00:39 PM
Please help me 12: REST API is deprecated for versions v2.1 and higher
Title: Re: SA Facebook Integration
Post by: MESWEB on January 22, 2015, 05:04:09 AM
Quote from: pan125 on January 20, 2015, 04:00:39 PM
Please help me 12: REST API is deprecated for versions v2.1 and higher
Don't waste Your time for waiting updated this mod from author. We waiting for update about 1 Year! If He update any way - then He proably will be want money for mod - this what He say when I asked about update:
QuoteUnknown when I have time. I might make an updated paid Facebook mod.
So better if You install MyBB with FacebookConnection 2.1 working without errors and it's for free.
Title: Re: SA Facebook Integration
Post by: thananit on February 05, 2015, 10:50:32 PM
Quote from: pan125 on January 20, 2015, 04:00:39 PM
Please help me 12: REST API is deprecated for versions v2.1 and higher

I find this issue too. :'(
Title: Re: SA Facebook Integration
Post by: mt on March 15, 2015, 04:23:20 PM
Just be warned:

All Facebook-enabled apps will be automaticaly upgraded to API v2.0 on April 30, 2015.

https://developers.facebook.com/docs/apps/upgrading

That means: On every site this mod will stop working in 6 weeks.

I suggest to remove the mod from the mod section until its updated.
Title: Re: SA Facebook Integration
Post by: vbgamer45 on March 15, 2015, 05:16:55 PM
I don't plan on updating it at this time no time to do so. Will pull in april.
Title: Re: SA Facebook Integration
Post by: Osaugue on March 30, 2015, 03:20:11 PM
pls am having problem with secure canvas url, i can't find canvas url, what i saw was secure canvas url and it requires https  :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'( :'(
Title: Re: SA Facebook Integration
Post by: Kindred on March 30, 2015, 04:14:35 PM
Basically, this mod will no longer work with facebook's changes to their API....
Title: Re: SA Facebook Integration
Post by: mystik1 on April 06, 2015, 10:51:36 PM
Are there alternatives for this with SMF?  I was using one called "Social Login", but it has started a redirect cycle for members.  That's when I came to this package, installed it, and found the same thing.
Title: Re: SA Facebook Integration
Post by: mystik1 on April 09, 2015, 11:26:53 AM
Disregard the previous post.  I now have an excellent solution from SMFPacks.  Here's the link for everyone else in search:  http://www.smfpacks.com/sociallogin

SMFPacks does great, high quality work and is there to give an update when FB decides to make everyone's life miserable.  Since its a paid mod, it seems more reliable that updates will continue to be available for that long into the future, which is really important for me with a mod like this - the last thing I want is for it to stop working when FB decides to make a change, and then not have an update to come quickly.   Plus, you don't have limitations or possibly more fees like with one other option I tried.  This one runs all on your own hosting...so there's one less breaking point.

I am using SMFPacks almost exclusively now!  :)  They work great, and you don't have to worry about mods not playing well together.  Good support too.
Title: Re: SA Facebook Integration
Post by: samborabora on April 09, 2015, 02:31:03 PM
Quote from: mystik1 on April 09, 2015, 11:26:53 AM
Disregard the previous post.  I now have an excellent solution from SMFPacks.  Here's the link for everyone else in search:  http://www.smfpacks.com/sociallogin

SMFPacks does great, high quality work and is there to give an update when FB decides to make everyone's life miserable.  Since its a paid mod, it seems more reliable that updates will continue to be available for that long into the future, which is really important for me with a mod like this - the last thing I want is for it to stop working when FB decides to make a change, and then not have an update to come quickly.   Plus, you don't have limitations or possibly more fees like with one other option I tried.  This one runs all on your own hosting...so there's one less breaking point.

I am using SMFPacks almost exclusively now!  :)  They work great, and you don't have to worry about mods not playing well together.  Good support too.

Saw this too today, I know SMFPacks gets alot of slack, but he DOES make the mods that no-one else will.
Title: Re: SA Facebook Integration
Post by: Paracelsus on April 09, 2015, 02:45:51 PM
Quote from: mystik1 on April 09, 2015, 11:26:53 AM
Disregard the previous post.  I now have an excellent solution from SMFPacks.  Here's the link for everyone else in search:  http://www.smfpacks.com/sociallogin

SMFPacks does great, high quality work and is there to give an update when FB decides to make everyone's life miserable.  Since its a paid mod, it seems more reliable that updates will continue to be available for that long into the future, which is really important for me with a mod like this - the last thing I want is for it to stop working when FB decides to make a change, and then not have an update to come quickly.   Plus, you don't have limitations or possibly more fees like with one other option I tried.  This one runs all on your own hosting...so there's one less breaking point.

I am using SMFPacks almost exclusively now!  :)  They work great, and you don't have to worry about mods not playing well together.  Good support too.

How would you compare SMFPacks MOD with this MOD? More, less features? Prone to errors on error log or not really? (just asking because haven't really been able to make this MOD work as intended, specially on the login part)
Title: Re: SA Facebook Integration
Post by: Sesquipedalian on April 09, 2015, 05:00:39 PM
Quote from: Paracelsus on April 09, 2015, 02:45:51 PM
How would you compare SMFPacks MOD with this MOD? More, less features? Prone to errors on error log or not really? (just asking because haven't really been able to make this MOD work as intended, specially on the login part)

SA Facebook Integration offered a pretty comprehensive package of Facebook integration plugins. SMFPacks Social Login does one thing: logins.

Personally, I didn't use most of the functions that SA Facebook Integration offered. Plus, a number of them have been deprecated or shut down already by Facebook in their endless quest to become more evil. And I am guessing that it was the comprehensive nature of SA Facebook Integration that made it simply too much work for vbgamer to update it, especially since it is provides no income for him.

Since SMFPacks Social Login is small and focussed in its feature set, and paid, I expect NIBOGO will keep it up to date. Plus, this one allow Twitter and Google+ logins, too.

You can find other mods to replace some of the other functions that SA Facebook Integration offered, but not all. For me the big one is trying to find something to replace the function to automatically post a new notification to my Facebook page when a topic is created. I might have to hack that in myself, since I haven't found anything to offer that yet.
Title: Re: SA Facebook Integration
Post by: Sesquipedalian on April 09, 2015, 05:41:19 PM
Migrating from SA Facebook Integration to SMFPacks Social Login isn't quite as perfectly smooth as it could be, though. In particular, your existing users who previously logged in with SA Facebook will not be able to log in with SMFPacks Social Login right out of the box. They'll need to log in manually and then go to their profile and choose to associate their Facebook account with their existing forum account before it will start working for them again.

However, if you can access your SMF database using phpMyAdmin, you can fix this problem and make the transition completely seamless and transparent for your existing users. Just follow these steps.

Warning: This involves direct modification of your SMF database. Make sure you have a complete backup of the database before doing this, and that you know how to restore it. I take no responsibility whatsoever if you screw up and kill your forum.
Now SMFPacks Social Login will know which forum account should be associated with which Facebook ID. Your users logging in won't even notice that there's been a change.
Title: Re: SA Facebook Integration
Post by: assafk on April 27, 2015, 10:56:59 AM
Hey
I am getting this error when i log in with my Facebook
"Exception: 12: REST API is deprecated for versions v2.1 and higher (12)"

Can you tell me what is the problem?

Thanks
Title: Re: SA Facebook Integration
Post by: DSystem on April 27, 2015, 12:19:12 PM
This mod does not work anymore and the author is not interested in fixing.

The best solution at the moment is to acquire this mod-> http://www.smfpacks.com/sociallogin
Title: Re: SA Facebook Integration
Post by: assafk on April 27, 2015, 12:34:34 PM
Great Thanks
Title: Re: SA Facebook Integration
Post by: 420Connect.co.uk on April 27, 2015, 01:26:01 PM
Just to suggest another free alternative (with various different social logins)
You can look into this: http://www.oneall.com
Title: Re: SA Facebook Integration
Post by: mt on April 29, 2015, 02:30:44 PM
Be aware when using services like oneall and such: You WILL give them all your user data and because they do the access they are the one holding the interface.

You give away a bit control & access anyway when using social login but with such a service you are complete our of control.
Your own user are not yours.
Title: Re: SA Facebook Integration
Post by: Kindred on April 29, 2015, 02:43:15 PM
yep... I would never use something like "oneall" on any of my own sites.
Title: Re: SA Facebook Integration
Post by: mt on April 29, 2015, 03:48:37 PM
For my business i use this open source lib:

http://hybridauth.sourceforge.net/

That had become in web dev business some kind of default lib now.

If any SMF dev have to much time, is bored or something... ;)

To have an interface for that is some work but it would be a killer feature for sure.
Title: Re: SA Facebook Integration
Post by: vbgamer45 on April 29, 2015, 06:19:17 PM
Quote from: mt on April 29, 2015, 03:48:37 PM
For my business i use this open source lib:

http://hybridauth.sourceforge.net/

That had become in web dev business some kind of default lib now.

If any SMF dev have to much time, is bored or something... ;)

To have an interface for that is some work but it would be a killer feature for sure.

Thanks will check it out.
Title: Re: SA Facebook Integration
Post by: Dreamsoldier on May 02, 2015, 06:45:14 PM
OAuthException: (#12) username field is deprecated for versions v2.0 and higher ? What's wrong .S
Title: Re: SA Facebook Integration
Post by: vbgamer45 on May 02, 2015, 07:58:34 PM
No longer works have to update it maybe one day....
Title: Re: SA Facebook Integration
Post by: Dreamsoldier on May 02, 2015, 10:37:59 PM
Quote from: Dreamsoldier on May 02, 2015, 06:45:14 PM
OAuthException: (#12) username field is deprecated for versions v2.0 and higher ? What's wrong .S

my plugin versions 2.0.3. updated versions 2.0.5.. but same problem Is progress in 2.0.5 ? Thx.
Title: Re: SA Facebook Integration
Post by: Kindred on May 02, 2015, 10:39:02 PM
Yes.   If you do not have an older Facebook app alreayd existing, this won't work
Title: Re: SA Facebook Integration
Post by: Dreamsoldier on May 03, 2015, 12:04:14 AM
Quote from: Kindred on May 02, 2015, 10:39:02 PM
Yes.   If you do not have an older Facebook app alreayd existing, this won't work

Thank you. I do not have an older fb app :/ so ı delete this modification...
Title: Re: SA Facebook Integration
Post by: Adrek on May 03, 2015, 04:17:53 AM
Quote from: Kindred on May 02, 2015, 10:39:02 PM
Yes.   If you do not have an older Facebook app alreayd existing, this won't work

It does not matter. FB updated all apps to new API and this mod does not work for everyone as of 1 May 2015.
Title: Re: SA Facebook Integration
Post by: DSystem on May 03, 2015, 07:12:51 AM
As this mod doesn't work anymore, should bear a warning in the description of the mod.

The best solution at the moment is to acquire this mod-> http://www.smfpacks.com/sociallogin
Title: Re: SA Facebook Integration
Post by: Dreamsoldier on May 03, 2015, 11:04:47 AM
Quote from: phantomm on May 03, 2015, 04:17:53 AM
Quote from: Kindred on May 02, 2015, 10:39:02 PM
Yes.   If you do not have an older Facebook app alreayd existing, this won't work

It does not matter. FB updated all apps to new API and this mod does not work for everyone as of 1 May 2015.

yees yees..  :'(
Title: Re: SA Facebook Integration
Post by: Kindred on May 03, 2015, 03:28:25 PM
no offense meant to that author... but   ick.  -- that mod doesn't do even half of what this one did...

(and, it seems that my aps (created several years ago) continue to work...

Title: Re: SA Facebook Integration
Post by: vbgamer45 on May 03, 2015, 08:22:06 PM
I am going see if I can make time this week and look into how much needs to change. I read one thing today that you can no longer get the username but have to use either the email address or the id it generates instead.
Title: Re: SA Facebook Integration
Post by: dakey on May 04, 2015, 04:10:01 AM
I use the Social Login (http://custom.simplemachines.org/mods/index.php?mod=3580) mod from oneall.com, which does all the magic for me ...  8)
Title: Re: SA Facebook Integration
Post by: Kindred on May 04, 2015, 06:52:46 AM
and - by doing so - you have given oneall all of your user's information.
Title: Re: SA Facebook Integration
Post by: dakey on May 04, 2015, 04:31:48 PM
Quote from: Kindred on May 04, 2015, 06:52:46 AM
and - by doing so - you have given oneall all of your user's information.

True,  but their privacy polecy is very clear. And if you mind your privacy, then don't use any social logins at all?
Title: Re: SA Facebook Integration
Post by: samborabora on May 05, 2015, 04:35:28 AM
Quote from: vbgamer45 on May 03, 2015, 08:22:06 PM
I am going see if I can make time this week and look into how much needs to change. I read one thing today that you can no longer get the username but have to use either the email address or the id it generates instead.

This would be awesome if you could get this working again as I modded this for hours to fit it into my template and it's gonna take even longer if I have to hack out my customization to make room for a different login mod. Thanks, vbgamer!
Title: Re: SA Facebook Integration
Post by: lolicute on May 05, 2015, 05:55:59 PM
Can't wait for the update. >_<
Title: Re: SA Facebook Integration
Post by: samborabora on May 05, 2015, 06:20:50 PM
Maybe we should Kickstarter the man, collectively fund this update...
Title: Re: SA Facebook Integration
Post by: Ronald_1938 on May 07, 2015, 02:52:03 PM
I have SA Facebook installed keep getting this same error:

The database value you're trying to insert does not exist: fb_post_id
Function: Facebook_Post_topic

I have removed and install this so many times, and still get the same error.I even installed manually same error..
Any ideas or thoughts..

Ron..
Title: Re: SA Facebook Integration
Post by: Kindred on May 07, 2015, 03:22:31 PM
why does anyone ever think that removing and reinstalling is a cure for anything?  Computers perform the same action every time. if it fails with one installation, it will fail with every attempt -- and backing out, putting in is a cure fire way to do something wrong, eventually...
Title: Re: SA Facebook Integration
Post by: Ronald_1938 on May 07, 2015, 04:30:18 PM
Because dummies like me are told this, remove and reinstall it may work after that..

Gee sorry I even posted the darn error, looking for some help, not criticism..
Title: Re: SA Facebook Integration
Post by: samborabora on May 07, 2015, 06:02:14 PM
Quote from: Oldcrow on May 07, 2015, 04:30:18 PM
Because dummies like me are told this, remove and reinstall it may work after that..

Gee sorry I even posted the darn error, looking for some help, not criticism..

It's Kindred, he likes to kick everyone in the balls whether they deserve it or not.
Title: Re: SA Facebook Integration
Post by: Ronald_1938 on May 07, 2015, 06:28:21 PM
Quote from: samborabora on May 07, 2015, 06:02:14 PM
Quote from: Oldcrow on May 07, 2015, 04:30:18 PM
Because dummies like me are told this, remove and reinstall it may work after that..

Gee sorry I even posted the darn error, looking for some help, not criticism..

It's Kindred, he likes to kick everyone in the balls whether they deserve it or not.

I realize this..I come here because we are suppose to help each other, not throw back snide remarks..

They are no Support forums for Facebook and the SA Facebook author is not much help neither..Just this one long topic....

I suppose this erro will never get figured out, I see many of the same errors floating around when you search for answers..
Title: Re: SA Facebook Integration
Post by: Kindred on May 07, 2015, 09:49:19 PM
Uncool and uncalled for... And also untrue.


As for you, oldcrow, I don't know who told you to uninstall and reinstall, but thatbis usually the first suggestion of the clueless.   That omly matters if the first installation failed in some way and you have figured out how to correct it the second time around. If there were no failures, then cycling like that won't change anything for the better and may end up leaving bits of code handing around or duplicated.

Since I have this mod installed and do not get that error, it suggests that your installation DID fail and you neglected to notice the big warning or to manually apply updates that failed.
Title: Re: SA Facebook Integration
Post by: Ronald_1938 on May 07, 2015, 10:11:47 PM
Quote from: Kindred on May 07, 2015, 09:49:19 PM
Uncool and uncalled for... And also untrue.


As for you, oldcrow, I don't know who told you to uninstall and reinstall, but thatbis usually the first suggestion of the clueless.   That omly matters if the first installation failed in some way and you have figured out how to correct it the second time around. If there were no failures, then cycling like that won't change anything for the better and may end up leaving bits of code handing around or duplicated.

Since I have this mod installed and do not get that error, it suggests that your installation DID fail and you neglected to notice the big warning or to manually apply updates that failed.

It did install correctly. There were no reddish warnings, nothing to change..

Only thing I can figure is it is in conflict with another mod.. It use to work with no errors at one time..

I also have the same mod. installed on two (2) other boards and no problems..

I'll either have to learn to live with the errors as well as the members, or just remove it entirely..
Title: Re: SA Facebook Integration
Post by: samborabora on May 08, 2015, 02:14:56 AM
I think I'm going to just install and SMFpacks mod, they did notifications years before smf finally devided to get around to the 21st century and quit worrying about server stress (what is this '95?)  and it looks like their login will do the trick. I never even used the post to facebook features, and having twitter and G+ aswell never hurts.

$20/$40 isn't much to have this actually working, is it?
Title: Re: SA Facebook Integration
Post by: Mr. Jinx on May 08, 2015, 03:38:25 AM
I have to say smfpack's social login mod does the job for me. It is not the same as SA Facebook Integration, but as a social login mod, it works great.
Makes it easier for new users to register.
Title: Re: SA Facebook Integration
Post by: lolicute on May 08, 2015, 04:55:36 AM
Quote from: Mr. Jinx on May 08, 2015, 03:38:25 AM
I have to say smfpack's social login mod does the job for me. It is not the same as SA Facebook Integration, but as a social login mod, it works great.
Makes it easier for new users to register.
Yup, but $$$.
Title: Re: SA Facebook Integration
Post by: samborabora on May 08, 2015, 07:01:13 AM
Quote from: DarkCo0oL on May 08, 2015, 04:55:36 AM
Quote from: Mr. Jinx on May 08, 2015, 03:38:25 AM
I have to say smfpack's social login mod does the job for me. It is not the same as SA Facebook Integration, but as a social login mod, it works great.
Makes it easier for new users to register.
Yup, but $$$.
I can't see this one being updated without having to spare $'s tbh.
Title: Re: SA Facebook Integration
Post by: Paracelsus on May 08, 2015, 07:16:58 AM
Quote from: Mr. Jinx on May 08, 2015, 03:38:25 AM
I have to say smfpack's social login mod does the job for me. It is not the same as SA Facebook Integration, but as a social login mod, it works great.
Makes it easier for new users to register.

Do you know if you can still manually approve registrations made using sync with social sites? That was one downside with SA mods, it skipped the manual approval of members when that option was selected.
Title: Re: SA Facebook Integration
Post by: Ronald_1938 on May 08, 2015, 09:58:18 AM
Quote from: samborabora on May 07, 2015, 06:02:14 PM
Quote from: Oldcrow on May 07, 2015, 04:30:18 PM
Because dummies like me are told this, remove and reinstall it may work after that..

Gee sorry I even posted the darn error, looking for some help, not criticism..

It's Kindred, he likes to kick everyone in the balls whether they deserve it or not.

I have to stand up for Kindred, I don't think he's all that bad..  I go through the forum viewing and looking for articles, and I see him helping an awful lot of people with there problems..

Maybe I just got him at the wrong time, when he accidentally knocked the beer bottle over..
Title: Re: SA Facebook Integration
Post by: Miker1029 on May 08, 2015, 07:47:57 PM
Quote from: Kindred on April 29, 2015, 02:43:15 PM
yep... I would never use something like "oneall" on any of my own sites.

Well Kindred You talked me Into it, I've Always hated MAN IN THE MIDDLE Crap, Even Have A Little Angst with Google Analytics  ::) I had OneAll Facebook Until 2 Minutes Ago, Besides, No One Uses it, All My Users Use Google+ or Twitter, And Fortunately SA's Stuff works for those. (WELL!!!)

NOW For the Scary Part, Uninstalling The MOD!  :o
Title: Re: SA Facebook Integration
Post by: lolicute on May 16, 2015, 06:50:23 PM
No update?
Title: Re: SA Facebook Integration
Post by: vbgamer45 on May 16, 2015, 10:31:09 PM
None no time yet.
Title: Re: SA Facebook Integration
Post by: MESWEB on May 19, 2015, 12:51:36 PM
QuoteParse error: syntax error, unexpected T_OBJECT_OPERATOR in /Sources/Facebook/FacebookRedirectLoginHelper.php on line 190

How to uninstall this mod manually?
Title: Re: SA Facebook Integration
Post by: vbgamer45 on May 19, 2015, 01:20:20 PM
Upload package to http://www.smfhacks.com/smf-package-parser.html then follow the instructions and remove all the edits.
Title: Re: SA Facebook Integration
Post by: lolicute on June 01, 2015, 05:40:21 AM
Update?
Title: Re: SA Facebook Integration
Post by: vkot on June 12, 2015, 05:42:52 AM
Does anyone know if the mod is abandoned or not?
Should we start searching for alternatives or try to update ourselves? (I haven't looked into the code yet)
Title: Re: SA Facebook Integration
Post by: vbgamer45 on June 12, 2015, 10:05:28 AM
Try to update it yourselves or look for alternatives.
What was the main things you used this mod for?
Title: Re: SA Facebook Integration
Post by: Kindred on June 12, 2015, 10:11:43 AM
Well, I used it to auto-post new threads to the facebook group...

this, of course, seems to be broken now, with facebook's recent changes (which is disappointing)

Title: Re: SA Facebook Integration
Post by: Ronald_1938 on June 12, 2015, 10:23:37 AM
Would be nice to have this mod in use again..

There is no other alternatives around..
Title: Re: SA Facebook Integration
Post by: Nibogo on June 13, 2015, 01:49:52 PM
Quote from: Oldcrow on June 12, 2015, 10:23:37 AM
Would be nice to have this mod in use again..

There is no other alternatives around..

It won't be possible to re-do it like it was (with all the same features). Facebook trimmed what devs can do with their API.
Title: Re: SA Facebook Integration
Post by: vbgamer45 on June 13, 2015, 02:01:45 PM
Quote from: Nibogo on June 13, 2015, 01:49:52 PM
Quote from: Oldcrow on June 12, 2015, 10:23:37 AM
Would be nice to have this mod in use again..

There is no other alternatives around..

It won't be possible to re-do it like it was (with all the same features). Facebook trimmed what devs can do with their API.
That's what I thought as well :( Similar things have occurred with linked and twitter cutting back the apis that are open to use.
Title: Re: SA Facebook Integration
Post by: Ronald_1938 on June 13, 2015, 05:10:03 PM
Quote from: Nibogo on June 13, 2015, 01:49:52 PM
Quote from: Oldcrow on June 12, 2015, 10:23:37 AM
Would be nice to have this mod in use again..

There is no other alternatives around..

It won't be possible to re-do it like it was (with all the same features). Facebook trimmed what devs can do with their API.

Even if it just allows you to show the icon on the post and then allows you to post the post on FB. I don't think we need all the extra goodies with the mod..
Title: Re: SA Facebook Integration
Post by: Kindred on June 13, 2015, 05:53:47 PM
Well, the auto post to a group or page seems to be something that can be done, since my wordpress site currently does just that...
Title: Re: SA Facebook Integration
Post by: Ronald_1938 on June 13, 2015, 06:33:20 PM
On an older SMF site I have, I have the same mod installed I can post o0ver to FB no problems..

But since installing the Responsive Curve mod and the 2.010 upgrade, the FB mod started showing many FB errors.. If I try to install the mod it show four edits and after installed the errors come back..
Title: Re: SA Facebook Integration
Post by: Nibogo on June 13, 2015, 11:23:44 PM
Quote from: Oldcrow on June 13, 2015, 05:10:03 PM
Even if it just allows you to show the icon on the post and then allows you to post the post on FB. I don't think we need all the extra goodies with the mod..

Yes, that part can indeed be done with the current API. But the same doesn't applies to the entire list of features, unfortunately Facebook (and Twitter) just like to give devs a hard time.
Title: Re: SA Facebook Integration
Post by: timidapsin on June 16, 2015, 05:02:52 AM
My facebook login Stopped working and it started showing this error when trying to login / register with facebook
Invalid Scopes: offline_access, status_update, publish_stream. This message is only shown to developers. Users of your app will ignore these permissions if present. Please read the documentation for valid permissions at: https://developers.facebook.com/docs/facebook-login/permissions
Title: Re: SA Facebook Integration
Post by: timidapsin on June 20, 2015, 05:15:01 PM
Hello
Title: Re: SA Facebook Integration
Post by: vbgamer45 on June 21, 2015, 01:21:15 AM
Untested but try this version instead remove old
This file attached
Title: Re: SA Facebook Integration
Post by: nineob on June 23, 2015, 05:03:41 AM
Quote from: Polv89 on July 02, 2014, 03:57:06 PM
Quote from: kronprom on May 31, 2014, 06:54:07 AM
Dzonny  :   sorry for my bad English .. I will try my best to answer you  :)


1 .  Choose : Your Application name
2.   Check:    API  version  supported  for your App
                      **   If you just create new application , it will show only v2.0 that's means  you can not use SA FB Module with your App.
                 To Solve :
                      1.  Change your Application   (if you have created  before April , Choose one that support API v1.0 "
                      or 2. Modify code in File  FaccbookHooks.php     find  " me?fields=id,name,username"  then remove ",username"
                               

3.  Click :  "Get Access Token" 
4.   Test Get :  field " username"   


.........................

I've tried this but i have this error "OAuthException: An active access token must be used to query information about the current user."

edit username  is  email

                 $user_profile = $facebook->api('/me?fields=id,name,email');

    $_SESSION['safbname'] =  self::character_clean($user_profile['name']);
    $_SESSION['safbusername'] = !empty($user_profile['email']) ? $user_profile['email'] : $user_profile['name'];
$_SESSION['safbusername1'] = !empty($user_profile['email']) ? $user_profile['name'] : '';
Title: Re: SA Facebook Integration
Post by: Adrek on July 07, 2015, 05:22:18 PM
Quote from: vbgamer45 on June 21, 2015, 01:21:15 AM
Untested but try this version instead remove old
This file attached

Thanks for update.

Login/registration works, only thing that I noticed is that URL to user FB profile page is always causing error:
Quote
Profile Unavailable
Sorry, this profile is not available at the moment. Please try again shortly.
Title: Re: SA Facebook Integration
Post by: vbgamer45 on July 07, 2015, 05:46:01 PM
Cool will update the mod with those changes.
Title: Re: SA Facebook Integration
Post by: SMFHacks.com Team on July 09, 2015, 12:23:28 AM
Update
3.0
Some Updates to work with facebook better. Register and login with facebook. Using facebook API 3.2.3
Title: Re: SA Facebook Integration
Post by: Paracelsus on July 09, 2015, 04:14:19 PM
Quote from: SMFHacks.com Team on July 09, 2015, 12:23:28 AM
Update
3.0
Some Updates to work with facebook better. Register and login with facebook. Using facebook API 3.2.3


Hi, by using facebook to register is it still possible to manually approve it afterwards or it is automatically approved?
Title: Re: SA Facebook Integration
Post by: vbgamer45 on July 09, 2015, 04:36:07 PM
Not sure.
Title: Re: SA Facebook Integration
Post by: trainyoucon on July 23, 2015, 07:07:18 AM
Hi there.

In stalled and getting the error:

error: Exception: REST API is deprecated for versions v2.1 and higher (12)

Not sure if I created my FB app wrong.

Any help or idea what could cause this?
Title: Re: SA Facebook Integration
Post by: trainyoucon on July 26, 2015, 07:49:49 AM
Still getting the same error.

Tried the following also.

SA Facebook 3.0
SA Facebook 2.0.5

SF 2.0.10

Title: Re: SA Facebook Integration
Post by: tectonny on July 30, 2015, 11:56:42 AM
Installed in smf 2.1 beta 2 without error, but the redirect after installation I get this error:

Unable to load the 'main' template.

You can solve this problem?
Title: Re: SA Facebook Integration
Post by: vbgamer45 on July 30, 2015, 12:06:57 PM
It's not updated for 2.1 beta 2 yet
Title: Re: SA Facebook Integration
Post by: Dblog on July 31, 2015, 12:49:32 AM
How to ban/restrict members based on facebook ID or name.
Also there's a bug : If i deleted a member who registered through FB and then disabled all registration methods, that member is still able to create a new ID using facebook !
Title: Re: SA Facebook Integration
Post by: vbgamer45 on July 31, 2015, 09:16:21 AM
Quote
How to ban/restrict members based on facebook ID or name.
No way currently.
Title: Re: SA Facebook Integration
Post by: Miker1029 on August 04, 2015, 02:53:47 PM
GOD I'm getting sick of this $HIT!!!    Now I spent most of the Day Redoing My Facebook page, In an attempt to get this "NEW" Mod Working, and Getting the Same Depricated Error as I had On the OLD one, Tried Getting the SA Twitter Working, NEW is PUCKED, and the old one works, the ONLY SA Media that works is google+ and has since the day I installed It.....

I understand you do this for free, BUT THAT'S ABOUT ALL IT'S WORTH!!!!    Sick of seeing these verified MODS (FOR 2.0.10 NO LESS!!!!!) and they DON'T work, and SUPPORT SUCKS!!!!!!!!!!!

THIS Is Ridicules, REALLY, GO IN MAKE an APP/API, Punch in the Codes they give you AND BAM, IT SUPPOSED TO WORK!!!!

Now I check in to see HOW TO FIX the DEPRICATE Error and there's NOT AN F'N ANSWER!!!!!!!! all they way from JAN 2015!!!!!

THIS IS STUPID, and I'm getting REALLY tired of Bogus Screwed up MODS!!!

Title: Re: SA Facebook Integration
Post by: vbgamer45 on August 04, 2015, 03:10:19 PM
It has to be recoded. I don't have energy at the moment to do so I maintain over 100 mods free/paid.
I can gladly build one if you need it now but my hourly rate is $100 an hour.  I am thinking it would take about 3 to 5 hours of time. To research and test.
Title: Re: SA Facebook Integration
Post by: Kindred on August 04, 2015, 03:17:24 PM
there is no current solution for the "deprecated" issue.

blame facebook for that. They went and changed the entire API around, meaning that all of the previous work is worth nothing.
Additionally, they then removed the access for historical connections, so even those of us who had created a connection using the (working) old application could no longer use it.


As I understand it, vbgamer's recent update basically allows like and register only... It does not allow posting to facebook from the forum (which is what I used it to do)
Title: Re: SA Facebook Integration
Post by: Miker1029 on August 04, 2015, 03:40:25 PM
Quote from: vbgamer45 on August 04, 2015, 03:10:19 PM
It has to be recoded. I don't have energy at the moment to do so I maintain over 100 mods free/paid.
I can gladly build one if you need it now but my hourly rate is $100 an hour.  I am thinking it would take about 3 to 5 hours of time. To research and test.

I GET THAT, I really do!!  But how is the MOD going to be UPDATED TO WORK WITH 2.0.10, AND version 3.0???  The Old version was Deprecated. And I read the posts back then, BUT I just got this from the FB Dev Site:

v2.4
/v2.4/{object}
July 8, 2015
At least until July 8, 2017
v2.3
/v2.3/{object}
March 25, 2015
July 8, 2017
v2.2
/v2.2/{object}
October 30, 2014
March 25, 2017
v2.1
/v2.1/{object}
August 7, 2014
October 30, 2016
v2.0
/v2.0/{object}
April 30, 2014
August 7, 2016
v1.0
/{object}
April 21, 2010
Unavailable as of April 30, 2015

THE Last one on that List is the one I started with (the sa facebook mod then and the reason it didn't work) , so if you have Updated it then the least it should be is V2.0 to AUGUST 7th, 2016!

I get if FB is messing up, But as others I've been waiting on this for a LONG time, and just don't get how or why a MOD that had been Updated to 2.0.10 compatibility can be approved when it doesn't work?!?!??!?!? Not that that's your fault, but all I can go by is what the MOD section tells me 2.0.10, and FB that says 2.0 is good till 2016.....

JUST SO CONFUSED?!?!??!?!?!?!

Title: Re: SA Facebook Integration
Post by: vbgamer45 on August 04, 2015, 03:45:35 PM
Yeah I really dislike that end of life too soon. Means redoing work often. The frameworks change big time from release to release. I don't like it now. I have to include many files just to get it to work for no real gain over the old api version.
Title: Re: SA Facebook Integration
Post by: Miker1029 on August 04, 2015, 04:04:16 PM
Quote from: Kindred on August 04, 2015, 03:17:24 PM
there is no current solution for the "deprecated" issue.

blame facebook for that. They went and changed the entire API around, meaning that all of the previous work is worth nothing.
Additionally, they then removed the access for historical connections, so even those of us who had created a connection using the (working) old application could no longer use it.


As I understand it, vbgamer's recent update basically allows like and register only... It does not allow posting to facebook from the forum (which is what I used it to do)

And if it is facebook, then I'm fixing to be done with, Just tried to Register and still getting the deprecated crap!

Sry for the Earlier AGRO, But DAMN!!!!! ALREADY!!!!!!
Title: Re: SA Facebook Integration
Post by: Miker1029 on August 04, 2015, 04:09:02 PM
And hell dude, like I said your G+ has been working like a CHARM for 8 months or more, I'd even consider donating (and I'm on an extremely fixed income but could squeeze somewhere), just to have it work like G+, But if FB keeps crap up (and it seems they're gonna) it's just not worth it to anyone.....

Title: Re: SA Facebook Integration
Post by: Kindred on August 04, 2015, 04:25:11 PM
oh... and with regards to the "update to 2.0.10"

Mods are reviewed for coding and function when they are submitted. After that, it is up to the author and the users to find/correct issues that arise - especially due to third party crap like FB...

So, there was no "approved" for 2.0.10. The mod was reviewed and approved when it was first released only.
Title: Re: SA Facebook Integration
Post by: Miker1029 on August 04, 2015, 04:53:11 PM
Ahh, Didn't know that, Might be a good Idea to do that tho,  That means Anyone who had a Mod for 2.0 rc1  can just say hey I'm Compat with 2.0.10???  I get, Probably don't have the kind of resources for that....

Oh Well, I'm thinking (even though I know Squat about coding) just go in and do it myself, With trial and error and a couple weeks I'm sure I can get it, HELL, right now I'm using AD Management just to have my logos shown, because I don't wanna F' the coding of the site....

But guessing I'm not gonna have a choice.... Just thinking about it is making my brain hurt...... But ALL the code is on the site to do it...

Since I am CRAP for coding, could you suggest a way to do it, I mean I know Enough, about like "include" where you want it, So I should basically make separate .PHP scripts (sorry that's what I really have the most experience in) for each ACTION, Like "include" in the log-in .php for  it to run that script?

and that's one of my bigger problems, which google search sometimes ends up to be a PITA, I have to find each PLACE/FILE to add this.... Guess why we use MODS 8-)...

Title: Re: SA Facebook Integration
Post by: oroedel on August 09, 2015, 06:58:08 AM
Quote from: vbgamer45 on August 04, 2015, 03:10:19 PM
It has to be recoded. I don't have energy at the moment to do so I maintain over 100 mods free/paid.
I can gladly build one if you need it now but my hourly rate is $100 an hour.  I am thinking it would take about 3 to 5 hours of time. To research and test.

If he has no time to do so the mod is out of life.

If he could do it if we pay him his work (yes work have value, or you poeple waste time for your boss without a monthly payment?), so the best way would be to pay him.

There are 24 poeple who downloaded the "hack" he did, so what to pay at least a 20 dollar? This would pay the 500 dollar he would invest in time.

I coded a lot in my live, for free to tune up mailbox systems (crazy old times) and got no refund at all. Ok, I did only what I needed and who would use it used. The rest f*ck up.

If you like to blame, PAY for the right to do it! If you don´t pay, shut up!

I can´t pay him 500 dollar, no chance but if all users of the mod payed him a new RUNNING version would be ready. And it´s reallity: the actual user generation is too dumb to register in a forum, but uses fb :-( Strange world.
I need this mod!
Title: Re: SA Facebook Integration
Post by: DSystem on August 09, 2015, 09:53:19 AM
If you're going to pay for this easy.

Has this sale-> http://www.smfpacks.com/sociallogin
Title: Re: SA Facebook Integration
Post by: vbgamer45 on August 09, 2015, 10:15:32 AM
Quote from: DSystem on August 09, 2015, 09:53:19 AM
If you're going to pay for this easy.

Has this sale-> http://www.smfpacks.com/sociallogin
Doesn't do the same stuff.  That just does login's. This current mod works with just logins. It is the extra features that no longer work.
Title: Re: SA Facebook Integration
Post by: DSystem on August 09, 2015, 10:21:50 AM
Quote from: vbgamer45 on August 09, 2015, 10:15:32 AM
Quote from: DSystem on August 09, 2015, 09:53:19 AM
If you're going to pay for this easy.

Has this sale-> http://www.smfpacks.com/sociallogin
Doesn't do the same stuff.  That just does login's. This current mod works with just logins. It is the extra features that no longer work.

These extras resources makes no lack. The main objective is to login. The mod does what is promised.

Of course, if you had the same resources would be better.  ;)
Title: Re: SA Facebook Integration
Post by: Kindred on August 09, 2015, 12:10:57 PM
dsystem, that made no sense.
the current version of this mod WORKS for logins.

personally, I don't want logins. I want/need the additional features of auto posting forum posts to the facebook page/group.
Title: Re: SA Facebook Integration
Post by: vkot on August 10, 2015, 01:45:17 AM
Quote from: vbgamer45 on June 12, 2015, 10:05:28 AM
Try to update it yourselves or look for alternatives.
What was the main things you used this mod for?

I used it for facebook login only.

Quote from: vbgamer45 on June 21, 2015, 01:21:15 AM
Untested but try this version instead remove old
This file attached

Didn't work for me

Quote from: SMFHacks.com Team on July 09, 2015, 12:23:28 AM
Update
3.0
Some Updates to work with facebook better. Register and login with facebook. Using facebook API 3.2.3

Also didn't work for me.

When I try to login, facebook says:
QuoteInvalid Scopes: offline_access, status_update, publish_stream. This message is only shown to developers. Users of your app will ignore these permissions if present. Please read the documentation for valid permissions at: https://developers.facebook.com/docs/facebook-login/permissions
and then I get redirected back to forum, where it says:
QuoteOAuthException: (#12) username field is deprecated for versions v2.0 and higher

Kindred says it's working for logins, what am I missing?
Title: Re: SA Facebook Integration
Post by: vbgamer45 on August 10, 2015, 08:28:25 AM
The mod site should have the new code.It sounds like your are using the old version
I checked my code and i no longer using any "offline_access, status_update, publish_stream."
Title: Re: SA Facebook Integration
Post by: Bob La Londe on August 10, 2015, 11:25:21 AM
Is it possible to setup a brand a new installation to logon via Facebook? 



Title: Re: SA Facebook Integration
Post by: vbgamer45 on August 10, 2015, 11:32:50 AM
Of the mod? It should do that by default as long as you have a FB app.
Title: Re: SA Facebook Integration
Post by: Bob La Londe on August 10, 2015, 12:01:28 PM
Quote from: vbgamer45 on August 10, 2015, 11:32:50 AM
Of the mod? It should do that by default as long as you have a FB app.

Well it is not clear with all the discussion of Facebook changing their APP and API setup if you can can setup a new APP to work or not if say you were installing from scratch today. 

FYI:  Facebook is most likely changing their setup for legal reasons. 



Title: Re: SA Facebook Integration
Post by: Kindred on August 10, 2015, 10:19:06 PM
No, Facebook changes their app for developer reasons...  Which means that they are being stupid and arrogant, because they can be...
Title: Re: SA Facebook Integration
Post by: live627 on August 11, 2015, 12:22:49 AM
Quote from: Kindred on August 10, 2015, 10:19:06 PM
No, Facebook changes their app for developer reasons...  Which means that they are being stupid and arrogant, because they can be...
oh the irony :D
Title: Re: SA Facebook Integration
Post by: vkot on August 11, 2015, 02:11:05 AM
Quote from: vbgamer45 on August 10, 2015, 08:28:25 AM
The mod site should have the new code.It sounds like your are using the old version
I checked my code and i no longer using any "offline_access, status_update, publish_stream."

This is the one I used. But I discovered that the old ones were not deleted when I uninstalled the old version, and the new files were not written on top of the old ones, so the mod was still working with the old version. I uploaded the files manually and it's working now :)
Title: Re: SA Facebook Integration
Post by: vbgamer45 on August 11, 2015, 08:23:26 AM
Good to know glad you have it working.
Title: Re: SA Facebook Integration
Post by: Wellwisher on August 30, 2015, 05:13:57 PM
Facebook have changed the auto posting api or something, I read about this on buffer (https://open.bufferapp.com/changes-to-buffer-for-facebook-heres-what-you-need-to-know/).

FB also has a handy video:

https://www.youtube.com/watch?v=tGz48L0m5nc

It's kinda annoying not being able to use auto posting api. New FB api rules means all the message must be entered MANUALLY by the user. Otherwise its a policey violation. So you can basically say goodbye to any apps which use to auto post on yourbehalf to FB. It's just the dumbest stupidest thing FB has done.

It makes no sense at all. Prefilling or auto posting is a handy feature. Instead, what nubs at FB could have done was to visually show all message which was about to be posted and have the user confirm, they want to post all of that.

Title: Re: SA Facebook Integration
Post by: Kindred on August 30, 2015, 05:55:51 PM
I think that you have misunderstood the facebook rules.

I use an autposter on several other sites. The content IS written by "the user" - it is just cross posted to Facebook, Twitter and Google+
Title: Re: SA Facebook Integration
Post by: Casa Grande on September 02, 2015, 04:43:18 PM
I just installed this and everything seems to be working ok, except for the avatar import.  I clicked the "import" button for "Import FB Avatar" and it shows up as a white block now.  Any ideas?
Title: Re: SA Facebook Integration
Post by: vbgamer45 on September 02, 2015, 06:24:45 PM
Not sure would need to take a look maybe api is a little different for avatars.
Title: Re: SA Facebook Integration
Post by: desiamerican26 on September 04, 2015, 11:12:50 AM
Hi,

I just installed SA Integration on my site, but when I test to click on the icon, it gives me the following error

"Given URL is not allowed by the Application configuration: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains."

Please Help with this. My Site: www.desi-american.com

Thank You
Nikhil
Title: Re: SA Facebook Integration
Post by: Bob La Londe on September 04, 2015, 11:15:51 AM
Quote from: Kindred on August 10, 2015, 10:19:06 PM
No, Facebook changes their app for developer reasons...  Which means that they are being stupid and arrogant, because they can be...

Maybe, but I would think it would be related to recent copyright cases regarding APIs. 
Title: Re: SA Facebook Integration
Post by: vbgamer45 on September 04, 2015, 11:32:15 AM
Quote from: desiamerican26 on September 04, 2015, 11:12:50 AM
Hi,

I just installed SA Integration on my site, but when I test to click on the icon, it gives me the following error

"Given URL is not allowed by the Application configuration: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains."

Please Help with this. My Site: www.desi-american.com

Thank You
Nikhil
You have to change the facebook app settings to allow www.desi-american.com
Title: Re: SA Facebook Integration
Post by: desiamerican26 on September 04, 2015, 11:45:36 AM
@vbgamer45

Where I can do that. I actually just created new app on FB and trying to figure it out.

Can you please help guide me how to do that?

I clicked SETTINGS, please see attached image for changes i made.

Thank You
Nikhil
Title: Re: SA Facebook Integration
Post by: vbgamer45 on September 04, 2015, 12:01:16 PM
Domain looks make sure your site does use www. and does not redirect to without it.
Title: Re: SA Facebook Integration
Post by: desiamerican26 on September 04, 2015, 12:17:25 PM
oooh....yea I do redirect my site. This is how it is: desi-american.com REDIRECTS to desi-american.com/forum

Do I have to get rid of Redirection or is there any other way to solve this issue?

Thank You
Nikhil
Title: Re: SA Facebook Integration
Post by: margarett on September 04, 2015, 12:18:38 PM
And you don't have www in your site too ;)
Title: Re: SA Facebook Integration
Post by: desiamerican26 on September 04, 2015, 12:22:51 PM
@margarett....no no no I do have www, i just put that for vbgamer to let him know that I am redirecting the site from one to another....and if there is any solution on that.......
Title: Re: SA Facebook Integration
Post by: margarett on September 04, 2015, 12:24:53 PM
Nop... This is what shows in my browser
http://desi-american.com/forum/index.php?action=forum

No www ;)
Title: Re: SA Facebook Integration
Post by: desiamerican26 on September 04, 2015, 12:26:37 PM
holy crap  :-\

i never noticed that.....how can i fix that now?  :'(
Title: Re: SA Facebook Integration
Post by: margarett on September 04, 2015, 12:28:39 PM
What is repair_settings.php? (http://wiki.simplemachines.org/smf/Repair_settings.php)

Or fix the FB app settings ;)
Title: Re: SA Facebook Integration
Post by: desiamerican26 on September 04, 2015, 12:34:33 PM
How Can I fix the FB app Settings?

Sorry I am just asking too many questions but hope you understand...

Thank You
Nikhil
Title: Re: SA Facebook Integration
Post by: margarett on September 04, 2015, 12:37:21 PM
In the image you posted before? Don't know, I'm not familiar with FB's apps :(
Title: Re: SA Facebook Integration
Post by: desiamerican26 on September 04, 2015, 01:00:57 PM
@Margarett...i guess its working now.... :) I just have to change on facebook app that "www"...i removed that on facebook app and its working now....


thanks a lot for ur guidance and vbgamer45 also for help :) 8)
Title: Re: SA Facebook Integration
Post by: desiamerican26 on September 04, 2015, 01:08:38 PM
after I asked one of the user to log in with FB, this is the Error msg he gets: Exception: "REST API is deprecated for versions v2.1 and higher (12)"  :(
Title: Re: SA Facebook Integration
Post by: vbgamer45 on September 04, 2015, 01:14:46 PM
Are you using the latest version?
Title: Re: SA Facebook Integration
Post by: desiamerican26 on September 04, 2015, 01:16:15 PM
I installed ver 3.0 @vbgamer45
Title: Re: SA Facebook Integration
Post by: desiamerican26 on September 04, 2015, 02:16:23 PM
Any Help on this?
Title: Re: SA Facebook Integration
Post by: vbgamer45 on September 04, 2015, 02:38:21 PM
No ideas at this time
Title: Re: SA Facebook Integration
Post by: desiamerican26 on September 04, 2015, 02:44:53 PM
I was checking pages 190+ on this thread....and it says that this mod will not work with new updated version of FB apps....guess need to uninstall this mod and I don't think there is any other option for this one.... :'(
Title: Re: SA Facebook Integration
Post by: margarett on September 04, 2015, 02:52:21 PM
The last version is actually supposed to allow FB logins. Did you install the MOD for the first time or did you installed a previous version if it before?
Title: Re: SA Facebook Integration
Post by: desiamerican26 on September 04, 2015, 03:04:38 PM
I installed ver 3 for the first time....

I Installed this mod before too but I am not sure which ver was that and that didn't work either so I uninstalled that.....
Title: Re: SA Facebook Integration
Post by: drfun on September 06, 2015, 10:50:52 AM
Greetings all,

I have this issue with the SA facebook intergration, i dont know if this has been treated here before as i have search this topic over and over but can see anything related to the issue.

The issue is, i am getting errors on my facebook page from post made on my forum by members. I started noticing this after i enabled the post moderation permission on the forum. that is i enabled every new post to be approved by moderators before it can be visible on the forum.

This resulted in errors on every post that was sent to facebook via SA Facebook Integration. Below is snapshot of the errors, i will appreciate any help in fixing this. Thanks, i am currently using the latest version of SA Facebook Integration (3.0)
Title: Re: SA Facebook Integration
Post by: vbgamer45 on September 06, 2015, 11:20:09 AM
Well that is due to the fact that facebook can't access the topic. They try to access the topic to pull in topic information they visit it.
Title: Re: SA Facebook Integration
Post by: drfun on September 06, 2015, 09:01:52 PM
Hmm it means it cant work well when the moderation permission is turned on, is there a way to make it call only topics that are approved. or is there a fix to this?
Title: Re: SA Facebook Integration
Post by: vbgamer45 on September 06, 2015, 10:10:09 PM
Not at the moment.
Title: Re: SA Facebook Integration
Post by: Dblog on September 07, 2015, 05:16:18 AM
The URL in profile shows http://facebook.com/profile.php?id=10xxxxxx which leads to nowhere.
Actually facebook works like http://facebook.com/10xxxxxxx without that profile.php?id=...
how can we remove that profile.php?id= from Facebook profile url in Profile page of a member
Title: Re: SA Facebook Integration
Post by: desiamerican26 on September 07, 2015, 10:31:02 AM
Any Solution for me? Everything goes fine until when a person trying to register or login, the below msg appears

"REST API is deprecated for versions v2.1 and higher (12)"
Title: Re: SA Facebook Integration
Post by: SMFHacks.com Team on September 07, 2015, 03:27:44 PM
Update:
3,1
Note: Next update PHP 5.4 will be required for now on.... Your facebook app now needs to be on 2.4 version

!Removed profile.php link from facebook
!Fixed default connect logo image
+Easier link to get application id from facebook
+Updated version number
Title: Re: SA Facebook Integration
Post by: StanJ on September 07, 2015, 04:27:59 PM
OK  I created the app on Facebook, and it tell me to

The following snippet of code will give the basic version of the SDK where the options are set to their most common defaults. You should insert it directly after the opening <body> tag on each page you want to load it:
<script>
  window.fbAsyncInit = function() {
    FB.init({
      appId      : '4515165ZZZZZZZZ',
      xfbml      : true,
      version    : 'v2.4'
    });
  };

  (function(d, s, id){
     var js, fjs = d.getElementsByTagName(s)[0];
     if (d.getElementById(id)) {return;}
     js = d.createElement(s); js.id = id;
     js.src = "//connect.facebook.net/en_US/sdk.js";
     fjs.parentNode.insertBefore(js, fjs);
   }(document, 'script', 'facebook-jssdk'));
</script>

Where do I do this?
Title: Re: SA Facebook Integration
Post by: vbgamer45 on September 07, 2015, 04:31:53 PM
You don't need to skip that step it is in the mod already.
Title: Re: SA Facebook Integration
Post by: desiamerican26 on September 07, 2015, 10:57:39 PM
I uploaded the New Version of this Mod and it still giving us the same error message as below:

"Exception: REST API is deprecated for versions v2.1 and higher (12)"

And My FB app is 2.4 ver  :-\
Title: Re: SA Facebook Integration
Post by: vbgamer45 on September 07, 2015, 11:10:33 PM
Yeah that still isn't fixed...Doesn't look easy to update at this time still looking into it though.
Title: Re: SA Facebook Integration
Post by: desiamerican26 on September 08, 2015, 07:13:39 PM
It would be a big help if that could be achieved.  :)
Title: Re: SA Facebook Integration
Post by: Dblog on September 10, 2015, 10:48:28 AM
Quote from: SMFHacks.com Team on September 07, 2015, 03:27:44 PM
Update:
3,1
Note: Next update PHP 5.4 will be required for now on.... Your facebook app now needs to be on 2.4 version

!Removed profile.php link from facebook

It still exists in member profile.
no change !!!1
Title: Re: SA Facebook Integration
Post by: vbgamer45 on September 10, 2015, 10:58:41 AM
Odd might be another place then :(
Title: Re: SA Facebook Integration
Post by: Dblog on September 10, 2015, 12:34:53 PM
Is there anyway i can manually (i dont want to..but...) edit and remove profile.php?id=xxxxx 
Title: Re: SA Facebook Integration
Post by: vbgamer45 on September 12, 2015, 06:33:20 PM
You can search the sources/facebook files and remove profile.php info that might help.
Title: Re: SA Facebook Integration
Post by: desiamerican26 on September 16, 2015, 12:38:02 PM
 Hello Friends,

I removed SA FB Integration Mod from my site, but I do still see the following FACEBOOK INTEGRATION when i log in with Admin credentials. Please see the attached image for details.

How can I remove that?

Thank You
Nikhil
Title: Re: SA Facebook Integration
Post by: Koda on September 16, 2015, 08:46:28 PM
So I am having trouble deleting comments... I can hide comments so others cannot see them, but when i am logged in as an administrator they are there mucking up the place.  Any way to remove these?

I don't suppose anyone has made a mod that automatically transfers the facebook post on the forum into a forum post by a proxy forum account.  That would be sweet, as the facebook posts are not exactly in the same order first to last when also discussing with a poster.

Also seem to be having issues when selecting "also post to facebook".  No post is made on facebook.  I see some others are having trouble with this too, is there a workaround?

Thank you!
Title: Re: SA Facebook Integration
Post by: Koda on September 16, 2015, 10:56:04 PM
Sorry for the double post, I am not good at computars.

Do I need to publish or make my app go live?  It is still in testing mode.  There isn't really a walk through guide for this mod, is there?

The real thing I am trying to get working is publisher, I cannot get it to post to my profile or a group page, it is calling the APIs correctly in the admin panel of my forum, just not posting anything when I hit reply and not giving me the option to post even when I make a new topic.

Is publisher even working?
Title: Re: SA Facebook Integration
Post by: Kindred on September 16, 2015, 10:59:35 PM
Afaik, the current mod does not handle posting to Facebook. Not since Facebook changed their APIs
It basically only handles likes and registration/login
Title: Re: SA Facebook Integration
Post by: Koda on September 16, 2015, 11:04:07 PM
Thank you, I will keep my hopes up as they did just update the mod, there has to be a solution, are not news sites letting people post from their websites to facebook directly still?  I will work on other parts of the mod until more info is available, thanks again.


:edit:

also getting the same error as desi upon trying to register:

"REST API is deprecated for versions v2.1 and higher (12)"

This mod is really cool, it would be epic if it were working.  I would certainly not mind paying a one time fee for support for such a working mod.

::2nd edit::

....and another question, sorry for being such a noob, but I was testing the like and reply functionality for the site, and found that when someone liked my post on the forum, I could click the box in my facebook notifications and it would take me directly to my forum.  However if I liked the comment of someone who is not me, they were taken to the facebook homepage instead.

I am thinking this is because I am the app developer?  Is there a way to make it so anyone who receives those notifications can click on them and be taken directly to the website like I am?

Thank you!
Title: Re: SA Facebook Integration
Post by: desiamerican26 on September 17, 2015, 07:40:37 AM
Any Solution?

Quote from: desiamerican26 on September 16, 2015, 12:38:02 PM
Hello Friends,

I removed SA FB Integration Mod from my site, but I do still see the following FACEBOOK INTEGRATION when i log in with Admin credentials. Please see the attached image for details.

How can I remove that?

Thank You
Nikhil
Title: Re: SA Facebook Integration
Post by: vbgamer45 on September 17, 2015, 11:40:08 AM
Try to upload package to
http://www.smfhacks.com/smf-package-parser.html
And reverse the code instructions.
Then delete all the files it adds as well.
Title: Re: SA Facebook Integration
Post by: desiamerican26 on September 17, 2015, 11:46:07 AM
@vbgamer45

I actually purchased SMFpacks Social Login yesterday....I am encountering few issues with that. I put down my questions on their thread and waiting on the answers....I am not sure if you can help me out with that solution. If you can, please take a look here:

http://www.smfpacks.com/b178/email-required-create-your-account/3140/30

I am trying to see what files were added with SA Integration....can't really tell and don't want to delete any wrong file  :( :(
Title: Re: SA Facebook Integration
Post by: vbgamer45 on September 17, 2015, 12:02:17 PM
I don't run the smfpacks website.
The package parser will tell you what files it copies and where and what files it edits.
Title: Re: SA Facebook Integration
Post by: desiamerican26 on September 17, 2015, 12:05:45 PM
Ok Sure. I will check from home. the link is blocked at my work.

If SA Integration updates with the issue that I was having, I would still like to get this mod on my site.
Title: Re: SA Facebook Integration
Post by: Koda on September 18, 2015, 08:55:06 PM
So the weirdest thing happened the other day, I have been messing with this facebook mod and it was 2 days ago when I made a bunch of test posts, telling publisher to send them to facebook... well they all posted!  Today!  2 days after all at once, even dated correctly!  WTF?

I have everything else working with this mod but this is super confusing, it appears as if the publisher does indeed work but there may be some hurdles to jump through.  I just have no explanation why it took 2 days to post the comments to my facebook wall.  This is a really nice mod, I am glad it hasn't been abandoned.  Thank you!
Title: Re: SA Facebook Integration
Post by: Portugal on October 15, 2015, 01:36:41 PM
Hi,

I Have this problem too "REST API is deprecated for versions v2.1 and higher (12)" any idea how to solve this???

Thank
Title: Re: SA Facebook Integration
Post by: vbgamer45 on October 15, 2015, 02:56:03 PM
No way at the moment requires a total rewrite it is a new FB api.
Title: Re: SA Facebook Integration
Post by: Eduardo Urena on November 11, 2015, 08:14:56 PM
Simple... no works.
Title: Re: SA Facebook Integration
Post by: Adrek on November 18, 2015, 06:32:58 AM
Quote from: phantomm on July 07, 2015, 05:22:18 PM
URL to user FB profile page is always causing error:
Quote
Profile Unavailable
Sorry, this profile is not available at the moment. Please try again shortly.

Does anyone has the same issue? It happened after 3.0 update
Title: Re: SA Facebook Integration
Post by: njtweb on December 02, 2015, 03:00:47 PM
Installed this on my board in August, and never realized it wasn't working as intended. I did create the app with the appID and secret but I get this. I also have SA Twitter and that works fine.

QuoteGiven URL is not allowed by the Application configuration: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains.

Quoteminorleaguelegends.com
Title: Re: SA Facebook Integration
Post by: vbgamer45 on December 02, 2015, 03:19:24 PM
It no longer works for new ones at this time. Any change on that is not coming soon. I tried to do an integration with the new FB api but it is not working at all with SMF.
Title: Re: SA Facebook Integration
Post by: njtweb on December 02, 2015, 03:21:40 PM
Ok, thanks, I guess I'll uninstall and use only Twitter login.
Title: Re: SA Facebook Integration
Post by: Dblog on December 09, 2015, 08:49:30 AM
despite resgistrations disabled via email and facebook, few members who were deleted (after register through facebook in past) could sneak in and create new accounts again !
Title: Re: SA Facebook Integration
Post by: neggard on December 14, 2015, 05:02:37 PM
Does version 3.1 works with Facebook?
Title: Re: SA Facebook Integration
Post by: njtweb on December 14, 2015, 06:45:16 PM
It doesn't work at all.
Title: Re: SA Facebook Integration
Post by: vbgamer45 on December 14, 2015, 06:46:16 PM
Does not work with any new Facebook applications only old versions.
Title: Re: SA Facebook Integration
Post by: MESWEB on December 27, 2015, 12:31:45 PM
Quote from: vbgamer45 on December 02, 2015, 03:19:24 PM
It no longer works for new ones at this time. Any change on that is not coming soon. I tried to do an integration with the new FB api but it is not working at all with SMF.
Can You show us Your updated code? I can help with programming.
Title: Re: SA Facebook Integration
Post by: vbgamer45 on December 27, 2015, 12:51:54 PM
didnt work new fb sdk
Title: Re: SA Facebook Integration
Post by: MESWEB on December 27, 2015, 02:04:25 PM
I'm using new FB SDK and it's working very well. Show me Your dev code or share plugin in github.
Title: Re: SA Facebook Integration
Post by: vbgamer45 on December 27, 2015, 02:06:11 PM
Download it at http://custom.simplemachines.org/mods/index.php?mod=2322
Title: Re: SA Facebook Integration
Post by: MESWEB on December 27, 2015, 02:19:08 PM
This is old mod. Did You update or insert new sdk there? Did you try update code? In this mod javascript connect to FB not PHP. You should insert new SDK and use it to receiving info about new user. Then use this info and put to register variables. That's all.
Title: Re: SA Facebook Integration
Post by: vbgamer45 on December 27, 2015, 02:34:55 PM
It is more complicated than that....I would use that code.
Title: Re: SA Facebook Integration
Post by: MESWEB on December 27, 2015, 02:42:34 PM
One year ago I'm use my own updated code to this mod and I can receive info from FB but I can't insert this values to SMF variables. I have no time to studding SMF codes.
Title: Re: SA Facebook Integration
Post by: vbgamer45 on December 27, 2015, 02:47:10 PM
Ok well good luck not sure why you wanted code then if you do not want to update.
Title: Re: SA Facebook Integration
Post by: MESWEB on December 27, 2015, 02:50:45 PM
If someone help me with SMF variables then I can update this mod.
Title: Re: SA Facebook Integration
Post by: jfleming40 on January 02, 2016, 10:44:11 PM
I'm trying to get it so whenever someone posts or replies, it automatically creates a post on our Facebook page... I believe I have set everything up correctly but it's still not working.
Title: Re: SA Facebook Integration
Post by: Kindred on January 02, 2016, 10:45:24 PM
The mod no longer works with Facebook for posts
Title: Re: SA Facebook Integration
Post by: jfleming40 on January 02, 2016, 10:49:19 PM
Quote from: Kindred on January 02, 2016, 10:45:24 PM
The mod no longer works with Facebook for posts

Is there a mod that can do this for me?
Title: Re: SA Facebook Integration
Post by: jfleming40 on January 04, 2016, 09:04:48 PM
Quote from: jfleming40 on January 02, 2016, 10:49:19 PM
Quote from: Kindred on January 02, 2016, 10:45:24 PM
The mod no longer works with Facebook for posts

Is there a mod that can do this for me?

Is there a mod that can do this for me?
Title: Re: SA Facebook Integration
Post by: Mr. Jinx on January 05, 2016, 07:18:14 AM
If your only goal is to post SMF topics/replies on Facebook, you could do it without a mod.
Just use SMF's default RSS feeds and a service like https://dlvr.it/ (pay) or http://twitterfeed.com/ (free)
Title: Re: SA Facebook Integration
Post by: elyparker on April 12, 2016, 04:09:56 PM
yes sa facebook doesnt pubblish it seem a problem of grant

but how does it grant ?
some updgrade?
Title: Re: SA Facebook Integration
Post by: vbgamer45 on April 15, 2016, 01:04:41 PM
Unfortunately do to facebook changes doesn't work anymore.
Title: Re: SA Facebook Integration
Post by: Ronald_1938 on April 15, 2016, 02:26:05 PM
What gets me is FB works with other type of forums like IPB, etc. SMF is the only one that is doesn't work on..
Title: Re: SA Facebook Integration
Post by: vbgamer45 on April 15, 2016, 03:01:07 PM
Yeah very sad bad.
Title: Re: SA Facebook Integration
Post by: Miker1029 on April 21, 2016, 06:11:40 PM
Quote from: vbgamer45 on April 15, 2016, 03:01:07 PM
Yeah very sad bad.

LOL, I just keep checking back 8-) Figure IF/When FB Settles down on it's API's It'll get done, Still Running Twitter and Google+ from ya, Get Errors In log but works so F-It 8-)

Mike
Title: Re: SA Facebook Integration
Post by: jaisi on April 26, 2016, 09:05:32 AM
Thanks for great mod ..i have installed and configured successfully and i'm able to login with Fb credential. but i'm not able to post new topic and even not able to reply any old post ..
My url is Forum.AllNepalMusic . com
Thanks
Title: Re: SA Facebook Integration
Post by: vbgamer45 on April 26, 2016, 09:18:31 AM
Yeah that part no longer works.
Title: Re: SA Facebook Integration
Post by: Kindred on April 26, 2016, 09:38:57 AM
wait.... the send this post to Facebook wall does not work....    but the user who uses Facebook credentials to register/login SHOULD be able to post/reply ON THE FORUM...

If you can not post on the actual forum itself -- then you have a permissions problem
Title: Re: SA Facebook Integration
Post by: jaisi on April 26, 2016, 11:39:02 AM
Quote from: Kindred on April 26, 2016, 09:38:57 AM
wait.... the send this post to Facebook wall does not work....    but the user who uses Facebook credentials to register/login SHOULD be able to post/reply ON THE FORUM...

If you can not post on the actual forum itself -- then you have a permissions problem

THank you for replying and i have set all required permission. But new topic and reply bottom is not showing in board.
 
Title: Re: SA Facebook Integration
Post by: Kindred on April 26, 2016, 11:49:51 AM
then you have not set the permissions correctly...

does your user belong to any membergroups?
If not, then check the permissions for the general member membergroup

Title: Re: SA Facebook Integration
Post by: acsieben on May 02, 2016, 09:04:25 PM
Hi,
I'm getting the  "You have not entered a valid email address" error when new users try to register, anyone knows what could be causing this?

Title: Re: SA Facebook Integration
Post by: Adrek on June 22, 2016, 03:47:52 AM
Hi, mod works great, but Facebook is sending this notifications:
Quote from: Facebook
[Your App] has been making recent API calls to Graph API v2.0, which will reach the end of the 2-year deprecation window on Monday, August 8, 2016. Please migrate all calls to v2.1 or higher in order to avoid potential broken experiences.

We recommend using our new Graph API Upgrade Tool to see which of your calls are affected by this change as well as any replacement calls in newer versions. You can also use our changelog to see the full list of changes.

So my question is - will this mod (only registration/login - don't need anything else) work after changing API from 2.0 to 2.1 (or even 2.6)? Maybe someone has already higher API than 2.0 and can share if app and mod works for you?
Title: Re: SA Facebook Integration
Post by: Kindred on June 22, 2016, 07:44:12 AM
probably won't work any more...
Title: Re: SA Facebook Integration
Post by: acsieben on June 22, 2016, 07:49:30 AM
Quote from: Kindred on June 22, 2016, 07:44:12 AM
probably won't work any more...

So it's best to consider that login features won't work anymore? Do you have any insight on how to handle current facebook users?   
Title: Re: SA Facebook Integration
Post by: Kindred on June 22, 2016, 07:51:27 AM
no clue... I uninstalled this mod after facebook screwed up the auto-post feature, ages ago...
Title: Re: SA Facebook Integration
Post by: acsieben on June 22, 2016, 07:57:41 AM
Quote from: Kindred on June 22, 2016, 07:51:27 AM
no clue... I uninstalled this mod after facebook screwed up the auto-post feature, ages ago...

Yeah, I use it exclusively to allow users to login with Facebook. New registrations stopped working a while back, but for existing Facebook users it still works. I don't think there's an alternative for this but anyone should find it do share!

Title: Re: SA Facebook Integration
Post by: Adrek on June 22, 2016, 08:03:07 AM
Quote from: acsieben on June 22, 2016, 07:57:41 AM
New registrations stopped working a while back
for me new registrations work good, but my app is 4-5 years old, so maybe something related to this.

If registration/login will stop working in August then it would be second social network site that will be gone from good part of forums (after recent changes in instagram API) :|

I guess we will have to wait until August to find out what happens :/
Title: Re: SA Facebook Integration
Post by: acsieben on June 22, 2016, 08:05:55 AM
Actually, after searching again I found this one:

https://docs.oneall.com/plugins/guide/social-login-smf/

These guys deal with social connectivity so this may be a solution. I'll have to try it.
Title: Re: SA Facebook Integration
Post by: Adrek on June 22, 2016, 08:11:26 AM
this mod has one great advantage - user can set username before creating account. OneAll mod is setting you username as it looks in FB URL (for example jon.doe233), but it may be good for your needs :)
Title: Re: SA Facebook Integration
Post by: acsieben on June 24, 2016, 09:08:51 PM
Quote from: phantomm on June 22, 2016, 08:11:26 AM
this mod has one great advantage - user can set username before creating account. OneAll mod is setting you username as it looks in FB URL (for example jon.doe233), but it may be good for your needs :)

It'll have to do! It has the advantage of logging in using other networks, which is nice.
Title: Re: SA Facebook Integration
Post by: Adrek on August 16, 2016, 04:57:08 PM
for anyone who is using this mod - it does not work anymore:
Exception: REST API is deprecated for versions v2.1 and higher (12)

Quote from: Facebook
[Your App] has been making recent API calls to Graph API v2.0, which will reach the end of the 2-year deprecation window on Monday, August 8, 2016. Please migrate all calls to v2.1 or higher in order to avoid potential broken experiences.

We recommend using our new Graph API Upgrade Tool to see which of your calls are affected by this change as well as any replacement calls in newer versions. You can also use our changelog to see the full list of changes.
Title: Re: SA Facebook Integration
Post by: stealthbyroot on September 19, 2016, 01:23:52 PM
This is still issue.

Just install this MOD today and same story.

Exception: REST API is deprecated for versions v2.1 and higher (12)

More-less, from all this integration functions just Like and Share are working.

Any progress soon?

Thanks to the SMF community.
Title: Re: SA Facebook Integration
Post by: vbgamer45 on September 19, 2016, 01:25:17 PM
No progress given up on it the facebook api changed too much requires a lot of files now.
Title: Re: SA Facebook Integration
Post by: stealthbyroot on September 19, 2016, 01:54:20 PM
MOD with great features but unfortunately.....

Any good substitute?

Thx
Title: Re: SA Facebook Integration
Post by: vbgamer45 on September 19, 2016, 02:30:20 PM
Not that I know of. There are other ones that have social logins though
Title: Re: SA Facebook Integration
Post by: stealthbyroot on September 19, 2016, 03:09:51 PM
Quote from: vbgamer45 on September 19, 2016, 02:30:20 PM
Not that I know of. There are other ones that have social logins though

Is it anything that I can help. Bluefish is ready.  :D
Title: Re: SA Facebook Integration
Post by: vbgamer45 on September 19, 2016, 03:30:31 PM
Try to switch out the facebook libraries.
Title: Re: SA Facebook Integration
Post by: stealthbyroot on October 03, 2016, 03:19:31 AM
For login issues I found solution here http://docs.oneall.com/plugins/guide/social-login-smf/ (http://docs.oneall.com/plugins/guide/social-login-smf/).

Simple instructions and works out of the box.
Title: Re: SA Facebook Integration
Post by: Kindred on October 03, 2016, 08:13:08 AM
if you are willing to allow a third party to control your logins...
Title: Re: SA Facebook Integration
Post by: stealthbyroot on October 06, 2016, 06:14:09 AM
I totally agree, but there in no other options to make things working.
Title: Re: SA Facebook Integration
Post by: Uhura! on October 15, 2016, 09:07:01 PM
My users are seeing this error when they log in:

QuoteREST API is deprecated for versions v2.1 and higher (12)

Can anyone tell me how to fix that?

Thanks!
Title: Re: SA Facebook Integration
Post by: Kindred on October 16, 2016, 08:52:49 AM
AFAIK, there is no fix for that with this mod, at this time...
Title: Re: SA Facebook Integration
Post by: wedealantiques on October 31, 2016, 09:03:48 PM
Well, I got it to work for me. I can Like and Share posts to my FB page with no errors.
I'm just trying to figure out how to get an image to be included.

What did I do to make mine work? I disabled the Registration setting, as I'm using another mod for that.

It appears to work in Chrome and Firefox, but not IE or Edge.

Actually. I just unchecked the Enable Facebook and it removed the Publish button on the post(which wasn't working), but the Like and Share buttons on the thread remain and still function.

(http://wetalkantiques.com/images/Capture.PNG)

(http://wetalkantiques.com/images/Capturea.PNG)
Title: Re: SA Facebook Integration
Post by: wedealantiques on November 01, 2016, 10:19:40 AM
I don't have access to anything MAC. Can someone check to see if it works with Safari?

https://wetalkantiques.com (https://wetalkantiques.com)
Title: Re: SA Facebook Integration
Post by: wedealantiques on November 02, 2016, 09:38:46 AM
Once I installed TinyPortal, this functionality stopped working. I might try to uninstall and reinstall, but if it doesn't work I'll just not worry about it until a working version comes available.
Title: Re: SA Facebook Integration
Post by: vbgamer45 on November 02, 2016, 11:13:47 AM
It doesn't work due to FB api changes
Title: Re: SA Facebook Integration
Post by: wedealantiques on November 02, 2016, 11:20:29 AM
But, I just had it working before I installed TinyPortal.
Title: Re: SA Facebook Integration
Post by: vbgamer45 on November 02, 2016, 11:21:59 AM
If it works for you then keep it but most of the features should not work do to FB changes.
Title: Re: SA Facebook Integration
Post by: wedealantiques on November 02, 2016, 12:44:11 PM
Posting a thread to my FB page is all I cared about, and that was the portion that was working for me. I'll reinstall it and see if it still works.
Title: Re: SA Facebook Integration
Post by: Kindred on November 02, 2016, 02:25:21 PM
actually, I suspect that the installation of TP was just coincidental and that the actual issue lies with Facebook having forced the API changes recently
Title: Re: SA Facebook Integration
Post by: wedealantiques on November 02, 2016, 08:49:33 PM
OK, just as expected...

I unistalled SA Facebook and then reinstalled it and BAM...it is working again.

Don't believe me, check out http://wetalkantiques.com
(http://wetalkantiques.com)

The Like and Share buttons show up once you enter a thread.
Both buttons work.

I don't believe it's an API issue with Facebook when mine are working.
Again, this doesn't work in IE or Edge, but work perfectly in Chrome and Firefox.
Title: Re: SA Facebook Integration
Post by: Arantor on November 02, 2016, 09:16:32 PM
Yes, those part work, but the login with FB and linking accounts to FB as well as posting to FB directly, these do not work since FB has started removing old versions of their API. All applications must now use Graph API 2.1 or above and this mod doesn't.
Title: Re: SA Facebook Integration
Post by: Kindred on November 02, 2016, 11:12:02 PM
And there are a dozen other mods that add share and like...  the big thing that this mod allowed was to autopost new posts to a group or page...   
and login with a facebook account...  but I never used that part.
Title: Re: SA Facebook Integration
Post by: Dblog on November 07, 2016, 11:01:41 AM
When can this mod expected to be upgraded to v2.1 or above
Login/Register through FB no longer works
Title: Re: SA Facebook Integration
Post by: vbgamer45 on November 07, 2016, 11:30:10 AM
As of now not any time soon if ever it is a completely different api. I tried to bridge it with SMF but fails to work.
I would look into other social login mods
Title: Re: SA Facebook Integration
Post by: Dblog on November 07, 2016, 08:50:33 PM
Will it work with existing users who registered thru FB (for autologin etc) until mod is upgraded
Title: Re: SA Facebook Integration
Post by: vbgamer45 on November 07, 2016, 09:45:02 PM
Probably not.
Title: Re: SA Facebook Integration
Post by: Dblog on November 08, 2016, 04:10:51 AM
Then how to existing members auto login ? most of them might not have set a password and just used FB cookies to log into smf
Title: Re: SA Facebook Integration
Post by: vbgamer45 on November 08, 2016, 08:28:06 AM
You would have to reset the password for each account
Title: Re: SA Facebook Integration
Post by: Mysterion X on January 08, 2017, 01:45:12 PM
Who can help me with this.
When I use the publish button, I get this error:
(http://i1045.photobucket.com/albums/b460/XD_Solutions/Naamloos_zpsn7whymum.png)
Title: Re: SA Facebook Integration
Post by: Dblog on January 15, 2017, 12:42:26 PM
The problem with v2.1 of Facebook API continues even after Jan 5th update.
Title: Re: SA Facebook Integration
Post by: Harvester on January 24, 2017, 09:04:51 AM
I Need a bit of help please.

When I click Publish on my topic I get the pop up box but it then says this "The parameter href is required"

I am checking my settings but cannot determine what I have done wrong.

Please help.
Title: Re: SA Facebook Integration
Post by: Padre gremista on January 31, 2017, 02:38:54 PM
None way fix the login error? it will be deprecated?
Title: Re: SA Facebook Integration
Post by: vbgamer45 on January 31, 2017, 06:11:22 PM
Correct no longer works
Title: Re: SA Facebook Integration
Post by: Padre gremista on February 01, 2017, 11:05:13 AM
Well so, there are some mod like it?
Title: Re: SA Facebook Integration
Post by: vbgamer45 on February 01, 2017, 11:05:50 AM
Not that  i know of
Title: Re: SA Facebook Integration
Post by: Bob Perry of Web Presence Consulting on February 08, 2017, 04:31:41 PM
Quote from: Harvester on January 24, 2017, 09:04:51 AM
I Need a bit of help please.

When I click Publish on my topic I get the pop up box but it then says this "The parameter href is required"

I am checking my settings but cannot determine what I have done wrong.

Please help.

I too have a problem with the publish button, it does nothing when clicked? I don't care if the login thing is broken, is the publish button still working?

Update, now I'm getting the href error, hmm, must be a setting somewhere
Title: Re: SA Facebook Integration
Post by: Harvester on February 10, 2017, 08:28:54 AM
I have an issue I could use some help with for this mod.

How do I change the color of the facebook post text on my site? the text is a light grey and it barely stands out... you can see here:
http://fishinpedia.com/fishin-forums/index.php?topic=3.0   It's barely legible.


Title: Re: SA Facebook Integration
Post by: Dzonny on February 13, 2017, 02:35:35 PM
Can you indicate with more details which exact text you're trying to change? Can you make a printscreen and mark the text you'd like to be changed? I guess that a bit of CSS would do the trick.

BTW, does this mod work for you, I mean for the register/login function, as FB changed their API, I saw some users reporting that this mod is not working?
Title: Re: SA Facebook Integration
Post by: Harvester on March 18, 2017, 10:43:43 PM
I see this mod was updated 3/16/2017   So does that mean it is working properly now? I uninstalled a couple weeks ago but would love if its working well again. Though I do see that my question i asked over a month ago is still unanswered.. not sure if I should chance installing this again since it appears support for this is non-existent  :-\
Title: Re: SA Facebook Integration
Post by: vbgamer45 on March 18, 2017, 11:58:16 PM
No hasn't been fixed minor changes.
Title: Re: SA Facebook Integration
Post by: elyparker on March 30, 2017, 05:35:32 PM
Quote from: vbgamer45 on March 18, 2017, 11:58:16 PM
No hasn't been fixed minor changes.

why not update?
Title: Re: SA Facebook Integration
Post by: vbgamer45 on March 30, 2017, 05:50:22 PM
I haven't been able to figure it out the new FB api with SMF.
Title: Re: SA Facebook Integration
Post by: Nory on April 12, 2017, 04:59:23 PM
Hello,

Could you say me which item add to my App for submit Facebook's approval?
Title: Re: SA Facebook Integration
Post by: computel on May 02, 2017, 01:17:29 AM
here is the error I keep getting

The redirect_uri URL must be absolute
Title: Re: SA Facebook Integration
Post by: Nory on May 16, 2017, 05:28:06 PM
Hello,

Nobody can help me?
Title: Re: SA Facebook Integration
Post by: kenso on May 19, 2017, 01:03:07 AM
This would be excellent but I get this error logging in with facebook :( OAuthException: An active access token must be used to query information about the current user. using 2.0.11
Title: Re: SA Facebook Integration
Post by: SMFHacks.com Team on May 30, 2017, 08:21:52 PM
Minor update
3.1.1
!Fixed PHP Deprecated:  Methods with the same name as their class will not be
constructors in a future version of PHP;

Title: Re: SA Facebook Integration
Post by: [CQFF]Richie on June 18, 2017, 08:29:31 PM
Is there a live version of this mod I can interact with?  Perhaps, a link to an example community which utilizes the mod?
Title: Re: SA Facebook Integration
Post by: vbgamer45 on June 18, 2017, 08:34:39 PM
Doesn't work at the moment.
Title: Re: SA Facebook Integration
Post by: dimztimz on June 22, 2017, 07:15:10 PM
How can one contribute to this mod? Is there a github or something?
Title: Re: SA Facebook Integration
Post by: vbgamer45 on June 22, 2017, 07:34:15 PM
There isn't. just this topic.
Title: Re: SA Facebook Integration
Post by: acsieben on August 25, 2017, 06:22:19 AM
No news on the OAuthException error?

OAuthException: An active access token must be used to query information about the current user.

Looking up info on recent information about this error I found this but I couldn't make it work for SA Facebook, as it then returns the REST API is now deprecated:
https://github.com/laravel/socialite/pull/214/files#diff-b221dafd8a91f5753288a2d8603cef25
Title: Re: SA Facebook Integration
Post by: vbgamer45 on August 25, 2017, 09:00:07 AM
None
Title: Re: SA Facebook Integration
Post by: acsieben on August 25, 2017, 12:26:01 PM
Quote from: vbgamer45 on August 25, 2017, 09:00:07 AM
None
Thanks. I'm using OneAll Social Login instead, as login is what I needed the most.
Title: Re: SA Facebook Integration
Post by: qubbah on August 26, 2017, 09:11:28 AM
i have got this while trying to share

Action Requires At Least One Reference: The action you're trying to publish is invalid because it does not specify any reference objects. At least one of the following properties must be specified: object.
Title: Re: SA Facebook Integration
Post by: coyoteboy on October 22, 2017, 12:03:14 PM
I haven't found it in the early stages of the thread but is there any detail about the app required in facebook? I have dev ID but I could do with some pointers as to where to go after that - I can't see any requirements anywhere.
Title: Re: SA Facebook Integration
Post by: vbgamer45 on October 22, 2017, 12:05:00 PM
Does not work anymore for new users at this time.
Title: Re: SA Facebook Integration
Post by: coyoteboy on October 22, 2017, 04:16:30 PM
Oh right. Thanks for the tip! Any alternatives available?
Title: Re: SA Facebook Integration
Post by: pocttopus on November 08, 2017, 03:17:00 PM
When trying to connect with facebook I am receiving this error message:

QuoteCan't Load URL: The domain of this URL isn't included in the app's domains. To be able to load this URL, add all domains and subdomains of your app to the App Domains field in your app settings.

Any advice? :(
Title: Re: SA Facebook Integration
Post by: vbgamer45 on November 08, 2017, 03:20:55 PM
You have it on the Facebook app that you created.
Title: Re: SA Facebook Integration
Post by: sanjaytpk on December 22, 2017, 06:27:57 AM
I Found this message when try to login by facebook in this forum when after facebook I try this so I got this message :
"URL Blocked: This redirect failed because the redirect URI is not whitelisted in the app's Client OAuth Settings. Make sure Client and Web OAuth Login are on and add all your app domains as Valid OAuth Redirect URIs."

Pls Help me out of this issue. :'(
Title: Re: SA Facebook Integration
Post by: Margus on February 03, 2018, 02:40:42 AM

Greetings, how well or when it will start to work with auto-install SMF version 2.1 ?
The beta3 seems to be in the near ready, so would be worth it. Approximately ?



And Question 2,
How well (or is it possible) to get Your mod and OneAll plugin work on same board?


https://custom.simplemachines.org/mods/index.php?action=parse

https://docs.oneall.com/plugins/guide/social-login-smf/

the 2.1 beta3 needed edits:
https://custom.simplemachines.org/mods/index.php?action=parse;mod=3580;attach=253779;smf_version=2.1_Beta_3


Third Question, how much would it cost to order, to get these 2 mods working?
Title: Re: SA Facebook Integration
Post by: vbgamer45 on February 03, 2018, 08:52:28 AM
No time soon I have to rewrite the mod at some point.
Title: Re: SA Facebook Integration
Post by: Finn_958 on February 21, 2018, 02:30:21 AM
It gives the same problems to me: the URL is not recognized and the user FB integration does not work.
If it could also coexist with one4all it would be great!
Title: Re: SA Facebook Integration
Post by: Uhura! on April 13, 2018, 10:56:52 PM
I'm getting an error.

Quote
Can't Load URL: The domain of this URL isn't included in the app's domains. To be able to load this URL, add all domains and subdomains of your app to the App Domains field in your app settings.

Please help.
Title: Re: SA Facebook Integration
Post by: vbgamer45 on April 13, 2018, 10:59:08 PM
The mod no longer works.
Title: Re: SA Facebook Integration
Post by: Uhura! on April 13, 2018, 11:00:41 PM
What can I replace it with?
Title: Re: SA Facebook Integration
Post by: heusdens on April 10, 2019, 01:30:58 AM
Hi, does someone have version 2.0.2 of the SA Facebook Integration zip package?
Title: Re: SA Facebook Integration
Post by: heusdens on September 30, 2019, 02:51:28 AM
Hi

Since removing this mod (uninstall) I've been getting the following errors:

/index.php?action=register2
Database Error: Field 'fb_user' doesn't have a default value
File: /home/lexon2/public_html/forums/Sources/Subs-Members.php
Line: 771

I also test the registration and it refers to database error. Can't register any new members.

Seems like the uninstall doesn't remove certain changes in the database? Does anyone know how to fix it?

Thank you
Title: Re: SA Facebook Integration
Post by: vbgamer45 on September 30, 2019, 08:30:57 AM
Drop the column fb_user from the smf_members table or add a default to that column
Title: Re: SA Facebook Integration
Post by: heusdens on September 30, 2019, 08:50:19 AM
Thanks it worked. Added default to the column. Much appreciated.
Title: Re: SA Facebook Integration
Post by: Sir Osis of Liver on December 13, 2019, 11:43:50 PM
Just upgraded 3.1 -> 3.1.1, getting a lot of these -



2: Parameter 1 to SAFacebookhooks::ob_facebook() expected to be a reference, value given



SMF 2.0.15  PHP 7.1.33
Title: Re: SA Facebook Integration
Post by: vbgamer45 on December 14, 2019, 12:09:37 AM
Did this mod still work for you? before you upgraded?
Title: Re: SA Facebook Integration
Post by: Sir Osis of Liver on December 14, 2019, 01:08:46 AM
No idea, but it wasn't throwing that error until after upgrade.  I don't get involved in anything FB, no idea what the mod does.  I'm having to reload all backups from scratch after uninstalling pretty urls.  WSOD, whole night's work wasted. >:(

Will get back to it tomorrow.