Advertisement:

Author Topic: SA Facebook Integration  (Read 1034994 times)

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 #660 on: August 05, 2010, 04:48:25 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.

Offline eng_HK

  • Semi-Newbie
  • *
  • Posts: 73
Re: SA Facebook Connect Integration [now supports smf1 and smf2]
« Reply #661 on: August 06, 2010, 03:16:26 PM »
What I have to do to let it work with another template?

Offline nend

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,755
  • 2 deep n2 the code
    • sicommnend on GitHub
    • SIComm.us
Re: SA Facebook Connect Integration [now supports smf1 and smf2]
« Reply #662 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.  :-\

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 #663 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
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 #664 on: August 08, 2010, 03:06:56 AM »
This is the index.
What I have to chage? and where?

Thx

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 #665 on: August 08, 2010, 02:15:41 PM »
here you go try this but please back up first
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 #666 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.
« Last Edit: August 09, 2010, 08:47:17 AM by eng_HK »

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 #667 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
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 program5

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

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 #669 on: August 10, 2010, 11:58:12 AM »
Just a suggestion, can you make this mod to modify SimplePortal as well?

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 #670 on: August 10, 2010, 02:36:34 PM »


ill look into it

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 ?
Just a suggestion, can you make this mod to modify SimplePortal as well?
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 #671 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.

Offline MATTEK

  • Sr. Member
  • ****
  • Posts: 977
  • Gender: Male
  • Tyrannical
    • The Unsung Heroes
Re: SA Facebook Connect Integration [now supports smf1 and smf2]
« Reply #672 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.
SMF 2.0.1

Like Comics, Books, Movies or T.V. Shows? Read about them here!!

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 #673 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

Code: [Select]
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>';
    }
    }
}
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 #674 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.


Offline MyOutdoorsIowa

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

Thanks,
Darrin

Offline ~DS~

  • SMF Hero
  • ******
  • Posts: 2,599
  • Gender: Male
Re: SA Facebook Connect Integration [now supports smf1 and smf2]
« Reply #676 on: August 14, 2010, 01:06:05 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. :)
“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

Offline MyOutdoorsIowa

  • Semi-Newbie
  • *
  • Posts: 17
Re: SA Facebook Connect Integration [now supports smf1 and smf2]
« Reply #677 on: August 14, 2010, 01:07:30 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 [nofollow]

Thanks,
Darrin
Yeah, I think he's working on it. :)
Thanks for the instant reply!  8)

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

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


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 #679 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