News:

Wondering if this will always be free?  See why free is better.

Main Menu

SA Facebook Integration

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

Previous topic - Next topic

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

eng_HK

Did you tryied to use that theme? what I can do?
pls don't say to unistall the mod...

SA™

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
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

eyeseven

Hi there!

can you help me how to add manually the FB login button to my cargo theme..



SA™

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
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

eyeseven

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.


eng_HK

@sleepy
did you take a look to my subs??
what do you think about that prblm?

eyeseven

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! :)



SA™

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

eng_HK


et10yl

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?

eng_HK

@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.

savek

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

SA™

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

PortalGamers

How can I install this mod? I'm going crazy!!

First step is create a facebook aplication and now?

Spoogs

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

PortalGamers

#696
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?

Spoogs

Go back to your application on facebook and make sure you set the connect url
whats your web address

savek

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.

Spoogs


Advertisement: