SA Facebook Integration

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

Previous topic - Next topic

SA™

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
http://samods.github.io/SAChatBar/

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

cleftangels

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

teofiluscandra

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 [nofollow]" type="text/javascript"></script>';
      }
      echo'


I Hope You can Fixed it, thx

erorcun

I'm back!

I have found some bugs in 0.2 version of smf 1.1.x.  I will correct in future :)
-Yemeklerin niye bu kadar lezzetli?
-Sana koyuyorum.
-Hmm ben diğer ustalara söyliyim onlar da sana koysun.

MegaByte

I'm assuming it's been mentioned before, but there are several misspellings throughout the mod:

intergrate/intergration should be integrate/integration

choloman05

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? 

~DS~

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

HeNdRo

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?

lolicute

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.

erorcun

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.
-Yemeklerin niye bu kadar lezzetli?
-Sana koyuyorum.
-Hmm ben diğer ustalara söyliyim onlar da sana koysun.

HeNdRo

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?

lolicute

Join to MySQL Data Base of ur Forum, search this "fbname"

Oldiesmann

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;
Michael Eshom
Christian Metal Fans

SA™

@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

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

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

JBlaze

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'
Jason Clemons
Former Team Member 2009 - 2012

SA™

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

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


erorcun

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.
-Yemeklerin niye bu kadar lezzetli?
-Sana koyuyorum.
-Hmm ben diğer ustalara söyliyim onlar da sana koysun.

clevelife

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

erorcun

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.
-Yemeklerin niye bu kadar lezzetli?
-Sana koyuyorum.
-Hmm ben diğer ustalara söyliyim onlar da sana koysun.

Advertisement: