Advertisement:

Author Topic: SA Facebook Integration  (Read 1036824 times)

Offline grafitus

  • SMF Hero
  • ******
  • Posts: 3,034
    • beratdogan on GitHub
    • beratdogan on LinkedIn
    • @beratdgan on Twitter
Re: SA Facebook Connect Integration [now supports smf1 and smf2]
« Reply #620 on: July 29, 2010, 07:28:35 AM »
Ben modun 2. yazarıyım.
 
Şunu türkçe anlatırsan dediğin şeyi yapabilirim, ingilizceyi çok iyi bilmiyorum da. :D
You should speak English on here. Especially when second mod author. ;)

Offline UltraEffect

  • Semi-Newbie
  • *
  • Posts: 22
Re: SA Facebook Connect Integration [now supports smf1 and smf2]
« Reply #621 on: July 29, 2010, 07:35:05 AM »
Ben modun 2. yazarıyım.
 
Şunu türkçe anlatırsan dediğin şeyi yapabilirim, ingilizceyi çok iyi bilmiyorum da. :D

Mukemmel, tesekkurler erorcun!

forumum sag ust kisminda sabit olan login (Giris Yap) kismi war.

Modification kurduktan sonra otamatik olarak ustteki "giris yap" kisminin yaninada facebookla baglan tusu koydu.
Code: [Select]
http://www.californiaturkleri.com/ gidersen goruceksindir..

bese "facebook girisi yap" sadece ana giris yap (yani menunun icinde olan "giris yap"in icinde) ve ana sayfadaki "user info" nun icinde cikmasini istiyorum..


uzun sozun kisasi, sadece her sayfanin ust kisminda olan "giris yap" tan "facebook giris yapi" cikarmak istiyorum

simdiden tskler!!



Offline UltraEffect

  • Semi-Newbie
  • *
  • Posts: 22
Re: SA Facebook Connect Integration [now supports smf1 and smf2]
« Reply #622 on: July 29, 2010, 07:37:05 AM »
Ben modun 2. yazarıyım.
 
Şunu türkçe anlatırsan dediğin şeyi yapabilirim, ingilizceyi çok iyi bilmiyorum da. :D
You should speak English on here. Especially when second mod author. ;)

grafitus, u understand Turkish. he mentioned that he didnt understand my issue clearly, i'll write everything in English ones we solve it.
« Last Edit: July 29, 2010, 07:44:18 AM by UltraEffect »

Offline erorcun

  • Jr. Member
  • **
  • Posts: 132
Re: SA Facebook Connect Integration [now supports smf1 and smf2]
« Reply #623 on: July 29, 2010, 07:48:49 AM »
@grafitus Normally i don't speak turkish on here.

But he is turkish and i don't know english very good.

I do not think will be anything, I've only done once. ;)
 
@UltraEffect You must remove "show_facebook();" in your theme's index.template.php :)
-Yemeklerin niye bu kadar lezzetli?
-Sana koyuyorum.
-Hmm ben diğer ustalara söyliyim onlar da sana koysun.

Offline UltraEffect

  • Semi-Newbie
  • *
  • Posts: 22
Re: SA Facebook Connect Integration [now supports smf1 and smf2]
« Reply #624 on: July 29, 2010, 07:56:36 AM »
@grafitus Normally i don't speak turkish on here.

But he is turkish and i don't know english very good.

I do not think will be anything, I've only done once. ;)
 
@UltraEffect You must remove "show_facebook();" in your theme's index.template.php :)

Thank you for the reply!!

there are 3 show_facebook() in the theme's index.template.php

1.
Code: [Select]
function show_facebook()
{
         global $settings, $user.....

2.
Code: [Select]
if(empty($modeSettings['fb_enable_fbc_menu']))
{
      show_facebook();
}

3.
Code: [Select]
<input type="hidden" name+"hash_passwrd" value"" />
</form>';

show_facebook();
}




P.S i attached the index.template.php of my theme
« Last Edit: July 29, 2010, 08:05:09 AM by UltraEffect »

Offline UltraEffect

  • Semi-Newbie
  • *
  • Posts: 22
Re: SA Facebook Connect Integration [now supports smf1 and smf2]
« Reply #625 on: July 29, 2010, 08:51:30 AM »
well, figured it out :D

u gotta keep the function.

deleting the if clause with show_facebook(); and the other show_facebook(); will do the trick!!

Perfect!! Thank you Erorcun!!

Offline MATTEK

  • Sr. Member
  • ****
  • Posts: 977
  • Gender: Male
  • Tyrannical
    • The Unsung Heroes
Re: SA Facebook Connect Integration [now supports smf1 and smf2]
« Reply #626 on: July 29, 2010, 03:10:37 PM »
I'm still wondering why my buttons have disappeared.
SMF 2.0.1

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

Offline UltraEffect

  • Semi-Newbie
  • *
  • Posts: 22
Re: SA Facebook Connect Integration [now supports smf1 and smf2]
« Reply #627 on: July 29, 2010, 05:35:59 PM »
I'm still wondering why my buttons have disappeared.

If you are using v2.0 RC3 follow this

http://custom.simplemachines.org/mods/index.php?action=parse

to update your
./Themes/default/index.template.php

, it works like a charm.

Offline MATTEK

  • Sr. Member
  • ****
  • Posts: 977
  • Gender: Male
  • Tyrannical
    • The Unsung Heroes
Re: SA Facebook Connect Integration [now supports smf1 and smf2]
« Reply #628 on: July 29, 2010, 06:08:40 PM »
I'm still wondering why my buttons have disappeared.

If you are using v2.0 RC3 follow this

http://custom.simplemachines.org/mods/index.php?action=parse

to update your
./Themes/default/index.template.php

, it works like a charm.

When I click your link I get
Quote
An Error Has Occurred!
Sorry, but the modification could not be parsed.
SMF 2.0.1

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

Offline UltraEffect

  • Semi-Newbie
  • *
  • Posts: 22
Re: SA Facebook Connect Integration [now supports smf1 and smf2]
« Reply #629 on: July 30, 2010, 07:36:45 PM »

When I click your link I get
Quote
An Error Has Occurred!
Sorry, but the modification could not be parsed.

Ahh i see, go to http://custom.simplemachines.org/mods/index.php?mod=2322

on the right section under "Download this mod"
from drop down choose 2.0 RC3 (if that is what u have) click "parse" button

find ./Themes/default/index.template.php in the page, and start modifing your theme's index.template.php

make sure to backup your own  index.template.php before starting.

I hope this help, good luck!
 

Offline dsanchez

  • Jr. Member
  • **
  • Posts: 320
  • Gender: Male
Re: SA Facebook Connect Integration [now supports smf1 and smf2]
« Reply #630 on: July 31, 2010, 07:49:25 AM »
API Error Code: 100
API Error Description: Invalid parameter
Error Message: Invalid parameter

I had the same problem and I noticed the error was that in my facebook application the URL was http://www.curefans.com and the error appeared when I was accesing throught http://curefans.com

Is there any that it can work for bot with "www." or without?

Thanks again for this awesome mod!
Curefans.com - The meeting point for Curefans worldwide
http://www.curefans.com

Offline MATTEK

  • Sr. Member
  • ****
  • Posts: 977
  • Gender: Male
  • Tyrannical
    • The Unsung Heroes
Re: SA Facebook Connect Integration [now supports smf1 and smf2]
« Reply #631 on: August 01, 2010, 12:25:13 PM »
Actually, scratch that. I didn't follow through with the integration myself, because I hate Facebook, so I stopped. Now I can't see any of the buttons the mod includes such as share, login in, integrate, etc.,
Looking for assistance please.
SMF 2.0.1

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

Offline Hj Ahmad Rasyid Hj Ismail

  • 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 #632 on: August 01, 2010, 12:32:43 PM »
Mattek, have you uninstalled the mod in full and reinstall (upgrade) it or can you explain your problem further?

Offline MATTEK

  • Sr. Member
  • ****
  • Posts: 977
  • Gender: Male
  • Tyrannical
    • The Unsung Heroes
Re: SA Facebook Connect Integration [now supports smf1 and smf2]
« Reply #633 on: August 01, 2010, 01:13:44 PM »
Well, I made the edits that Sleepy told me to make. IT seemed like it worked. I went to integrate my FB account with the forum and then poof. All of the FB buttons that the mod installs are gone. It also took away my Custom Top Menu Tabs.
SMF 2.0.1

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

Offline Hj Ahmad Rasyid Hj Ismail

  • 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 #634 on: August 01, 2010, 01:23:19 PM »
Code: [Select]
public static $DOMAIN_MAP = array(
    'api'      => 'https://api.facebook.com/',
    'api_read' => 'https://api-read.facebook.com/',
    'graph'    => 'https://graph.facebook.com/',
    'www'      => 'https://www.facebook.com/',
  );

and replace with

Code: [Select]
public static $DOMAIN_MAP = array(
    'api'      => 'https://api.facebook.com/',
    'api_read' => 'https://api.facebook.com/',
    'graph'    => 'https://graph.facebook.com/',
    'www'      => 'https://www.facebook.com/',
  );
Is this the edit that you are doing? And to which file have you did this?

Offline MATTEK

  • Sr. Member
  • ****
  • Posts: 977
  • Gender: Male
  • Tyrannical
    • The Unsung Heroes
Re: SA Facebook Connect Integration [now supports smf1 and smf2]
« Reply #635 on: August 01, 2010, 01:29:04 PM »
Yes and that was made to facebook.php
SMF 2.0.1

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

Offline Hj Ahmad Rasyid Hj Ismail

  • 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 #636 on: August 01, 2010, 01:32:15 PM »
Hmmm... That shouldn't touch anything on your site at all.

Offline Hj Ahmad Rasyid Hj Ismail

  • 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 #637 on: August 01, 2010, 01:40:46 PM »
@ Mattek, you shouldn't be using this mod together with Twitter & Facebook Mod. I guess this is the cause of your problem and my advise is stated here: http://www.simplemachines.org/community/index.php?topic=227599.msg2726844#msg2726844

Offline ~DS~

  • SMF Hero
  • ******
  • Posts: 2,599
  • Gender: Male
Re: SA Facebook Connect Integration [now supports smf1 and smf2]
« Reply #638 on: August 01, 2010, 01:53:20 PM »
It might be a conflit there, preharps use this one for your traffic need? http://www.simplemachines.org/community/index.php?topic=360150.0
“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 HuwB

  • Semi-Newbie
  • *
  • Posts: 43
Re: SA Facebook Connect Integration [now supports smf1 and smf2]
« Reply #639 on: August 03, 2010, 03:56:48 PM »
still having trouble integrating this into my theme, I followed all the manual set up and copied in the code

the mod works, but when you go to the live stream it is blank,
it works fine if I use the default theme

can anyone help