Advertisement:

Author Topic: SA Facebook Integration  (Read 1033853 times)

Offline SA™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,954
  • (T)ogether (E)veryone (A)chieves (M)ore
    • DenotsNiaga on Facebook
    • SAChatBar
Re: SA Facebook Connect Integration [now supports smf1 and smf2]
« Reply #680 on: August 15, 2010, 11:00:54 AM »
hmm weird cos that function is defined in that file
http://samods.github.io/SAChatBar/

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

Offline eng_HK

  • Semi-Newbie
  • *
  • Posts: 73
Re: SA Facebook Connect Integration [now supports smf1 and smf2]
« Reply #681 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...

Offline SA™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,954
  • (T)ogether (E)veryone (A)chieves (M)ore
    • DenotsNiaga on Facebook
    • SAChatBar
Re: SA Facebook Connect Integration [now supports smf1 and smf2]
« Reply #682 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
http://samods.github.io/SAChatBar/

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

Offline eyeseven

  • Semi-Newbie
  • *
  • Posts: 54
Re: SA Facebook Connect Integration [now supports smf1 and smf2]
« Reply #683 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..



Offline SA™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,954
  • (T)ogether (E)veryone (A)chieves (M)ore
    • DenotsNiaga on Facebook
    • SAChatBar
Re: SA Facebook Connect Integration [now supports smf1 and smf2]
« Reply #684 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
http://samods.github.io/SAChatBar/

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

Offline eyeseven

  • Semi-Newbie
  • *
  • Posts: 54
Re: SA Facebook Connect Integration [now supports smf1 and smf2]
« Reply #685 on: August 17, 2010, 11:04:51 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.


Offline eng_HK

  • Semi-Newbie
  • *
  • Posts: 73
Re: SA Facebook Connect Integration [now supports smf1 and smf2]
« Reply #686 on: August 17, 2010, 03:17:51 PM »
@sleepy
did you take a look to my subs??
what do you think about that prblm?

Offline eyeseven

  • Semi-Newbie
  • *
  • Posts: 54
Re: SA Facebook Connect Integration [now supports smf1 and smf2]
« Reply #687 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! :)



Offline SA™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,954
  • (T)ogether (E)veryone (A)chieves (M)ore
    • DenotsNiaga on Facebook
    • SAChatBar
Re: SA Facebook Connect Integration [now supports smf1 and smf2]
« Reply #688 on: August 18, 2010, 12:41:20 PM »
@eyeseven
where do you want the button th apear

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

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

Offline eng_HK

  • Semi-Newbie
  • *
  • Posts: 73
Re: SA Facebook Connect Integration [now supports smf1 and smf2]
« Reply #689 on: August 18, 2010, 01:35:55 PM »
I'm using ultraedit e filezilla...

Offline et10yl

  • Semi-Newbie
  • *
  • Posts: 36
Re: SA Facebook Connect Integration [now supports smf1 and smf2]
« Reply #690 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?

Offline eng_HK

  • Semi-Newbie
  • *
  • Posts: 73
Re: SA Facebook Connect Integration [now supports smf1 and smf2]
« Reply #691 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.
« Last Edit: August 19, 2010, 01:17:24 AM by eng_HK »

Offline savek

  • Semi-Newbie
  • *
  • Posts: 13
Re: SA Facebook Connect Integration [now supports smf1 and smf2]
« Reply #692 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???

Offline SA™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,954
  • (T)ogether (E)veryone (A)chieves (M)ore
    • DenotsNiaga on Facebook
    • SAChatBar
Re: SA Facebook Connect Integration [now supports smf1 and smf2]
« Reply #693 on: August 19, 2010, 05:09:00 PM »
@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
Code: [Select]
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>';

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

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

Offline PortalGamers

  • Jr. Member
  • **
  • Posts: 233
    • TerritorioGamers
Re: SA Facebook Connect Integration [now supports smf1 and smf2]
« Reply #694 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?

Offline Spoogs

  • SMF Hero
  • ******
  • Posts: 1,676
  • Gender: Male
Re: SA Facebook Connect Integration [now supports smf1 and smf2]
« Reply #695 on: August 19, 2010, 07:31:52 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

Offline PortalGamers

  • Jr. Member
  • **
  • Posts: 233
    • TerritorioGamers
Re: SA Facebook Connect Integration [now supports smf1 and smf2]
« Reply #696 on: August 19, 2010, 07:34:53 PM »
Edited

Ok configured but...
Quote
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 can I do?
« Last Edit: August 19, 2010, 07:45:08 PM by PortalGamers »

Offline Spoogs

  • SMF Hero
  • ******
  • Posts: 1,676
  • Gender: Male
Re: SA Facebook Connect Integration [now supports smf1 and smf2]
« Reply #697 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

Offline savek

  • Semi-Newbie
  • *
  • Posts: 13
Re: SA Facebook Connect Integration [now supports smf1 and smf2]
« Reply #698 on: August 19, 2010, 09:32:09 PM »
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.

Offline Spoogs

  • SMF Hero
  • ******
  • Posts: 1,676
  • Gender: Male
Re: SA Facebook Connect Integration [now supports smf1 and smf2]
« Reply #699 on: August 19, 2010, 09:43:11 PM »
As far as i know it only works on 1.1.11