Advertisement:

Author Topic: SA Facebook Integration  (Read 1034790 times)

Offline !RFAN

  • Sr. Member
  • ****
  • Posts: 716
  • Gender: Male
Re: SA Facebook Connect Integration [now supports smf1 and smf2]
« Reply #800 on: September 16, 2010, 12:53:16 AM »
Quote
hey,
can anyone help me in installing this mod to sunshine2 theme by Fussilet (smfdesign.net)?
please

Quote
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


Offline totolia

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



Offline 6748222

  • Newbie
  • *
  • Posts: 1
Re: SA Facebook Connect Integration [now supports smf1 and smf2]
« Reply #802 on: September 16, 2010, 10:45:34 PM »
where can i donwload it?  :o


Offline havene

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

Offline Spoogs

  • SMF Hero
  • ******
  • Posts: 1,676
  • Gender: Male
Re: SA Facebook Connect Integration [now supports smf1 and smf2]
« Reply #805 on: September 17, 2010, 12:14:37 AM »
what version of SMF
What version of the mod?

Offline havene

  • Newbie
  • *
  • Posts: 4
Re: SA Facebook Connect Integration [now supports smf1 and smf2]
« Reply #806 on: September 17, 2010, 12:25:59 AM »
SMF 1.1.11
1.0 Beta5 Rev264

Offline Spoogs

  • SMF Hero
  • ******
  • Posts: 1,676
  • Gender: Male
Re: SA Facebook Connect Integration [now supports smf1 and smf2]
« Reply #807 on: September 17, 2010, 12:35:12 AM »
Are you using a custom theme... if so have you made the necessary edits?

Offline havene

  • Newbie
  • *
  • Posts: 4
Re: SA Facebook Connect Integration [now supports smf1 and smf2]
« Reply #808 on: September 17, 2010, 12:39:53 AM »
Oh ya. I'm using custom theme. Sorry.
Please tell me how to edit it. Thanks

Offline Spoogs

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

Offline ahrasis

  • SMF Hero
  • ******
  • Posts: 4,916
  • Gender: Male
  • Busy mode is on.
    • ahmad.rasyid.ismail on Facebook
    • ahrasis on GitHub
    • ahrasis on LinkedIn
    • @ahrasis on Twitter
    • ElkArte Malaysia
Re: SA Facebook Connect Integration [now supports smf1 and smf2]
« Reply #810 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:
Code: [Select]
<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.

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 #811 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
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 ahrasis

  • SMF Hero
  • ******
  • Posts: 4,916
  • Gender: Male
  • Busy mode is on.
    • ahmad.rasyid.ismail on Facebook
    • ahrasis on GitHub
    • ahrasis on LinkedIn
    • @ahrasis on Twitter
    • ElkArte Malaysia
Re: SA Facebook Connect Integration [now supports smf1 and smf2]
« Reply #812 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 ?

Offline ahrasis

  • SMF Hero
  • ******
  • Posts: 4,916
  • Gender: Male
  • Busy mode is on.
    • ahmad.rasyid.ismail on Facebook
    • ahrasis on GitHub
    • ahrasis on LinkedIn
    • @ahrasis on Twitter
    • ElkArte Malaysia
Re: SA Facebook Connect Integration [now supports smf1 and smf2]
« Reply #813 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.

Offline RAULVK

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

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>';

Sorry for my English is very bad. 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 #815 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

Code: [Select]
}

if (isset($settings['use_default_images']) && $settings['use_default_images'] == 'defaults' && isset($settings['default_template']))
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 Buraaq

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

Offline Spoogs

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

Offline Buraaq

  • Semi-Newbie
  • *
  • Posts: 90
Re: SA Facebook Connect Integration [now supports smf1 and smf2]
« Reply #818 on: September 21, 2010, 02:24:37 PM »
Quote
xyz 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  :-\

Offline Spoogs

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