Link to Mod (https://custom.simplemachines.org/mods/index.php?mod=2322)
Warning: You must create an application on facebook to use this modificationFeatures:
- Register with facebook (new members)
- Integrate forum account with facebook (existing members)
- Disassociate forum account from facebook
- Update your Status on facebook
- Import your facebook avatar
- Invite your facebook friends
- Like/Recommend your site to friends on facebook
- Share, Like, and Publish topics to your facebook wall
- Facebook Comment Box
- Facebook Fan Page
- Friends... View all your facebook friends
|
|
Left blank intentionally: Left blank intentionally:
- ACP - this mod has its own admin control panel for easy use
- Supports Standard and Advanced Profile Fields [SMF 2.0 only]
- Facebook admin logs (see all register/Integrated fb users)
- Membergroup (default membergroup for new facebook registered members)
- Buddy list integration (users can sync their forum and fb friends)
|
Finally. :)
Very cool ;)
SWEET, finally approved, congrats SA on an awesome mod, loving all the features so far 8)
now where cooking :)
Great!
I've really been looking forward to this!
Just tried testing it by trying to sign in via FB and get this
QuoteThe application you are trying to access does not exist or has been disabled.
Quote from: Darkstar1337 on February 12, 2010, 06:15:33 PM
Just tried testing it by trying to sign in via FB and get this
QuoteThe application you are trying to access does not exist or has been disabled.
1. Did you create an application on facebook
2. Did you setup that application correctly
(if you need help with this let me know)
Yep its working now thanks
very cool , glad you got it working 8) enjoy
thx spoogs
no prob man, its 1 of the few things i can kinda help out with around here :P
Hello
Any Chance this would work on SMF 1.1.11
Thanks
Quote from: CKWT on February 13, 2010, 12:24:58 AM
Hello
Any Chance this would work on SMF 1.1.11
Thanks
This is made for 2.0
do you if anyone is working on a 1.x version...
It is a very cool mod and will have more reach on both versions..
Thanks for your reply
I Dont Know Why But My usres & Me Unable to Login in Site Using SA DB Connect...
I Think its Coz of Facebook Connect intergration For SMF2(1st Beta Relese)... :(
What Should I Do NOW? ? ?
what smf version are you using rc2? and what happens when you click connect with facebook?
Quote from: CKWT on February 13, 2010, 12:43:44 AM
do you if anyone is working on a 1.x version...
It is a very cool mod and will have more reach on both versions..
Thanks for your reply
there is a smf1 version but it is paid and not coded by me
see
http://smf-media.com/community/index.php
Finally another great mod :)
thx nibogo and thx for your code contributions
Quote from: Sleepy Arcade on February 13, 2010, 01:02:29 PM
thx nibogo and thx for your code contributions
You are welcome :)
how i create an application in facebook?
Go to facebook application page and follow the instructions.
Congrats sleepy. its an awesome mod..
Türkçe/Turkish translation
$txt['fb_admin_logs'] = 'Facebook Kayıtları';
$txt['fb_admin_logs_member'] = 'Üye';
$txt['fb_admin_logs_memberid'] = 'Üye ID';
$txt['fb_admin_logs_dr'] = 'Kayıt Tarihi';
$txt['fb_admin_logs_fuid'] = 'Facebook Kullanıcı ID';
$txt['fb_admin_logs_name'] = 'Facebook Adı';
$txt['fb_admin_logs_pro'] = 'Facebook Profili';
$txt['fb_admin_commets_box'] = '<div align="center">Yorum Kutusu Ayarları</div>';
$txt['fb_admin_commets_post'] = 'Yorum Kutusunda Gösterilecek Yorum Sayısı';
$txt['fb_app_comments_boxid'] = 'Yorum Kutusu XID<div class="smalltext>The unique identifier for this set of comments. Comments can contain alphanumeric characters (Aa-Zz, 0-9), hyphens (-), percent (%), period (.), and underscores (_) (in effect, the result of any urlencode can be a valid XID). </div>';
$txt['fb_admin_setsh1'] = 'Forumdan Facebooka Konu Paylaşımını Aktifleştir';
$txt['fb_admin_setsh2'] = 'bunu işaretlerseniz konularda facebookta paylaş iconu görünecek';
$txt['fb_admin_set1'] = '<div align="center">Temel Ayarlar</div>';
$txt['fb_admin_set2'] = '<div align="center">Hayran Sayfası Ayarları</div>';
$txt['fb_admin_set3'] = '<div align="center">Api Key ve Secret</div>';
$txt['fb_app_facebook_log_out'] = 'Facebooktan çıkış yapma özelliğini aktifleştir <div class="smalltext">kulanıcı siteden çıkış yaptığında facebooktan da çıkış yapmış olacak</div>';
$txt['fb_app_width'] = 'hayran Kutusu Genişliğ';
$txt['fb_app_key'] = 'Facebook Uygulama Anahtarı API KEY';
$txt['fb_app_sharetopic'] = 'Konuyu Facebookta Paylaş Özelliği Aktif';
$txt['fb_app_fans'] = 'Hayran Sayfası Aktif';
$txt['fb_enable_fb_com'] = 'Facebook Yorum Sistemi Aktif';
$txt['fb_app_connection'] = 'Gösterilecek Hayran Sayısı';
$txt['fb_app_pageid'] = 'Uygulama Sayfası IDniz <div class="smalltext">uygulamanın adresindeki son rakamlardır</div>';
$txt['fb_app_stream'] = 'Hayran Gösterimi <div class="smalltext">Sadece hayranları göstermek için 0 hayranları ve özet akışı için 1</div>';
$txt['fb_app_secret'] = 'Facebook Application Secret';
$txt['fb_integrate'] = 'Forum hesabını facebook hesabıyla birleştir.';
$txt['fb_update'] = 'Facebook Durumunu Güncelle.';
$txt['fb_admin'] = 'SA Facebook Connect';
$txt['fb_admin_main'] = 'Temel Ayarlar';
$txt['fb_enable'] = 'Facebook ile Bağlanı Aktif Et';
$txt['fb_enable_wt_mod'] = 'Enable Support For VBGamers Welcome Topic Mod';
$txt['fb_invite'] = 'Arkadaşlarını Davet Et';
$txt['fb_title'] = 'Facebookla Bağlan';
$txt['fb_title1'] = 'Facebook ile Bağlandınız!';
$txt['fb_title2'] = 'Facebook Connect ile Yapabilecekleriniz';
$txt['fb_title3'] = 'Facebook ile Bağlanamadınız!';
$txt['fb_title_inv'] = 'Facebook Daveti';
$txt['fb_inv'] = 'Davet Formu';
$txt['fb_inv_app'] = 'uygulama';
$txt['fb_inv1'] = 'A ya git';
$txt['fb_inv2'] = 'Sayfa!';
$txt['fb_inv3'] = 'Arakadaşlarını da Davet Et';
$txt['fb_inv4'] = 'Davetiniz İçin Teşekkürler';
$txt['fb_inv5'] = 'bağlı olan arkadaşlarınız';
$txt['fb_inv6'] = 'Dönmek için tıkla';
$txt['fb_inv7'] = 'kullanmaya başladı';
$txt['fb_inv8'] = 'and thought it\'s <u>so cool even you should try it out</u>!';
$txt['fb_inv9'] = 'Put';
$txt['fb_inv10'] = 'profilinde';
$txt['fb_avatar'] = 'Facebook resmini avatarın yap';
$txt['fb_avatar1'] = 'Facebook Avatar';
$txt['fb_avatar2'] = 'avatarınız değişti';
$txt['fb_avatar3'] = 'avatarınızı değiştirmek istediğinizden emin misiniz ?';
$txt['fb_yes'] = 'evet';
$txt['fb_no'] = 'hayır';
$txt['fb_or'] = 'ya da';
$txt['fb_sync'] = 'Facebook ile Senkronize Et';
$txt['fb_sync1'] = 'Facebook ve forum hesabını birleştirmek istediğinden emin misin?';
$txt['fb_share'] = 'Bu siteyi facebookta paylaş';
$txt['fb_fans'] = 'Hayran Sayfası';
$txt['fb_fans1'] = 'Facebook Hayran Sayfası';
$txt['fb_haslogged'] = 'giriş yaptı';
$txt['fb_haslogged2'] = 'facebook connecti kullanarak';
$txt['fb_reg1'] = 'Facebook Giriş';
$txt['fb_reg2'] = '(sadece bir defa yapmanız yeterli)';
$txt['fb_reg8'] = 'Görünen İsim';
$txt['fb_reg3'] = 'Git';
$txt['fb_reg4'] = 'Lütfen bir Kullanıcı Adı Giriniz';
$txt['fb_reg44'] = 'Gerekli Bilgi';
$txt['fb_reg45'] = 'Ek Bilgi';
$txt['permissiongroup_simple_facebookperm'] = 'Facebook Connect';
$txt['permissiongroup_facebookperm'] = 'Facebook Connect';
$txt['permissionhelp_share_topic'] = 'Eğer facebookta paylaşma yetkisi varsa';
$txt['permissionname_share_topic'] = 'Konuları Facebookta Paylaş';
$txt['fbshare_share'] = 'Kategorileri Paylaş';
$txt['fb_custom_profile'] = 'Özel Profil Alanlarını da Etkinleştir';
Have a little problem, it installed perfectly, and everthing seems to be set up. but when someone logs in via facebook connect it just reloads the login page but dosent log the person in, (if there already registered with the forum and then login) the facebook message pops up "this user has logged in using facebook connect" even tho the user had had to login twice (facebook connect and then the smf way) these errors might have something to do with it? cant seem to figure it out.
Type of error: Undefined
index.php?action=facebook;sa=connect;step
8: Undefined index: fb_enable_avs_mod
File: /Themes/default/FB_Connect.template.php (fb_reg sub template - eval?)
Line: 112
index.php?action=facebook;sa=connect;step
8: Undefined index: fb_enable_avs_mod
File: /Sources/FB_Connect/FB_Connect.php
Line: 142
i got an update comming in a bit
but for now enable and disbale avatar select on register option in admin
is this mod optional for members to use or is it compulsory for members to connect there facebook as not all my members would want there facebook friends to see what they were doing on the forum
Quote from: Robin1989 on February 15, 2010, 04:17:53 PM
is this mod optional for members to use or is it compulsory for members to connect there facebook as not all my members would want there facebook friends to see what they were doing on the forum
AFAIK, yes it's optional, they can skip the FB register and use the standard SMF login. And if they already are registered or or used FB connect it will not shown up on your FB as long they don't comment or use the FB connect feature.
added new version
15 february 2010:
fixed Undefined index: fb_enable_avs_mod error
added turkish translation thanks eslao
some code changes to the install.xml thanks nibogo
I helped somewhere,earlier on :D
i will add credits to every one who helped test when i finish the admin panel
good job sleepy.
thanks for getting this MOD ready! I looked at the MOD page about this and just have a couple questions.
If you have certain custom profile fields required during registration will this FB connect allow members to skip over my required fields?
What parts of your site does this MOD change to show facebook information? User profiles, topics, or other areas?
"Allow Facebook user integration" Does this mean current members can become integrated, or just new sign ups? thanks
QuoteIf you have certain custom profile fields required during registration will this FB connect allow members to skip over my required fields?
This mod supports custom profile fields (i dont use those so SA or someone else can better answer how that works)
QuoteWhat parts of your site does this MOD change to show facebook information? User profiles, topics, or other areas?
"Allow Facebook user integration" Does this mean current members can become integrated, or just new sign ups? thanks
This mod allows for registering with facebook
Existing user can integrate with face book (meaning they can login using their facebook info)
User can update their facebook status from your site and post comments and such
You can choose which boards to allow users to share info directly on facebook
it would be great to add (an user option to enable or disable) a Fb icon/link to the users fb profile
I am getting this error any tips?
Invalid Argument
The Facebook Connect cross-domain receiver URL (http://chucklebutte.exofire.net/forums/fbc/xd_receiver.htm#fname=_opener&%7B%22t%22%3A3%2C%22h%22%3A%22fbCancelLogin%22%2C%22sid%22%3A%220.907%22%7D) must have the application's Connect URL (http://chucklebutte.exofire.net/forums/index.php) as a prefix. You can configure the Connect URL in the Application Settings Editor.
@Filipina yes custom profile feild will shw when registering with facebook :)
@luismanson they can just delete the link if they do not want it
@chucklebutte you havent set up the application on facebook properly
goto your facebook application click on the connect tab and what does your connect url say?
it should be http://chucklebutte.exofire.net/forums
never
http://chucklebutte.exofire.net/forums/index.php
Oh thanks this above post confused me. My site is http://www.melindaspenpals.com and my forum is found at http://www.melindaspenpals.com/penpal-community/index.php
So are you saying the connect URL should be http://www.melindaspenpals.com or http://www.melindaspenpals.com/penpal-community ???
http://www.melindaspenpals.com/penpal-community
should do it
@SA you the man <3 thank you it works!
im sure you all got an email from facebook telling you about email chnages this is important and must be done in order to send mail thu fb connect here what you need to do
1. Configuring Your Email Domain
You need to specify the domain from where you will send email to your users. Edit your settings in the Developer application.
On the Advanced tab, specify the domain in the Email Domain field. If you have more than one application, you can specify different domains for each application.
Specifying an email domain allows Facebook to safeguard against users' email addresses being sold to third parties. Any developers found violating this policy will have their applications immediately and permanently disabled.
Note: If a user provided you with a proxied email address, Facebook will use facebookappmail.com as the sender's domain, not the domain specified above.
here is the documention
http://wiki.developers.facebook.com/index.php/Communicating_with_Users_via_Email#1._Configuring_Y
please note you need todo this for email to work
Looks like there are some complicated options to consider the more I look into this. Once it got into the "Extended Permissions" it went over my head. Requiring Email Addresses, Email Permission, Querying for the User's Email Address, Unsubscribing Users. Hmmm.. I hope others that have gone through this entire process can give feeback on the best way to set it up.
Sorry just have a couple more question hope someone can help :)
When it says "allow XXXXXX to contact me at: my Facebook contact email (
[email protected]) change" what if the person says "no"? 1) How are they registered on our site without email? 2) So does that mean they cannot receive email from our site and how do we control that?
When someone logs out of both facebook and our site with facebook connect are they really logging out of our site too because I did a test and it appears they only log out of facebook.
Thanks for any assistance :)
sorry for this question but i am new smf as i used to use ipb
but on this mod where do i enter such details as th api ...etc
thanks in advance from an smf noob
erus I think this is the answer.... "Goto admin/sa facebook connect and enter the keys in the correct places"
thank you for the quick reply Filipina
found it now
as i say, i am new to this type of forum as i installed it about 30 minutes ago.
for anyone else suffering the same dumb moment as i did, it can be located here
under the configuration sub menu
# Administration Center » SA Facebook Connect » Main Settings
--------------------------------------
now i seem to have another problem *sigh*
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /****/*****/*/*/*/*****/****/******/fbc/facebook/php/facebook.php on line 38
sorry to be a pain in the rear end
Hmmm looks like the big guns are going to need to look into this one. SA or someone else will probably take a look at this when they are online... sorry :(
Quote from: erus on February 17, 2010, 11:54:50 AM
thank you for the quick reply Filipina
found it now
as i say, i am new to this type of forum as i installed it about 30 minutes ago.
for anyone else suffering the same dumb moment as i did, it can be located here
under the configuration sub menu
# Administration Center » SA Facebook Connect » Main Settings
--------------------------------------
now i seem to have another problem *sigh*
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /****/*****/*/*/*/*****/****/******/fbc/facebook/php/facebook.php on line 38
sorry to be a pain in the rear end
Attach your facebook.php and somebody might have a look into it.
attached the file this time
Quote from: erus on February 17, 2010, 12:52:08 PM
attached the file this time
you need php5 to use this mod you have php4 ask your host to upgrade there php version
Quote from: Filipina on February 17, 2010, 10:37:42 AM
Sorry just have a couple more question hope someone can help :)
When it says "allow XXXXXX to contact me at: my Facebook contact email ([email protected]) change" what if the person says "no"? 1) How are they registered on our site without email? 2) So does that mean they cannot receive email from our site and how do we control that?
When someone logs out of both facebook and our site with facebook connect are they really logging out of our site too because I did a test and it appears they only log out of facebook.
Thanks for any assistance :)
if they dont allow email it uses a proxymail service that will send via facebook
and yes they logut feture logs out from both site and fb
Quote from: Sleepy Arcadeyou need php5 to use this mod you have php4 ask your host to upgrade there php version
according to my hosting company i should be able to run php5 on the server
http://help.godaddy.com/topic/412/article/1076 for the full article
even though it states that my current php version is 4
i have had problems with this before and been fobbed off by godaddy with instructions that i have to have every php file to be saved with a .php5 extension (would take me ages to do ;D :o )
indeed that will take some time surly they can update it for you
there is a php4 facebook libery in the package to use but i dont have php4 to test with so i just left it in all honest tho i should think most servers use php5
default/images/admin/facebook.gif
I think this is missing.. i went to that file after install and it is not there plus when in ADMIN I have a x instead of image on default theme :)
here it si attached
sorry one more thing... I have couple curve themes besides default, all seem to work fine with mods... like Sudden Curve and Royal Curve.. with this MOD when user selects those themes i get this error in User Info Box and it locks everything up... any ideas.. thanks so much for button!
Fatal error: Call to undefined function show_facebook() in /xxxxxxxxxx/public_html/penpal-community/Sources/PortalBlocks.php on line 156
Edit - It think it has something to do with this
http://b.static.ak.fbcdn.net/rsrc.php/zB6N8/hash/4li2k73z.gif
Edit 2 - It is happening even when I have the MOD disabled...
Fatal error: Call to undefined function show_facebook() in /xxxxxxxxxx/public_html/penpal-community/Sources/PortalBlocks.php on line 225
Edit 3 - I cannot log out now ... menu buttons are not working...
Last Edit - Sorry I has a lot of problems and had to unistall.. I am not sure if it was all related to the Sources/PortalBlocks.php but things shut down with the menu, not being able to log out stuff even with it disabled.
I will stil try again later at some point... thanks for trying to help :)
I tried installing, but it slowed down my browser and never loaded the install finish page! I click on the "[ Install Mod ]" link, then it gives me a 500 Internal Server Error everytime I try installing!!
Quote from: Kcmartz on February 17, 2010, 09:33:36 PM
I tried installing, but it slowed down my browser and never loaded the install finish page! I click on the "[ Install Mod ]" link, then it gives me a 500 Internal Server Error everytime I try installing!!
Did you try changing the permissions ?
I installed the mod successfully but got the following error:
Fatal error: Cannot use string offset as an array in /home/xxxxxxx/public_html/infostridesforum.com/Sources/FB_Connect/FB_Connect_Subs.php on line 318
Please help me check!
My website is http://www.infostridesforum.com
Thank you.
@ sleepy after 2 hours on the phone and a few choice emails i have now got php5 on the server ( yay ) so going to try again and see if i can get it going correctly this time
-------------EDIT------------
just tried it out and it is working perfectly for me now,
thank you for the help SA
@Filipina you need to do edit to your custom theme if you are using one
@Kcmartz Did you try changing the permissions ?
@infostrides that happens somtimes i dont know why yet it somthing todo with facebook sessions
@erus glad you got it sorted now
@Sleepy Arcade:
You mean directory permissions? Or member permissions? If member, I can't even complete install of it, or SOME other mods, without a slow load time and a 500 Server Error!
Quote from: Sleepy Arcade on February 18, 2010, 10:16:57 AM
@infostrides that happens somtimes i dont know why yet it somthing todo with facebook sessions
I hope that would be resolved later because it may discourage users.
Thumb Up for the mod!!! It works just fine....
@Kcmartz if your having this problem with ither mods aswell maybe it time to look for a new host?
@infostrides i know it bugging me aswell ill try to sort it when i can :)
I will look for a new host as soon as I have a part time job to pay for it, because as long as my dad pays for it, I have to stay with godaddy. I will probably use Labradoodle's reseller hosting plan if it has everything I need...
This mod worked on all the websites I installed it in. Good job Sleepy! Worked with Servage and my VPS server.
This feature is not working on forum:
"Enable share topic feature"
Please, what could have been the problem?
http://www.infostridesforum.com
you have to enable it for the bards you want goto admin > sa facebook conenct > share boards and enable the bords you want you also need to set permissions as well for it it you dont see share boards option in admin
in sources/admin.php
find
'settingsa' => array($txt['fb_admin_main']),
replace with
'settingsa' => array($txt['fb_admin_main']),
'fbshare' => array($txt['fbshare_share'], 'enabled' => !empty($modSettings['fb_app_sharetopic'])),
'fblogs' => array($txt['fb_admin_logs']),
Quote from: Sleepy Arcade on February 18, 2010, 12:23:28 PM
you have to enable it for the bards you want goto admin > sa facebook conenct > share boards and enable the bords you want you also need to set permissions as well for it it you dont see share boards option in admin
in sources/admin.php
find
'settingsa' => array($txt['fb_admin_main']),
replace with
'settingsa' => array($txt['fb_admin_main']),
'fbshare' => array($txt['fbshare_share'], 'enabled' => !empty($modSettings['fb_app_sharetopic'])),
'fblogs' => array($txt['fb_admin_logs']),
These are in proper place. But not showing yet.
More so, the following error occur while trying to register with display name:
The database value you're trying to insert does not exist: personal_text
Please help!
i cant replicate this? whats does it say in your error logs
Hello I am making another attempt because this MOD will be huge for me I think.. :)
1) Can someone please help me with this css/index.css file... I tried to add the code below to the file but it breaks the style of Sudden Curve and Royal Curve... can someone point me in the right direction what else i need to edit with css? :) Is there another file i need to edit too? Thanks
#forumposts h3 span#facebook
{
float: right;
margin: 6px 0.5em 0 0;
}
2) Wow lots of people using this already! How do I stop my current members from getting confused and opening a second account instead of connecting them LOL
how to login to forum from outside page? i have a php welcome page with forum login link with SSI...
also it would be great if we put a facebook button on registration page.
nice mod, i really enjoyed it...
@Filipina if you can attach that file ill make the edit for you
thanks sleepy... :) Not sure which file you need so I attached both. Would you mind telling me what edits you make so I can change my other two themes too.. they are all Crip Curve themes :)
Sleepy don't kill me but do you know what this error is now showing in the bottom status bar of my site which when you click it for further deals it is give me this information
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; GTB6.4; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Timestamp: Sat, 20 Feb 2010 19:20:21 UTC
Message: Access is denied.
Line: 50
Char: 23
Code: 0
URI: http://www.melindaspenpals.com/penpal-community/Themes/default/scripts/theme.js?rc2
** Will it break anything If I change "facebook profile field:" TO "users cannot see the field, owners and admins can edit it"
Hey Sleepy! Welcome to my club ;D
Quote from: Sleepy Arcade on February 19, 2010, 10:16:20 AM
i cant replicate this? whats does it say in your error logs
There is no error in the log.
try this attached Filipina i dont know hwat that ither error is no im sry
no it shouldent break anything if you chnage the profile feilds
Sleepy thanks for trying to fix my theme... I tried that and cleared by cache files on the site and my pc (even rebooted) but it looks about the ame image attached.. I think there is another setting I need to change but I cannot figure out what it is. It looks like it is trying use the deafualt styling... boards and bottom half are not right. any ideas anyone?
hmm let me go install that theme and test
ok thanks sleepy... the royal curve, burnt curve and subben curve all show about the same result... :)
The mod functions great it is just the styling on those curves :)
P.S. this MOD is really taking off on my site, thanks sleepy!
ok i instaled rolal curve theme then installed the mod making sure to check install on other themes and installed fine
http://sleepy-arcade.ath.cx/arcade/forum/index.php
did you do them maual edits your self to those themes?
the only thing i can think of right now is to uninstall and reinstall it making sure to check install to other themes
installed and works flawlessly, thank you for a great mod that was much needed.
I have one issue. I would like to simply change one line to show up BOLD. That is the line that reads "You are successfully connected with facebook!" after you click Facebook connect. Where can I find the code to change that? Thank you.
that will be in themes/default/languages/Modifications.english.php
$txt['fb_title1'] = 'You are successfully connected with facebook!';
Quote from: Sleepy Arcade on February 21, 2010, 12:35:28 PM
ok i instaled rolal curve theme then installed the mod making sure to check install on other themes and installed fine
http://sleepy-arcade.ath.cx/arcade/forum/index.php
did you do them maual edits your self to those themes?
the only thing i can think of right now is to uninstall and reinstall it making sure to check install to other themes
I did the manual edits to index.template.php for those themes because they have their own index.template.php files. Should I not have done this, or you think I might have done it wrong? I attached one of those index files on that other post.
no im not saying you did it wrong i used that index.template.php you attached and didnt get no problems
Quote from: Sleepy Arcade on February 21, 2010, 01:09:59 PM
that will be in themes/default/languages/Modifications.english.php
$txt['fb_title1'] = 'You are successfully connected with facebook!';
thank you, and thank you for the super quick reply!
Not sure if anyone else is experiencing this problem but all IM's and email to FB users via proxy are being returned to sender. I have my domain email listed so not sure what else I can do. I have been looking at the settings but cannot find anything that jumps out at me. Anyone have ideas on this or experiencing it? I see it being discussed here.
http://forum.developers.facebook.com/viewtopic.php?pid=205160
HELP me...i installed the mod, connected to facebook....did the dont allow to publish stories to my wall etc ...went to step 3/3 and then this shows up
Fatal error: Class 'Facebook' not found in /home/digitalb/public_html/bindaas/Sources/FB_Connect/FB_Connect_Subs.php on line 314
SMF could not connect to database :'(
@Filipina thanks ill look into this one
@calvinhobbes i cant replicate this do you know if facebook was down at the time of this error?
@iMp7 very usefull not if you can provide more info the better i can help
No problem sleepy not sure there is anything you can do about it. This appears to be a facebook problem which is causing a lot of head aches for many sites using facebook connect. So far about 90% of the email generated off my site through member IM's or email to those proxy emails is being returned.
I tried to install and reinstall the mod but my styles on the curve themes are all still broken. I have spent hours searching but cannot find the answer :(
Fatal error: Cannot use string offset as an array in /xxxxxxxxxxx/penpal-community/Sources/FB_Connect/FB_Connect_Subs.php on line 318
http://www.melindaspenpals.com/penpal-community/index.php?action=facebook;sa=connect;step8: Uninitialized string offset: 0File: /xxxxxx/penpal-community/Sources/FB_Connect/FB_Connect_Subs.php
Line: 318
Yep getting this now too.. reported by serveral users you can click the facebook png image to connect and it happens now
http://www.melindaspenpals.com/penpal-community/index.php
EDIT - This problem seems to come and go which makes me wonder if it is FB related? All is fine right now
EDIT - Sorry sleepy the problem I had with other curve themes was my own making. I accidently uploaded the wrong index.css files from the default curve into the other themes :(
hello .. installed the mod without errors .. tested the mod ..everything seems to work .. except one ..
when trying to Post comment to my Facebook profile it says
Database Down
Sorry, a temporary error has occurred. Please try again.
how do we fix this?
EDIT: is this the same ? http://developers.facebook.com/news.php?blog=1&story=198
wait for the database to come back up :) i have no contral over what facebook does or doesnt do i just coded the mod im not involved with facebook in any way
sry Filipina i missed your post :( yes that poblem is fb realted
I have had about 100 facebook connect sign ups so far. About 90% of the time the avatars fail and end up as red x's. I can always find them though FB and upload them myself but it takes time. Also, the returned mail is still a problem. So most do not come back.
How hard would it be to make this permissions based, and only allow current members to use it? The reason is that current members connecting with facebook already have an actual email address with me so no problems with returned mail. Also, it solves the broken avatar pictures. I know some may think it defeats the purpose of the MOD, but for me the MOD is still useful if ONLY current members can connect.
the red x's is a bug with the mod if you have the avatar selevt on register mod installed it will not happen ill fix it in next version
the bouncing emails seems to be a facebook side problem there isnt much i can do cos im not assoiated with facebook in anyway i just coded this mod just out of curiosity what is your email domain set to?
i belive it will not work like that not with out making a searate mod if it permission based or not you will still need to allow guest to use to be able to login to the forum
Quotewhat is your email domain set to?
melindaspenpals.com EDIT - The last 48 hours it seems to be wroking now without the returned mail anymore.
I have a custom made "upload avatar" on registration modification http://www.melindaspenpals.com/penpal-community/index.php?action=register What file would I add this code too so facebook users can upload a picture while registering?
As far as permissions if you remove this image below then new registrations cannot see it, right?
http://b.static.ak.fbcdn.net/rsrc.php/zB6N8/hash/4li2k73z.gif
current members would still have this little image (/default/images/facebook.png) and the facebook link to connect, right?
sorry sleepy i am almost done asking questions this will probably be my last :)
no if you remove the image no one will be able to login with facebook
what mod is that that allowes you to upload an avatar?
Ok let me ask this.
When someone makes a new forum topic should there be a Facebook popup that allows the member to post to Facebook? I am not getting this even though in the admin panel it's ticked to allow posting topics to Facebook.
Any help on this?
Also the user name is not coming through properly.
Usename is coming through like this.
QuoteMike_1830764431
instead of just
QuoteMikeHunt
it doesnt auto post you have to click the little facebook icon the the right to share a topic
the usernames are like that for a reason eg if bob smith come and try to register with another bob smith already registerd they wouldent be able to register cos bob smith will already be there
oh...
Good mod! The name looks kinda cheesy on Facebook when I see the post where it says "new topic posted by mike_84633263746". Any way of fixing that so it shows the whole name instead of this code?
Plus how can we get the action to post on Facebook when someone creates a new topic?
i hope it will support version 1.1
@fbforums like i said in previous post name are like that for a reason if it justused the users name youde have problem with duplicate names
@massdog.com you have to wait and see thats all im saying for now :P just whatch this space :)
Iok well how about this part.
How can we get the action to post on Facebook when someone creates a new topic?
The action popus op when you login, can we get the post box to popup when someone makes a new post and even a reply?
ill see about this for a feature request :)
Just an update the bouncing proxy email issue seems to be resolved. I have not received a returned email for many days :)
How do I finish installing this mod?
I have temporarily uninstalled the mod for now.
Had an error when I clicked the facebook button.
Also can the facebook link be moved?
fisrt you need a facebook account if you have one already go here
http://www.facebook.com/developers/
and set up a facebook application
on the connect tab fill in your Connect URL
on the advacene tab fille in your Email Domain
my connect url and email domain are http://www.sa-mods.info so your will be your site
once youve set up the app click on basic and copy the api key and secret then in facebook admin enter these keys in the correct places
And that is all to it!
pretty much yeah all the other options in the app is optinal and some not even needed for facebook connect
Fatal error: Class 'Facebook' not found in /home/xxxx/public_html/Sources/FB_Connect/FB_Connect_Subs.php on line 314
did you enter you api and secrett key in the correct box? does it give error in errorlogs?
This is the error line I get in the error log.
include_once() [<a href='function.include'>function.include</a>]: Failed opening '/home/xxxx/public_html/fbc/facebook/php/facebook.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php')
Apply Filter: Only show the errors from this file
File: /home/xxxx/public_html/Sources/FB_Connect/FB_Connect_Subs.php
Line: 311
in the root of your forum there should be a folder called fbc is it there with all the files inside ? yo probaly need to reupload them
Hey sleepy, i am getting this error on my log...
Apply Filter: Only show the error messages of this URL
http://www.afrowall.com/index.php?action=facebook;sa=connect
Apply Filter: Only show the errors with the same message
2: include_once(/home/afrowa5/public_html/Sources/LoginOut.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory
Apply Filter: Only show the errors from this file
File: /home/xxxxxxxx/public_html/Sources/FB_Connect/FB_Connect.php
Line: 513
this folder is chmoded to 0755.
what seems to cause that ?
update your version your using rc1-2 rc2-1 is the latest version
Table 'lzforum.smf_{db_prefix}members' doesn't exist
File: /hermes/bosweb/web137/b1378/sl.legendzero/public_html/forum/Packages/temp/installScript.php
Line: 32
Have a bit of a problem. DB's are all good, but for some reason the script is treating the {db_prefix} as string instead of a variable.
humm thats weird can you post up the installscript.php please?
Quote from: Sleepy Arcade on March 05, 2010, 12:50:12 PM
update your version your using rc1-2 rc2-1 is the latest version
Ok cool
in the future, will there be some for 1.1.11?
Hi
Is there anyway to use this mod to show forum topics in a Facebook group rather than an individual Facebook account?
if you install facebook connect and new themes for smf 2.0 rc2 themes it will look like this and more error log over 100+ error log
need help fix this bug thanks.

^^ did you edit the indextemplate.php and displaytemplate.php files of that theme ?
no sir i did not edit anything ill just install a mod package :-\
in PortalBlocks.php
find and remove
show_facebook();
where i can i find it sir
Yes! I have converted.
Demo: www.oyunfrag.com
Sorry for my english
@fastblur inn sources directory
@erorcun wow you converted it to smf1? do you mind sharing
Quote from: erorcun on March 06, 2010, 01:25:33 PM
Yes! I have converted.
Demo: www.oyunfrag.com
Sorry for my english
Sharing dude! ;)
I am receiving this error when i try to connect my account
Quote
Fatal error: Class 'Facebook' not found in [forum root]/Sources/FB_Connect/FB_Connect_Subs.php on line 314
I do have the fbc folder under my forum root as well as the sources/fb_connect folder
i have entered my api key and secret.
i have also updated the email domain as it was erroring based on that lacking before.
Please advise thanks
I get this error message at the login.
QuoteParse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /var/www/web46/html/forum/fbc/facebook/php/facebook.php on line 38
Sorry,I`m dumb. How do I create this? I have created an application,but now I`m stuck!
I sent the converted version to mod author.
If he agrees, SMF 1.1.X version will be published.
Sorry for my english
Quote from: Norbert on March 07, 2010, 06:54:48 AM
I get this error message at the login.
QuoteParse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /var/www/web46/html/forum/fbc/facebook/php/facebook.php on line 38
I have seen it. It works only with PHP 5.
@Leemy you need to set permission for the fbc directory
@erorcun thanks man :)
@Norbert yes php5 only ask your hoat if they can update php for you they should be able to
to Sleepy Arcade
I already remove show_facebook();
still to wide like my screenshot yesterday.
my version of my SMF 2.0 RC2 and simpleportal version is the latest.
thanks for your help and need more help to fix this :D
hello .. how can i change the fbshare button on the right side of the topics with fbshare button with counter ?
@SleepyArcade -- Permissions are at 777 and still not working. Please advise thanks.
Quote from: Norbert on March 07, 2010, 11:37:04 AM
Quote from: Norbert on March 07, 2010, 06:54:48 AM
I get this error message at the login.
QuoteParse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /var/www/web46/html/forum/fbc/facebook/php/facebook.php on line 38
I have seen it. It works only with PHP 5.
It works fine for me now. Thx, Sleepy.
Guys i want to ask a question.
How can i supose to install this and connect to facebook can anyone explain?
I did try add a new aplication and add url to there on facebook of my website but now what is i must do next can anyione explain or tell me.
i will install mod today and if for some reason this not work i try give details to some one help me out to this be workable on my website if possible.
@fastblur can i see you portalblocks.php please
@zzzronzzz next versin i will chnage it :)
@leemy try 755 not 777
@nuke gaming the insturction to set up are on the mods page in the downloads
I wanted to touch base one more time since I have removed this MOD. The MOD is functioning fine and Sleepy has done a great job with it. That is why it was disappointing to have to remove it. However, some might end up with the same experience as me so I will pass along this information.
The problem is with facebook applications. I was getting dozens of sign ups a day using facebook connect. Most signing up through facebook connect elect not to share their email address. So you end up with their proxy email, and this is where the problems begin.
Most of the email sent through this proxy were being bounced back to my server as undeliverable. I double checked to make sure I had all the correct information in facebook applications settings and confirmed it is correct. For about a week I actually though the problem was resolving itself because the returned email seemed to stop. However, over the past few days I received another 400 returned IM and email notifications which had been stuck in no where land before returning to my server. All of them were facebook connect sign ups using proxy email.
This explains why most of the members signing up through this service never come back. They never get any welcome emails or IM notifications and simply forget about my site. Facebook is aware of the email delivery problem because webmasters using this application have been complaining about it for a long time. So what I ended up with was a lot of "disconnected" members using facebook connect.
this is not the mod itself it is facebook i have no control over that im sry it come to uninstaling this but i am sure that facebook will sort it one day [hopfully soon] 8) infact considering how popular facebook connect has come m suprised they havent fixed it already
I haven't gotten this problem yet (I had like one reg. tho)
@SleepyArcade
Thanks. I had to set the fbc and the FB_Connect files to 755 and it doesnt give me the error
BUT It just stalls with teh facebook popup "Request for Special Permissions"
PS - when i finally click the "X" to close, it gives me the same class error :(
Understood sleepy and that is why i noted it is not your problem or the MOD. Until facebook fixes the problem is just creates a real mess for me with all these members I cannot contact, and don't receive any notifications. The when all my members start sending them messages they all get returned as well. Hopefuly they will one day fix this problem because if your site is busy having all that returned mail is a serious problem. thanks :)
yes i hope they sort it soon i can see how annoying it is now lol
@leemy directorys should be 755 and files should be 644
eg
fbc directory = 755
facebook directory = 755
php directory = 755
fbconnect.js = 644
fbconnect_share.js = 644
xd_receiver.html = 644
and so on hope you get the idea
@SA
Folders (fbc, fb_connect) at 755, files at 644!
It doesnt hang, now its back to immediate error!
Quote
Fatal error: Class 'Facebook' not found in /home/bhangr5/public_html/discuss/Sources/FB_Connect/FB_Connect_Subs.php on line 314
So sorry to bug you with this, but I appreciate your help.
Which php directory are you referring to?
the php directory in fbc/facebook
sa fb connect 0.1 rc2-2 realsed
small update for rc3
minor bug fixes
any plans to make it for 1.1.11? they tend to be more popular version of SMF?
I dont have any subfolders under fbc.
hmm it sound like it didnt install properly try uploading the contnse of fbc folder to fbc directory on your server
hi i just installed it and i have added the app id, app secret and api key. but whenever i try to link my account i get the following error
Fatal error: Call to undefined function iconv() in /home/acidmods/public_html/forum2/Sources/FB_Connect/FB_Connect_Subs.php on line 8
you need php5 to use this mod
im using PHP Version: 5.2.10
hmm i would ask my host about it then
why is it an error with the way php is compiled or could it be to do with how i have set up the facebook application
that funtion that causes the error is a php function not facebook so your app is ok ask your host if iconv() is installed
Is there a full demo of this running somewhere, in English ?
I get the concept, but having a hard time visualizing what the mod does in the end.
Thanks,
K
www.sa-mods.info
thanks sleepy i noticed that it wasnt installed when i whent to updated apache and php from whm. got it working now and its a great mod sleepy thanks for this
hi!
I installed FBC in my SMF forum (RC3) but i can't connect...
I try to connect using "Connect with Facebook" button and nothing happened..
No errors, no blank pages.. :/
did you set up an application for your site on facebook and past the api keys it gave you into the SA Facebook Connect Integration settings in the admin panel
sure, api key, secret key and application ID in my SMF forum...
in addition I set connect URL (http://myDomain.com/) and Base Domain (myDomain.com) on facebook
did you also configure your email domain in your app aswell
yep, i did..
Advanced Settings/Email Domain = "MyDomain.com" <-- right?
@SA thanks for being so responsive will all the feedback, it makes it a lot easier.
You were right something was wrong with the installation; I had to recopy /fbc/facebook/ and its subfolders.
A few points for feedback
- The "Connect to facebook" is so out of place as the highest element on the forum. it gives it too much importance. IMHO it should be amongst the menu bar (Home, Search, Members, Logout, etc).
- Once you log in, the navigation is very rudimentary between those links.. You can't really escape w/o clicking "back" which I dont think should be the case.
- What does "Post comment to my Facebook profile" mean... if i uncheck it, doesnt it still post to my wall?
- I had a Page before, now I have an App. Do you know if theres a way to merge these two identities?
- It seems common to have a link "update avatar" then a separate page w/ a button "update avatar" then a confirm "update avatar". Too much.
- Sometimes it seems to get stuck on "request special permissions"
- The first time i tried to update my status it told me database down.. not sure whose database.
All in all, this is an awesome app! I'm very excited to see it mature and grow. Well done with this and good luck with its continued development!
@SA
As another user commented-- it's a problem when users register via facebook
- Problems emailing them due to the fb proxy
- their username is a long string (probably their fb ID #?), and not equal to their display name. So if they forget their password, they can only log in via facebook i guess.
Can you disable the Register-via-Facebook option? I would like the Connect option to eitehr
- log you into SMF if you're logged into FB and already have an SMF account
- take you to the proper pages if youre already logged in.
No registering! Can you make it happen or point me to the code I should encapsulate with a nice IF :)?
I have this mod installed by a service and no its a great mod.I set up application on facebook but running into troubles but think it is a facebook problem with my application.I'm willing to pay sombody to review my facebook and forum and get it to work properly.Thank you in advance.(must be a reputable member here(no scammers).
I resolved my problem editing manually the index.template.php file..
in addition, I got this error
Fatal error: Call to undefined function iconv()
Then I edit Sources/FB_Connect/FB_Connect_Subs.php
Replace
$replace = iconv("UTF-8","ISO-8859-9",$replace);
With
$replace = $replace;
Regards!
this looks great sleepy, well done.
Thanks for a great mod!
I have a few questions:
Is it ok to replace the facebook connect button or does Facebook require that that specific button is used?
Is it possible to remove the options to sync private messages and stuff like that? I only want people to be able to login using Facebook.
I found a small bug: admin images seems to be pointing to default/images/admin/ but they are located in default/images/
Also, when I tested a signup there was no avatar displaying. I plan on syncing it with the mod that allows you to choose avatar at signup so it's not a problem for me.
Thanks again for a great mod.
Quote from: kosaic on March 11, 2010, 02:46:42 PM
Is there a full demo of this running somewhere, in English ?
I get the concept, but having a hard time visualizing what the mod does in the end.
Thanks,
K
http://www.kcmartz.com, I use it as well!
@ IsraelSKA removing that will not convert forign charactors
@ leemy Post comment to my Facebook profile mean if chacked comment will also goto your profile
no you cant meg app with groups sry
permissions get stuck if facebook goes down i have no control over that
The first time i tried to update my status it told me database down.. not sure whose database.
that will be facebook againi have no control over that
the other thing your pointed out i will sort in next relase
@ Malke you can chnage the image if you wanted
the avators thing is a bug again i will fix it soon
@Sleepy I know, but my host (digitalproserver.com) really suck.. I can't use PHP5 functions cuz is not installed and my provider don't want to install..
This mod is only for PHP5 ?
Yes, I believe so...
yes php5 only
oh, I see.. thanks! :)
Just a suggestion, but instead of using header() redirects, use SMF's built in redirect functon redirectexit('?action=whatever').
thx jblaze i have made that change in the next version
ETA on next release to simplemachines.org Mod site? Thanks.
when it is ready
lol fair enough... thanks again for the mod, SA, it's very nice
Can we select to have to aprove the user after the Facebook connect?
i manual mod it
but when i run installScript.php
it appear blank page
what should i do
(sorry for my enlish)
see it
http://siam.ms
it wont show nothing it only adfd updates the database
for when it will be for the version 1.1.x?
there is a version for smf1 here that someone ported i havent had time to tes it myself tho
http://www.sa-mods.info/index.php?topic=368.0
l try to install the mod as it's explain l make all when l install l have any error.. but l have this message when l want to login:
"Request for Special Permissions
This application is not set up to request your email address."
and afther when l closed it l have this one:
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /homez.40/site/www/fbc/facebook/php/facebook.php on line 38
in a new SMF RC3 forum.
where l make an error ?
///
sorry, just a read the same error in another topic :-[
@Pяєηѕєѕ LF did you sort it?
sa fb connect 0.1 RC3 realsed
added password option upon registering
now display name chosen when registering is also login name
fixed avatar showing blank when avs mod not installed
now uses SMF's built in redirect functon instead of header redirects
moved facebook connect option from avatar area to the menu
now members can disable the post to wall promp when logging in
now you cant invite freinds who allrwady use the application
^^ weldone SA.
for those who want an smf1 version pleae see here
http://www.sa-mods.info/index.php?topic=427.0#new
yu made it for 1.1 version, cool.
hi .. i asked how can i make the share button to
button_count change that to box_count instead .. they hardly notice that fshare button inside topics .and so i can see how many times that certain topic has been shared
according to Case 1: Using Share to Post a Link to a Profile (http://wiki.developers.facebook.com/index.php/Connect/Using_Facebook_Share) that the share button should be prominently placed .. using the default theme, users will easily bypass that share button specially if some webmasters use a blue colored theme .. would it be possible to put it inside the actual first post ( under the Quote , Modify , Split buttons)
Also the fshare button doesnt seem to show for guest .. it would be great if it does..
you said
Quote from: Sleepy Arcade on March 08, 2010, 10:41:43 AM
@zzzronzzz next versin i will chnage it :)
i cant see anything in the new settings .. or do i have to change something in one of the files?
installed again, error:
Fatal error: Cannot redeclare show_facebook() (previously declared in /home/content/******/html/Sources/Load.php(2174) : eval()'d code:363) in /home/content/******/html/Sources/Load.php(2174) : eval()'d code on line 393
how to fix?
My forum/site is still closed in maintenence "2" mode until I can fix this. Plz?
hi friends I have a problem with this mod, I just do not show the part where you must add a comment, as you can see in the image enclosed in red

A box should appear so you can enter the comment as you can see in this picture

but nothing comes out, not that it should be thanks for help
PD:
SMF 2RC2
the mod installed SA_FBConnect_rc3_rev102
Greetings
Quote from: Kcmartz on March 21, 2010, 02:50:26 AM
installed again, error:
Fatal error: Cannot redeclare show_facebook() (previously declared in /home/content/******/html/Sources/Load.php(2174) : eval()'d code:363) in /home/content/******/html/Sources/Load.php(2174) : eval()'d code on line 393
how to fix?
You must add show_facebook function to your theme.
Quote from: Kcmartz on March 21, 2010, 01:01:55 PM
My forum/site is still closed in maintenence "2" mode until I can fix this. Plz?
Open settings.php file and find Maintenance line.
sry for the long reply guys went away for my bday for a few days
@zzzronzzz yes i was going to add this but the thing with the box count is i coudent figar out how to keep the count eg clikc share count goes up refresh or go away and come back and it will be on 0 again you need to set up permission for guest to be able to share adfmin/permissions
@Kcmartz pls post you index.template.php show_facebook() is declared twice
@ealexander that is a facebook bug not this mod i have no control over what facebook does or doesnt do
thanks for the reply sleep arcade .. yeah i think youre right about the counts not "counting" .. because i put another fshare button and i had ten different members click on it but it didnt change counts ..
index.template.php as requested!
hi Sleepy Arcade I do not think facebook is error because the part where you add a comment appears for a few seconds and then disappears, the previous version of the mod also install it and showed me to add comments parrte thus can conclude that that is a mod error, appearing to add the comments for a few seconds and then disappear you may not have a good connection with the Facebook API, I hope I can help solve this problem thanks in advance
Greetings
To be blunt, this does not seem to work anymore. Facebook must have changed their integration methods because this will not work after installation
@legend, I'd hope not!!
Quote from: Legend Zero on March 21, 2010, 11:07:51 PM
To be blunt, this does not seem to work anymore. Facebook must have changed their integration methods because this will not work after installation
What doesn't work? It works on my end very well.
Here is area where facebook is declared:
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_com_show = "',$modSettings['fb_admin_commets_post'],'";
</script>';
// Output any remaining HTML headers. (from mods, maybe?)
echo $context['html_headers'];
echo '
<script type="text/javascript">
var wot_rating_options = {
selector: ".inner a[href], .post a[href]"
};
</script>
<script type="text/javascript"
src="http://api.mywot.com/widgets/ratings.js"></script>
</head>
<body>';
echo'<script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php" type="text/javascript"></script>';
}
function show_facebook()
{
global $settings, $user_info, $context, $txt, $modSettings;
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="#" onclick="javascript:fbLogincheck(); return false;">'.$txt['fb_title'].'</a>';
else
echo ' <img src="' . $settings['images_url'] . '/facebook.png" alt="'.$txt['fb_title'].'" /> <a href="#" onclick="javascript:fbLoginsync(); return false;">'.$txt['fb_integrate'].'</a>';
echo'<br /><br />';
}
elseif (!empty($modSettings['fb_enable']))
echo'<a href="#" onclick="javascript:fbLogin(); return false;"><img src="http://b.static.ak.fbcdn.net/rsrc.php/zB6N8/hash/4li2k73z.gif" alt="" /></a>';
}
function template_body_above()
{
global $context, $settings, $options, $scripturl, $txt, $modSettings;
echo !empty($settings['forum_width']) ? '
<div id="wrapper" style="width: ' . $settings['forum_width'] . '">' : '', '
<div id="header"><div class="frame">
<div id="top_section">
<h1 class="forumtitle">
<a href="', $scripturl, '">', empty($context['header_logo_url_html_safe']) ? $context['forum_name'] : '<img src="' . $context['header_logo_url_html_safe'] . '" alt="' . $context['forum_name'] . '" />', '</a>
</h1>';
// the upshrink image, right-floated
echo '
<img id="upshrink" src="', $settings['images_url'], '/upshrink.png" alt="*" title="', $txt['upshrink_description'], '" style="display: none;" />';
echo '
', empty($settings['site_slogan']) ? '<img id="smflogo" src="' . $settings['images_url'] . '/smflogo.png" alt="Simple Machines Forum" title="Simple Machines Forum" />' : '<div id="siteslogan" class="align_right">' . $settings['site_slogan'] . '</div>', '
</div>
<div id="upper_section" class="middletext"', empty($options['collapse_header']) ? '' : ' style="display: none;"', '>
<div class="user">';
// If the user is logged in, display stuff like their name, new messages, etc.
if ($context['user']['is_logged'])
{
show_facebook();
in my forum but also worked in the previous version of the mod so I say that is the error mod
Greetings
I'm thinking something went wrong with the latest version. I went to FB developers, followed your tutorial WORD FOR WORD, and got no where. I dunno, maybe I'm just off my modding game lately...
I have to log off now, you can email it to me...
[email protected], ill check tom mornin/
hi Dismal Shadow just testing the mod you have installed on your forum 2Rc3 and works great, maybe the mod is only for the version I have the version 2RC3 and 2RC2 why not I see the window to add comments, not so Once someone has the 2RC2 and have installed the mod without problems that comment to know, thanks in advance
Greetings
I'm RC 1.2, might be my issue.
Guys, the mod only works on RC3.
For 1.1.11 go to :
http://www.sa-mods.info/index.php?topic=427.0
hi Dismal Shadow with reason, but it should make changes to my version as I use the 2RC2 and there is only one version for this mod as you say for 2RC3 that modifco files to run on the 2RC2, thanks for your help
Greetings
Quote from: Dismal Shadow on March 22, 2010, 12:08:29 AM
Guys, the mod only works on RC3.
Now THERE'S your problem, right there. I must've misread the compatibility, and was thrown off by it attempting to install maybe the instillation should be modded so it wont even attempt on non-compatible versions.
Quote from: Legend Zero on March 22, 2010, 12:13:43 AM
Quote from: Dismal Shadow on March 22, 2010, 12:08:29 AM
Guys, the mod only works on RC3.
Now THERE'S your problem, right there. I must've misread the compatibility, and was thrown off by it attempting to install maybe the instillation should be modded so it wont even attempt on non-compatible versions.
Now how is that MY problem? It should be yours since you did not read the compatibility and attempt to install on another version? ::)
I probe with the parser of the mod and told me that supports version 2RC2 if they try again
Greetings
I correctly install the parser besides guide me to install it if not compatible with my version must have a separate amendment that should be doing to support my version, I know that change, thanks
Greetings
?? Sleepy Arcade ??
helpme???
Please allow 24 hours for reply. We have life too so does the author. Remember we are all volunteers here.
as Dismal Shadow says geez what wrong with you people i have a life and i work 17 hours a day most days so forgive me for not replying sooner but im certaintly not gonna come home from work just to anser your questions sooner please be more pationt
@Kcmartz i dont see nothing wrong with that file?
@ealexander it must be facebook problem cos the comments is one line of code
<fb:comment></fb:comments> and i didnt chnage nothing there so it has tobe facebookl
Ok, then I don't know, but my site is closed until this is fixed :'(
hi Sleepy Arcade thanks for good answer about what you say is only one line of code in the comments you are right, you know what makes me doubt is the part where I get the commentary for a few seconds and then it disappears that gives me the idea that the mod is connected with the Facebook API and then loses the connection, also may be the permissions, but not much about it, because you are the creeador the mod, well you derrepente something happens to you on that may be because as the previous comment before versio n of the mod if you add that part apararecia comments can also be 2RC2 my version is not anyone tell me if in the upright 2RC2 this mod, good hope an idea occurs to you
Greetings
First, do you have a facebook account? You need one. Then go to applications in facebook and make a new one with instructions provided by this mod. Then insert the keys made into your admin settings, when installed, and voila!!
Sleepy Arcade: I decided to use the large upgrade for fresh files... (core only, not files like avatars and packages dir's)
Edit, uploaded a large package update and ran repair_settings.php, still same error! (did clear cache, and cookies)
ok and you reinstalled the mod after you reuploaded the files? if so double check the edits if it isnt installed then make sure there is no code left over from it usaly redeclare means that a function is declared twice in your case it was or shoulda been show facebookwich is in index.template.php but i could only see it once in there yesterday
ealexander
in admin did you chnage tyhe comments box xid at all the default name will not always work with out xid comments will disserper all the time
No just overwrote and browsed to www.kcmartz.com, error is still there...
ok well id check the edits for the md then
List of files it edits? I don't have stuff to find them, I will check wen I get home.
you can gert the edits from the mod page on here
I went through some of them a few days ago (before this happened), and since I overwrit it, shouldn't it be gone?
Ok, went through, only one file I needed to edit out something like "fb_connect();", now it should be as it never existed!
EDIT:
I also went through database and searched for: "facebook" and erased everything but the "messages" (posts, don't want to delete those!)
so is it all good now?
Nope :(
I wish it was...
hi Sleepy Arcade thank you for answering , between the administration of the Comments Box Options and in Your Comments Box XID attribute what I have with this change will box_comments value to another value or disables the Enable System Comments facebook, if I do not think that that can make a comment which could explain us in detail since they do not much the domain and use English translator jeje
thanks
Greetings
ealexander
sry but i dont understand what you are saying ?
Kcmartz
so what is the problem? you site seems ok to me i dont get it youve n unstalled it made sure all the edits are gone yet you say there is still a problem does it occure after you reinstall the mod or what
When I am logged in is when the error gets kicked at me...
you got a test account there i can use quikly?
yes, pming you info...
thx
funtion show facebook is still in one of you files wich should be index.template.php
show_facebook
that is the only file that goes in
did you do manual edits when you installed this mod and is the mod still installed
I believe mod is still considered "installed", but I didn't need to do any manual edits when installed...
hi Sleepy Arcade, told me to do this:
Quotein admin did you chnage tyhe comments box xid at all the default name will not always work with out xid comments will disserper all the time
I do not understand what he says, but I'll explain what I have in me to show me ADMINISTRATION
start:
I get my ADMINISTRATION This: Comments Box Options with the following attributes:
Comments facebook Enable System ¿disables it?
Number Comments To Show In comments box, default = 10, ¿what value would go?
Your Comments Box XID, default = box_comments, ¿what value would go?
as you said in a previous post that between the administration and make changes to that, ¿are you meant?, tell me to make changes, thanks
Greetings
I tried loading a fresh load.php and renamed current one to .php~~, and same with index.template.php, didn't work, so I did remove the fresh install files to current ones. That didn't help!
Tryed a fresh install using same database, same error!!! AARRRRGGGHHHHH! I am beginning to hate this mod!
EDIT:
What database fields does this effect? to drop the fields...
EDIT2:
I fixed it finally! (removed all but default themes, and reset it, and ran install.php from a RC3 fresh install)
can anyone help me to set up the application in facebook what do i need to enter????????
thanks
New version for 1.1.x released. You can download in www.sa-mods.info
Kcmartz, are you on a windows server?
RD: Nope, switched to linux hosting a year ago... :)
@fadmafia
- Create an application at facebook, http://www.facebook.com/developers/
- Edit the settings, specially at Connect option, fill Connect URL with your website ie: http://example.com
- Goto admin/sa facebook connect and enter the keys in the correct places
0.1 final realsed
fixed utf8 chartors not shong correct
fixed conflict with multiquote mod
fixed some email issues
added smf 1 support
Sir, SA Help me...
I have Problem Installing SA FACEBOOK Connect.
I use 2 RC 3
My Mods:
- SimplePortal
- Facebook Twitter Integration(2by2host)
-and another
I Have Problem in index.template.php , sir
Like That
QuoteFind[Select]
<div id="forumposts">
<div class="cat_bar">
<h3 class="catbg">
Add After[Select]
';
if ($context['show_fb_share_button']){
echo'<script type="text/javascript">
var mod_settings_fb_share = "',$context['current_topic'],'";
</script>
<span id="share"></span>
<script type="text/javascript">
Get_share();
</script>
<script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>';
}
echo'
Like That the Report:
14. Execute Modification ./Themes/default/Display.template.php Test failed
1. Add After ./Themes/default/Display.template.php Test failed
Can You Help me sir ?
You need to manually edit it in the file.
Quote from: Dismal Shadow on March 31, 2010, 03:56:25 AM
You need to manually edit it in the file.
can you help me ?
Just search for the code line it's asking and put it in there before/after/replace
i see the changes on the final is not much. what are the edits so i can add them manually instead of uninstalling the one i am using.
if you are using rc3 a simple file overwrite will do the trick
How is that ?
cos from fb connect rc3 to final is just chnages to the soucre and tenplate files
So you mean i should download the final zip and overwrite the previous.
well unzip it and just upload the souces files and template file that is only if you are using fb connect 0.1 rc3 if not then you have to uninstall then reinstall to use the new version
For 1.1.11:
Error in foro test:
Fatal error: Cannot use string offset as an array in /home/xxxxxxxxxxxx/domains/tabascog.com/public_html/foro/Sources/FB_Connect/FB_Connect_Subs.php on line 282
:S
I am constantly getting this error:
You Are not Connected With Facebook!
--------------------------------------------------------------------------------
Integrate forum account with Facebook.
anything i can do about that?
@DarkCo0oL i am looking into this error i dont know what causes it yet :(
@littenburg your get that somtimes again i am looking into this
thanx :)
Then the mod final for 1.1.x not doing very well...
Quote from: Dismal Shadow on March 31, 2010, 04:21:09 AM
Just search for the code line it's asking and put it in there before/after/replace
So i need to What sir ?
I must Change [find] code
to [after] code ?
QuoteFind[Select]
<div id="forumposts">
<div class="cat_bar">
<h3 class="catbg">
Add After[Select]
';
if ($context['show_fb_share_button']){
echo'<script type="text/javascript">
var mod_settings_fb_share = "',$context['current_topic'],'";
</script>
<span id="share"></span>
<script type="text/javascript">
Get_share();
</script>
<script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>';
}
echo'
so i change [find] code and replace it [after] code ? and then what should i do sir,
i'm sorry because i newbie
Noooo, don't put the "Find[Select]""Add After[Select]"
Just the codes that was shown.
Quote from: DarkCo0oL on March 31, 2010, 08:10:34 PM
For 1.1.11:
Error in foro test:
Fatal error: Cannot use string offset as an array in /home/xxxxxxxxxxxx/domains/tabascog.com/public_html/foro/Sources/FB_Connect/FB_Connect_Subs.php on line 282
:S
I updated 1.1.x version.
Can you try now?
Quote from: erorcun on April 02, 2010, 12:20:44 PM
Quote from: DarkCo0oL on March 31, 2010, 08:10:34 PM
For 1.1.11:
Error in foro test:
Fatal error: Cannot use string offset as an array in /home/xxxxxxxxxxxx/domains/tabascog.com/public_html/foro/Sources/FB_Connect/FB_Connect_Subs.php on line 282
:S
I updated 1.1.x version.
Can you try now?
i update...
and...
Fatal error: Cannot use string offset as an array in /home/xxxxxxxx/domains/tabascog.com/public_html/foro/Sources/FB_Connect/FB_Connect_Subs.php on line 283
lol
Quote from: Pяєηѕєѕ LF on March 19, 2010, 09:02:05 AM
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /homez.40/site/www/fbc/facebook/php/facebook.php on line 38
in a new SMF RC3 forum.
where l make an error ?
///
sorry, just a read the same error in another topic :-[
same error, so, where is the fix ??? plz :) ohhhhh I need php 5 :)
so, If I want it to work like youtube, when you upload a video it automatically publish it in your wall, can I do this in my page without need of a "Share Button" ???
I have looked through this thread as well as searched online for the solution to this issue i am having.
I cannot figure out where to make edits on the Blackbox theme I am using. FB Connect works with the default theme, just not on the custom one. the only two tests failed on the intall are the 2 i am having problems inserting.
I have included the index.template and the two steps that failed.
If anyone could help i would be grateful for it.
FIND:
if (!empty($modSettings['enableOpenID']))
echo '
<br /><input type="text" name="openid_identifier" id="openid_url" size="25" class="input_text openid_login" />';
echo '
<input type="hidden" name="hash_passwrd" value="" />
</form>';
ADD After:
show_facebook();
FIND:
if (!empty($context['user']['avatar']))
echo '
<p class="avatar">', $context['user']['avatar']['image'], '</p>';
ADD BEFORE:
if (empty($modSettings['fb_enable_fbc_menu']))
{
show_facebook();
}
Thanks in advance.
will this work for SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
Dilber MC Theme by HarzeM ?
thank you
Quote from: elforoof on April 05, 2010, 12:32:45 AM
will this work for SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
Dilber MC Theme by HarzeM ?
thank you
[tu puedes probarlo en localhost para ver si funciona en tu theme]
btw, im still with problem:
FB_Connect_Subs.php on line 283
i got an update comming for this later should fix this issu
Quote from: Sleepy Arcade on April 05, 2010, 12:21:32 PM
i got an update comming for this later should fix this issu
Whom were you addressing? Mine or DarkCool?
oppps sry i had rush out before i could finish typing :/
cos you theme doesnt have the parts it searches for i dont know how this will look but i have put it before the facebook group link
backup first
Thanks for your quick reply.
The issue isnt that the FB button doesnt show up, its that the button doesnt function.
On the default theme, when the FB button is clicked, it functions as it is suppose to. On the custom theme, the FB button shows up where it is suppose to, it just doesnt work. When it is click, nothing happens.
The edits will make it function properply, if placed in the right spot.
so you got it working now? if not can i have a link to you site with that installed? pm me with it if you want
will this work for SMF 1.1.11
Dilber MC Theme by HarzeM ?
thank you
yes but you have todo the edits to that dilber mc theme
PM sent. Do you need to see the site with the default theme? The FB connect works on the default theme.
Quote from: Sleepy Arcade on April 05, 2010, 02:44:48 PM
yes but you have todo the edits to that dilber mc theme
what are the edits i need to do? thank you
Quote from: elforoof on April 05, 2010, 03:01:16 PM
Quote from: Sleepy Arcade on April 05, 2010, 02:44:48 PM
yes but you have todo the edits to that dilber mc theme
what are the edits i need to do? thank you
You can find the instructions on the manual edits on the page you downloaded the mod from. PARSE is the manual install instructions.
Quote from: elforoof on April 05, 2010, 03:01:16 PM
Quote from: Sleepy Arcade on April 05, 2010, 02:44:48 PM
yes but you have todo the edits to that dilber mc theme
what are the edits i need to do? thank you
Revisa el parse del mod.
I just want to ask...
Is this mod also publish the post to facebook apllication page
sorry for my english
Help me with following problems: My forum url is forum.example.com
1. Setting up application on facebook:
Errors: post Authorization url, Connect Url and base url.- What am i supposed to enter in these.
2. I am using SMF version 1.1.11
While Installing the package: Execute Modification ./Themes/default/index.template.php Test failed
Please help me regarding all this.
Quote from: azhriel on April 06, 2010, 06:15:41 AM
I just want to ask...
Is this mod also publish the post to facebook apllication page
sorry for my english
Quote from: LuisMX on April 03, 2010, 01:42:50 PM
so, If I want it to work like youtube, when you upload a video it automatically publish it in your wall, can I do this in my page without need of a "Share Button" ???
I think we are asking the same ....
@azhriel no this doesnt do that
@delhirockers you dont have to fill in everty thing on the app you just put http://www.forum.example.com for your connect url for the test faild your ned to do that edit manualy
@LuisMX no this doesnt do that
Quote from: LuisMX on April 06, 2010, 11:38:11 AM
Quote from: azhriel on April 06, 2010, 06:15:41 AM
I just want to ask...
Is this mod also publish the post to facebook apllication page
sorry for my english
Quote from: LuisMX on April 03, 2010, 01:42:50 PM
so, If I want it to work like youtube, when you upload a video it automatically publish it in your wall, can I do this in my page without need of a "Share Button" ???
I think we are asking the same ....
C'mon guys this is not a publishing mod, if you want one, search for "Twitter mod". This can only share topics to FB.
It's a user account integration.
Quote from: Sleepy Arcade on April 06, 2010, 01:30:17 PM
@azhriel no this doesnt do that
@delhirockers you dont have to fill in everty thing on the app you just put http://www.forum.example.com for your connect url for the test faild your ned to do that edit manualy
@LuisMX no this doesnt do that
Thanks sleepy.... Now I know
Quote from: Sleepy Arcade on April 06, 2010, 01:30:17 PM
@azhriel no this doesnt do that
@delhirockers you dont have to fill in everty thing on the app you just put http://www.forum.example.com for your connect url for the test faild your ned to do that edit manualy
@LuisMX no this doesnt do that
When I`m not entering anything in post_auth.... It still asks for a url in that section.
Hope my Forum will not become buggy after doing a manual Edit. Sleepy please reply.....
Good day sleppy
Just want help on this...
and im getting a blank page when i click integrate to facebook with this url
mysite.com/index.php?action=facebook;sa=sync
and also for my other site that is a smf 1.1.11
i cant manually parse it on my custom theme index.template.php
can you show me how to parse it.
file attached
@delhirockers if you have trouble with manual edits you can attach the file here and i can do them for you
try putting http://www.forum.example.com in post_auth
@azhriel i have made the edits for you attched back up fisrt before uploading this :) for the blank page is there any error in error logs? can i ave a link to site with this installed?
im getting that line 363 error as soon as i log in now, if i refresh the forum loads up, but its annoying. (same error as the guy with the thumbs up avatar had)
i read you have to allow facebook something in ur theme, but im not sure what that means. i looked in my facebook connect options and didnt see it.
Im using the Mystic Jade theme.
@DarkCo0oL
Can you try attached file?
I'll go crazy.
I try, but same error:
Fatal error: Cannot use string offset as an array in /home/xxxxxxx/domains/tabascog.com/public_html/foro/Sources/FB_Connect/FB_Connect_Subs.php on line 283
Forum test -> http://www.tabascog.com/foro
I install on 2.0RC3 but after the klick on the share Button Facebook looks very crazy. See attach file
Any idea what is todo?
Quote from: DarkCo0oL on April 09, 2010, 07:13:00 AM
I try, but same error:
Fatal error: Cannot use string offset as an array in /home/xxxxxxx/domains/tabascog.com/public_html/foro/Sources/FB_Connect/FB_Connect_Subs.php on line 283
Forum test -> http://www.tabascog.com/foro
Did you do this?
Quote1. Go into your Facebook Developer (http://www.facebook.com/
developers/)
2. Click on your application in the "My Applications" list
3. Click on "Edit Settings"
4. Click on the Advanced tab
5. Enter a domain under the "Email Domain" box
oh sry, i put domain... but same error:
Fatal error: Cannot use string offset as an array in /home/xxxxxxxx/domains/tabascog.com/public_html/foro/Sources/FB_Connect/FB_Connect_Subs.php on line 283
Quote1. Go into your Facebook Developer (http://www.facebook.com/
developers/)
2. Click on your application in the "My Applications" list
3. Click on "Edit Settings"
4. Click on the Advanced tab
5. Enter a domain under the "Email Domain" box
[/quote]
yes,
I want to know and I delete the mod. When I use the direct way with http://www.facebook.com/share.php? then facebook ask me for the URL. I do: http://blog.afrikafrika.de/index.php?topic=3476 Is this a problem with the sub domain?
Quote from: DarkCo0oL on April 09, 2010, 08:15:40 AM
oh sry, i put domain... but same error:
Fatal error: Cannot use string offset as an array in /home/xxxxxxxx/domains/tabascog.com/public_html/foro/Sources/FB_Connect/FB_Connect_Subs.php on line 283
We are aware of this issue. It look like FB had changed their API, once we found a solution we update the mod, in the meantime disable FB Connect for a while. Hang in there.
Quote from: Dismal Shadow on April 09, 2010, 12:46:19 PM
Quote from: DarkCo0oL on April 09, 2010, 08:15:40 AM
oh sry, i put domain... but same error:
Fatal error: Cannot use string offset as an array in /home/xxxxxxxx/domains/tabascog.com/public_html/foro/Sources/FB_Connect/FB_Connect_Subs.php on line 283
We are aware of this issue. It look like FB had changed their API, once we found a solution we update the mod, in the meantime disable FB Connect for a while. Hang in there.
Yeah, i understand, no problem.
Has anyone gotten the Wall of a user to show up? If you have, could you please share on how to, or put up the code please?
i had lots of 404's related to /crossdomain.xml is this fom this extension?
Anyone who experiencing the "Fatal error: Cannot use string offset as an array" error should be resolved now.
It was Facebook's end that causing this issues on their API. Let us know if it's resolved.
Quote from: ProfDrDenis on April 09, 2010, 08:45:50 AM
Quote1. Go into your Facebook Developer (http://www.facebook.com/
developers/)
2. Click on your application in the "My Applications" list
3. Click on "Edit Settings"
4. Click on the Advanced tab
5. Enter a domain under the "Email Domain" box
how do yo know experience? I am not sure i have problem? Can I help me solve my facebook with fix on facebook... I try fix on my sites. i am not idea. No idea. I should be help you solve teach me how learn more solve me. Thank
Great mod...thank you very much.
When I share my site on FB through the mod it doesn't pick-up the forum name, just "login".
When I share a topic, the topic title is not published, just "login"...
Any thoughts?
nice mod
but i was unable to connect my forum to facebook..
o created an application and then put the API key and secret key but when i click on facebook connect tab on menu bar, nuthing happens just page reloaded... i need this mod.. please help me... you can check it here.
http://amigozone.tk/forum
and sorry for bad english
edit: i was unable to logout when i ticked the logout function of this mod
@dismal shadow it will come back it been comming and going since i started this mod tho i now know a fix thanks to the link you posted on my dev site :)
@Luke Wyrsta it will just show login if you dont allow guest to brouse forum same as the whole mod will not allow user to login with facebook i dont know a work around for it just yet
@amigozone i cant acess your site internal server error
after instaling or enableing that clear your forum cache
How do you get this to work for existing users? I get the mod to connect to my application in facebook but then it brings up a register screen each time. How do I tell it to know that my profile = my facebook account? I'm thinking I have overlooked a switch somewhere.
edit:I found it, its a button doh!
it is not work intergrate with facebook. I wonder problem fail my facebook./. how difficult to problem my websites. I have something wrong problem. I try fix on something wrong. I am tired. I struggle on my facebook is not work. I know aware to fix on fail no work. I think so not work.. It is complex..
Anyone know how to do this?
How can an Admin or a User remove the integration to facebook if they linked to the wrong facebook account? My wife's forums account is linked to my facebook account, but so is my forum account.
Quote from: clevelife on April 15, 2010, 06:54:53 PM
Anyone know how to do this?
How can an Admin or a User remove the integration to facebook if they linked to the wrong facebook account? My wife's forums account is linked to my facebook account, but so is my forum account.
I have problem something my linked not work. I know aware hard to rough fix on match link. How It is complex... Really
i think the mod is disable now? or suppose to be
QuoteQuote from: DarkCo0oL on April 09, 2010, 08:15:40 AM
oh sry, i put domain... but same error:
Fatal error: Cannot use string offset as an array in /home/xxxxxxxx/domains/tabascog.com/public_html/foro/Sources/FB_Connect/FB_Connect_Subs.php on line 283
We are aware of this issue. It look like FB had changed their API, once we found a solution we update the mod, in the meantime disable FB Connect for a while. Hang in there.
atleast thats the error i had when i had it so i disabled it. just been waiting.
Fatal error: Call to undefined function show_facebook() in /home/xxxxx/public_html/Sources/Load.php(2104) : eval()'d code on line 65
that is problem fatar error
Quote from: ricorico on April 15, 2010, 07:29:27 PM
i think the mod is disable now? or suppose to be
QuoteQuote from: DarkCo0oL on April 09, 2010, 08:15:40 AM
oh sry, i put domain... but same error:
Fatal error: Cannot use string offset as an array in /home/xxxxxxxx/domains/tabascog.com/public_html/foro/Sources/FB_Connect/FB_Connect_Subs.php on line 283
We are aware of this issue. It look like FB had changed their API, once we found a solution we update the mod, in the meantime disable FB Connect for a while. Hang in there.
atleast thats the error i had when i had it so i disabled it. just been waiting.
Seems to be working fine for me
I'm a little confused...
Connecting seems to be fine but it says there is an error.
The Pit Stop is under construction. Please try again later.
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 should the Connect URL, Account Preview URL, Base Domain, and Account Reclamation be?
Quote from: Andrew94 on April 17, 2010, 12:47:08 PM
I'm a little confused...
Connecting seems to be fine but it says there is an error.
The Pit Stop is under construction. Please try again later.
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 should the Connect URL, Account Preview URL, Base Domain, and Account Reclamation be?
I have problem connect url in the application setting. I am confused. I have assistant. I need to solve. I need to fix on facebook?
How do you experience. I don't understand. base domain and account reclamation?
That is diffiicult. I am awkward to how screw up on facebook wrong problem. I am very tried who is assistance.?
ASAP
when i uploaded this mod I got an error message that the mod was not compatible with 2.0RC and would not install.
Quote from: clevelife on April 15, 2010, 10:06:07 PM
Quote from: ricorico on April 15, 2010, 07:29:27 PM
i think the mod is disable now? or suppose to be
QuoteQuote from: DarkCo0oL on April 09, 2010, 08:15:40 AM
oh sry, i put domain... but same error:
Fatal error: Cannot use string offset as an array in /home/xxxxxxxx/domains/tabascog.com/public_html/foro/Sources/FB_Connect/FB_Connect_Subs.php on line 283
We are aware of this issue. It look like FB had changed their API, once we found a solution we update the mod, in the meantime disable FB Connect for a while. Hang in there.
atleast thats the error i had when i had it so i disabled it. just been waiting.
Seems to be working fine for me
whats the version of ur forum?
Something I have problem seems not work. I guess solve mark. I have problem. I need support to solve try help me. solve.. I wait for assistance no answer for me. I need to solve because It is important to solve. I need to help fix on my sites. because I have problem not work match with my facebook.
@ Andrew94 you only need to set you connect url and emaildomain wich should be http://www.thepitstopforum.net assuming that the site your using it with
@ gailmm use the correct package there is two there on for smf1 and one for smf2
@ smithtr see you post at my site
I tried to set the connect URL to: http://thepitstopforum.net and this is the error I'm getting from facebook:
Validation failed.
Connect URL must point to a directory (i.e., end with a "/") or a dynamic page (i.e., have a "?" somewhere).
try http://www.thepitstopforum.net/
Quote from: Sleepy Arcade on April 18, 2010, 06:02:24 PM
try http://www.thepitstopforum.net/
Got it! Thanks SA! Hopefully I won't have any more problems with this
Also I just wanna say I'm using almost all of your mods and they are flat out AMAZING! Bravo!
Gah was hoping I wouldn't have another problem.
Now when I click the "Integrate forum account with Facebook." link it takes me to a URL that looks like this:
http://www.thepitstopforum.net/?session={%22session_key%22%3A%222.zPAddWpPLUCgbl8PdoUHFw__.3600.1271635200-1804929572%22%2C%22uid%22%3A1804929572%2C%22expires%22%3A1271635200%2C%22secret%22%3A%22zPAddWpPLUCgbl8PdoUHFw__%22%2C%22sig%22%3A%22080f78fc26826ee05ce33fc6a357cb7a%22}&next=http%3A%2F%2Fthepitstopforum.net%2Ffbc%2Fxd_receiver.htm%3Ffb_login%26fname%3D_opener%26guid%3D0.41137675013086794 (http://www.thepitstopforum.net/?session=%7B%22session_key%22%3A%222.zPAddWpPLUCgbl8PdoUHFw__.3600.1271635200-1804929572%22%2C%22uid%22%3A1804929572%2C%22expires%22%3A1271635200%2C%22secret%22%3A%22zPAddWpPLUCgbl8PdoUHFw__%22%2C%22sig%22%3A%22080f78fc26826ee05ce33fc6a357cb7a%22%7D&next=http%3A%2F%2Fthepitstopforum.net%2Ffbc%2Fxd_receiver.htm%3Ffb_login%26fname%3D_opener%26guid%3D0.41137675013086794)
I am then logged out, so I try to click the "Connect with facebook" image and I get this:
Request for Special PermissionsThe Facebook Connect cross-domain receiver URL (http://thepitstopforum.net/fbc/xd_receiver.htm (http://thepitstopforum.net/fbc/xd_receiver.htm)) must have the application's Connect URL (http://www.thepitstopforum.net/ (http://www.thepitstopforum.net/)) as a prefix. You can configure the Connect URL in the Application Settings Editor (http://www.facebook.com/developers/editapp.php?app_id=111582295542803).
try removeing / from the url so you have
http://www.thepitstopforum.net
just added a new veersion 0.2 here
fixed
Cannot use string offset as an array errors
Quote from: Sleepy Arcade on April 18, 2010, 06:43:16 PM
try removeing / from the url so you have
http://www.thepitstopforum.net
When I do that I get the Validation failed error again:
Validation failed.
Connect URL must point to a directory (i.e., end with a "/") or a dynamic page (i.e., have a "?" somewhere).
I struggle on fix on something wrong problem index.temple.php how ? where is find theme? I am not clear understand setting up exactly where? Please fix on not work I need add logo facebook connection.
looking at
Facebook Connect cross-domain receiver URL (http://thepitstopforum.net/fbc/xd_receiver.htm)
tells me that the www. is missing so (http://www.thepitstopforum.net/ should workk
my facebook is not work domain incorrect. I tried not work. no idea. how that is why not work. I fail on application set up option? no idea. I never experience how where is found exactly base domain said error. I think so problem my facebook something fail.. It is difficult..
that was @Andrew94 not you im finding it hard to help you cos i cant make out a word of what you are saying
wow!!! great job!
one question though - when a new member connects and asked to provide a user-name, if he or she uses utf8 characters in the user-name, it passes on as EMPTY.
if you could just point me to the problematic part of the code, i'll be happy to find and share a utf8-friendly solution.
thanks!
I did use the one for smf2 and I still get the error message not to install. I will try again but the first time I ignored the error warning it crashed the whole site and I had to remove it and I would really like to get this to work. There are 2 zip files and I don't know which one is the correct one for my forum. I am running 2.0RC3.
Ok tried it again and used zip file SA_FBConnect_0.2_smf11x.zip and tried to install and got this message
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
I used other zip file and I think I got it working.
I just had to uninstall this mod it totally crashes everything and removes all stylesheet formatting. Onlyskin theme seems to work with is the smf default skin theme. I tried it on every skin other than that one and it crashed my whole forum and I couldnt even use the forum until I uninstalled the face book connect.
here is the error I got on every single skin theme when I tried to use them. by the way I don't want to remove my portal blocks to use this.
Fatal error: Call to undefined function show_facebook() in /home/justkind/public_html/Sources/PortalBlocks.php on line 225
it is cos you need todo some custom edits for your theme
if you add this
function show_facebook()
{
global $settings, $user_info, $context, $txt, $modSettings;
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="#" onclick="javascript:fbLogincheck(); return false;">'.$txt['fb_title'].'</a>';
else
echo ' <img src="' . $settings['images_url'] . '/facebook.png" alt="'.$txt['fb_title'].'" /> <a href="#" onclick="javascript:fbLoginsync(); return false;">'.$txt['fb_integrate'].'</a>';
echo'<br /><br />';
}
elseif (!empty($modSettings['fb_enable']))
echo'<a href="#" onclick="javascript:fbLogin(); return false;"><img src="http://b.static.ak.fbcdn.net/rsrc.php/zB6N8/hash/4li2k73z.gif" alt="" /></a>';
}
before // The main sub template above the content.
the error will go away
Quote from: IdanC on April 19, 2010, 02:51:29 AM
wow!!! great job!
one question though - when a new member connects and asked to provide a user-name, if he or she uses utf8 characters in the user-name, it passes on as EMPTY.
if you could just point me to the problematic part of the code, i'll be happy to find and share a utf8-friendly solution.
thanks!
does it produce any error?
Quote from: gailmm on April 19, 2010, 11:36:46 AM
I just had to uninstall this mod it totally crashes everything and removes all stylesheet formatting. Onlyskin theme seems to work with is the smf default skin theme. I tried it on every skin other than that one and it crashed my whole forum and I couldnt even use the forum until I uninstalled the face book connect.
here is the error I got on every single skin theme when I tried to use them. by the way I don't want to remove my portal blocks to use this.
Fatal error: Call to undefined function show_facebook() in /home/justkind/public_html/Sources/PortalBlocks.php on line 225
This had been fixed in the lastest update. Did you download the lastest version of the mod?
this already works for 1.1.11?
I downloaded this file today SA_FBConnect_0.2.zip and used this one, so if this is suppose to correct that error it is not because I just ran it again and same thing happened.
Quote from: Sleepy Arcade on April 19, 2010, 11:51:50 AM
it is cos you need todo some custom edits for your theme
if you add this
function show_facebook()
{
global $settings, $user_info, $context, $txt, $modSettings;
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="#" onclick="javascript:fbLogincheck(); return false;">'.$txt['fb_title'].'</a>';
else
echo ' <img src="' . $settings['images_url'] . '/facebook.png" alt="'.$txt['fb_title'].'" /> <a href="#" onclick="javascript:fbLoginsync(); return false;">'.$txt['fb_integrate'].'</a>';
echo'<br /><br />';
}
elseif (!empty($modSettings['fb_enable']))
echo'<a href="#" onclick="javascript:fbLogin(); return false;"><img src="http://b.static.ak.fbcdn.net/rsrc.php/zB6N8/hash/4li2k73z.gif" alt="" /></a>';
}
before // The main sub template above the content.
the error will go away
So to use this mod I have to edit every single theme. Also I do not know anything about editing templates in SMF so I guess I have to say thank you for your assistance, but won't be able to use this because I use about 7 skin themes and I don't want the members having problems.
well when you install the mod you can install it to othere themes auto just look at the bottom when instaling the mod for install on other themes
Ok that I understand, but where is this template you are talking about. I have no idea.
in
themes/your_theme
on your server
sorry, but I absolutely do not understand this at all. Will remove the facebook and perhaps use a software I understand. I don't get this software at all.
You have to edit index.template.php for each theme. Just copy the code and paste it into that file for each theme.
i tried twice.. but every time when i click on menu button only the page reloads and nothing happens else...
maybe i was not able to make application properly.. will you plz provide some information about thiz in alittle bit detail..
thanks
Only problem I had is that I use email activation for registration and I couldn't find a way to allow them to input their email when registering. If this is possible than this mod is one of my favorites.
This mod does pull email from Facebook.
Oh I know, but if the user denies access to their email it won't pull it over.
Quote from: clevelife on April 19, 2010, 07:09:18 PM
Oh I know, but if the user denies access to their email it won't pull it over.
Right, I let Sleepy know about this.
Now that's awesome! Thanks!
Great mod, its working as intended. Only problems is with these names, Name_numbers, i dont know would it give some error if we had duplicated names, but anyway thx for mod. I am using it on my forum here
http://www.ssefbl.org/forum
and for now, it works as intended.
Hi, thanks for this mod, I love the idea of what its about.
Question though: Under Share Boards, I have all but one admin level forum selected as "shared".
In my forums I see at the top right of the thread, the "F-Share" logo and if I click on it, it creates a post under my Facebook account on my wall.. what I expected to see, is the thread copied to the wall, but it merely puts the Website Name (or Facebook App name?) and the URL to my website in the wall posting. If thats all it's going to post, whats the point of the f-share button on each thread and the permissions under the Share Boards. Am I misunderstanding the purpose of these settings and Share button, or do I have something possibly not set right?
thanks, Mike.
Quote from: smithtr on April 15, 2010, 07:14:36 PM
Quote from: clevelife on April 15, 2010, 06:54:53 PM
Anyone know how to do this?
How can an Admin or a User remove the integration to facebook if they linked to the wrong facebook account? My wife's forums account is linked to my facebook account, but so is my forum account.
I have problem something my linked not work. I know aware hard to rough fix on match link. How It is complex... Really
Any clue on this please?
Quote from: infostrides on April 21, 2010, 08:26:10 AM
Any clue on this please?
I was answered on the developers forum. Here is the answer I was given and it worked.
Quote from: wdm2005 on April 16, 2010, 02:55:03 PM
you can do that in the database members table look for the user you want to chnage click the wee pencil to edit that user and set
fbname = [nothing just delte whats there]
fb_user = 0
back up befor you do this
Quote from: mike s on April 21, 2010, 12:21:24 AM
Hi, thanks for this mod, I love the idea of what its about.
Question though: Under Share Boards, I have all but one admin level forum selected as "shared".
In my forums I see at the top right of the thread, the "F-Share" logo and if I click on it, it creates a post under my Facebook account on my wall.. what I expected to see, is the thread copied to the wall, but it merely puts the Website Name (or Facebook App name?) and the URL to my website in the wall posting. If thats all it's going to post, whats the point of the f-share button on each thread and the permissions under the Share Boards. Am I misunderstanding the purpose of these settings and Share button, or do I have something possibly not set right?
thanks, Mike.
that is the way it is suppoed to work fb share only shares the url from the page where the share button was clicked
Greetings,
Sorry for sounding like a complete and utter twit!
I installed the plugin no problem, I went and created the application no problem. I put the info needed into the plugin settings. and from here onwards I am screwed!!!!!!
Firstly where do the users find the login for the plugin? Secondly I am totally lost now :o
Please can someone give me step by step from installing app to making app to signing in.
Greatly appreciated
Sir, I Have Problem When I installing this mod, Facebook Connect :
I Run at SMF 2 RC3
MODs:
- Pretty URL
- Twitter n Facebook Publisher
- SimplePortal
- etc
ERROR at index.template.php :
Quote<div id="forumposts">
<div class="cat_bar">
<h3 class="catbg">
Add After[Select]
';
if ($context['show_fb_share_button']){
echo'<script type="text/javascript">
var mod_settings_fb_share = "',$context['current_topic'],'";
</script>
<span id="share"></span>
<script type="text/javascript">
Get_share();
</script>
<script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>';
}
echo'
I Hope You can Fixed it, thx
I'm back!
I have found some bugs in 0.2 version of smf 1.1.x. I will correct in future :)
I'm assuming it's been mentioned before, but there are several misspellings throughout the mod:
intergrate/intergration should be integrate/integration
Quick question:
What happens when someone registers on the forum using FB connect and then deletes his account on FB? Will he still be able to login to the forum?
Quote from: choloman05 on April 25, 2010, 11:35:14 PM
Quick question:
What happens when someone registers on the forum using FB connect and then deletes his account on FB? Will he still be able to login to the forum?
Yes, by using the same account and password when you register with FB connect.
I got this message after I clicked INSTALL NOW button:
Duplicate column name 'fbname'
File: /home/hellow00/public_html/board/Packages/temp/installScript.php
Line: 352
How do I fix it?
Quote from: HeNdRo on April 26, 2010, 12:47:10 AM
I got this message after I clicked INSTALL NOW button:
Duplicate column name 'fbname'
File: /home/hellow00/public_html/board/Packages/temp/installScript.php
Line: 352
How do I fix it?
Delete fbname of DB.
Quote from: HeNdRo on April 26, 2010, 12:47:10 AM
I got this message after I clicked INSTALL NOW button:
Duplicate column name 'fbname'
File: /home/hellow00/public_html/board/Packages/temp/installScript.php
Line: 352
How do I fix it?
It will be corrected in next version.
For now:
Quote from: DarkCo0oL on April 26, 2010, 11:13:18 AM
Delete fbname of DB.
Quote from: DarkCo0oL on April 26, 2010, 11:13:18 AM
Quote from: HeNdRo on April 26, 2010, 12:47:10 AM
I got this message after I clicked INSTALL NOW button:
Duplicate column name 'fbname'
File: /home/hellow00/public_html/board/Packages/temp/installScript.php
Line: 352
How do I fix it?
Delete fbname of DB.
Can you tell me how to do it?
Join to MySQL Data Base of ur Forum, search this "fbname"
Run this query to drop the column:
ALTER TABLE smf_members DROP COLUMN fbname;
Alternately, if you wish to keep the data in that column, run this query:
ALTER TABLE smf_members ALTER COLUMN fbname fbname_original varchar(255) NOT NULL;
And then run this query after the mod has been reinstalled:
ALTER TABLE smf_members DROP COLUMN fbname;
ALTER TABLE smf_members ALTER COLUMN fbname_original fbname varchar(255) NOT NULL;
@cleftangels what is it you dont get?
@teofiluscandra you have to make that edit manualy or attach that file here and ill try todo it
@MegaByte thank you i will correct them in the futer
@there is only one way to set up the basic fb app all you need to fill in is your email domain and connect url wich will be http://www.yoursite.com
thanks Oldiesmann
You have 2 hardcoded text strings.
'facebook' => array(
'title' => 'Facebook Connect',
'href' => '#" onclick="fbLogincheck();"',
'show' => !$user_info['is_guest'] && !empty($modSettings['fb_enable']) && !empty($user_info['fbname']) && !empty($modSettings['fb_enable_fbc_menu']),
'sub_buttons' => array(
// uncomment to enable drop menu
/*'facebook_main' => array(
'title' => 'Facebook Connect',
'href' => '#" onclick="fbLogincheck();"',
'show' => true,
),
'facebook_status' => array(
'title' => $txt['fb_update'],
'href' => 'javascript:callPublish(\'\',{\'name\':\''.$context['forum_name'].'\',\'href\':\''.$scripturl.'\',\'description\':\'' . !empty($settings['site_slogan']) . '\'},null);',
'show' => true,
),
'facebook_invite' => array(
'title' => $txt['fb_invite'].' '.$context['forum_name'],
'href' => $scripturl . '?action=facebook;sa=invite',
'show' => true,
),
'facebook_avatar' => array(
'title' => $txt['fb_avatar'],
'href' => $scripturl . '?action=facebook;sa=avatar',
'show' => true,
),
'facebook_share' => array(
'title' => $txt['fb_share'],
'href' => 'http://www.facebook.com/sharer.php?u='.$scripturl.'&t='.$context['forum_name'].'" target="_blank',
'show' => true,
'is_last' => true,
),*/
// end uncomment to enable drop menu
),
),
'sync' => array(
'title' => 'Intergrate With Facebook',
'href' => '#" onclick="fbLoginsync();"',
'show' => !$user_info['is_guest'] && !empty($modSettings['fb_enable']) && empty($user_info['fbname']) && !empty($modSettings['fb_enable_fbc_menu']),
'sub_buttons' => array(
),
),
'Facebook Connect' and 'Integrate With Facebook'
thx jblazer :)
The share to facebook doesn't work on all my boards. It works here http://www.clevelife.com/forum/general-discussion/are-we-to-lazy-to-make-our-own-drinks/
but not here http://www.clevelife.com/forum/funny-videos/psycho-girl-forgets-her-boyfriend-is-in-europe!/
I removed it and then reinstalled it. Any other suggestions?
30 April 2010 [Update on 1.1.x version]:
fixed Duplicate column name 'fbname' error
fixed hardcoded text
fixed utf8 support
@clevelife:
My english is not good, i use translater :D
I could not register because I can not understand the question of verification.
Quote from: erorcun on April 30, 2010, 11:37:38 AM
30 April 2010 [Update on 1.1.x version]:
@clevelife:
My english is not good, i use translater :D
I could not register because I can not understand the question of verification.
:D that is ok
The post topic to facebook does not show up on all my boards. I found the answer on your board http://www.sa-mods.info/index.php?topic=494.msg3700#msg3700
QuoteI could not register because I can not understand the question of verification.
What is verification answer? :D
When I enter to site as guest, facebook share button dont appear anywhere.
I'd love to install this mod, but can't.
I'm on SMF 2.0 RC1.2 and can't upgrade to RC2 or 3 as my template will not function on RC3
Currently my only option is to stick to 2.0 RC1.2
Am I out of luck, or is there a way to install the mod manually?
Thanks.
Quote from: erorcun on April 30, 2010, 11:37:38 AM
30 April 2010 [Update on 1.1.x version]:
fixed Duplicate column name 'fbname' error
fixed hardcoded text
fixed utf8 support
@clevelife:
My english is not good, i use translater :D
I could not register because I can not understand the question of verification.
Ok, i install new version, but fb users cant be registered:
Test forum: http://tabascog.com/forillo
BTW, no uppload avatar fb.
Redownload please.
I've tried it on my own site, now I have no problem.
Quote from: IdanC on April 19, 2010, 02:51:29 AM
when a new member connects and is asked to provide a user-name for the forum, if he or she uses utf8 characters in the user-name, it passes on as EMPTY.
i still haven't found the side affects of this solution, but so far it works for me:
open FB_Connect_Subs.php
and comment out // this line
$_POST['real_name'] = character_clean($_POST['real_name']);
(i'm not double posting, this is a whole other issue)
i recommend replacing in CustomForm.template.php
$txt['save']
with
$txt['CustomForm_submit']
as i guess it should have been...
Hi I dont know if this questions fits here but can i ask how can i redirect a facebook user who search my application to my site instead of going into to the default canvass page of my application
Quote from: clevelife on April 21, 2010, 08:29:26 AM
Quote from: infostrides on April 21, 2010, 08:26:10 AM
Any clue on this please?
I was answered on the developers forum. Here is the answer I was given and it worked.
Quote from: wdm2005 on April 16, 2010, 02:55:03 PM
you can do that in the database members table look for the user you want to chnage click the wee pencil to edit that user and set
fbname = [nothing just delte whats there]
fb_user = 0
back up befor you do this
Thanks. It worked!
MySQL version: 5.0.27
PHP Version 4.4.4
I go from one error to another:
Now I recieve this error while trying to link my account:
QuoteParse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/25/w64729/www/smf/fbc/facebook/php/facebook.php on line 38
I notice there is a php4-folder there. Is the solution there?
Hmm. Getting an error then I try connect to facebook:
API Error Code: 100
API Error Description: Invalid parameter
Error Message: next is not owned by the application.
For some reason the integration link doesn't work. I've created a FB app and filled in all the prerequisite fields in FC Connect, but the integration link above the avatar doesn't link to anything. It simply has my forum url with index.php# at the end.
Look like this:
http://www.greatamericanforum.com/index.php#
Any ideas?
*edit*
I've narrowed it down to my front page. I'm using TinyPortal and for some reason the link will not work while on the front page. It does work if I'm in any other part of the forum (like the forum).
I have screw up because I have problem
Fatal error: Call to undefined function show_facebook() in /home/smithtr/public_html/Sources/Load.php(2085) : eval()'d code on line 65
not work click index.php# that is happened. I have problem frustrated. I am struggle on system I have probelm screw up it. No idea what is happened. :(
oh I incidendly screw up.
Quote from: smithtr on May 05, 2010, 05:53:08 PM
I have screw up because I have problem
Fatal error: Call to undefined function show_facebook() in /home/smithtr/public_html/Sources/Load.php(2085) : eval()'d code on line 65
not work click index.php# that is happened. I have problem frustrated. I am struggle on system I have probelm screw up it. No idea what is happened. :(
oh I incidendly screw up.
You must edit your index.template.php.
Open default index.template and copy "show_facebook" function, than open your theme's index.template and put in here.
Quote from: erorcun on May 06, 2010, 09:34:33 AM
Quote from: smithtr on May 05, 2010, 05:53:08 PM
I have screw up because I have problem
Fatal error: Call to undefined function show_facebook() in /home/smithtr/public_html/Sources/Load.php(2085) : eval()'d code on line 65
not work click index.php# that is happened. I have problem frustrated. I am struggle on system I have probelm screw up it. No idea what is happened. :(
oh I incidendly screw up.
You must edit your index.template.php.
Open default index.template and copy "show_facebook" function, than open your theme's index.template and put in here.
That is work final it everything work :) I am happy final work that all everhitng pretty sound great. you are correct...
i installed facebook connect but when i log out and click connect with facebook or what ever it says,nothing happens,but sharing works
although it gave me an error with index.template.php before installation,i overlooked that
try logging in here http://www.ngnmedia.com
I need help creating the aplication... :'(
Quote
Error al cargar la página de Yurilandia
Yurilandia está en construcción. Por favor, inténtalo más tarde.
Hi Guys,
Great MOD! I have installed and is running 100%
Just one question:
- I have SMF integrated with a website, how can I put the Facebook Connect working outside the forum pages? let's say, for examplo on my welcome page?
I use SSI for ssi_login(); is there any simple way to do the same for this mod? tried show_facebook(); but it doesnt work outside the forum... any ideas?
thanks a lot!
Quote from: nicke157 on May 03, 2010, 04:54:21 PM
Hmm. Getting an error then I try connect to facebook:
API Error Code: 100
API Error Description: Invalid parameter
Error Message: next is not owned by the application.
Bump
I incidenlty delete mistake oh no FB_Connect_admin, I am mistake delete incidently I need add fb_connect_admin thank
code?
Sorry if this has been answered already.
I have an issue for facebook connect.
When Registered/Unregistered users try to use it it goes through the steps fine, but it doesnt log in, or prompt them to only log in once / register with a name once. It just takes to the login screen.
Also if someone is already logged in and they connect it cocnnects and brings up the screen, but the link doesnt change to the little user image or whatever it just says 'connect to facebook' always.
Any help on these?
Quote
Agregar página a favoritos The URL to load when a user clicks your application's bookmark. If left blank, this field defaults to your Canvas or Connect URL.
URL de ayuda The absolute URL to your application's user help page.
URL de privacidad The absolute URL to your application's privacy settings page.
URL de condiciones de servicio The absolute URL to your application's terms of service.
Post-Authorize Callback URL
Post-Remove Callback URL
Information Update Callback URL
Editar una URL de devolución de llamada Facebook pulls the content for your users' friends' Publisher interface from here.
Auto-publicar el texto The label for your application's Editor link for creating content on a user's own profile. Examples: Update Status, Share Link, Add Photos. You can use your application's name.
Autopublicar una URL de devolución de llamada
Facebook pulls the content for your users' Publisher interface from here.
Editar URL Los administradores de una Página deberían poder editar la configuración de aplicaciones en esta URL.
Dirección web (URL) de la página de lienzo hxxp://apps.facebook.com/ La dirección URL base para tus páginas de lienzo en Facebook.
Canvas Callback URL Facebook pulls the content for your application's canvas pages from this URL or directory. For more information, see la documentaciòn
Redirección de URL post-autorizada Where to redirect users when they first Autorize su formulario. If left blank, this field defaults to the Canvas Page URL.
Método de renderización IframeFBML Choose whether you will render your canvas page in an iframe or with FBML. Note that you can use XFBML in an iframe.
Tamaño de IFrame Tamaño listoResizable For iframe applications, choose whether you want to smartsize the iframe so it fits in the remaining space on the canvas page, or to make it editar tamaño.
Ancho de Lienzo Anchura completa (760px)Vieja anchura (646px) If you haven't updated your canvas pages to the wider width of the new profile, this centers your narrower content on the wider canvas.
Conecte la pagina web Your Connect site's main URL.
Logo de Facebook Connect Cambia tu logotipo The image that appears in the Facebook Connect dialog.
Límite: 99px de ancho y 22px de alto.
Revision de cuenta web (URL) Facebook pulls the content from here and displays it to the user in a Facebook Connect request.
Base Domain Use this to enable your Facebook Connect implementation to span multiple subdomains (e.g., using example.com would enable foo.example.com and bar.example.com).
Account Reclamation URL A URL that will be provided to a user that deactivates their Facebook account, to allow an independent account to be set up. Ver más documentación.
Tipo de Aplicación WebEscritorio
Modo de Caja de arena Haz posibleInhabilitar Deja ver lo exclucivamente a los desarrolladores de la aplication
Integrar con SMS Haz posibleInhabilitar Te permite integrar tu aplicación con Mensajes de Texto.
Id. de la aplicación "iPhone" If you have an iPhone app using Connect, fill this in with your Apple-provided application ID.
I am unsure if properly fill out all fields.
Can you give an example of how to fill out everything correctly to make it as they did in this place
hxxp://www.sa-mods.info/index.php please?
Also I get error when I go to the applicaction...
hxxp://apps.facebook.com/yurilandia/Quote
Han ocurrido errores mientras cargábamos la página de la aplicación
Errores de tiempo de ejecución:
URLExceptionEmpty URLs not allowed here
fb:iframe: Empty URLs not allowed here
Por favor inténtalo más tarde. Agradecemos tu paciencia mientras los desarrolladores de Yurilandia y Facebook resuelven este problema. ¡Gracias!
I've tried a few different things here but I've been stuck, so time to ask around.
How would I go about integrating this with an ssi_login command?
Can't show the site yet, it's still under construction.
Hi all,
Please, I had no answers to my questions here : http://www.simplemachines.org/community/index.php?topic=379105.0
I would really appreciate your feedbacks and advice
Thank you
Nice, its works fine!!!
@erorcun thx!
@Succubus Evaligan amiga, es fácil solo haces la aplicación, mira te envio mi correo en PM, para detallar eso y te paso la configuración.
Quote from: Legend Zero on May 11, 2010, 12:55:55 AM
I've tried a few different things here but I've been stuck, so time to ask around.
How would I go about integrating this with an ssi_login command?
Can't show the site yet, it's still under construction.
Hi Legend Zero,
I have the exact same doubt... integrate the mod with the ssi_login or any other simple SSI script, in order to use the feature not just on the forum, but on the entire website... unfortunately nobody replied.
But since this is a kind of "blockbuster" mod, very well scripted, advanced and everything, I'm sure that it can be done and it's probably easy... the thing is, most people here, only have foruns (not regular websites) and so, our issue is not an issue for most of users in this thread.
Anyway, I'll re-post my last post, and hopefully some kind soul will help us out on this simple question ;)
Just one question:
- I have SMF integrated with a website, how can I put the Facebook Connect working outside the forum pages? let's say, for examplo on my welcome page?
I use SSI for ssi_login(); is there any simple way to do the same for this mod? tried show_facebook(); but it doesnt work outside the forum... any ideas?
- $10 if somebody help me with this little doubt:
- [PAID $10] Help with SA Facebook Connect Integration (http://www.simplemachines.org/community/index.php?topic=381026.0) (posted on the PAID help board)
--------------------
This is probably a simple thing:
- I have SMF integrated with a website, by that I mean that the forum is just a little part of the entire site, so I use SSI everywhere outside the board to generate permission access to some areas, userinfo, login, logout, etc.
- I have installed with success the SA Facebook Connect MOD (http://custom.simplemachines.org/mods/index.php?mod=2322), that means that inside the forum areas, everything works ok with the mod like it is supposed to be... but outside the forum, it doesn't work, or at least I was unable to put it working.
The question:
- How can I put the Facebook Connect working outside the forum pages? let's say, for example on my welcome page where I have a login area using ssi_login() ? or on a custom register page I have using ssi_register()?
- Is there any simple way to do the same for this mod, possible using some SSI code? tried show_facebook(); but it doesnt work outside the forum, tried to put show_facebook() inside SSI.php but I'm a noob... any ideas?
thanks in advance,
ps: payment will be made through paypal to the first working solution posted HERE (http://www.simplemachines.org/community/index.php?topic=381026.0).
Quote from: ricorico on May 10, 2010, 09:37:46 AM
Sorry if this has been answered already.
I have an issue for facebook connect.
When Registered/Unregistered users try to use it it goes through the steps fine, but it doesnt log in, or prompt them to only log in once / register with a name once. It just takes to the login screen.
Also if someone is already logged in and they connect it cocnnects and brings up the screen, but the link doesnt change to the little user image or whatever it just says 'connect to facebook' always.
Any help on these?
friendly 2day bump. Any ideas?
your description is just too vague
was the installation ok?
did you try installing on a fresh copy to make sure your basic settings are ok?
are there any error msg in your log?
help us help u
The mod is not working.
- When i click connect with facebook the page only reload, on a another compter it prombt with password and username, and when i proceed nothing happens.
- And when i am logged in, and try to integrate with facebook the same thin happens, the page reloads.
the install worked fine.
SMF 2.0 RC3 + SA Facebook Connect 0.2
________________
Some fix for this?
Ok, I'm a bit confused. Does this allow FaceBook users to join your forum or is this a method of allowing your forum to connect to face book so when you post in your forum it can push items to Facebook?
The reason I ask is I'd really like to be able to have users from Facebook to join my forum so they don't have multiple accounts. ie Facebook and my forum.
When people try to register with the connect, the REGISTER button doesnt show up.
Whats the fix ?
Respect Team and User ... Hi Em New here and running Smf 1.1.1 Version. Right now i have installed SA_FBConnect_0.2_smf11x ... Every thing is fine but now i m creating the application but little bit confused what should i enter into the following blanks so please tell me what i have to do..
in a basic Infor...
Bookmark URL.......... what should be here..
Help URL.........."what should be here"
Privacy URL........"what should be here"
And IN Convas
Canvas Page URL..........."what should be here"
Canvas Callback URL......."what should be here"
Post-Authorize Redirect URL......."what should be here"
Well My Domain Name is "www,fun-masti.com" running in a main directory when i opened it shows the following link
www.fun-mast.com/index.php
Now please anybody can help to run this mode
Thanx
it is not work my sites because It is not work Unable to load the 'FB_Connect' template. and FB_Connect admin. I am tried. no who is experience find problem error log. I notice it my sites It is fail no idea. figure out tired.
I'm giving this mod a try again... Sorry if these questions have already been answered.
I had to edit the index.template.php for the theme named Nisan on my forum, and well, obvioussly I missed something, or put something in the wrong spot, not sure. When I try to switch to that theme, I get:
Fatal error: Cannot redeclare show_facebook() (previously declared in /home/andrew/thepitstop/Themes/nisan/index.template.php:344) in /home/andrew/thepitstop/Themes/nisan/index.template.php on line 373
Now, if I am logged in and click the "Integrate forum account with Facebook" link, it just takes me back to some page on the forum, oddly the URL is:
http://www.thepitstopforum.net/?session={%22session_key%22%3A%222.JaftZQry2ko1rRvo2IqAOg__.3600.1273996800-1804929572%22%2C%22uid%22%3A1804929572%2C%22expires%22%3A1273996800%2C%22secret%22%3A%22DyCE6hWjufhEYK_oKsZTDA__%22%2C%22sig%22%3A%222ca5afa8956b73fc91c4c680b47524c7%22}&next=http%3A%2F%2Fthepitstopforum.net%2Ffbc%2Fxd_receiver.htm%3Ffb_login%26fname%3D_opener%26guid%3D0.7580391686655448
Any help on this would be appreciated, thanks!
I dont know if anyone has asked this question and im sorry if im asking and it was answered already.
I installed this app and its working fine with the original theme and it works fine. I have a custom theme with my custom lgo and header and when i select this theme, the facebook connect application no longer works.
What do I have to do to enable this application on my theme that i am using now?
Thank you for all your help in advance.
Justin
Quote from: cooleyes83 on May 15, 2010, 07:49:04 AM
Respect Team and User ... Hi Em New here and running Smf 1.1.1 Version. Right now i have installed SA_FBConnect_0.2_smf11x ... Every thing is fine but now i m creating the application but little bit confused what should i enter into the following blanks so please tell me what i have to do..
in a basic Infor...
Bookmark URL.......... what should be here..
Help URL.........."what should be here"
Privacy URL........"what should be here"
And IN Convas
Canvas Page URL..........."what should be here"
Canvas Callback URL......."what should be here"
Post-Authorize Redirect URL......."what should be here"
Well My Domain Name is "www,fun-masti.com" running in a main directory when i opened it shows the following link
www.fun-mast.com/index.php
Now please anybody can help to run this mode
Thanx
You must fill Connect URL
only.
in a basic Infor...
Bookmark URL.......... blank
Help URL..........blank
Privacy URL........blank
And IN Convas
Canvas Page URL...........blank
Canvas Callback URL.......blank
Post-Authorize Redirect URL.......blank
Quote from: JYoskovitz on May 16, 2010, 05:22:13 PM
I dont know if anyone has asked this question and im sorry if im asking and it was answered already.
I installed this app and its working fine with the original theme and it works fine. I have a custom theme with my custom lgo and header and when i select this theme, the facebook connect application no longer works.
What do I have to do to enable this application on my theme that i am using now?
Thank you for all your help in advance.
Justin
I can not do anything, you must review the mod files. You should try to convert codes to the theme.
Quote from: Andrew94 on May 16, 2010, 02:35:47 AM
I'm giving this mod a try again... Sorry if these questions have already been answered.
I had to edit the index.template.php for the theme named Nisan on my forum, and well, obvioussly I missed something, or put something in the wrong spot, not sure. When I try to switch to that theme, I get:
Fatal error: Cannot redeclare show_facebook() (previously declared in /home/andrew/thepitstop/Themes/nisan/index.template.php:344) in /home/andrew/thepitstop/Themes/nisan/index.template.php on line 373
Now, if I am logged in and click the "Integrate forum account with Facebook" link, it just takes me back to some page on the forum, oddly the URL is:
http://www.thepitstopforum.net/?session={%22session_key%22%3A%222.JaftZQry2ko1rRvo2IqAOg__.3600.1273996800-1804929572%22%2C%22uid%22%3A1804929572%2C%22expires%22%3A1273996800%2C%22secret%22%3A%22DyCE6hWjufhEYK_oKsZTDA__%22%2C%22sig%22%3A%222ca5afa8956b73fc91c4c680b47524c7%22}&next=http%3A%2F%2Fthepitstopforum.net%2Ffbc%2Fxd_receiver.htm%3Ffb_login%26fname%3D_opener%26guid%3D0.7580391686655448
Any help on this would be appreciated, thanks!
You did wrong something, it must not give this warning.
And, did you do this?
Quote
use subdomain independent cookies:
This mod reqires that use subdomain independent cookies is turned off can be found in
admin/sever settings/cookies and sessions/Use subdomain independent cookies
Still looking for an answer to my problem. I tried on SA's official site and 61 views and no help...
I use the newest .02 on the newest RC3 version of SMF and the Mystic Jade theme.
When someone new comes they click the facebook connect thing, it prompts to allow access etc.. Everything goes through fine. Where it is SUPPOSE to say 'register' do this only once or if you are already a member log in here.
Instead it sends me to this page where its saying
"Only registered members are allowed to access this section.
Please login below or register an account with"
Any help on this would be excellent. Id like it to: Log the user in (if they are a member) by clicking it or if they arent a member to simply choose a name and password and auto links their facebook - as it does on the sa- site.
Hello guys,
trying to use this mod but get this error when trying to install
thanks in advance for any help!
Execute Modification ./Themes/default/index.template.php Test failed
it means one of the code changes needed to install this mod could not be carried out (useally because other mod changed the file already), and by expanding the error msg you can see exactly which lines of code could not be modified.
just continue the installation inspite the error, and after it finishes make the remaining changes to index.template.php manually.
After Filling the
Connect URL... my Site address closing by /.......... (www.example.com/)
Account Preview URL...Blank
Base Domain........blank
Account Reclamation URL..........blank
its show the the error.
API Error Code: 100
API Error Description: Invalid parameter
Error Message: next is not owned by the application.
Tell me now what should i do.......
thanx for you previous reply....
I have SMF v1.1.11 with Classic YaBB SE Theme and I just installed SA_FBConnect_0.2_smf11x.zip . I don't have any other mods installed.
I created my facebook app and setup the connect parameters.
I added the Facebook app key and App Secret.
The installation did not give me any errors.
Still, the facebook connect buton doesn't show anywhere on my forum. What can be wrong?
Quote from: ovistomih on May 18, 2010, 04:14:24 PM
I have SMF v1.1.11 with Classic YaBB SE Theme
This mod does not install on Classic, only on the default (Core) theme.
Hi ,
I found some problem with this mod. If forum can't enter Guest, this mod is no working.
Quote from: cooleyes83 on May 18, 2010, 10:11:37 AM
After Filling the
Connect URL... my Site address closing by /.......... (www.example.com/)
Account Preview URL...Blank
Base Domain........blank
Account Reclamation URL..........blank
its show the the error.
API Error Code: 100
API Error Description: Invalid parameter
Error Message: next is not owned by the application.
Tell me now what should i do.......
thanx for you previous reply....
Same thing is happening to me.
I am using it with 1.11 and clicking the fb connect button or integrate link takes me to a login box (if not logged into facebook) then just back to my forum. My forum is installed in root, is that an issue?
hey does this mod incorporate the new like button im seeing on all the sites now that lets someone like any page that the button is placed on?
I should of been more clear on my issue, with the mod enabled, when clicking on the link or button to login or integrate with facebook I get the pop up (to allow access or to login to facebook if logged out), once I click ok then my site loads in that little popup.
After doing that any time I click on the integrate with facebook link or connect with facebook button it just loads my site in the little pop up.
cant get this mod to work
API Error Code: 100
API Error Description: Invalid parameter
Error Message: Invalid parameter
i followed every single step carefully, ive created the facebook app still get same error
see forum vandeatta.com/elchoneo/
got another error:
Invalid Argument
The Facebook Connect cross-domain receiver URL (http://vandeatta.com/elchoneo/fbc/xd_receiver.htm#fname=_opener&%7B%22t%22%3A3%2C%22h%22%3A%22fbCancelLogin%22%2C%22sid%22%3A%220.247%22%7D) must be in the same domain or be in a subdomain of an application's base domain (www.vandeatta.com). You can configure the base domain in the application's settings.
the connect cross it is in the same domain..
plaase help
Hello!
I installed this mod and I can't see anywhere where the user can log using Facebook. I'm using the Curve theme.
Thanks!
Hello sleepy arcade, i want to thank you for a great mode, it works fine but I seem to have a few problems.
I believe that the essence of the mod is for one to login in directly to an smf using the individual's fb login but I installed the mod on smf 1.1.11 using manual install and everything seems to be working fine except that, one cannot login via the fbconnect, if one tries to do that it would loginto facebook but not on my smf
In your reply to #24 in #25 which is similar to mine (except I don't have any of his coded problems ) I noticed you mentioned somethings about "register option" in admin but i didn't see that feature when I went to my admin.
Is there something i am missing?
ALso when I did the parse for SA Facebook Connect Integration - Installation Instructions for 1.1.11, i got to the end and saw this:
"Code
installScript.php
This file should be able to execute standalone."
how do i run the installscript.php?
Thank you for your time, ALso please do you have another option for donations. Paypal doesn't accept my country
how can I have this mod work with the extrene 10 theme?
script please..
I get this error when login using facebook connect(Integrate forum account with Facebook. also)
Fatal error: Class 'Facebook' not found in /home/hackmycr/public_html/forum/Sources/FB_Connect/FB_Connect_Subs.php on line 359
OK I had some progress, sort of. I typically don't use www. in my urls, in the facebook app url I did use www., so after pulling it when using facebook connect everything seems to work correctly, except for when it shows the login in screen/create account screen, when clicking the link and logging in I don't see any difference. When I click on the integrate with facebook link it just popped up a blank fb accept box. After that it just flashes a popup quickly and it goes away.
What exactly are we suppose to see if this works correctly?
Now, my new stupid question is:
How to view FB Connect button on the frontpage of the forum?
Quote from: RCC_SaMiaM on May 23, 2010, 11:19:47 AM
OK I had some progress, sort of. I typically don't use www. in my urls, in the facebook app url I did use www., so after pulling it when using facebook connect everything seems to work correctly, except for when it shows the login in screen/create account screen, when clicking the link and logging in I don't see any difference. When I click on the integrate with facebook link it just popped up a blank fb accept box. After that it just flashes a popup quickly and it goes away.
What exactly are we suppose to see if this works correctly?
U JUST FIXED ONE OF MY ERRORS lmao! I put "www" on Facebook too and that messed eveything up lmao. But Now I have a blank screen when is in "sync"... idk what to do...
Quote from: vomega on May 20, 2010, 06:18:16 PM
cant get this mod to work
API Error Code: 100
API Error Description: Invalid parameter
Error Message: Invalid parameter
i followed every single step carefully, ive created the facebook app still get same error
see forum vandeatta.com/elchoneo/
Check URL is the same in your forum and in facebook's app (EVEN "WWW" MATTERS!)...
wonder if you can help
installed in smf v1.11 and using a custom template, which I have modified everything seems to work ie share works integrate with FB seems to apart from one small bit
when you click on integrate with FB, the pop up apears asks for permission to share info when you click ok the resultant page which has the following url
http://www.4x4uk.org/forums/index.php?action=facebook;sa=sync
is completely blank, can't seem to figure out why
also noticed that if I log out of the forum and stay logged in to facebook if I click on the login with Facebook link that would appear to guests the also gives a blank page (http://www.4x4uk.org/forums/index.php?action=facebook;sa=connect;step) and wont log me in
Facebook connect settings as follows:
connect url: http://www.4x4uk.org/forums/
account preview: http://www.4x4uk.org/
all other fields left blank
any pointers as to what could be the problem would be greatly appreciated many thanks
Ian
Seems to be the same problem 3 times in a row :)
yes does seem to be very similar
How I do if I want the "Connect with Facebook" button on frontpage with theme "ModernDark64"?
I installed this, and it worked great.
Then I changed my domain name, so I created a new app.
Now the new app links and logs in, then asks me to make a post on my wall, but thats it. If I click the menu link it doesn't do anything.
Help pls :(
Hi, great mod btw, but i think it wont work with Facebook Like mod.
When i want to submit my aplication to facebook it says "Your application must have at least 5 total users or 10 monthly active users before you can submit it to the Application directory."
What do i do now???
1st.. know that submitting your app to facebook is completely optional.
2nd if you intend to submit to facebook, you simply need to meet their requirements by having people access your application on facebook
Ok thank you. Now i get this error when clicking on Integrate forum account with Facebook.
API Error Code: 100
API Error Description: Invalid parameter
Error Message: next is not owned by the application.
Ok i fixed that error. I enabled shared boards but where does it share 2???
I don't find anything on my profile and neither on my application.
Oh and the status update doesn't work.
Quote from: 4X4UK on May 27, 2010, 10:03:51 AM
wonder if you can help
installed in smf v1.11 and using a custom template, which I have modified everything seems to work ie share works integrate with FB seems to apart from one small bit
when you click on integrate with FB, the pop up apears asks for permission to share info when you click ok the resultant page which has the following url
http://www.4x4uk.org/forums/index.php?action=facebook;sa=sync
is completely blank, can't seem to figure out why
also noticed that if I log out of the forum and stay logged in to facebook if I click on the login with Facebook link that would appear to guests the also gives a blank page (http://www.4x4uk.org/forums/index.php?action=facebook;sa=connect;step) and wont log me in
Facebook connect settings as follows:
connect url: http://www.4x4uk.org/forums/
account preview: http://www.4x4uk.org/
all other fields left blank
any pointers as to what could be the problem would be greatly appreciated many thanks
Ian
well I am going to Upgrade my form to SMF 2, install fb connect for that and see if that works any better
A fix or at least some help about the blank popup would be great.
Got it to work perfectly. Awesome thanks
But the invitations don't seem to be sent even when it says its completed.
RESOLVED: It had noting to do with this mod (previous coding error)
Hi
Installed this mod but couldnt get it to work ..i went to the SA Mod forums and couldnt get any help there either ..so i unstalled the mod (i am sure its a great mod but i could not get it to work)
Anyways my problem now is, when I go to my admin panel and go to logs >> Error Logs ..I keep getting this error message >> /tinroofalleypoets.org/poetry_boards/Themes/default/xxxx.template.php (body_above sub template - eval?)
each time i click/refresh the error log page ..the above error multiples and names a different xxxx.template.php...
it also says its on ..line 176 of each and every template.php ..but i see nothing unusual or common in regards to this error on that line.
in the error log it also gives a date of " December 31, 1969" ..lol..
I would really appreciate it if someone would help me clean this error up?
Thank you.
Quote from: Divaksh on May 23, 2010, 08:02:47 AM
I get this error when login using facebook connect(Integrate forum account with Facebook. also)
Fatal error: Class 'Facebook' not found in /home/hackmycr/public_html/forum/Sources/FB_Connect/FB_Connect_Subs.php on line 359
Still waiting for help... :(
For those who are wondering...
Quotejust a little note to appoligize to everyone for my absense and not ansering post here or at smf the truth is that i am so busy with rl right about now that i dont have much time todo dev work around september augast things will be back to normal and ill be able to ketchup with things
untill then guys im sry for any delay that may have been caused :)
http://www.sa-mods.info/index.php?topic=523.msg3775#msg3775
thanks a lot....
another gud news is I've fixed it... there was error in my facebook.php file... :D :)
This mod is just awesome.
Installed it, and it does appear to work.
Now, just a thing:
If you are using a custom template, the changes applied by this mod will not show at all, so, you'll require to actually make manual changes to "index.template.php" in order to get this one working.
Basically, go to the MOD simplemachine's page and follow the manual installation steps for this MOD and file, just be sure that you end with a "valid" php file, because since you are using a custom template, is very likely you'll require a bit of PHP knowledge to implement certain things correctly.
Also, it is possible to implement this MOD to your website once it has been installed and it is working.
You'll require, basically, copy all javascripts used for facebook from your forum to our page and it will succeed.
You can see it working on a website here: hxxp://anime-age.com/noticias.php
Fatal error: Class 'Facebook' not found in /home/a2197288/public_html/forum/Sources/FB_Connect/FB_Connect_Subs.php on line 359
Ive just installed the above package, no problems (a few "test fails" on custom themes, but i just shook it off) now i get that error EVERY time i click Intergrate With Facebook.
what have i done wrong...Ive uploaded all THREE(yes, three) .zips of this mod i have, plus the one from the page itself, still same error.
it must be something ive done/not done, as the mod worked before...
Please help.
VERSION 2.0 RC3
Ok, I'm trying not to freak out here, but I am shocked at what happened overnight.
I installed SA Facebook connect last night, and when I wake up this morning, I find a message from a user that goes like this:
Quotehello man , you forum have one bug.when i log in whit my face book account,the forum log me as a ADMINISTRATOR :)
may i stay like a admin ?
but fix this because if this know from bad peoples the forum can get down..
I looked around and in fact he was logged in AS ADMIN. I don't understand how this could happen. There isn't anything saying that it would happen in the initial documentation. Luckily the guy didn't do too much damage, other than apparently delete the main admin account.
How did this happen and why???
Quote from: bahgheera on June 10, 2010, 08:36:41 AM
Ok, I'm trying not to freak out here, but I am shocked at what happened overnight.
I installed SA Facebook connect last night, and when I wake up this morning, I find a message from a user that goes like this:
Quotehello man , you forum have one bug.when i log in whit my face book account,the forum log me as a ADMINISTRATOR :)
may i stay like a admin ?
but fix this because if this know from bad peoples the forum can get down..
I looked around and in fact he was logged in AS ADMIN. I don't understand how this could happen. There isn't anything saying that it would happen in the initial documentation. Luckily the guy didn't do too much damage, other than apparently delete the main admin account.
How did this happen and why???
What version of SMF was you using? What version of the mod (The most current?)
If you can, try to see what did that user specially; to detect how this might have happened.
And also, there is anyone else that have seen this behavior in their own forums?
As far I have seen, this MOD is used in a wide range of forums, so if this issue is easily reproducible, it can be a huge problem for anyone using this.
I used SA_FBConnect_0.2.zip on SMF 2.0 RC3. I agree, there are many people here who have no problem with SA Facebook Connect, so it's odd that this happened. I tested it with a couple of accounts and it seemed to work fine. I really want to use this plugin, but I'm scared to death of what might happen. It's a five year old forum with over 4000 members - so you can imagine I don't want to screw that up.
How do I change the image Connect to Facebook to a smaller / shorter one? Any help is appreciated.
in index.template.php find
http://b.static.ak.fbcdn.net/rsrc.php/zB6N8/hash/4li2k73z.gif
and chnage it to you image that you wat to use
Quote from: Sleepy Arcade on June 11, 2010, 11:31:06 PM
in index.template.php find
http://b.static.ak.fbcdn.net/rsrc.php/zB6N8/hash/4li2k73z.gif
and chnage it to you image that you wat to use
Thanks a million. Very kind of you to show me the right path to it. Will be changing it soon. Thanks again.
yw im just getting back into things myself with modding
hmmm.....
I`m Trying to use this mod at localhost, but i have erro...
QuoteInvalid API key specified
The application you are trying to access does not exist or has been disabled.
How to solve this problem ?
did you setup an app on facebook? you need todo so to get an api key
There's an error that shows up if you try logging in with f.bconnect
QuoteAn error occurred with Ngn Media Connect. Please try again later.
API Error Code: 100
API Error Description: Invalid parameter
Error Message: next is not owned by the application.
what do i do
whats your facebook app settings?
I'm still having this problem...
Fatal error: Class 'Facebook' not found in /home/a8298844/public_html/Sources/FB_Connect/FB_Connect_Subs.php on line 359
when i click "intergrate with facebook".
now, the code that its refering to is:
include_once $boarddir.'/fbc/facebook/php/facebook.php';
$api_key = ''.$modSettings['fb_app_key'].'';
$secret = ''.$modSettings['fb_app_secret'].'';
$fb = new Facebook ($api_key,$secret);
$fb_user = $fb->get_loggedin_user();
$user_id = $fb->require_login();
its not my fault, as its your code..buty i don't know what I have to do to fix it...so i leave it with you :).
Forum v.2.0 RC3
Hi all,
i installed this mod, i created the application on Facebook and used the key etc, but when i press on the button to connect with fb account, instead of doing it, the page doesn't load anything, like if i'm not pressing anything and after the address a "#" appears.
Like this:
1) w.ww.yoursite.com (random name)
2) i click "Fb connect", nothing happens
3) i stay with the cursor on the button and i see that it sends me to w.ww.yoursite.com/# (or yoursite.com#, don't remember now)
What's missing? I have to modify the code of my template?
Before this i had another error:
Fatal error: Call to undefined function show_facebook() in /xxxxxxxxxx/public_html/penpal-community/Sources/PortalBlocks.php on line 225
So i checked online and i found a guy that made a code to modify the template and i used that. After that, all seemed ok but instead nothing works.
This is the code i added, in index.template.php (before the line --> function template_body_above() )
function show_facebook()
{
global $boardurl, $settings, $context, $txt, $modSettings, $scripturl;
if($modSettings['fb_enable'])
{
if ($context['user']['is_logged'])
{
if(isset($context['user']['fb'])) {
echo '<img src="' . $settings['images_url'] . '/facebook.png" alt="'.$txt['fb_title'].'" /> <a href="#" onclick="javascript:fbLogincheck(); return false;">'.$txt['fb_title'].'</a>';
}
else {
echo ' <img src="' . $settings['images_url'] . '/facebook.png" alt="'.$txt['fb_title'].'" /> <a href="#" onclick="javascript:fbLoginsync(); return false;">'.$txt['fb_integrate'].'</a>';
}
echo'<br /><br />';
}
else
{
echo'
<a href="#" onclick="javascript:fbLogin(); return false;"><img src="http://b.static.ak.fbcdn.net/rsrc.php/zB6N8/hash/4li2k73z.gif" alt="" /></a>';
}
}
}
Probably is wrong, but since i'm a noob.... anyone can help me? Thanks
@Abel6669 if you login to your server and see if the fbc dir is there pleasde if it is what are the permissions set to files should be 644 folders should be 755
@shinnok same as above whats permission on fbc/fbconnect.js should be 644
Yes, the folder is there with permission 755 and the file has 644. I tried to re-install all again, but nothing works ;(
Maybe it's about the FB application i created? What i have to do exactly there? I just need the key/secret key or i have to configure all?
P.S. i forgot to say, i don't use the default theme (Curve something) i'm using another one, called Impulse2.
I saw that with the default theme it works, but with the one i chose it doesn't. What i have to modify?
Thanks for the wonderful mod, there's one small issue for me..
my forum background is gray, the facebook comment text is black, so it's very hard to read.
see attached screenshot.
is there a way to change the background to white? where to make the change? thx.
@shinnok then your have todo the edits to your custom theme
@petecheng you can try in fbc/fbconnect.js
find
document.getElementById("comments").innerHTML = "<fb:comments xid=" + mod_settings_fb_com_xid + " numposts=" + mod_settings_fb_com_show + "></fb:comments>";
and chnage to
document.getElementById("comments").innerHTML = "<fb:comments xid=" + mod_settings_fb_com_xid + " numposts=" + mod_settings_fb_com_show + " css='http://www.yourwebsite.com/css/comments.css?1234'></fb:comments>";
then chnage http://www.yourwebsite.com/css/comments.css?1234 to your themes.css
http://wiki.developers.facebook.com/index.php/Fb:comments_(XFBML)
Quote from: Sleepy Arcade on June 15, 2010, 12:53:47 PM
@shinnok then your have todo the edits to your custom theme
Now it seems to work, but something happened. I uninstalled and installed the mod again, choosing my theme too. But when SMF checks if the installation will be ok, it tells me:
template.index.php Test Failed
In about 3-4 lines it tells me it fails. I tried anyway but then i see that if a new user tries to use Connect at some point it says "You must be logged in Facebook etc etc" even if he/she's logged.
Mah :o
Quote from: shinnok on June 16, 2010, 03:12:20 AM
Quote from: Sleepy Arcade on June 15, 2010, 12:53:47 PM
@shinnok then your have todo the edits to your custom theme
Now it seems to work, but something happened. I uninstalled and installed the mod again, choosing my theme too. But when SMF checks if the installation will be ok, it tells me:
template.index.php Test Failed
In about 3-4 lines it tells me it fails. I tried anyway but then i see that if a new user tries to use Connect at some point it says "You must be logged in Facebook etc etc" even if he/she's logged.
Mah :o
My guess is you dont have a clean uninstall. Manually restore the file by removing the modified line and replacing it with the previous one and try again. If it still fail to have a clean install, manually modify the respected file it fails to modify.
dont forget that some custom themes will fail nothing we can do about that it is just cos ther not default
Quote from: Sleepy Arcade on June 16, 2010, 01:53:58 PM
dont forget that some custom themes will fail nothing we can do about that it is just cos ther not default
agreed...
Hi SA
First of all, i would like to say Thank You for your amazing this mod.
And i have a question. To use this mod , do i need to enable Guest permission? If i disabled Guest permission of forum, this mod will not work. Right?
How can i use this mod without giving guest permission?
I'm using SMF 2.0 RC3
Rgds,
luckyMM
yes you do i dont know a way around it yet if there is one that is
Is this currently based off the OpenGraph Facebook system? If not are there plans to adap it to the OpenGraph system? Not that it will make a difference in functionality, but for consistancy on my site, was curious.
Also I am using SSI.php to use the login/logout outside of the forums and I can't seem to figure out how to include the facebook connect stuff to the login bloack I have.
http://oge.sytes.net
Under members tab, under the login block . . . I want (Connect with Facebook) so a user can use facebook to login.
any ideas?
this still uses the old rest api for now
this should work for you
show_facebook();
function show_facebook()
{
global $settings, $user_info, $context, $txt, $modSettings;
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="#" onclick="javascript:fbLogincheck(); return false;">'.$txt['fb_title'].'</a>';
else
echo ' <img src="' . $settings['images_url'] . '/facebook.png" alt="'.$txt['fb_title'].'" /> <a href="#" onclick="javascript:fbLoginsync(); return false;">'.$txt['fb_integrate'].'</a>';
echo'<br /><br />';
}
elseif (!empty($modSettings['fb_enable']))
echo'<a href="#" onclick="javascript:fbLogin(); return false;"><img src="http://b.static.ak.fbcdn.net/rsrc.php/zB6N8/hash/4li2k73z.gif" alt="" /></a>';
}
you may also need this
echo'<script src="path to fbc dir/fbc/fbconnect.js" type="text/javascript"></script>';
just change the part in red
firstly gotta say: REAL Awesome Stuff.. ;D - u saved me hours of work brav..
so i setup this thing, put in my API secret, API Key, and the ID, and all worked fine, i got asked for permission stuff when trying to integrate my facebook account... i authorized it, but after that when i click on "Integrate with Facebook" I get something like what you see on the screenshot, (basically nothing happens, just the page refreshes after showin the FB dialog as shown on the screenshot)..
So looking at the source, i saw the link is something like:
<a href="" onclick="fbLogincheck();">Integrate with facebook</a>
So whats it supposed to do after checkin login
I got no idea where its going wrong...
it should redirect to action=facebook after you autherise it keep trying somtimes facebook gos like this unfortuantly it is out of my control
I have been trying since yesterday, thats why i decided to post for help now.. i finally gave up..
Actually is there anything other then the Connect URL/base domain then i need to setup at Facebook? a url facebook will ping?
did you set and email domain? can have a link to your site please?
yeah sure, its studentforums.biz
and what do you mean by if i setup a email domain??
I just wanted to tell you that i just manually put up the link such that its not a href="#" but a href="?action=facebook"
yes that will work like that but if your not logged in fb and goto action=facebook it wll throw erros
it is working for me i just registerd at your site with facebook connect
uh oh, ok,
sorry - i guess i should have created another fb account to test it...
Thnx for the help... and also GREAT MOD!
np 8)
Just another thing - did you have any problems after logging in?
what happens when you click facebook connect? thnx brav
nope none at all when you click facebook conenct you get the facebook popup after that it redirect to action=facebook
thats awesome brav..
U r awesomeInfinite
:D
Thanks - btw, sorry for a lil late reply, went downstairs to eat ;D
late reply? that was quike to me lol
awesome - since you saved me, i will be ur slave for the next .5 hour, then i gotta go outside,
Anyway, here is my lil contribution:
some of you guys dont like the way the share button comes just above the Topic, you can fix it by going to Themes/default/Display.template.php
then instead of
adding:
';
if ($context['show_fb_share_button']){
echo'<script type="text/javascript">
var mod_settings_fb_share = "',$context['current_topic'],'";
</script>
<span id="share"></span>
<script type="text/javascript">
Get_share();
</script>
<script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>';
}
echo'
after
<tr class="catbg3">
Do this:
replace
', $txt[118], ': ', $context['subject'], ' (', $txt[641], ' ', $context['num_views'], ' ', $txt[642], ')
</td>
with:
';
if ($context['show_fb_share_button']){
echo'<script type="text/javascript">
var mod_settings_fb_share = "',$context['current_topic'],'";
</script>
<span id="share"></span>
<script type="text/javascript">
Get_share();
</script>
<script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>';
}
echo
$txt[118], ': ', $context['subject'], ' (', $txt[641], ' ', $context['num_views'], ' ', $txt[642], ')
</td>
thanks for sharing :)
@SleepyArcade - do you have a response for my post back on page 23? About people logging in as admin due to this plugin?
no cos i cannot replicate this the only i think that can happen is if they have the same name as the admin on facebook but i doubt it considering each facebook id is unick to that user
i logs the user in using the id so if you was john smith clikc the facebook connect button it will look for the the user id from facebook the search the members table for that id then it will do the login stuff
Does this mod conflict with any other facebooks mods? I'm trying to install and it says it's corrupt or incompatible with my version of SMF.
Quote from: MATTEK on June 21, 2010, 03:27:01 AM
Does this mod conflict with any other facebooks mods? I'm trying to install and it says it's corrupt or incompatible with my version of SMF.
I've been using this mod for quite some times now and it's awesome. And yes, from my past experience it does conflict with other facebook mods (which you do not need with this mod installed). And normally, I use mod page to download the mod, upload it back to my forum and install it there; as sometimes directly download and install from Package Server [Simple Machines Third-party Mod Site] cause me problems like yours (" it's corrupt or incompatible").
I'm trying to get FB Connect mod to work with external pages from the forum, i tried the code you gave at the top but got an error from load.php when saying that show_facebook(); was already defined.
Any ideas how to get this working?
try this one
show_facebook_ext();
function show_facebook_ext()
{
global $settings, $user_info, $context, $txt, $modSettings;
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="#" onclick="javascript:fbLogincheck(); return false;">'.$txt['fb_title'].'</a>';
else
echo ' <img src="' . $settings['images_url'] . '/facebook.png" alt="'.$txt['fb_title'].'" /> <a href="#" onclick="javascript:fbLoginsync(); return false;">'.$txt['fb_integrate'].'</a>';
echo'<br /><br />';
}
elseif (!empty($modSettings['fb_enable']))
echo'<a href="#" onclick="javascript:fbLogin(); return false;"><img src="http://b.static.ak.fbcdn.net/rsrc.php/zB6N8/hash/4li2k73z.gif" alt="" /></a>';
}
The function loads, the same way it did if calling show_facebook(); its just the links don't work.
For example, when itry to connect, the page just reloads, there is no popup box.
When i am logged in i get a message to integrate with account, i click it and the page just reloads.
Quote from: SleepyArcadeno cos i cannot replicate this the only i think that can happen is if they have the same name as the admin on facebook but i doubt it considering each facebook id is unick to that user
i logs the user in using the id so if you was john smith clikc the facebook connect button it will look for the the user id from facebook the search the members table for that id then it will do the login stuff
Ok, well thanks then.
Quote from: Sleepy Arcade on June 18, 2010, 09:01:07 PM
you may also need this
echo'<script src="path to fbc dir/fbc/fbconnect.js" type="text/javascript"></script>';
just change the part in red
I have installed the mod and I'm having troubles. It seems the above code you mentioned there is a problem. I keep getting a parse error. Granted, I did have to manually update the index.template.php file, but I have checked and triple checked and I am still getting the error on this line:
echo'<script src="http://www.bigbendchat.com/portal/forum/fbc/fbconnect.js" type="text/javascript"></script>';
Here is the error message that comes up:
Template Parse Error!
There was a problem loading the /Themes/default/index.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.
You may want to try to refresh this page or use the default theme.
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in .../Themes/default/index.template.php on line 162
153: if ($context['user']['is_guest'])
154: {
155: $options['collapse_header'] = !empty($_COOKIE['upshrink']);
156: $options['collapse_header_ic'] = !empty($_COOKIE['upshrinkIC']);
157: }
158:
159: // Output any remaining HTML headers. (from mods, maybe?)
160: echo $context['html_headers'], '
161:
162: echo'<script src="http://www.bigbendchat.com/portal/forum/fbc/fbconnect.js" type="text/javascript"></script>';
163: echo'<script type="text/javascript">
164: var mod_settings_fb_app_pageid = "',$modSettings['fb_app_pageid'],'";
165: var mod_settings_fb_app_stream = "',$modSettings['fb_app_stream'],'";
166: var mod_settings_fb_app_connection = "',$modSettings['fb_app_connection'],'";
any help? thanks
// Output any remaining HTML headers. (from mods, maybe?)
160: echo $context['html_headers'], '
should be
// Output any remaining HTML headers. (from mods, maybe?)
160: echo $context['html_headers'];
can you post up the file?
If you mean me, i've got SSI as an include in includes/application_top.php and then i call the facebook function in the header.php
<?
if ($include == 1) {
include ('includes/application_top.php');
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<link href="<? echo DOMAIN; ?>forums/Themes/Estalia20Rc3/css/index.css" rel="stylesheet" type="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="harry, max, myles, matt, fitzgerald, mondryk, ryan, connor, connected, boyband, britains, got, talent, events, news, forums, videos, pictures, biography" />
<meta name="description" content="<? echo $pgdesc; ?>" />
<title><? echo $title; ?></title>
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript" src="functions.js"></script>
<script src="/forums/fbc/fbconnect.js" type="text/javascript"></script>
</head>
<?
function show_facebook_ext()
{
global $settings, $user_info, $context, $txt, $modSettings;
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="#" onclick="javascript:fbLogincheck(); return false;">'.$txt['fb_title'].'</a>';
else
echo ' <img src="' . $settings['images_url'] . '/facebook.png" alt="'.$txt['fb_title'].'" /> <a href="#" onclick="javascript:fbLoginsync(); return false;">'.$txt['fb_integrate'].'</a>';
echo'<br /><br />';
}
elseif (!empty($modSettings['fb_enable']))
echo'<a href="#" onclick="javascript:fbLogin(); return false;"><img src="http://b.static.ak.fbcdn.net/rsrc.php/zB6N8/hash/4li2k73z.gif" alt="" /></a>';
}
?>
<body>
<!-- Begin header -->
<div id="body-top">
<!-- Start logo display -->
<div id="top-banner">
<span style="position:relative; left:15px; top:15px;float:left;">
<table align="left">
<tr><td colspan="2" style="font-size: 1.25em; color:white; font-weight:bold;">Follow us on these sites:</td></tr>
<tr><td><a href="http://www.youtube.com/officiallyconnected"><img src="images/youtube.png" height=45 width=45 style="padding:3px; "/></a></td><td align="left" style="font-size:1.15em; font-weight:bold;"><a href="http://www.youtube.com/officiallyconnected" style="color:white;">YouTube</a></a></tr>
<tr><td><a href="http://www.facebook.com/pages/OfficiallyConnected/121869631187830"><img src="images/facebook1.png" height=45 width=45 style="padding:3px; "/></a></td><td align="left" style="font-size:1.15em; font-weight:bold;"><a href="http://www.facebook.com/pages/OfficiallyConnected/121869631187830" style="color:white;">Facebook</a></a></tr>
<tr><td><a href="http://www.twitter.com/connectedforum"><img src="images/twitter.png" height=45 width=45 style="padding:3px; "/></a></td><td align="left" style="font-size:1.15em; font-weight:bold;"><a href="http://www.twitter.com/connectedforum" style="color:white;">Twitter</a></a></tr>
</table>
</span>
<!-- Start Login/User display box -->
<span style="position:relative; left:0px; top:0px;float:right; width:27%;">
<?
// If user is logged in display the info box.
if ($context['user']['is_logged'])
{
echo'<table align="right" width="190"><tr>';
echo '
<td><ul class="reset">
<li class="greeting" style="color: #fff;"><b>Hello <span>', $context['user']['name'], '</b>' . loginout("logout",$pgid) . '</span></li>
<li><a href="', $scripturl, '?action=unread" style="color: #a9ddff">View unread posts since last visit</a></li>
<li><a href="', $scripturl, '?action=unreadreplies" style="color:#a9ddff">View new replies to your posts<br></a></li>
';
echo'
</ul></td>';
echo'</tr></table>';
}
// Else show a log in box
else
{
loginout("login",$pgid);
}
if ($context['user']['is_logged']){
if (empty($modSettings['fb_enable_fbc_menu']))
{
echo '<div align="right" style="clear:both;">';
show_facebook_ext();
}
echo '</div>';
}
else {
echo '<div align="center" style="font-size:13px; color:white; font-weight:bold;">---- OR ----- <br>';
if (empty($modSettings['fb_enable_fbc_menu']))
{
show_facebook_ext();
}}
echo '</div>';
echo '
</td></tr></table>'; ?>
</span>
<!-- End user info box -->
</div>
<!-- End logo -->
</div>
<!-- End Header -->
<!-- Start Menu -->
<div id="menu">
<ul>
<li><a href="index.php" title="Home">Home</a></li>
<li><a href="news.php" title="News">News</a></li>
<li><a href="bio.php" title="Biography">Biography</a></li>
<li><a href="events.php" title="Events">Events</a></li>
<li><a href="/forums/index.php?action=media" title="Gallery">Gallery</a></li>
<li><a href="/forums/index.php?action=media;sa=album;in=18" title="Videos">Videos</a></li>
<li><a href="<? echo DOMAIN;?>forums" title="Join the forums, interact with other fans">Forums</a></li>
<?
// If user is logged in display profile button on menu
if ($context['user']['is_logged'])
echo ' <li><a href="/forums/index.php?action=profile" title="View your forum profile">Profile</a></li>';
// if ((in_array(1, $user_info['groups'])) || (in_array(9, $user_info['groups'])))
// echo ' <li><a href="admin.php" title="Manage">Manage</a></li>';
?>
</ul>
</div>
<!-- End Menu -->
<!-- Start main body -->
<div id="mainbody">
<div class="clr"/></div>
<!-- Everything inside the wrapper which is aligned to center of page -->
<div class="wrapper">
sry i ment Casa Grande
can i have a link to you site pls
How can I uninstall this mod? It shows that it has not been installed yet but it is installed. I want to uninstall it, but can't do so since its showing with an "Apply Mod" link only and I dont want to double install it. Is there a way to uninstall without removing all that code manually?
nope the only way is maualy
Thanks for your help, Sleepy
Yes, the site is here: http://www.bigbendchat.com
and here is the file code. Keep in mind, I had to manually add the code for this file. All other files where installed using the admin control panel.
you can download the zip file containing the offending php page here: http://www.bigbendchat.com/index.template.zip
Quote from: Abu Fahim Ismail on June 21, 2010, 06:03:23 AM
Quote from: MATTEK on June 21, 2010, 03:27:01 AM
Does this mod conflict with any other facebooks mods? I'm trying to install and it says it's corrupt or incompatible with my version of SMF.
I've been using this mod for quite some times now and it's awesome. And yes, from my past experience it does conflict with other facebook mods (which you do not need with this mod installed). And normally, I use mod page to download the mod, upload it back to my forum and install it there; as sometimes directly download and install from Package Server [Simple Machines Third-party Mod Site] cause me problems like yours (" it's corrupt or incompatible").
I'm not entirely sure what you mean. I manually download from the mod page and it still said incompatible or corrupt.
Ok i've fixed my problem :D
I added the following to my header.php
Above the header tag
echo'<script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php" type="text/javascript"></script>';
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_com_show = "',$modSettings['fb_admin_commets_post'],'";
</script>';
echo'<script type="text/javascript">
FB.init("'.$modSettings['fb_app_key'].'",
"'.$boardurl.'/fbc/xd_receiver.htm",
{"doNotUseCachedConnectState":true });
function doLoggedOutFacebookUser(){
FB.Connect.logout(function(){location.href = "'.$scripturl.'?action=logout;sesc='.$sc.'";});
}
</script>';
if(isset($_GET['fb_feed']))
{
include_once $boarddir.'/fbc/facebook/php/facebook.php';
$api_key = ''.$modSettings['fb_app_key'].'';
$secret = ''.$modSettings['fb_app_secret'].'';
$fb = new Facebook($api_key,$secret);
$fb_user = $fb->get_loggedin_user();
$user_id = $fb->require_login();
$user_details = $fb->api_client->users_getInfo($fb_user, array('first_name','last_name'));
$firstName = $user_details[0]['first_name'];
$lastName = $user_details[0]['last_name'];
$name = ''.$firstName.' '.$lastName.'';
echo'<script type="text/javascript">
window.onload = function()
{
callPublish(\'\',{\'name\':\''.$name.' '.$txt['fb_haslogged'].' '.$context['forum_name'].' '.$txt['fb_haslogged2'].'\',\'href\':\''.$scripturl.'\',\'description\':\''.$name.' '.$txt['fb_haslogged'].' '.$context['forum_name'].' '.$txt['fb_haslogged2'].'\'},null);
facebook_onload(true);
};
</script>';
}
Wherever you want on the page
show_facebook_ext();
function show_facebook_ext()
{
global $settings, $user_info, $context, $txt, $modSettings;
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="#" onclick="javascript:fbLogincheck(); return false;">'.$txt['fb_title'].'</a>';
else
echo ' <img src="' . $settings['images_url'] . '/facebook.png" alt="'.$txt['fb_title'].'" /> <a href="#" onclick="javascript:fbLoginsync(); return false;">'.$txt['fb_integrate'].'</a>';
echo'<br /><br />';
}
elseif (!empty($modSettings['fb_enable']))
echo'<a href="#" onclick="javascript:fbLogin(); return false;"><img src="http://b.static.ak.fbcdn.net/rsrc.php/zB6N8/hash/4li2k73z.gif" alt="" /></a>';
}
Quote from: Casa Grande on June 21, 2010, 06:33:53 PM
Thanks for your help, Sleepy
Yes, the site is here: http://www.bigbendchat.com
and here is the file code. Keep in mind, I had to manually add the code for this file. All other files where installed using the admin control panel.
you can download the zip file containing the offending php page here: http://www.bigbendchat.com/index.template.zip
try this
thank you, Sleepy! Works great now...thanks for the personal attention!
I'm having another problem. When clicking the forum logout button, it pops up to tell me that its logging out of facebook and the forum, however it doesn't, the page just reloads and i'm still logged in.
I'd still like to know why it says the mod is corrupt or incompatible, please.
@JonoJames you can disable that in facebook admin or try clearing you forum cache
@MATTEK because you are using the wrong package if you notice there is two packages there one for smf1 and one for smf2
Quote from: Sleepy Arcade on June 22, 2010, 08:50:52 PM
@JonoJames you can disable that in facebook admin or try clearing you forum cache
@MATTEK because you are using the wrong package if you notice there is two packages there one for smf1 and one for smf2
I tried both. Same error for each.
well eaither you are downloading the same file twice or ive gone mad cos i just tested it and it installs just fine
http://custom.simplemachines.org/mods/index.php?action=download;mod=2322;id=142369
Fatal error: Class 'Facebook' not found in /home/vhosts/xxxxxxxxx.xxx.biz/forum/Sources/FB_Connect/FB_Connect_Subs.php on line 717
Help me please.
search is your freind :) try this
if you login to your server and see if the fbc dir is there pleasde if it is what are the permissions set to files should be 644 folders should be 755
Quote from: Dismal Shadow on April 25, 2010, 11:49:00 PM
Quote from: choloman05 on April 25, 2010, 11:35:14 PM
Quick question:
What happens when someone registers on the forum using FB connect and then deletes his account on FB? Will he still be able to login to the forum?
Yes, by using the same account and password when you register with FB connect.
Thank you.
I have a really great question i have not seen asked here yet.. I need to change the facebook user id in the forum profile because i connected to the wrong profile. When i go and edit the id it does not save it, I takes it and show success but still has the wrong id when i look at it again.
My board is still in maint mode so i will not be leaving a link to it. But if its needed i would be happy to give.
in the members table look for your user name click the wee pencil to edit then look for fbname and the user id is there
Perfect thanks, I just deleted the info and clicked the facebook connection button all over again. Great mod thanks i like it.
Great mod. Can anyone tell me where to find the language file?
in themes/languages/modifactions.english.php
Great! Norwegian translation:
$txt['fb_enable_fbc_menu'] = 'Vis Facebook i menyen <div class="smalltext">Hvis denne ikke er valgt vil den vises over avataren</div>';
$txt['sa_fbc_live'] = 'SA Mods Live';
$txt['sa_fbc_version'] = 'Versjon info';
$txt['sa_fbc_cversion'] = 'Gjeldende Versjon';
$txt['sa_fbc_lversion'] = 'Siste Versjon';
$txt['sa_fbc_smfversion'] = 'SMF Versjon';
$txt['sa_fbc_downloadl'] = 'Last ned nå';
$txt['sa_fbc_credits'] = 'Takk til';
$txt['fb_admin_main2'] = 'Hoved';
$txt['fbc_crdits'] = '<p><b>Utvikler:</b> <a href="http://sleepy-arcade.ath.cx/battle2">SA Mod Development Site</a></p>
<p><b>Spesiell takk til:</b><br />
<a href="http://www.sa-mods.info/index.php?action=profile;u=53"><º}}}>( </a> Beta testing<br />
<a href="http://thetwoworldsforum.com/">Dismal Shadow</a> Beta testing<br />
<a href="http://www.sa-mods.info/index.php?action=profile;u=115">NIBOGO</a> Beta testing<br />
<a href="http://www.sa-mods.info/index.php?action=profile;u=91">Spoogs</a> Beta testing<br />
<a href="http://www.sa-mods.info/index.php?action=profile;u=179">Nend</a> Beta testing<br />
<a href="http://ogrencilerkulubu.com/smf/">??t? </a> Tyrkisk oversetter<br /><br />
Om noen er glemt, takk til dere også!';
$txt['fb_dispwp'] ='Aktiver spørsmå om å poste til Facebook ved innlogging';
$txt['fb_regusername'] ='Brukernavn';
$txt['fb_regpass1'] ='Passord';
$txt['fb_regpass2'] ='Gjenta passord';
$txt['fb_regallready1'] ='Allerede registrert? Klikk';
$txt['fb_regallready2'] ='her';
$txt['fb_regallready3'] ='for å logge inn';
$txt['fb_make_sure_avs'] ='Oppdater avataren med facebookbildet!';
$txt['fb_make_sure_sync'] ='Synkroniser Forumet og Facebook kontoen!';
$txt['fb_admin_nofb_user'] ='Det finnes ingen registrerte Facebookbrukere';
$txt['fb_custom_fbr'] ='Facebook referanse link';
$txt['fb_custom_regdischo'] = 'Velg et navn';
$txt['fb_custom_enable_ref'] = 'Aktiver mulighet for jblazes Referals Mod<div class="smalltext">Krever <a href="http://custom.simplemachines.org/mods/index.php?mod=1114">Referrals Mod </a>installert</div>';
$txt['fb_reg_real_name_error'] = 'beklager men valgt navn er i bruk. Velg et annet!';
$txt['fb_admin_logs'] = 'Facebook logg';
$txt['fb_admin_logs_member'] = 'Medlem';
$txt['fb_admin_logs_memberid'] = 'Membes ID';
$txt['fb_admin_logs_dr'] = 'Dato registrert';
$txt['fb_admin_logs_fuid'] = 'Facebook brukerid';
$txt['fb_admin_logs_name'] = 'Facebook navn';
$txt['fb_admin_logs_pro'] = 'Facebook profile';
$txt['fb_admin_commets_box'] = '<div align="center">Kommentarboks</div>';
$txt['fb_admin_commets_post'] = 'Antall kommentarer som skal vises i boksen';
$txt['fb_app_comments_boxid'] = 'Kommentarboks XID<div class="smalltext>Unik identifikasjon for dette settet med kommentarer. Kommentarer kan inneholde alfanumeriske tegn (Aa-Zz, 0-9), bindestrek (-), prosent (%), punktum (.), og understrek (_) . </div>';
$txt['fb_admin_setsh1'] = 'Aktiver deling av tråder til Facebook';
$txt['fb_admin_setsh2'] = 'det vil vises en del på Facebook knapp ved tråden';
$txt['fb_admin_set1'] = '<div align="center">Innstillinger</div>';
$txt['fb_admin_set2'] = '<div align="center">Fanside valg</div>';
$txt['fb_admin_set3'] = '<div align="center">Api nøkkel og hemmelighet</div>';
$txt['fb_app_facebook_log_out'] = 'Aktiver facebook logg ut funksjon <div class="smalltext">logger ut brukeren både fra Facebook og fra Forumet</div>';
$txt['fb_app_width'] = 'Bredde på fanboksen';
$txt['fb_app_key'] = 'Facebook Application nøkkel';
$txt['fb_app_sharetopic'] = 'Aktiver deling av tråder til Facebook';
$txt['fb_app_fans'] = 'Aktiver fanside';
$txt['fb_enable_fb_com'] = 'Aktiver Facebook kommentarer';
$txt['fb_app_connection'] = 'Antall fans som vises';
$txt['fb_app_pageid'] = 'Applications side id <div class="smalltext">finnes i URL\'en til siden</div>';
$txt['fb_app_stream'] = 'Vis fans <div class="smalltext">settes til 0 for å vise bare fans og til 1 for å vise både fans og stream.</div>';
$txt['fb_app_secret'] = 'Facebook Application hemmelighet';
$txt['fb_integrate'] = 'Integrer forumpålogging med Facebook.';
$txt['fb_integrate2'] = 'Integrer med Facebook';
$txt['fb_update'] = 'Oppdatere din Facebook status.';
$txt['fb_admin'] = 'SA Facebook Connect';
$txt['fb_admin_main'] = 'Hovedinnstillinger';
$txt['fb_enable'] = 'Aktiver Facebook Connect Mod';
$txt['fb_enable_wt_mod'] = 'aktiver VBGamers Welcome Topic Mod <div class="smalltext">Krever <a href="http://custom.simplemachines.org/mods/index.php?mod=789">Welcome Topic Mod </a>installert</div>';
$txt['fb_invite'] = 'Invitere venner til';
$txt['fb_title'] = 'Facebook';
$txt['fb_title1'] = 'Du er nå koblet til Facebook!';
$txt['fb_title2'] = 'Dette kan du gjøre når du er koblet til Facebook';
$txt['fb_title3'] = 'Du er ikke koblet til Facebook!';
$txt['fb_title_inv'] = 'Facebook invitasjon';
$txt['fb_inv'] = 'Dette er en invitasjon fra';
$txt['fb_inv_app'] = 'application';
$txt['fb_inv1'] = 'Gå til A';
$txt['fb_inv2'] = 'side!';
$txt['fb_inv3'] = 'Inviter dine venner til å bruke';
$txt['fb_inv4'] = 'Takk for at du inviterer';
$txt['fb_inv5'] = 'dine venner til';
$txt['fb_inv6'] = 'Klikk her for å gå tilbake til';
$txt['fb_inv7'] = 'har startet å bruke';
$txt['fb_inv8'] = 'og synes det er <u>så bra at du også må prøve det</u>!';
$txt['fb_inv9'] = 'Legg';
$txt['fb_inv10'] = 'på din profil';
$txt['fb_avatar'] = 'Oppdater avataren din til Facebookbildet';
$txt['fb_avatar1'] = 'Facebook avatar';
$txt['fb_avatar2'] = 'din avatar er endret';
$txt['fb_avatar3'] = 'er du sikker på at du ønsker å endre din avatar?';
$txt['fb_yes'] = 'ja';
$txt['fb_no'] = 'nei';
$txt['fb_or'] = 'eller';
$txt['fb_sync'] = 'Facebook Synkronisering';
$txt['fb_sync1'] = 'Er du sikker på at du vil synkronisere Facebook og Forum kontoen?';
$txt['fb_share'] = 'Dele denne siden på Facebook';
$txt['fb_fans'] = 'Fanside';
$txt['fb_fans1'] = 'Facebook fanside';
$txt['fb_haslogged'] = 'har logget inn på';
$txt['fb_haslogged2'] = 'bruker facebook connect';
$txt['fb_reg1'] = 'Facebook innlogging';
$txt['fb_reg2'] = '(du trenger kun å gøre dette en gang)';
$txt['fb_reg8'] = 'Vis navn';
$txt['fb_reg3'] = 'Lagre';
$txt['fb_reg4'] = 'Legg inn brukernavn';
$txt['fb_reg44'] = 'Påkrevd informasjon';
$txt['fb_reg45'] = 'Tillegsinfo';
$txt['permissiongroup_simple_facebookperm'] = 'Koble til med Facebook';
$txt['permissiongroup_facebookperm'] = 'Facebook Connect';
$txt['permissionhelp_share_topic'] = 'Hvis det er tillat for brukeren å dele tråder på Facebook';
$txt['permissionname_share_topic'] = 'Del tråder på Facebook';
$txt['fbshare_share'] = 'Del forum på Facebook';
$txt['fb_custom_profile'] = 'Aktiver tilpassede profilfelt';
$txt['fb_enable_avs_mod'] = 'Aktiver mulighet for VBGamers Avatar Select på Register Mod <div class="smalltext">Krever <a href="http://custom.simplemachines.org/mods/index.php?mod=368">Avatar Select On Register Mod </a>installert</div>';
With this package installed and with the facebook connect buttom below the Login area it shows that scrolling bar on the left side (see picture).
Is there any way whe can solve this, because i really dont like that scrolling bar there... :-\ , is it possible to move de button from bellow to the left side of the login area?
Thanks in advance.
you can find this show_facebook(); in index.template.php and try moving it around
Thanks, i´ve tried to move it, but i´m a complete noob.. did not work...
Can you give me a clue where i should move it?
Thanks
P.S. can whe define that header to be bigher in height? That way i think the scrool bar will not show up...
Trying to install, but menu item takes me to "#"
Modelistis
div#upper_section div.user
{
width: 50%;
float: left;
overflow: auto;
}
try finding that in index.css and adding a height attibute eg height: 50%; or tyr removing overflow: auto;
Themes/default/css
Kcmartz clear your forum cache?
Cleared, browser and site, still nothing (also installed bluedevils "like" mod, Love it!)
Quote from: Sleepy Arcade on July 02, 2010, 05:06:37 PM
Modelistis
div#upper_section div.user
{
width: 50%;
float: left;
overflow: auto;
}
try finding that in index.css and adding a height attibute eg height: 50%; or tyr removing overflow: auto;
Themes/default/css
Kcmartz clear your forum cache?
Thanks, this worked perfectly!
I´ve changed the overflow to hidden....
Thanks again!!
Quote from: Kcmartz on July 02, 2010, 05:17:34 PM
Cleared, browser and site, still nothing (also installed bluedevils "like" mod, Love it!)
whats permissions on fbc/fbconnect.js
folder: 755
.js: 0666
put the .js one to 644
644, still doesn't work
and everything else in fbc dir files 644 folders 755
yep ALL FILES in fbc dir are 644 and all folders 755, still not working
so fbc/facebook/php are 755 sounds like you got it the wrong way round not being funny but if you did what i said correct then it will work it has been asked a few times in this topic now
directorys should be 755 and files 644
Yes, individual files 644, all folders 755
well it will only goto "#" eaither if permissions are wrong or your cache needs clearing or if the fbconnect.js file isnt there
fbconnect.js is there, cleared both caches, ill check site perms, but I'm admin I should be able to see it!
Perms are correct
i meant file perms on your server
yes like you said all 755 or 644, no others are anything else...
Hello i am getting an few error at both ends first of all i made the fb app and set it up on my forum all buttons and everything is their and tryed first from my facebook page and it successfully worked and then i tryed it on a different fb profile on another pc and on the fan page i clicked the goto app and it keeps boots me too the facebook login, so i tryed it on my normal profile logged out of my forum and went back to the facebook fan page and now i am getting this error.
QuoteFatal error: Uncaught exception 'FacebookRestClientException' with message 'Session key invalid or no longer valid' in /home/deltaiv1/public_html/fbc/facebook/php/facebookapi_php5_restlib.php:3112 Stack trace: #0 /home/deltaiv1/public_html/fbc/facebook/php/facebookapi_php5_restlib.php(1764): FacebookRestClient->call_method('facebook.users....', Array) #1 /home/deltaiv1/public_html/Sources/FB_Connect/FB_Connect_Subs.php(363): FacebookRestClient->users_getInfo('1245925771', Array) #2 /home/deltaiv1/public_html/Sources/FB_Connect/FB_Connect.php(12): FB_Globals() #3 /home/deltaiv1/public_html/index.php(170): FB_Connect() #4 {main} thrown in /home/deltaiv1/public_html/fbc/facebook/php/facebookapi_php5_restlib.php on line 3112
I am currently working on a fix for that i think its more facebook end.
And the second thing is on my portal i have the connect with facebook button when click their are no pop ups and it just reloads the page has any one got any idea's what exactly is happening with this issue. here is my site http://delta5ive.com/index.php (http://delta5ive.com/index.php) and here is my app fan page http://www.facebook.com/apps/application.php?id=125640097465569 (http://www.facebook.com/apps/application.php?id=125640097465569) any help will be much appreciated.
Un gran Mod!, disculpe ¿existe la traducción para el idioma español?
Hola, creo que hay una traducción al español, hay que detectarlo en su foro y agregar las cadenas de auto si lo tiene. (Google Translation)
I love this mod. I haven't checked yet, but are all the classes there to utilize stream.publish to post to a fan page wall?
im not sure what you mean?
What I ment was did you use the full facebook api (or rather which one you used), if the full one was used then everything is there to be able to post to a wall (fan page is what I was wanting to do).
aha thats a no then 8)
Im using custom theme and when i manually install this mod in my index.template and display.template it works but all i can see are letters and links on white backround.
I attached my files for anyone willing to help.
edit:nvm, i found what was the problem.
hi there :)
Im uninstalling this mod on my site. I have a error on index.template.php
Can i request if you could lend me a hand manually uninstall it
Thanks a lot
try this backup first
Thanks a lot Sleepy Arcade :D
new version for smf 2 realsed
api updated to the new sdk graph api
added more facebook widgets
now has like and share options
template chnages now has a menu for nav thru facebook connect
added facebook session checks to see if there logged in to facebook
added support for drop down menu
added support for unsyncing accounts
added session checks to all forms
now has freinds list
added yor pages feture
Great. I will update soon.
I've just installed a fresh copy of SMF 2.0 RC3 along with the latest version of SA Facebook Connect, and having a problem with Admin \ Features and Options.
When I save anything, even if I don't make any changes, on this Admin page, I get a 400 error. Now I was able to find out what the error was, but I'm on a different computer now and it's not showing for some reason. It was something to do with a Facebook Connect .js file on a Facebook URL.
No other Admin pages have this problem. Any ideas? I'll try and get the full error and post.
Keeps saying my API Key is invalid?
Also - I can't see the "share" option anywhere.
RC3 s my forum version. List of other mods will be given upon request.
fixed that.
After you click connect and enter your info, it loads up in the box, closes and then gives a parse error.
Parse error: syntax error, unexpected '{' in /homepages/46/d274007555/htdocs/fbc/fbmain.php on line 7
I'm also having an issue where the Like button doesn't appear at all.
I can attach the file if you need.
Hello I am using the FB Connect for smf1. However I cannot get it to function properly. I am getting this error when clicking the 'integrate with facebook' link on my forum, http://bottommagazineonline.com/network.
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /hsphere/local/home/f2martin/bottommagazineonline.com/network/fbc/facebook/php/facebook.php on line 38
What should I do to fix this?
Please Help!?
sorry guys for 2 simple question. how do i edit my custome theme file? which file?? and I suppose the code that was pasted here already??
also, what if I just want to use a code as a link back?
I will update SMF 1 version today or tomorrow :D
Still having same issue.
When I click on the integrate button, it gives me a window to sign in my Facebook account. I sign is successfully, but when I click connect the window closes and I get :
Parse error: syntax error, unexpected '{' in /homepages/46/d274007555/htdocs/fbc/fbmain.php on line 7
I can attach the file if you need.
I'm also having an issue where the "Like" button doesn't appear at all on some boards. I've made sure to check ALL boards, and still nothing.
you need php5 to use this
Quote from: Fonzarello on July 20, 2010, 11:33:41 AM
Hello I am using the FB Connect for smf1. However I cannot get it to function properly. I am getting this error when clicking the 'integrate with facebook' link on my forum, http://bottommagazineonline.com/network.
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /hsphere/local/home/f2martin/bottommagazineonline.com/network/fbc/facebook/php/facebook.php on line 38
What should I do to fix this?
Please Help!?
sure can you attach that file? as for the lik boards it seems to me a little buggy at the moment :( i will try to get another version out by next week
Quote from: MATTEK on July 21, 2010, 09:43:36 AM
Still having same issue.
When I click on the integrate button, it gives me a window to sign in my Facebook account. I sign is successfully, but when I click connect the window closes and I get :
Parse error: syntax error, unexpected '{' in /homepages/46/d274007555/htdocs/fbc/fbmain.php on line 7
I can attach the file if you need.
I'm also having an issue where the "Like" button doesn't appear at all on some boards. I've made sure to check ALL boards, and still nothing.
Quote from: Sleepy Arcade on July 21, 2010, 01:50:51 PM
you need php5 to use this
Quote from: Fonzarello on July 20, 2010, 11:33:41 AM
Hello I am using the FB Connect for smf1. However I cannot get it to function properly. I am getting this error when clicking the 'integrate with facebook' link on my forum, http://bottommagazineonline.com/network.
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /hsphere/local/home/f2martin/bottommagazineonline.com/network/fbc/facebook/php/facebook.php on line 38
What should I do to fix this?
Please Help!?
sure can you attach that file? as for the lik boards it seems to me a little buggy at the moment :( i will try to get another version out by next week
Quote from: MATTEK on July 21, 2010, 09:43:36 AM
Still having same issue.
When I click on the integrate button, it gives me a window to sign in my Facebook account. I sign is successfully, but when I click connect the window closes and I get :
Parse error: syntax error, unexpected '{' in /homepages/46/d274007555/htdocs/fbc/fbmain.php on line 7
I can attach the file if you need.
I'm also having an issue where the "Like" button doesn't appear at all on some boards. I've made sure to check ALL boards, and still nothing.
No problem. However, I don't have access to my FTP at the moment, but I will later tonight or tomorrow. Thank you for the reply. I'll get this to you ASAP.
me again. how do we edit the files for custom themes please? The buttons show in the "default" theme but nothing appears on the custom theme - I know we have to edit something but where do i put them in?
Also if i were to put just a link on my tinyportal front page how would i do that?
Quote from: Sleepy Arcade on July 21, 2010, 01:50:51 PM
you need php5 to use this
Quote from: Fonzarello on July 20, 2010, 11:33:41 AM
Hello I am using the FB Connect for smf1. However I cannot get it to function properly. I am getting this error when clicking the 'integrate with facebook' link on my forum, http://bottommagazineonline.com/network.
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /hsphere/local/home/f2martin/bottommagazineonline.com/network/fbc/facebook/php/facebook.php on line 38
What should I do to fix this?
Please Help!?
sure can you attach that file? as for the lik boards it seems to me a little buggy at the moment :( i will try to get another version out by next week
Quote from: MATTEK on July 21, 2010, 09:43:36 AM
Still having same issue.
When I click on the integrate button, it gives me a window to sign in my Facebook account. I sign is successfully, but when I click connect the window closes and I get :
Parse error: syntax error, unexpected '{' in /homepages/46/d274007555/htdocs/fbc/fbmain.php on line 7
I can attach the file if you need.
I'm also having an issue where the "Like" button doesn't appear at all on some boards. I've made sure to check ALL boards, and still nothing.
Here you go. Thanks.
try this
hello sleepy, I was getting exact same error as MATTEK,
I uploaded the attached file that you posted and it made no difference at all
I am using RC3 with smf portal installed as well
no success sleepy. same error.
Hello there ,
I installed this mod on with out any errors
smf version smf 2.0 RC3
i using Argentinum theme ,but i got somany errors at the home page,login page etc
forum :http://www.filmyplanet.com/index.php
errors : Welcome, Guest. Please login or register.
Fatal error: Call to undefined function show_facebook() in /home/filmypla/public_html/Sources/PortalBlocks.php on line 156
Fatal error: Call to undefined function show_facebook() in /home/filmypla/public_html/Sources/Load.php(2198) : eval()'d code on line 63
mods
-------
Language Drop 1.5.1 [ Uninstall ] [ List Files ] [ Delete ]
2. Reg Bar 1.0.2 [ Uninstall ] [ List Files ] [ Delete ]
3. AjaxChat Integration 3.2.1 (modified for SMF 2 RC3) [ Uninstall ] [ List Files ] [ Delete ]
4. SA FBConnect 1.0 Beta4-1 [ Uninstall ] [ List Files ] [ Delete ]
5. Look But No Read 1.3 [ Install Mod ] [ List Files ] [ Delete ]
6. PM to New Members 1.2 [ Uninstall ] [ List Files ] [ Delete ]
7. Images On Board 2.1 [ Install Mod ] [ List Files ] [ Delete ]
8. Twitter and Facebook Publisher mod 2.4 [ Uninstall ] [ List Files ] [ Delete ]
9. Pretty URLs 1.0 [ Uninstall ] [ List Files ] [ Delete ]
10. SimplePortal 2.3.2 [ Uninstall ] [ List Files ] [ Delete ]
11. Guest Registration Notification 1.1 [ Uninstall ] [ List Files ] [ Delete ]
12. Registered Links 2.0.2 [ Uninstall ] [ List Files ] [ Delete ]
13. AddThis 1.0 [ Uninstall ] [ List Files ] [ Delete ]
14. SMF4iPhone-Mod 1.0 [ Install Mod ] [ List Files ] [ Delete ]
15. Tidy Child Boards 1.3 [ Uninstall ] [ List Files ] [ Delete ]
16. Aeva Media 1.3a [ Uninstall ] [ List Files ] [ Delete ]
17. Highslide 4 SMF 0.3 [ Uninstall ] [ List Files ] [ Delete ]
18. Thank-O-Matic 2.0 RC2 [ Uninstall ] [ List Files ] [ Delete ]
19. Register At Post View v.1.1
application settings in facebook,cookie settigns are ok...
But still getting error in default theme also....what to do ?
Please help me to solve this error .
Thank you .
Since there are too many complaints on the new update, I will wait until it is a bit stable before updating to the new one. I am still using the old version of this mod though I like the new features very much. Sad.
Quote from: NaYa on July 23, 2010, 03:33:42 AM
Hello there ,
I installed this mod on with out any errors
smf version smf 2.0 RC3
i using Argentinum theme ,but i got somany errors at the home page,login page etc
forum :http://www.filmyplanet.com/index.php
errors : Welcome, Guest. Please login or register.
Fatal error: Call to undefined function show_facebook() in /home/filmypla/public_html/Sources/PortalBlocks.php on line 156
Fatal error: Call to undefined function show_facebook() in /home/filmypla/public_html/Sources/Load.php(2198) : eval()'d code on line 63
mods
-------
Language Drop 1.5.1 [ Uninstall ] [ List Files ] [ Delete ]
2. Reg Bar 1.0.2 [ Uninstall ] [ List Files ] [ Delete ]
3. AjaxChat Integration 3.2.1 (modified for SMF 2 RC3) [ Uninstall ] [ List Files ] [ Delete ]
4. SA FBConnect 1.0 Beta4-1 [ Uninstall ] [ List Files ] [ Delete ]
5. Look But No Read 1.3 [ Install Mod ] [ List Files ] [ Delete ]
6. PM to New Members 1.2 [ Uninstall ] [ List Files ] [ Delete ]
7. Images On Board 2.1 [ Install Mod ] [ List Files ] [ Delete ]
8. Twitter and Facebook Publisher mod 2.4 [ Uninstall ] [ List Files ] [ Delete ]
9. Pretty URLs 1.0 [ Uninstall ] [ List Files ] [ Delete ]
10. SimplePortal 2.3.2 [ Uninstall ] [ List Files ] [ Delete ]
11. Guest Registration Notification 1.1 [ Uninstall ] [ List Files ] [ Delete ]
12. Registered Links 2.0.2 [ Uninstall ] [ List Files ] [ Delete ]
13. AddThis 1.0 [ Uninstall ] [ List Files ] [ Delete ]
14. SMF4iPhone-Mod 1.0 [ Install Mod ] [ List Files ] [ Delete ]
15. Tidy Child Boards 1.3 [ Uninstall ] [ List Files ] [ Delete ]
16. Aeva Media 1.3a [ Uninstall ] [ List Files ] [ Delete ]
17. Highslide 4 SMF 0.3 [ Uninstall ] [ List Files ] [ Delete ]
18. Thank-O-Matic 2.0 RC2 [ Uninstall ] [ List Files ] [ Delete ]
19. Register At Post View v.1.1
application settings in facebook,cookie settigns are ok...
But still getting error in default theme also....what to do ?
Please help me to solve this error .
Thank you .
A reply to the above may help me alot .
@NaYa You must put show_facebook() function to index.template for every theme.
I made 1.0 beta 4 for smf 1.1.x but not tested.
I'm looking for smf 1.1.x version tester.
ok everything works out well for me the whole intergration worked just fine but i got a problem
if i share and like boards the topic and the post text become very big
i ended up removing it from the display.template.php
if i manually alter it again (put the code back in there ) it starts to get big again
what can i do about that ?
Fatal error: Uncaught CurlException: 28: Connection time-out thrown in /forum/fbc/facebook.php on line 512
It went to the facebook screen where I allow the access, but then nothing happens. When I go to the facebook page to login, it jsut times out with that.. ^
Help? (SMF2 RC3)
Quote from: MATTEK on July 21, 2010, 09:43:36 AM
Still having same issue.
When I click on the integrate button, it gives me a window to sign in my Facebook account. I sign is successfully, but when I click connect the window closes and I get :
Parse error: syntax error, unexpected '{' in /homepages/46/d274007555/htdocs/fbc/fbmain.php on line 7
I can attach the file if you need.
Still same error
Quote
@NaYa You must put show_facebook() function to index.template for every theme.
[/quote ]
I dont want ,i installed this MOD on my default theme and also in other themes ,with out any erros.
I dont like code edit every time ,
And also there is no such a great support from this MOD supporter (yaah sure this is my complaint )
erorcun, I tried your file and the error message has now changed
Parse error: syntax error, unexpected T_VARIABLE in /homepages/45/d119261276/htdocs/portal/fbc/fbmain.php on line 10
Just to let you know I am now using the default core theme, and have removed all other packages from the forum, so theoretically this is a fresh install of SMF 2.0 RC3
thank you for your efforts though
@wizzard1 what theme you using
@Greenman that heppens sometimes it is facebook not the mod
@NaYa
im sorry but i do have a life you know
if you dont like the support then dont use the mod simple
i do work and do try to provide as much support as possible just most nights i am so tired that i dont feel or wont to code/support
QuoteI dont like code edit every time ,
And also there is no such a great support from this MOD supporter (yaah sure this is my complaint )
@ erorcun
thanks man you can email me the package if you wanted tho i might not get to test it for a couple of days
Hello Sleepy Arcade,
Do you think it possible I have done something wrong on the facebook application, I am inexperienced in using facebook apps, and if other people have this tool working then it may be me who is doing something wrong.
I really do want to use this mod, I just viewed it on the site you have in your signature, and it sure is great. I also removed the 1.04 beta and tried 0.2 but was getting error messages with that too, so I think it is something I am doing wrong rather than a scripting error
I have now gone back to the beta verion
at the moment im not too shore what is you connect url and what else did you do to the app?
out of curiosity what is your php version?
im just intaling on a test site now to see if i can replicate this error
I have two different versions of smf, the first is the main one, the second being just a test site that I work on to see how packages look and feel before I try to upload them on my main site, to ensure that there is no major issue with them that will kill my forum LOL
in facebook I have placed the connect url to show as http://www.gayswansea.com/portal which is the url where my test forum is located
ok so the connect url is ok
PHP Version 4.4.9 i have not done anything else to the app, i could make you a developer if you want to have a quick look
ok i think it may be your php version cos i use php5 and connot replicate this can you ask your host to update your php version? they should do it for you
Just sent them a mail now, will let you know how it pans out, and if the upgrade works
thank you
yw im curiours to see if it is so im installing an older version of php to see my self but let me know how it goes
ok so now I am using php 5.2.13
now when I press the integrate with facebook link I get to the next page and I get the sync forum with face book, i click that button and then it waits a few moments and then I get this error
Fatal error: Uncaught Exception: 100: Param uids must be a number thrown in /homepages/45/d119261276/htdocs/portal/fbc/facebook.php on line 425
have not change anything but tried running it again and now I get this error
Fatal error: Uncaught CurlException: 28: SSL connection timeout thrown in /homepages/45/d119261276/htdocs/portal/fbc/facebook.php on line 512
even more curious,
I just tried again and it went through
now all I need to do is try and work out how to get it to work in the theme I use LOL
Param uids must be a number thrown in /homepages/45/d119261276/htdocs/portal/fbc/facebook.php
was you logged into facebook whe you got this ity happens to me somtimes aswell
28: SSL connection timeout thrown in /homepages/45/d119261276/htdocs/portal/fbc/facebook.php
also i think this is facebook
got it working fine now in the theme that comes with smf 2.0 rc3
but it errors in two parts on the theme I use. which is "5th Theme RC2"
here are the errors I get
Find[Select]
#forumposts h3 span#author, #forumposts h3 span#top_subject
{
float: left;
}
Add Before[Select]
#forumposts h3 span#facebook
{
float: right;
margin: 6px 0.5em 0 0;
}
and
Find[Select]
if (!empty($modSettings['enableOpenID']))
echo '
<br /><input type="text" name="openid_identifier" id="openid_url" size="25" class="input_text openid_login" />';
echo '
<input type="hidden" name="hash_passwrd" value="" />
</form>';
Add After[Select]
show_facebook();
i have tried searching for these but there does not seem to be anything that matches it
Quote from: Sleepy Arcade on July 25, 2010, 10:41:27 AM
@wizzard1 what theme you using
im using the http://custom.simplemachines.org/themes/index.php?lemma=2193
glassy curve
its gimme when i allow facebook app. on smf page The database value you're trying to insert does not exist: name whats the solution ?
my url = www.sdu.gen.tr
Quote from: Sleepy Arcade on July 25, 2010, 10:41:27 AM
Quote from: Greenman on July 25, 2010, 01:08:34 AM
Fatal error: Uncaught CurlException: 28: Connection time-out thrown in /forum/fbc/facebook.php on line 512
It went to the facebook screen where I allow the access, but then nothing happens. When I go to the facebook page to login, it jsut times out with that.. ^
Help? (SMF2 RC3)
that heppens sometimes it is facebook not the mod
Weird.. I have yet to get it working. Not even once. It just times-out everytime. Hmm.. ???
@ Sleepy Arcade
I sent pm on sa-mods.info
Quote from: erorcun on July 25, 2010, 05:31:16 AM
Quote from: MATTEK on July 25, 2010, 05:03:13 AM
Still same error
Try this file.
Parse error: syntax error, unexpected T_VARIABLE in /homepages/46/d274007555/htdocs/fbc/fbmain.php on line 10
Hello, I've followed all the instructions, and I can't seem to get it to work.
An error occurred with gatesoflife.net. Please try again later.
API Error Code: 100
API Error Description: Invalid parameter
Error Message: next is not owned by the application.
That is what I get when I click on the facebook connect button
@ MATTEK you need to update your php version to php5
@psybadek and you have setup you facebook application?
How do I do that.
Quote from: Sleepy Arcade on July 25, 2010, 11:15:23 AM
ok i think it may be your php version cos i use php5 and connot replicate this can you ask your host to update your php version? they should do it for you
Okay. Thank you.
Hi Sleepy,
Very good mod. Thank's :)
The French translation for this mod.
// FB Connect Beta 1.0 Beta4-1
$txt['fb_app_uinfo'] = 'Informations Utilisateurs';
$txt['fb_app_uid'] = 'Id Utilisateur';
$txt['fb_app_uname'] = 'Nom';
$txt['fb_app_ulink'] = 'Lien';
$txt['fb_app_ulink1'] = 'Votre Profil';
$txt['fb_app_bday'] = 'Anniversaire';
$txt['fb_app_location'] = 'Localisation';
$txt['fb_app_uemail'] = 'Courrier';
$txt['fb_app_ugenl'] = 'Genre';
$txt['fb_app_e_uinfo'] = 'Autoriser les Informations Utilisateurs';
$txt['fb_app_ypages'] = 'Vos Pages';
$txt['fb_app_yf'] = 'Vos Amis';
$txt['fb_app_unsync_accounts'] = 'Désynchroniser les Comptes';
$txt['fb_app_e_comment_ssss'] = 'Commentaires';
$txt['fb_unsync'] = 'Désynchroniser Facebook';
$txt['fb_make_sure_unsync'] ='Désynchroniser le Compte du Forum et de Facebook Maintenant!';
$txt['fb_unsync_sure'] = 'Etes-vous certain de vouloir Désynchroniser le Compte du Forum et de Facebook Maintenant ?';
$txt['fb_app_e_drop'] = 'Autoriser le menu déroulant';
$txt['fb_app_e_stream1'] = 'Direct Stream';
$txt['fb_app_menu'] = 'Menu';
$txt['fb_app_fbbook_fp'] = 'Amis';
$txt['fb_app_stream_boxid'] = 'Votre Boîte de dialogue Direct Stream XID<div class="smalltext>L\'identificateur est unique pour cet ensemble de commentaires. Les commentaires peuvent contenir des caractères alphanumériques (Aa-Zz, 0-9), traits d\'union (-), pourcentages (%), ponctuations (.), et soulignements (_) (en effet, le résultat de tout url encodée peut être un XID valide). </div>';
$txt['fb_admin_stream_box'] = '<div align="center">Options de votre boîte de dialogue Direct Stream</div>';
$txt['fb_app_e_stream'] = 'Autoriser le Direct Stream';
$txt['fb_app_e_rec'] = 'Autoriser les Recommendations';
$txt['fb_app_e_fp'] = 'Autoriser Facepile';
$txt['fb_app_Rec'] = 'Recommendations';
$txt['fb_app_liketopic'] = 'Autoriser comme sujet de fond';
$txt['fb_app_id'] = 'L\'id de votre Application Facebook';
$txt['fb_title123'] = 'Intégrer avec Facebook';
$txt['fb_enable_fbc_menu'] = 'Afficher Facebook dans le Menu <div class="smalltext">Si il n\'est pas défini il s\'affichera au dessus de l\'avatar</div>';
$txt['sa_fbc_live'] = 'SA Mods Live';
$txt['sa_fbc_version'] = 'Version Info';
$txt['sa_fbc_cversion'] = 'Version Courante';
$txt['sa_fbc_lversion'] = 'Dernière Version';
$txt['sa_fbc_smfversion'] = 'Version de SMF';
$txt['sa_fbc_downloadl'] = 'Télécharger Maintenant';
$txt['sa_fbc_credits'] = 'Crédits';
$txt['fb_admin_main2'] = 'Main';
$txt['fbc_crdits'] = '<p><b>Développeur & Créateur:</b> <a href="http://sleepy-arcade.ath.cx/battle2">SA Mod Development Site</a></p>
<p><b>Remerciements Spéciaux à :</b><br />
<a href="http://www.sa-mods.info/index.php?action=profile;u=53"><º}}}>( </a> Beta Testeur<br />
<a href="http://thetwoworldsforum.com/">Dismal Shadow</a> Beta Testeur<br />
<a href="http://www.sa-mods.info/index.php?action=profile;u=115">NIBOGO</a> Beta Testeur<br />
<a href="http://www.sa-mods.info/index.php?action=profile;u=91">Spoogs</a> Beta Testeur<br />
<a href="http://www.sa-mods.info/index.php?action=profile;u=179">Nend</a> Beta Testeur<br />
<a href="http://ogrencilerkulubu.com/smf/">??t? </a> Traduction Turque<br /><br />
Pour tout les autres, Merci!';
$txt['fb_dispwp'] ='Autoriser les Messages du Mur quand on se connecte avec Facebook';
$txt['fb_regusername'] ='Nom';
$txt['fb_regpass1'] ='Choisir un Mot de Passe';
$txt['fb_regpass2'] ='Vérifier le Mot de Passe';
$txt['fb_regallready1'] ='Déjà Enregistré ? Cliquer';
$txt['fb_regallready2'] ='Ici';
$txt['fb_regallready3'] ='pour vous Connecter';
$txt['fb_make_sure_avs'] ='Mise à jour de votre Avatar avec votre image Facebook!';
$txt['fb_make_sure_sync'] ='Synchroniser le compte du Forum et Facebook Maintenant!';
$txt['fb_admin_nofb_user'] ='Il n\'y a aucuns utilisateurs de facebook enregistrés à présent';
$txt['fb_custom_fbr'] ='Facebook Renvois de liens';
$txt['fb_custom_regdischo'] = 'Choisir un Nom à Afficher';
$txt['fb_custom_enable_ref'] = 'Autoriser le Support Pour jblazes Referals Mod<div class="smalltext">Vous devez avoir <a href="http://custom.simplemachines.org/mods/index.php?mod=1114">Referrals Mod </a>Installé</div>';
$txt['fb_reg_real_name_error'] = 'Désolé le nom que vous avez choisi existe déjà veuillez en choisir un autre';
$txt['fb_admin_logs'] = 'Logs Facebook';
$txt['fb_admin_logs_member'] = 'Membre';
$txt['fb_admin_logs_memberid'] = 'Membre ID';
$txt['fb_admin_logs_dr'] = 'Date d\'enregistrement';
$txt['fb_admin_logs_fuid'] = 'Votre Id Facebook';
$txt['fb_admin_logs_name'] = 'Votre Nom Facebook';
$txt['fb_admin_logs_pro'] = 'Votre Profil Facebook';
$txt['fb_admin_commets_box'] = '<div align="center">Options pour la Boîte de Commentaires</div>';
$txt['fb_admin_commets_post'] = 'Nombre de Commentaires à Afficher dans la Boîte de Commentaires';
$txt['fb_app_comments_boxid'] = 'Votre Boîte de Commentaires XID<div class="smalltext>L\'identificateur est unique pour cet ensemble de commentaires. Les commentaires peuvent contenir des caractères alphanumériques (Aa-Zz, 0-9), traits d\'union (-), pourcentages (%), ponctuations (.), et soulignements (_) (en effet, le résultat de tout url encodée peut être un XID valide). </div>';
$txt['fb_admin_setsh1'] = 'Autoriser le partage de Sujets sur Facebook de ce Forum';
$txt['fb_admin_setsh2'] = 'Autoriser ceci affichera une icône du sujet pour facebook';
$txt['fb_admin_set1'] = '<div align="center">Options Principales</div>';
$txt['fb_admin_set2'] = '<div align="center">Options pour la page de Fans</div>';
$txt['fb_admin_set3'] = '<div align="center">Api Key et Secret</div><div class="smalltext">Cliquer ceci <a href="http://www.facebook.com/developers/apps.php">ici</a> si vous ne possédez pas encore votre code</div>';
$txt['fb_app_facebook_log_out'] = 'Autoriser la déconnexion Facebook <div class="smalltext">vous déconnecter de facebook et vous reconnecter vers le site</div>';
$txt['fb_app_width'] = 'Fan box avec';
$txt['fb_app_key'] = 'Facebook Application Key';
$txt['fb_app_sharetopic'] = 'Autoriser le partage de sujets';
$txt['fb_app_fans'] = 'Autoriser la Page des Fans';
$txt['fb_enable_fb_com'] = 'Autoriser le système de commentaires Facebook';
$txt['fb_app_connection'] = 'Fans à Afficher';
$txt['fb_app_pageid'] = 'Votre id application pour les pages <div class="smalltext">doit-être définie dans l\'url de votre application</div>';
$txt['fb_app_stream'] = 'Afficher les Fans <div class="smalltext">Mettre 0 pour afficher juste les Fans ou 1 pour afficher les stream et fans</div>';
$txt['fb_app_secret'] = 'Facebook Application Secret';
$txt['fb_integrate'] = 'Intégrer votre compte du forum avec Facebook';
$txt['fb_update'] = 'Mise à jour de votre Status Facebook.';
$txt['fb_admin'] = 'SA Facebook Connect';
$txt['fb_admin_main'] = 'Configuration Générale';
$txt['fb_enable'] = 'Activer le module Facebook Connect';
$txt['fb_enable_wt_mod'] = 'Autoriser le Support pour VBGamers Welcome Topic Mod <div class="smalltext">Vous devez avoir <a href="http://custom.simplemachines.org/mods/index.php?mod=789">Welcome Topic Mod </a>Installé</div>';
$txt['fb_invite'] = 'Inviter les Amis à se Joindre';
$txt['fb_title'] = 'Facebook Connect';
$txt['fb_title1'] = 'Vous êtes connecté avec succès avec Facebook!';
$txt['fb_title2'] = 'Voici quelques choses que vous pouvez faire avec Facebook Connect';
$txt['fb_title3'] = 'Vous n\'êtes pas Connecté avec Facebook!';
$txt['fb_title_inv'] = 'Facebook Invite';
$txt['fb_inv'] = 'Ceci est une invitation de';
$txt['fb_inv_app'] = 'application';
$txt['fb_inv1'] = 'Aller vers';
$txt['fb_inv2'] = 'Page!';
$txt['fb_inv3'] = 'Invitez vos amis à l\'utiliser';
$txt['fb_inv4'] = 'Merci pour votre Invitation';
$txt['fb_inv5'] = 'de vos Amis sur';
$txt['fb_inv6'] = 'Cliquez ici pour revenir à';
$txt['fb_inv7'] = 'a commencé à utiliser';
$txt['fb_inv8'] = 'et c\'est une pensée <u>tellement cool que vous devriez essayer</u>!';
$txt['fb_inv9'] = 'Mettez';
$txt['fb_inv10'] = 'sur votre profil';
$txt['fb_avatar'] = 'Mettez à jour votre avatar à Votre image Facebook';
$txt['fb_avatar1'] = 'Facebook Avatar';
$txt['fb_avatar2'] = 'Votre Avatar est bien changé';
$txt['fb_avatar3'] = 'Etes-vous sur de vouloir mettre à jour votre Avatar ?';
$txt['fb_yes'] = 'oui';
$txt['fb_no'] = 'non';
$txt['fb_or'] = 'ou';
$txt['fb_sync'] = 'Facebook Synchronisation';
$txt['fb_sync1'] = 'Etes-vous sur de vouloir synchroniser votre Facebook avec votre compte du Forum ?';
$txt['fb_share'] = 'Partager ce Site sur facebook';
$txt['fb_fans'] = 'Page de Fans';
$txt['fb_fans1'] = 'Facebook Fan Page';
$txt['fb_haslogged'] = 'est connecté à';
$txt['fb_haslogged2'] = 'utilise facebook connect';
$txt['fb_reg1'] = 'Connexion Facebook';
$txt['fb_reg2'] = '(vous ne devrez le faire qu\'une fois)';
$txt['fb_reg8'] = 'Afficher le Nom';
$txt['fb_reg3'] = 'Va';
$txt['fb_reg4'] = 'Veuiller entrer votre Nom Utilisateur';
$txt['fb_reg44'] = 'Informations Requises';
$txt['fb_reg45'] = 'Informations Additionnelles';
$txt['permissiongroup_simple_facebookperm'] = 'Facebook Connect';
$txt['permissiongroup_facebookperm'] = 'Facebook Connect';
$txt['permissionhelp_share_topic'] = 'Si l\'utilisateur est autorisé à Partager des Sujets sur Facebook';
$txt['permissionname_share_topic'] = 'Partager les Sujets sur Facebook';
$txt['fbshare_share'] = 'Partager le Forum';
$txt['fb_custom_profile'] = 'Autoriser le Support Pour Personnaliser les Champs du Profil';
$txt['fb_enable_avs_mod'] = 'Autoriser le Support Pour VBGamers Avatar Select On Register Mod <div class="smalltext">Vous devez avoir <a href="http://custom.simplemachines.org/mods/index.php?mod=368">Avatar Select On Register Mod </a>Installé</div>';
// FB Connect Beta 1.0 Beta4-1
:)
Quote from: Sleepy Arcade on July 27, 2010, 09:41:45 AM
@psybadek and you have setup you facebook application?
nevermind, it seems it will not work if the www is not included in the connect url
I've upgraded to php5, cleared cache, and performed all other maintenance and I'l still getting :
Parse error: syntax error, unexpected T_VARIABLE in /homepages/46/d274007555/htdocs/fbc/fbmain.php on line
you have to undo the changes you made to fbmain.php
Quote from: Sleepy Arcade on July 27, 2010, 08:52:43 PM
you have to undo the changes you made to fbmain.php
lol. Now I'm getting
Fatal error: Uncaught CurlException: 6: name lookup timed out thrown in /homepages/46/d274007555/htdocs/fbc/facebook.php on line 51
in fbc/facebook.php find
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
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/',
);
Seems to be working. Thank you.
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.,
Hi Sleepy Arcade,
First of all, Many thanks for a such a nice MOD!!!!!
I went through the installation, everything went fine and no errors so far.
But I need a very minor modification. first of all i am a noob, using SMF only for 2 days.
tried for an hour to find a way, but wanted to ask before crush the whole site :D
I want to delete or hide (get rid off) the facebook login at the top of the page next to the textbox, and still be able to keep the facebook connection at "login page" and "User Info"
pls refer to the attached file, if i am not making sense or ple take a look at the forum at http://www.californiaturkleri.com/
Thanks much beforehand!!
Ben modun 2. yazarıyım.
Şunu türkçe anlatırsan dediğin şeyi yapabilirim, ingilizceyi çok iyi bilmiyorum da. :D
Quote from: erorcun on July 29, 2010, 07:17:26 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. ;)
Quote from: erorcun on July 29, 2010, 07:17:26 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.
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!!
Quote from: grafitus on July 29, 2010, 07:28:35 AM
Quote from: erorcun on July 29, 2010, 07:17:26 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.
@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 :)
Quote from: erorcun 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 :)
Thank you for the reply!!
there are 3 show_facebook() in the theme's index.template.php
1.
function show_facebook()
{
global $settings, $user.....
2.
if(empty($modeSettings['fb_enable_fbc_menu']))
{
show_facebook();
}
3.
<input type="hidden" name+"hash_passwrd" value"" />
</form>';
show_facebook();
}
P.S i attached the index.template.php of my theme
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!!
I'm still wondering why my buttons have disappeared.
Quote from: MATTEK on July 29, 2010, 03:10:37 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.
Quote from: UltraEffect on July 29, 2010, 05:35:59 PM
Quote from: MATTEK on July 29, 2010, 03:10:37 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.
Quote from: MATTEK on July 29, 2010, 06:08:40 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!
Quote from: vomega on May 20, 2010, 06:18:16 PM
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!
Quote from: MATTEK on July 29, 2010, 12:44:22 AM
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.
Mattek, have you uninstalled the mod in full and reinstall (upgrade) it or can you explain your problem further?
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.
Quote from: Sleepy Arcade on July 27, 2010, 11:54:39 PM
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
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?
Yes and that was made to facebook.php
Hmmm... That shouldn't touch anything on your site at all.
@ 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
It might be a conflit there, preharps use this one for your traffic need? http://www.simplemachines.org/community/index.php?topic=360150.0
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
got a link to your site and a test account? pme if you want
new version realsed 1.0beta5
added more option for like feture
fixed missing global in index.template.php
fixed undefined index gender
fixed undefined index birthday
fixed undefined index location
fixed undefined index email
fixed Connection time-out thrown error
fixed Param uids must be a number error
fixed not being able to use faceboook connect when guest aint allwed to brouse the forum
fixed users being able to register while registration is disabled
fixed statying logged in issuses from loggin in via facebook connect
added ssi support see yoursite.com/ssi_facebook_examples.php for usage and examples
now checks for php version and error msg is not using php5
added check to see is varibles are empty in fb_connect_subs.php
fixed hard coded text strings
support for different languages
added support for license agreement when registering
added support for hide email when registering with facebook
moved all socile plugins to there own admin page
Quote from: Sleepy Arcade on August 04, 2010, 10:52:54 AM
new version realsed 1.0beta5
added more option for like feture
fixed missing global in index.template.php
fixed undefined index gender
fixed undefined index birthday
fixed undefined index location
fixed undefined index email
fixed Connection time-out thrown error
fixed Param uids must be a number error
fixed not being able to use faceboook connect when guest aint allwed to brouse the forum
fixed users being able to register while registration is disabled
fixed statying logged in issuses from loggin in via facebook connect
added ssi support see yoursite.com/ssi_facebook_examples.php for usage and examples
now checks for php version and error msg is not using php5
added check to see is varibles are empty in fb_connect_subs.php
fixed hard coded text strings
support for different languages
added support for license agreement when registering
added support for hide email when registering with facebook
moved all socile plugins to there own admin page
I haven't got a chance to upgrade with last updated version. Now that's already obsolete and this is the new 'trend'. Can't wait to try it. Great job Sleepy!
Quote from: Sleepy Arcade on August 04, 2010, 10:52:54 AM
new version realsed 1.0beta5
added more option for like feture
fixed missing global in index.template.php
fixed undefined index gender
fixed undefined index birthday
fixed undefined index location
fixed undefined index email
fixed Connection time-out thrown error
fixed Param uids must be a number error
fixed not being able to use faceboook connect when guest aint allwed to brouse the forum
fixed users being able to register while registration is disabled
fixed statying logged in issuses from loggin in via facebook connect
added ssi support see yoursite.com/ssi_facebook_examples.php for usage and examples
now checks for php version and error msg is not using php5
added check to see is varibles are empty in fb_connect_subs.php
fixed hard coded text strings
support for different languages
added support for license agreement when registering
added support for hide email when registering with facebook
moved all socile plugins to there own admin page
What would you do without me to test it? ;)
Works great. good job
I have a successful install but failed to get a working connection with FB. I am reverting back to the old version.
And have to do it manually since the mod doesn't remove all the codes though no error is shown. :'(
Can you please tell what doesn't work? Because it does work for me.
Quote from: ahrasis on August 05, 2010, 11:50:54 AM
I have a successful install but failed to get a working connection with FB. I am reverting back to the old version.
what do you mean by failed to get a working connection ?
veiwinf facebook connect
logging in
registering
syncing
other please say
Quote from: ahrasis on August 05, 2010, 11:50:54 AM
I have a successful install but failed to get a working connection with FB. I am reverting back to the old version.
My guess is duplicate code of the old version. It seems there when I am cleaning one of the file though uninstall is perfectly successful. I'll try again later. Try to note unclean install as one of the bug?
Quote from: Sleepy Arcade on August 05, 2010, 12:29:26 PM
Quote from: ahrasis on August 05, 2010, 11:50:54 AM
I have a successful install but failed to get a working connection with FB. I am reverting back to the old version.
what do you mean by failed to get a working connection ?
veiwinf facebook connect
logging in
registering
syncing
other please say
It fails to connect at all. All button cannot press (no button just words). Some of the menu fails completely. The reason may be as I stated above.
I have been using it fine before so, it may be just an old code.
that could be right yes the old code will cause buttins not to work /click i had this problem on sleepy arcade ages ago
Quote from: Sleepy Arcade on August 05, 2010, 12:36:04 PM
that could be right yes the old code will cause buttins not to work /click i had this problem on sleepy arcade ages ago
Don't worry Sleepy your mod is awesome. May be it's just me. I will tested again later when I finished checking and cleaning up.
lol np
It seems not all code were removed from index.template.php only. Otherwise, I should have successfully manage to run your mod without problem. It is now installed and running perfectly. Thanks for a great mod.
glad you got it working
Just one more thing, can you make all link to facebook open in new tab on the next version. I dont want people to leave the site e.g. if they click one of the friend picture.
will do ive made a note so i dont forget
That will be more awesome. Thanks for noting it. :D
I have helped him in some areas to transfer links into a new tab using target="_blank
Quote from: Dismal Shadow on August 05, 2010, 01:42:21 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.
What I have to do to let it work with another template?
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. :-\
@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
This is the index.
What I have to chage? and where?
Thx
here you go try this but please back up first
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.
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
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 :)
Just a suggestion, can you make this mod to modify SimplePortal as well?
ill look into it
Quote from: program5 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 :)
more info ?
Quote from: ahrasis on August 10, 2010, 11:58:12 AM
Just a suggestion, can you make this mod to modify SimplePortal as well?
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.
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.
@MATTEK sure attach the files
@eng_HK
you need to add this function to your theme index.tmoplate.php
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>';
}
}
}
@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.
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
Quote from: MyOutdoorsIowa 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
Thanks,
Darrin
Yeah, I think he's working on it. :)
Quote from: Dismal Shadow on August 14, 2010, 01:06:05 PM
Quote from: MyOutdoorsIowa 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
Thanks,
Darrin
Yeah, I think he's working on it. :)
Thanks for the instant reply! 8)
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 ?>
Quote from: eng_HK 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.
@sleepy
I received and error like
Call to undefined function trackStats() in /web/htdocs/www.MYFORUM.IT/index.php on line 225
hmm weird cos that function is defined in that file
Did you tryied to use that theme? what I can do?
pls don't say to unistall the mod...
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
Hi there!
can you help me how to add manually the FB login button to my cargo theme..
sure i would say post the index.template here but it a paid theme right? pm me the index.template.php from that theme
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.
@sleepy
did you take a look to my subs??
what do you think about that prblm?
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! :)
@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
I'm using ultraedit e filezilla...
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?
@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.
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???
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?
How can I install this mod? I'm going crazy!!
First step is create a facebook aplication and now?
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
EditedOk 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?
Go back to your application on facebook and make sure you set the connect url
whats your web address
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.
As far as i know it only works on 1.1.11
read the reply i allready anserd
Quote from: Sleepy Arcade on August 19, 2010, 05:09:00 PM
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?
Thx Spoogs,
and I'm sorry, Sleepy, I just notice your answer :-[
I checked smf version from Administration center, it shows 1.1.2.
I try followed steps link below to add facebook connnect on my website.
http://custom.simplemachines.org/mods/index.php?action=parse
(I select SA_FBConnect_0.2_smf11x.zip, and choose version 1.1.2 in Manual Install Instructions for SMF)
but it not work, it's not show facebook icon, when I click on topic in forum, it show error like 'contact admin', and it have not file portalblocks.php in my smf directory.
PS.Sorry for my bad english.
@sleepy
I tried to put inside the index.template.php the global bla bla bla but always the same result.



I made the modification you suggest, but I don't have the showfacebook function inside the sub.php but cut the showfacebook from the core template.
And again I can see thelike only with admin and moderator, I can assure you that the permission for members is set to allow.
Also a new test I made is to unistall the MOD and after re-install in all template again.. Now I take care about error on my template and the error are:
Error:
1)
Find[Select]
echo !empty($settings['forum_width']) ? ' <div id="wrapper" style="width: ' . $settings['forum_width'] . '">' : '', '
Add Before[Select]
if ($context['user']['is_logged'] && !empty($modSettings['fb_enable_fbc_menu'])) { global $boarddir; include_once $boarddir.'/fbc/facebook_init_main.php'; }
2)
Find[Select]
if (!empty($modSettings['enableOpenID'])) echo ' <br /><input type="text" name="openid_identifier" id="openid_url" size="25" class="input_text openid_login" />'; echo ' <input type="hidden" name="hash_passwrd" value="" /> </form>';
Add After[Select]
show_facebook();
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>';
Comments Box Options
what to put in Your Comments Box XID ??
@ eng_HK and you also added it to your custiom themes index.template.php
@talktoanil read the descriptin it tells you there basicly anything will do eg in mine i have sa_comments but dont use that cos i think you will end up with my comments lol maybe talktoanil_site_comments will do?
sllepy, sorry, but I don't understand.
Add what?? the point 1 ? the point 2 ?? where I can add it in the index.template.php ? manually? in wich point?at the end of file? or from the global board untill /script? and this must be added to indextemplate.php ???
sorry
this
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>';
goes after
echo $context['html_headers'];
in index.template.php
I dont understand the link at te top of the forum "Facebook Connect Integrate forum account with Facebook." ???
I get this anyway when anyone clicks it...
Parse error: syntax error, unexpected '{' in /home/content/c/r/u/me1/html/theforum/fbc/fbmain.php on line 7
Also when you click on the like button, the small comments section underneath dosnt show up properly..
I am using the curve default on 2.0 RC3
Quote from: Spoogs 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
Where is this option? I don't watch this option!
Edit:My web is hosted in a free hosting like http://MYWEB.THEHOST.COM and if I put the domain in "Web Site" in "Site URL" and "Site Domain" facebook shows this message : "Site Domain: http://www.xxxxx.xxxhost.com is not a valid domain."
Or. "URL must point to a directory (i.e., end with a '/' or a dynamic page (i.e., have a '?' somewhere)."
I don't understand nothing! :S :( Help!
Can anybody tell me the reason why? Thanks!!!
Quote from: PortalGamers on August 20, 2010, 06:23:59 PM
Quote from: Spoogs 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
Where is this option? I don't watch this option!
Edit:
My web is hosted in a free hosting like http://MYWEB.THEHOST.COM and if I put the domain in "Web Site" in "Site URL" and "Site Domain" facebook shows this message : "Site Domain: http://www.xxxxx.xxxhost.com is not a valid domain."
Or. "URL must point to a directory (i.e., end with a '/' or a dynamic page (i.e., have a '?' somewhere)."
I don't understand nothing! :S :( Help!
Can anybody tell me the reason why? Thanks!!!
Sent you a Pm about this yesterday
Sleepy, Please
Quote from: savek on August 19, 2010, 10:54:01 PM
Thx Spoogs,
and I'm sorry, Sleepy, I just notice your answer :-[
I checked smf version from Administration center, it shows 1.1.2.
I try followed steps link below to add facebook connnect on my website.
http://custom.simplemachines.org/mods/index.php?action=parse
(I select SA_FBConnect_0.2_smf11x.zip, and choose version 1.1.2 in Manual Install Instructions for SMF)
but it not work, it's not show facebook icon, when I click on topic in forum, it show error like 'contact admin', and it have not file portalblocks.php in my smf directory.
PS.Sorry for my bad english.
Why are you using smf 1.1.2? You must get latest version!
Quote from: Spoogs on August 20, 2010, 09:00:06 PM
Quote from: PortalGamers on August 20, 2010, 06:23:59 PM
Quote from: Spoogs 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
Where is this option? I don't watch this option!
Edit:
My web is hosted in a free hosting like http://MYWEB.THEHOST.COM and if I put the domain in "Web Site" in "Site URL" and "Site Domain" facebook shows this message : "Site Domain: http://www.xxxxx.xxxhost.com is not a valid domain."
Or. "URL must point to a directory (i.e., end with a '/' or a dynamic page (i.e., have a '?' somewhere)."
I don't understand nothing! :S :( Help!
Can anybody tell me the reason why? Thanks!!!
Sent you a Pm about this yesterday
Men, I follow your steps.
Ok, I'm Spanish and first of all, I was have to Change different things in the package to view the Option panel in my language. Now I can view the option panel ;) and configure it.
Now It's configured with the ID, API ID and Secret Key (bla bla bla) and now you tell me that I must set the connect url in FaceBook. OK Where can I configure This? If is in "Web" How I write it? What must write in "Site URL" and "Site Domain"?
Thanks :S
EDIT: I only see this!
Quote from: crustybum on August 20, 2010, 05:23:34 PM
I dont understand the link at te top of the forum "Facebook Connect Integrate forum account with Facebook." ???
I get this anyway when anyone clicks it...
Parse error: syntax error, unexpected '{' in /home/content/c/r/u/me1/html/theforum/fbc/fbmain.php on line 7
Also when you click on the like button, the small comments section underneath dosnt show up properly..
I am using the curve default on 2.0 RC3
you need php 5 to use this mod ask your host to update it they should do it for free
Quote from: PortalGamers on August 21, 2010, 05:36:51 AM
Quote from: Spoogs on August 20, 2010, 09:00:06 PM
Quote from: PortalGamers on August 20, 2010, 06:23:59 PM
Quote from: Spoogs 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
Where is this option? I don't watch this option!
Edit:
My web is hosted in a free hosting like http://MYWEB.THEHOST.COM and if I put the domain in "Web Site" in "Site URL" and "Site Domain" facebook shows this message : "Site Domain: http://www.xxxxx.xxxhost.com is not a valid domain."
Or. "URL must point to a directory (i.e., end with a '/' or a dynamic page (i.e., have a '?' somewhere)."
I don't understand nothing! :S :( Help!
Can anybody tell me the reason why? Thanks!!!
Sent you a Pm about this yesterday
Men, I follow your steps.
Ok, I'm Spanish and first of all, I was have to Change different things in the package to view the Option panel in my language. Now I can view the option panel ;) and configure it.
Now It's configured with the ID, API ID and Secret Key (bla bla bla) and now you tell me that I must set the connect url in FaceBook. OK Where can I configure This? If is in "Web" How I write it? What must write in "Site URL" and "Site Domain"?
Thanks :S
EDIT: I only see this! 
it all chnaged lol under website Site URL put your site url in there eg mine is set to http://www.sleepy-arcade.info
Worked with him and got him up to speed already ;)
ahh thanks :)
Hi Sleepy, it is php 5 that i have.....
Hello guys, just found this critical errors in my SMF2.0 RC3 log:
Guest
89.133.189.96
August 19, 2010, 09:51:10 PM
b2b743926938f030070390d505488a33
type of error: Critical
http://curefans.com/index.php?action=facebook;area=connect;step
The database value you're trying to insert does not exist: name
Function: db_select_fb_nameFile: /home6/curefans/public_html/Sources/FB_Connect/FB_Connect_Subs.php
Line: 65
Any help is appreciated!
Sorry I promise this is the last question...
After Unistalling the mod I continuing to see in my theme the Facebook connect Button, but if I click it doesn't do anything because I have unistalled the mod.
To be more clear is the part on the menu dedicated to the SYNC procedure, but actually I don't have the mod installed and also the directory FBC is removed, how i can remove this ?
Quote from: dsanchez on August 21, 2010, 07:04:39 PM
Hello guys, just found this critical errors in my SMF2.0 RC3 log:
Guest
89.133.189.96
August 19, 2010, 09:51:10 PM
b2b743926938f030070390d505488a33
type of error: Critical
http://curefans.com/index.php?action=facebook;area=connect;step
The database value you're trying to insert does not exist: name
Function: db_select_fb_nameFile: /home6/curefans/public_html/Sources/FB_Connect/FB_Connect_Subs.php
Line: 65
Any help is appreciated!
Besides this, I found another error in my logs
http://curefans.com/index.php?action=facebook8: iconv() [<a href='function.iconv'>function.iconv</a>]: Detected an illegal character in input stringFile: /home6/curefans/public_html/Sources/FB_Connect/FB_Connect_Subs.php
Line: 16
Thanks in advance!
Quote from: eng_HK on August 22, 2010, 08:44:17 AM
Sorry I promise this is the last question...
After Unistalling the mod I continuing to see in my theme the Facebook connect Button, but if I click it doesn't do anything because I have unistalled the mod.
To be more clear is the part on the menu dedicated to the SYNC procedure, but actually I don't have the mod installed and also the directory FBC is removed, how i can remove this ?
Can you give index.template.php as attachment?
Or search and delete "show_facebook();" in index.template.php.
Solved thx, I enabled the error log and found a lot of error after unistall in the Subs.php
used an editor and removed thanks for your support.
I think this mode is greate, but unfortunately my user want to use a different theme than the defautl core so I have too much to personalize..
In other case I think is the best one!.
Thx
what version of the mod are you using?
Quote from: dsanchez on August 22, 2010, 09:01:10 AM
Quote from: dsanchez on August 21, 2010, 07:04:39 PM
Hello guys, just found this critical errors in my SMF2.0 RC3 log:
Guest
89.133.189.96
August 19, 2010, 09:51:10 PM
b2b743926938f030070390d505488a33
type of error: Critical
http://curefans.com/index.php?action=facebook;area=connect;step
The database value you're trying to insert does not exist: name
Function: db_select_fb_nameFile: /home6/curefans/public_html/Sources/FB_Connect/FB_Connect_Subs.php
Line: 65
Any help is appreciated!
Besides this, I found another error in my logs
http://curefans.com/index.php?action=facebook8: iconv() [<a href='function.iconv'>function.iconv</a>]: Detected an illegal character in input stringFile: /home6/curefans/public_html/Sources/FB_Connect/FB_Connect_Subs.php
Line: 16
Thanks in advance!
Quote from: Sleepy Arcade on August 22, 2010, 10:45:57 AM
what version of the mod are you using?
thanks for your help. I'm using SA FBConnect 0.2
hello again.. i have one simple question, why recommend button is visible only for guest?
thanks.. :)
Quote from: dsanchez on August 22, 2010, 01:22:09 PM
Quote from: Sleepy Arcade on August 22, 2010, 10:45:57 AM
what version of the mod are you using?
thanks for your help. I'm using SA FBConnect 0.2
update to the latest version cos these issus are solved in it
Quote from: eyeseven on August 22, 2010, 01:41:36 PM
hello again.. i have one simple question, why recommend button is visible only for guest?
thanks.. :)
set permissions up in admin/permissions
Installed Current Version: 1.0 Beta5 Rev264, will let you know if errors persist. Thank you!
Ho can i change the following text to white and bold.
QuoteBe the first of your friends to like this.
Ok I read through all 37 pages just for the record and couldn't find my answer. I'm using the default dark red theme. Version 1.1.11
I'm getting this error when ever I try to install
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
I have a facebook plugin on my portal that I removed first.
What am I missing? Oh I forgot to add I downloaded the mod to my pc then uploaded via package manager.
You must download "0.2_smf11x"
Quote from: erorcun on August 24, 2010, 08:04:55 AM
You must download "0.2_smf11x"
Thank you!! Going to try it now...
These are the errors I'm getting.
Quote from: Midnitelove on August 24, 2010, 01:12:15 PM
These are the errors I'm getting.
You can try installing manually. Or you can download "beta-5_forsmf1" file. Now I've uploaded. :D
Quote from: erorcun on August 24, 2010, 02:04:48 PM
Quote from: Midnitelove on August 24, 2010, 01:12:15 PM
These are the errors I'm getting.
You can try installing manually. Or you can download "beta-5_forsmf1" file. Now I've uploaded. :D
Downloaded and got the same errors so I did a manual install. Now I can't get in the forum. I'm getting this message. :(
Parse error: syntax error, unexpected T_IF in /home/quaine/public_html/Sources/PortalBlocks.php on line 1
Can you send index.template as attachment?
Here you go.
This file is working. Can you give PortalBlocks.php file?
I have installed SA_FBConnect_1.0+Beta5_rev264_forsmf1.zip on SMF 1.1.11.
Apart from having some $txt lines missing (like 'male','genders','login'), I got the thing running with no error messages in the error log.
However, only the admin account can connect. All others get "You Are not Connected With Facebook!" when they try to integrate. I can find no other permissions than "Share Topics on Facebook".
Anyone having the same problem, or know of a solution?
Thanks,
Abavagada
Quote from: erorcun on August 27, 2010, 07:33:42 AM
This file is working. Can you give PortalBlocks.php file?
Sorry, just seeing this. I have someone working on it. Thanks!!
Let me say this is an awesome mod. Should bring a lot more users into our forums.
I've installed version 0.2_smf11x on a brand new install of 1.1.11 at www.audia1world.com and it is working fairly well except that when I am logged in as Admin (so not logged in with my Facebook account) it won't let me log out.
Has anyone seen this problem before?
I have this mod fully up and running and I love it! Thanks Spoogs!
Is anyone using the Beta-5 version on SMF 1.1.11 able to connect as a normal member?
Or should I switch to version 0.2?
I'm not sure. There was a problem with the install on my 1.1.11, so I upgraded. However I don't know if that's the case for everyone...
Can anyone help me at all? I don't know why it won't connect for anyone except the admin.
I would really like to use this mod on my site, but if no one can help, then I have to remove it.
Thanks
link to your site please
Quote from: Spoogs on September 02, 2010, 04:31:34 PM
link to your site please
The forum part of it is here:
http://www.parleremo.org/forum/index.php
If no one could connect, I would figure it was a coding problem or a problem in setting up the Facebook app. However, the admin can use it, just no one else. When anyone else tries, it just says they are not connected.
Thanks
I was able to register and login just fine... FB had some API issues earlier today
I installed this last week, so it wasn't just the Facebook issue.
On one of my non-admin accounts, I was able to log in. However, if I try to unsync, it tells me there is a database error. Error log gives me:
"Database Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE ID_MEMBER = 33
LIMIT 1' at line 4" in Sources/Subs.php
it doesn't like $condition = 'ID_MEMBER = 33 LIMIT 1' in function updateMemberData.
Also, I still can't get my other non-admin account to log in. It still says "You are not connected to facebook" after opening a small window and immediately closing it.
Thanks for the help. I will try to look into these more in the morning.
Wish I knew what to tell ya, hopefully SA will see this and help you more than I can... I've been logging in and out of ur site with no issues
Quote from: Spoogs on September 02, 2010, 10:39:55 PM
Wish I knew what to tell ya, hopefully SA will see this and help you more than I can... I've been logging in and out of ur site with no issues
After a few hours, I got rid of the database error, but still can't get one of my non-admin accounts to connect. The only other thing I can think of is some kind of privacy setting on Facebook that won't let it log in. Does anyone know of such a setting?
Thanks
Fb has no such setting... at registration users are asked to allow permissions. I wish I could help you further but it refuses to break for me on your site :P
Quote from: Spoogs on September 03, 2010, 11:20:27 AM
Fb has no such setting... at registration users are asked to allow permissions. I wish I could help you further but it refuses to break for me on your site :P
Yes, I know. Only this one account now has an issue, and I have to figure out why. Thanks for your help.
:)
At last, I think I have found some hint of the problem.
It only doesn't work when I try to log in using Firefox (3.6.8) on WinXP. I've tried clearing out all the cache and cookies, but it still doesn't like it. I don't know if this helps anyone or not. I'm hoping it's just something up with my browser. I can log in using Chrome just fine.
Can someone help me, I'm really inexperienced with all of this. I created a facebook app on Facebook and it successfully transferred my site to the application page, which is good, but I'm trying to integrate facebook into my site with things like a facebook login button and like button. On the application page I found out how to generate the code for the social plug-ins, I just have no idea where to put the code or what to do with it... If it's easier to install this mod, could someone explain EXACTLY how I do that? haha it sounds dumb, but you have to pretend I know nothing because I'm pretty new to all of this
Thanks a lot!
you do not need the codes, the mod handles that for you
hey,
can anyone help me in installing this mod to sunshine2 theme by Fussilet (smfdesign.net)???????
please :(
attach the index.template.php from that theme or pm me it
here it is...
thanks :)
Ok, I uploaded the Mod by Sleepy Arcade, but what do I do now, I'm not seeing any change on my site. I turned subdomain independent cookies off as well...
Have you created an App on facebook?
Have you been to the mods ACP to see what is needed?
Quote from: The Desert Fox on September 06, 2010, 01:05:04 AM
Ok, I uploaded the Mod by Sleepy Arcade, but what do I do now, I'm not seeing any change on my site. I turned subdomain independent cookies off as well...
Please do tell, what smf version, what theme are you using?
Quote from: Sleepy Arcade on February 12, 2010, 01:36:11 PM
- Edit the settings, specially at Connect option, fill Connect URL with your website ie: http://example.com
- Goto admin/sa facebook connect and enter the keys in the correct places
I didn't find a "connect option" on the app page, but i entered my site's URL into the space for canvas URL, and that seemed to link my site to the app. I also don't know what admin/sa facebook connect means and whether that's on the app or my website..
I've put links to both my website and my facebook application below.
Quote from: Dismal Shadow on September 06, 2010, 01:43:10 AM
Please do tell, what smf version, what theme are you using?
I'm using SMF version 1.1.11 and the theme is Anecdota by Crip. Sorry about all this, I'm really new to all of this technical stuff. If you could be as clear as possible that'd be a huge help! :D
Thanks a lot guys
Website: http://www.communityandservice.com/ (http://www.communityandservice.com/)
Application: http://apps.facebook.com/pali_service/ (http://apps.facebook.com/pali_service/)
Quote from: !RFAN on September 05, 2010, 02:58:10 PM
here it is...
thanks :)
i uploaded index.template.php file .. please help me in applying this mod to this theme :(
Thanks
sry for the delay what version of the mod are you using?
m not a programmer.. i need step by step guide. an someone help me plz.
I uploaded and installed the latest version of the SA Facebook Connect Mod, but I still haven't seen any changes on my site...
I also made a facebook application that is linked to my site, but there's no social plug-ins appearing on my site at all.
Hopefully you can help me out
Quote from: The Desert Fox on September 08, 2010, 08:08:58 PM
I uploaded and installed the latest version of the SA Facebook Connect Mod, but I still haven't seen any changes on my site...
I also made a facebook application that is linked to my site, but there's no social plug-ins appearing on my site at all.
Hopefully you can help me out
Link to your site please
Quote from: tiger4020 on September 08, 2010, 05:04:58 PM
m not a programmer.. i need step by step guide. an someone help me plz.
Please provide some additional info
SMF version, link to site
What have you done so far?
Quote from: Spoogs on September 08, 2010, 08:53:58 PM
Quote from: The Desert Fox on September 08, 2010, 08:08:58 PM
I uploaded and installed the latest version of the SA Facebook Connect Mod, but I still haven't seen any changes on my site...
I also made a facebook application that is linked to my site, but there's no social plug-ins appearing on my site at all.
Hopefully you can help me out
Link to your site please
My Website: http://www.communityandservice.com/index.php
Quote from: The Desert Fox on September 08, 2010, 08:57:38 PM
Quote from: Spoogs on September 08, 2010, 08:53:58 PM
Quote from: The Desert Fox on September 08, 2010, 08:08:58 PM
I uploaded and installed the latest version of the SA Facebook Connect Mod, but I still haven't seen any changes on my site...
I also made a facebook application that is linked to my site, but there's no social plug-ins appearing on my site at all.
Hopefully you can help me out
Link to your site please
My Website: http://www.communityandservice.com/index.php
Check your PM
I was having problems with this mod when Facebook was doing their change over but got it working great now in 1.1.11 Thanx 4 the great mod
Therre you go Spoogs. My bad
Here you go
There's now a facebook integration bar at the top, but it pretty much rearranged my site...
When I downloaded ur file it came up as index.template.php(2), so i just uploaded it to my site and deleted the original, do you think that makes a difference? Should I have kept the original? Or is my theme incompatible with Facebook Integration?
It should have asked if you wanted to overwrite the exisitng file.
Hey everyone. I'm having some problems with this. I got the mod installed, "Connect with Facebook" appears near the log in (and an "Integrate with fbook" button in the top nav as well for my admin account). I created a fbook app, put the correct keys where they should go (app page ID, app key and app secret). I have enabled the fbook connect mod, share topic feature, show fbook in menu, fan page, and comment box.
So I log out of the forum (Still logged in to fbook.com), and try to "Connect with Facebook." I click the connect button and it takes me here:
imbazar.me/test/forum/?session={%22session_key%22:%222.hFnWUqBCqXo58dFpSCq6JA__.3600.1284087600-27002636%22,%22uid%22:27002636,%22expires%22:1284087600,%22secret%22:%22aWiZjRj6x0pp4EILUnntzA__%22,%22base_domain%22:%22www.imbazar.me%22,%22sig%22:%2221a2dfc10efeeb0ed6fc0058710439bd%22}&next=http://imbazar.me/test/forum/fbc/xd_receiver.htm%3Ffb_login%26fname%3D_opener%26guid%3D0.7241598272230476
So I know something is wrong, because it takes me back to the forum index page, and connected me to nothing, opening in a window 25% the size of my screen with no bookmarks or anything. So I think it's where I have my fbook app settings pointing to. The way I have it set up on the app page (which is not submitted to the directory because I am testing, I haven't launched this site yet, and in order to submit to directory they said I need 5 users which I don't have). I have the settings as this: site URL set to imbazar.me/test/forum, which is where my forum directory is located. Site domain set to www.imbazar.me. I'm not sure what to set the canvas page settings to (canvas page, canvas url, type and size, or bookmark URL).
Is this what is causing it to not work? There was nothing in the instructions (that I saw skimming) about this, and I am not a programmer, I haven't done a fbook app before. Any help would be greatly appreciated!! Thanks.
Ok....I need help over here...
I tried to download the SA Facebook Connect Mod...
After I uploaded it and was about it install it....
I received the message that...the Package is corrupt or damaged.....
Due to this I tried the other mods, but were all working well...
Please what might be the cause of this since I really need it.....
Hi There,
I have a Problem in Administration Menu. This Error is Just SA Facebook Admin Menu.
Fatal error: Call to undefined function conAdmin() in C:\Inetpub\vhosts\korkutatauniversitesi.net\subdomains\portal\httpdocs\Sources\Admin.php on line 529
How Can I Do it?
Thanks
Version : 2.0 RC3
Please.....I've Installed the SA - Facebook Connect...
I've Checked entered all the keys....Now...
I get this error...
Fatal error: Call to undefined function iconv() in /home/xghcom/public_html/forum/Sources/FB_Connect/FB_Connect_Subs.php on line 27
Please help me
Please these are my files.....
this script requires the iconv module to work. You might want to conect your host about it
There are four downloadable zip files for this mod. Which one should I install? =/ Running 2.0 RC3//
SA_FBConnect_0.2.zip
or
SA_FBConnect_1.0 Beta5_rev264_forsmf2.zip
You must make this edit for the registration through facebook to work....
Edit /Themes/default/languages/Login.english.php
add $txt['agreement_agree'] = 'I agree';
is that on the smf1 version?
Quote from: Sleepy Arcade on September 12, 2010, 01:33:15 PM
is that on the smf1 version?
Yup, and also I have noticed now I can not login to my forum with facebook from my computer but my ipod can fine along with my other computer. I wonder if it has to do with something being sent wrong to my browser
Quote from: Sleepy Arcade on September 08, 2010, 01:06:59 PM
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
well, everything went fine..
i even wrote the api key, secret key and app id correctly but when i click on connect with facebook i get this error..!
see picture//
plz help
you have your keys the wrong way round by the looks of it
Quote from: Sleepy Arcade on September 15, 2010, 02:06:10 PM
you have your keys the wrong way round by the looks of it
i checked it again.. but it seems to be correct..
i put Application ID in "Application Id", API Key in the "Facebook Application Key", and Application Secret in the "Facebook Application Secret".
i dont think any problem on this side......
on the website tab on the facebook application page whats in the site url feild?
Quote from: Sleepy Arcade on September 15, 2010, 04:00:11 PM
on the website tab on the facebook application page whats in the site url feild?
okay, there was a problem in app creating n url.. though figured it out.. thanks very much
Quote from: Sleepy Arcade on September 15, 2010, 04:00:11 PM
on the website tab on the facebook application page whats in the site url feild?
What about my issues
if you can login in fine from other computers as well as your phone... it will be pretty difficult to determine your issue without some serious specifics.
Try clearing your pc's cache and see if that helps any.
Well i cleared it, and it didn't work. Can you see if you can register http://f4gamers.com
Yes (http://f4gamers.com/index.php?action=profile;u=15)
Quote from: Spoogs on September 15, 2010, 07:31:45 PM
Yes (http://f4gamers.com/index.php?action=profile;u=15)
Well can you log in and out of the place, it is annoying that my computer is having issues
I can log in and out as well as access the fb options just fine
Quote from: Spoogs on September 15, 2010, 07:53:25 PM
I can log in and out as well as access the fb options just fine
Well i will look into it
What happens when you try to login via FB?
Quotehey,
can anyone help me in installing this mod to sunshine2 theme by Fussilet (smfdesign.net)?
please
QuoteQuote from: !RFAN on September 14, 2010, 10:45:59 AM
Quote from: Sleepy Arcade on September 08, 2010, 01:06:59 PM
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
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
where can i donwload it? :o
Quote from: 6748222 on September 16, 2010, 10:45:34 PM
where can i donwload it? :o
http://custom.simplemachines.org/mods/index.php?mod=2322
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
what version of SMF
What version of the mod?
SMF 1.1.11
1.0 Beta5 Rev264
Are you using a custom theme... if so have you made the necessary edits?
Oh ya. I'm using custom theme. Sorry.
Please tell me how to edit it. Thanks
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
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:
<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.
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
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 ?
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.
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:
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
@ im looking into this
@ RAULVK confirmed as a bug
if you move it from where it is and put ifbefore this
}
if (isset($settings['use_default_images']) && $settings['use_default_images'] == 'defaults' && isset($settings['default_template']))
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:
Quote1. 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!
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
Quotexyz 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 :-\
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.
Oh, so all I have to do is change the restrictions so that every member can access the boards right? But then, what would be the use of requiring registration if everyone is allowed to access all the boards. Thanks anyways though, I guess I will leave it as it is..
And manual edits, I thought about that too but I wasn't sure. sounds risky, given that my current version is working fine (after much efforts) and since the board is new and active, I wouldn't want to cause trouble for my new users. Might try it later, or will post on SA forums they might have a safer way about it..
Thanks a lot Spoogs. You have been great help :)
The guest dont have to be allowed to post .. .just allow to view should do the trick.
You're quite welcome... and if its working for ya then no need to mess with it. Easiest way to deal with it tho.. is download the necessary file (make a back up of your forum) copy the file you downloaded (just to be safe) make the edits upload to your server... if everything is working you're done... if not you still have the copy you made of the original just re-upload and you'll be back to where you were (in most cases)
So far the new release is working just fine here.
Quoteand if its working for ya then no need to mess with it. Easiest way to deal with it tho.. is download the necessary file (make a back up of your forum) copy the file you downloaded (just to be safe) make the edits upload to your server... if everything is working you're done... if not you still have the copy you made of the original just re-upload and you'll be back to where you were (in most cases)
Yup I usually do that, unless I am pretty much sure what I am doing. I guess I will give it a try in a day or two; you never know SA might introduce a new revision by then =p
And the guest thing is indeed the case, thanks a lot! Worked well. I just allowed guests in the boards settings, but I will set the permissions for Guests so they can only view it. Perfect. Thanks a bunch mate! ;)
already installed the mod, I can login as an account associate from forum to facebook but I can not make records, can you help me?
QuoteI can login as an account associate from forum to facebook but I can not make records, can you help me?
Can you please elaborate a little on the above? I might be able to assist you if I can have a better picture of the problem you are facing.
the only problem is when trying to make a new account Across the facebook. When it appears that the text of the Privacy Policy or what it is, I click the button to proceguiu and it does refresh the page.
Besides all the features are working properly
Quote from: Sleepy Arcade 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
}
if (isset($settings['use_default_images']) && $settings['use_default_images'] == 'defaults' && isset($settings['default_template']))
Sticking it there will put it inside a foreach loop, causing it to be echoed out once for every template layer that's defined. A better option would be to modify and move it a bit...
Find the global variables list inside setupThemeContext() (one function above the one where the code is currently placed) and add $boardurl to that list.
Then...
Find:
// Set some specific vars.
And add this before it:
$like_layout = empty($modSettings['liketopiclayout']) ? 'standard' : 'button_count';
$like_verb = empty($modSettings['liketopicverb']) ? 'like' : 'recommend';
$like_colour = empty($modSettings['liketopiccolour']) ? 'light' : 'dark';
$context['html_headers'] .= '
<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 = "'. $like_layout. '";
var like_verb = "'. $like_verb. '";
var like_colour = "'. $like_colour. '";
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>';
Some notes:
Using $context['html_headers'] will ensure it gets echoed out in the <head> section for every theme.
Defining the "like" settings separately is done because the inline conditionals cause it to output "light" or "dark" after a </script> tag otherwise (though I'm not quite sure why).
Commas can't be used to concatenate strings, so you have to change those to periods instead.
Hope that helps. It worked for me :)
aha thanks Oldiesmann i only relised after further testing myself i will corect this in next revision
Great news. I'll be awaiting too.
Hello again!
I have run into another problem, and this one is a major security risk!!
Here is the thing
My SA FC was working fine, but then I noticed that the IDs associated with my members were all jumbled up. Like there were total 18 members, and the last member who had joined us had an ID of 43 or something. So I wanted to fix it. I accessed my database, went to smf_members and changed the IDs there.
However, it seems that SA FC had associated FB profiles in relation to IDs, so now wrong FB profiles are associated with the wrong people!!
For example, this person abc had facebook profile http://www.facebook.com/abc and this other person xyz had profile http://www.facebook.com/xyz.
Lets say changing the IDs led to ABC's ID getting associated to XYZ. so now, if I visit XYZ's profile, his facebook profile link reads http://www.facebook.com/abc when it should be reading /xyz!!
This issue is because of IDs is my best guess, because before changing the IDs everything was fine.
How do I fix it, I have no clue. I have disabled the MOD for the meantime. I need to get this sorted out soon though. Any help please?? :'(
you can chnage the id's in the themes db table just like you did with the members
one question tho have you deleted any memebers cos it is usal for the id's to go out of whak i happens when you delete members it is not a bug :)
also it is very wise to always back up before editing things exspecily your db
Quoteyou can chnage the id's in the themes db table just like you did with the members
Well I would, but I wouldn't remember which ID to assign in order to get SA FB profiles to match with their forum users. Yes I deleted many members; I was trying to change the email templates so was testing them by registering myself every now and then and then rejecting myself, approving and so on :D
I am stuck =(
1. Disassociate your FB account from your forum account
2. Go to http://www.facebook.com/editapps.php?ref=mb (http://www.facebook.com/editapps.php?ref=mb) and click the "x" to remove the app
3. Re-Integrate with FB on your forum
(see if that helps)
Sounds a good option. You always have good suggestions to make spoogs, will give it a shot. Should work! :D Thanks!!
spoogs is on the ball lol i didnt think of that one
Quote from: Oldiesmann on September 21, 2010, 07:35:54 PM
Quote from: Sleepy Arcade 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
}
if (isset($settings['use_default_images']) && $settings['use_default_images'] == 'defaults' && isset($settings['default_template']))
Sticking it there will put it inside a foreach loop, causing it to be echoed out once for every template layer that's defined. A better option would be to modify and move it a bit...
Find the global variables list inside setupThemeContext() (one function above the one where the code is currently placed) and add $boardurl to that list.
Then...
Find:
// Set some specific vars.
And add this before it:
$like_layout = empty($modSettings['liketopiclayout']) ? 'standard' : 'button_count';
$like_verb = empty($modSettings['liketopicverb']) ? 'like' : 'recommend';
$like_colour = empty($modSettings['liketopiccolour']) ? 'light' : 'dark';
$context['html_headers'] .= '
<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 = "'. $like_layout. '";
var like_verb = "'. $like_verb. '";
var like_colour = "'. $like_colour. '";
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>';
Some notes:
Using $context['html_headers'] will ensure it gets echoed out in the <head> section for every theme.
Defining the "like" settings separately is done because the inline conditionals cause it to output "light" or "dark" after a </script> tag otherwise (though I'm not quite sure why).
Commas can't be used to concatenate strings, so you have to change those to periods instead.
Hope that helps. It worked for me :)
where i do that? wich file?
subs.php
code is a bit sloppy for custom themes...
show_facebook_like('','',6);
I suggest a better way would be
//manual edit facebook mod
if (function_exists("show_facebook_like"))
{show_facebook_like('','',6); }
this way if the mod is uninstalled and doesnt remove itself from your theme it doesnt crash SMF
i have done this with rev 272 thanksfor the sugestion
Has anyone used this mod in conjunction with smfhacks' Social Login Pro mod? I like the additional functionality of this mod, but wouldn't want it causing problems with the Social Login Pro mod.
havent tryed it myself you could always set up a test site to try it out i dont see why it wouldent work
Yeah, thanks Sleepy - I'll try it out.
I am having some issue with the FB connect icons on my main screen cheathamtalk.com
I check and verify all the file changes and saw that my index.template.php is missing a function
'id' => $id_member,
'fbname' => isset($user_settings['fbname']) ? $user_settings['fbname'] : '',
Please instruct me where in file this function is supposed to be. I have attached a copy of the index.template.php file.
that edit doesnt go in index.templte.php it goes in load .php
find
'id' => $id_member,
after add
'fbname' => isset($user_settings['fbname']) ? $user_settings['fbname'] : '',
Weird. Ok. when I tried to uninstall the mod, it show that the modification of what I just mention was in the index.template.php..
Ok. The issue that I am haiving is that when I use IE, FireFox, or Chrome, When I want to log in, i click on the FaceBook Connect button. I enter my credintials and it validates and goes back to my site, but it didn't log me in. Then, I click on FB Connect button again, it automatically logs me in.
Sometimes, it sits at the Cross Reference Domain box and doesn't go anywhere.
Any clue as to why it hangs. I check the Facebook application settings over and over. I have another site it it doesn't cause any issues
can i have a link to your site please
Www.cheathamtalk.com
what is your site domain and site url in your app
also see this for setting up your app properly
http://www.sa-mods.info/index.php?topic=734.msg4837#msg4837
Url. http://www.cheathamtalk.com/
Domain: cheathamtalk.com
I will look at that link.
site url should be
http://www.cheathamtalk.com
site domain should be
cheathamtalk.com
I didnt get feedback on to change the colour of "Be the first of your friends to like this."
what version of the mod are you using you can chnage the like theme in admin in the latest version
new version realsed for smf2
fixed js conflicting with quick reply preview and portal shout boxes
now supports pmxblog
added function exsist checks to edits in index.template
moved supported mods to own admn page
added a link in admin for a step by step guide on setting up you app
changed update to avatar to facebook pic text string to Import FB Avatar
Theres no link to the mod in 1st post SA ;)
done
nice mod but it doesnt support right to left forums
it shows abad shap of my forum
iam using arabic smf
i cant see "login usin facebook" button at index for guests...
http://www.amigozone.com
plz help me :(
disable maintenance mode for the mod
@ samozin i will take look at this for next version
ok, I need a little help on getting mine to work. I'm trying to test it before taking it live.
I'm running SMF 2.0 RC3, and I installed SA_FBConnect_0.2.zip (169kB) (is this the correct and most up-to-date package for my forum?). I set up the application just like the page you linked to : http://www.sa-mods.info/index.php?topic=734.msg4837#msg4837 : And I put the values in my settings page. The "Facebook Application Key" I assume is the API Key, correct? because there is no tab for "App Key". And I put in the secret key correctly, that one I know is right. I also have enabled fbook connect mod and share topic feature. When I click on the "integrate forum account with facebook" link above my avatar while signed in, a new window opens, displaying the exact same page that I'm on, but the bookmark disappears, and "forum2/?session=("session_key....) appears in the address bar. Then I click on the same fbook link within that window and I get the fbook pop up. However, that pop up is also displaying errors. (API Error Code: 100, API Error Description: Invalid Parameter. Error Message: next is not owned by the application.) I am not a php programmer, and admirer how y'all can do tis stuff, I'm a graphic designer, so I'm on the front end. But if someone could help me with this it'd be greatly appreciated! I can give ya a link to my forum if you need to. THANKS!
Hi
I have a propblem finding where i should enter the facebook dev info.
What is the path to where i can find SA facebook to edit it?
What im doing is:
admin>packages>installed packages --- it shows me a list of installed mods but how am i able to edit and set it? All tab i see is UNISTALL MOD !!
Help please
Hello,
I have smf version 2.0RC3 and Facebook integration 1.0 RC1-1.
When I try to connect my application, I see my application, user name and password right, but when I click log in, became white blanc screen, and nothing appear?
Sorry my pad english. :-[
Quote from: Tiekie on October 06, 2010, 02:34:45 AM
Hi
I have a propblem finding where i should enter the facebook dev info.
What is the path to where i can find SA facebook to edit it?
What im doing is:
admin>packages>installed packages --- it shows me a list of installed mods but how am i able to edit and set it? All tab i see is UNISTALL MOD !!
Help please
Admin>>SA facebook Connect
Quote from: jarska on October 06, 2010, 08:12:34 AM
Hello,
I have smf version 2.0RC3 and Facebook integration 1.0 RC1-1.
When I try to connect my application, I see my application, user name and password right, but when I click log in, became white blanc screen, and nothing appear?
Sorry my pad english. :-[
Make sure you have it setup correctly Creating your Facebook Application (http://www.sa-mods.info/index.php?msg=4837)
Otherwise a link to your site would be helpful.
Quote from: Bazar6 on October 04, 2010, 03:25:11 PM
ok, I need a little help on getting mine to work. I'm trying to test it before taking it live.
I'm running SMF 2.0 RC3, and I installed SA_FBConnect_0.2.zip (169kB) (is this the correct and most up-to-date package for my forum?). I set up the application just like the page you linked to : http://www.sa-mods.info/index.php?topic=734.msg4837#msg4837 : And I put the values in my settings page. The "Facebook Application Key" I assume is the API Key, correct? because there is no tab for "App Key". And I put in the secret key correctly, that one I know is right. I also have enabled fbook connect mod and share topic feature. When I click on the "integrate forum account with facebook" link above my avatar while signed in, a new window opens, displaying the exact same page that I'm on, but the bookmark disappears, and "forum2/?session=("session_key....) appears in the address bar. Then I click on the same fbook link within that window and I get the fbook pop up. However, that pop up is also displaying errors. (API Error Code: 100, API Error Description: Invalid Parameter. Error Message: next is not owned by the application.) I am not a php programmer, and admirer how y'all can do tis stuff, I'm a graphic designer, so I'm on the front end. But if someone could help me with this it'd be greatly appreciated! I can give ya a link to my forum if you need to. THANKS!
Sounds like something's wrong with the setup
Link to your site please
Quote from: Spoogs on October 06, 2010, 09:20:46 AM
Sounds like something's wrong with the setup
Link to your site please
http://www.imbazar.me/test/forum2
Make a account a temp admin for a bit please http://imbazar.me/test/forum2/index.php?action=profile;u=2
Quote from: Spoogs on October 06, 2010, 09:18:40 AM
Quote from: jarska on October 06, 2010, 08:12:34 AM
Hello,
I have smf version 2.0RC3 and Facebook integration 1.0 RC1-1.
When I try to connect my application, I see my application, user name and password right, but when I click log in, became white blanc screen, and nothing appear?
Sorry my pad english. :-[
Make sure you have it setup correctly Creating your Facebook Application (http://www.sa-mods.info/index.php?msg=4837)
Otherwise a link to your site would be helpful.
Here you go-->
Quote from: jarska on October 06, 2010, 09:41:11 AM
Quote from: Spoogs on October 06, 2010, 09:18:40 AM
Quote from: jarska on October 06, 2010, 08:12:34 AM
Hello,
I have smf version 2.0RC3 and Facebook integration 1.0 RC1-1.
When I try to connect my application, I see my application, user name and password right, but when I click log in, became white blanc screen, and nothing appear?
Sorry my pad english. :-[
Make sure you have it setup correctly Creating your Facebook Application (http://www.sa-mods.info/index.php?msg=4837)
Otherwise a link to your site would be helpful.
Here you go-->http://www.bmwsportbikes.fi/
I created an account on your site and needs approval
Quote from: Spoogs on October 06, 2010, 10:01:27 AM
Quote from: jarska on October 06, 2010, 09:41:11 AM
Quote from: Spoogs on October 06, 2010, 09:18:40 AM
Quote from: jarska on October 06, 2010, 08:12:34 AM
Hello,
I have smf version 2.0RC3 and Facebook integration 1.0 RC1-1.
When I try to connect my application, I see my application, user name and password right, but when I click log in, became white blanc screen, and nothing appear?
Sorry my pad english. :-[
Make sure you have it setup correctly Creating your Facebook Application (http://www.sa-mods.info/index.php?msg=4837)
Otherwise a link to your site would be helpful.
Here you go-->http://www.bmwsportbikes.fi/
I created an account on your site and needs approval
Ok, you are in now. :)
Quote from: Spoogs on October 06, 2010, 09:16:56 AM
Quote from: Tiekie on October 06, 2010, 02:34:45 AM
Hi
I have a propblem finding where i should enter the facebook dev info.
What is the path to where i can find SA facebook to edit it?
What im doing is:
admin>packages>installed packages --- it shows me a list of installed mods but how am i able to edit and set it? All tab i see is UNISTALL MOD !!
Help please
Admin>>SA facebook Connect
Hi
its not in there. This is the categories i have to choose from
Administration Center
Support and Credits
News and Newsletters
Packages
Configuration
Core Features
Features and Options
Security and Moderation
Languages
Server Settings
Current Theme
Themes and Layout
Modification Settings
Forum
Boards
Posts and Topics
Calendar
Search
Smileys and Message Icons
Attachments and Avatars
Members
Members
Membergroups
Permissions
Registration
Ban List
Search Engines
Maintenance
Forum Maintenance
Scheduled Tasks
Mail
Logs
Quote from: jarska on October 06, 2010, 10:09:52 AM
Quote from: Spoogs on October 06, 2010, 10:01:27 AM
Quote from: jarska on October 06, 2010, 09:41:11 AM
Quote from: Spoogs on October 06, 2010, 09:18:40 AM
Quote from: jarska on October 06, 2010, 08:12:34 AM
Hello,
I have smf version 2.0RC3 and Facebook integration 1.0 RC1-1.
When I try to connect my application, I see my application, user name and password right, but when I click log in, became white blanc screen, and nothing appear?
Sorry my pad english. :-[
Make sure you have it setup correctly Creating your Facebook Application (http://www.sa-mods.info/index.php?msg=4837)
Otherwise a link to your site would be helpful.
Here you go-->http://www.bmwsportbikes.fi/
I created an account on your site and needs approval
Ok, you are in now. :)
Temp admin status please http://www.bmwsportbikes.fi/index.php?action=profile;u=475
Quote from: Tiekie on October 06, 2010, 10:32:51 AM
Quote from: Spoogs on October 06, 2010, 09:16:56 AM
Quote from: Tiekie on October 06, 2010, 02:34:45 AM
Hi
I have a propblem finding where i should enter the facebook dev info.
What is the path to where i can find SA facebook to edit it?
What im doing is:
admin>packages>installed packages --- it shows me a list of installed mods but how am i able to edit and set it? All tab i see is UNISTALL MOD !!
Help please
Admin>>SA facebook Connect
Hi
its not in there. This is the categories i have to choose from
Administration Center
Support and Credits
News and Newsletters
Packages
Configuration
Core Features
Features and Options
Security and Moderation
Languages
Server Settings
Current Theme
Themes and Layout
Modification Settings
Forum
Boards
Posts and Topics
Calendar
Search
Smileys and Message Icons
Attachments and Avatars
Members
Members
Membergroups
Permissions
Registration
Ban List
Search Engines
Maintenance
Forum Maintenance
Scheduled Tasks
Mail
Logs
In that case it doesnt seem the mod was installed... link to your site please
That is awesome Spoogs, thanks a ton! That was just on a test forum, hopefully I'll be able to do everything correctly on my live site. Thanks again!
hi i try this mod it is a good work but i would know if is possible to use for single.in authentication
if users use facebook i would that they register another password on my forum, it is possible to make it ?
Quote from: Bazar6 on October 06, 2010, 11:15:29 AM
That is awesome Spoogs, thanks a ton! That was just on a test forum, hopefully I'll be able to do everything correctly on my live site. Thanks again!
Welcome mate... if it gives you any issues on your live site let me know.
Will do, I don't think I'll have any trouble tho. I think I was able to understand what you said was wrong with the keys (the web address I got)
Quote from: Bazar6 on October 06, 2010, 11:29:21 AM
Will do, I don't think I'll have any trouble tho. I think I was able to understand what you said was wrong with the keys (the web address I got)
Quote from: elyparker on October 06, 2010, 11:26:43 AM
hi i try this mod it is a good work but i would know if is possible to use for single.in authentication
if users use facebook i would that they register another password on my forum, it is possible to make it ?
I'm not sure I undersdtand
user can login using their facebook info or normal forum username and password (the accounts are integrated)
Quotesingle.in authentication
?
Quoteif users use facebook i would that they register another password on my forum, it is possible to make it ?
i dont understand this
ok here is my url:
http://www.ux.co.za
Quote from: Spoogs on October 06, 2010, 10:40:06 AM
Quote from: Tiekie on October 06, 2010, 10:32:51 AM
Quote from: Spoogs on October 06, 2010, 09:16:56 AM
Quote from: Tiekie on October 06, 2010, 02:34:45 AM
Hi
I have a propblem finding where i should enter the facebook dev info.
What is the path to where i can find SA facebook to edit it?
What im doing is:
admin>packages>installed packages --- it shows me a list of installed mods but how am i able to edit and set it? All tab i see is UNISTALL MOD !!
Help please
Admin>>SA facebook Connect
Hi
its not in there. This is the categories i have to choose from
Administration Center
Support and Credits
News and Newsletters
Packages
Configuration
Core Features
Features and Options
Security and Moderation
Languages
Server Settings
Current Theme
Themes and Layout
Modification Settings
Forum
Boards
Posts and Topics
Calendar
Search
Smileys and Message Icons
Attachments and Avatars
Members
Members
Membergroups
Permissions
Registration
Ban List
Search Engines
Maintenance
Forum Maintenance
Scheduled Tasks
Mail
Logs
In that case it doesnt seem the mod was installed... link to your site please
can i see your admin.php pls?
Quote from: Sleepy Arcade on October 06, 2010, 11:37:27 AM
Quoteif users use facebook i would that they register another password on my forum, it is possible to make it ?
i dont understand this
sorry my bad english , i mean that if use the facebook login not need another login on the smf
i like to use facebook login as OPENID with this mod
i hope to had explain cleary it
i want that users that want register on the forum with email ok, but if they use facebook login the registration is not required for login.
openid is not very common, facebook yes , and people not love register new login and new password
is it possible with this mode? or it will be possible?
bye
To register - user can use facebook but they will have to register on the forum at the same time
To login - user can use facebook or normal login (not both)
Quote from: Spoogs on October 08, 2010, 08:39:05 PM
To register - user can use facebook but they will have to register on the forum at the same time
yes i saw, but is impossible to add a option for give the possible to use the login without registration at forum?
a single registration
Why would you want to do that?
If facebook has issues the users without a true forum account would not be able to login and facebook does have a lot of issues. Registration is quick and easy and just a 1 time thing.
very Nice Mode But am too disappointed...
While installing, its giving error.
Am on RC3 and using SMF Default- Core Theme.
Any clue how can i make it work?
Can you please tell, what error you are getting? What browser?
Quote from: Spoogs on October 09, 2010, 09:10:18 AM
Why would you want to do that?
If facebook has issues the users without a true forum account would not be able to login and facebook does have a lot of issues. Registration is quick and easy and just a 1 time thing.
because the users hate registration and they prefer to use a single registration
is the basic idea of openid option of smf
but facebook 200 milion of users potential, is de facto standard not openid
This mod is a single registration integrated with SMF...
Quote from: Dismal Shadow on October 09, 2010, 10:58:39 AM
Can you please tell, what error you are getting? What browser?
Find attatched the Error Screenshot.
Am using Firefox Browser, error remain same in IE as well.
Am on SMF 2 RC3 and Core Theme.
that just means that another mod has alredy edited the part that the part that the mod is looking for you can install it still then do a manual edit to them files
Quote from: Sleepy Arcade on October 09, 2010, 06:43:14 PM
that just means that another mod has alredy edited the part that the part that the mod is looking for you can install it still then do a manual edit to them files
But then i think will not be able to uninstall it ever.... Except the Manual way...
Right?
yeah that is correct you can try uninstalling some other mods then install this then reinstall your other mods
Hi,
OK, so I'm new to forums and SMF and have installed my forums successfully and only did manual edits to the default theme.
I installed Facebook Connect and am trying to get the application going right on Facebook. However, I keep getting this error, "URL must point to a directory (i.e., end with a '/' or a dynamic page (i.e., have a '?' somewhere)." on my 'About' page and I am not sure which URL it is referring to.
I am also using SMF 1.1.11 and installed file 'SA_FBConnect_0.2_smf11x.zip', whenever i tried installing 'SA_FBConnect_1.0 RC1-1.zip" I would run into an error.
I know I'm a newb, so any and all help would be much appreciated. Thank you!
Edit- I got the Facebook application going without an error, however FBConnect still does not show anywhere on my Forums. I have edited the permissions and shared all the boards. I am not sure what I am doing wrong, any help would be great! Also is SMF 2.0 RC3 stable enough and is it worth upgrading to?
RC1-1 is nt yet 1.1.11 compatible
The url its referring to is your site url
If your site is http:// example.com you must enter it as
http://example.com/ or http://example.com/index.php?
Hi, Im having a problem with this mod, well I installed the mod and created the facebook app, now Im trying to login via Facebook connect at my testing forum, first appear a window with a Facebook login, after this, Facebook ask for general information permissions, after this for Mail and other permissions, after I give the permissions the site redirects to the Facebook page instead of the forum and if I writes the forum testing URL then nothing happens, no login, after this I tried with the same Facebook account and try the Facebok connect button... but still refirecting to facebook instead of the forum... any solution?
SMF version: 1.1.11
Thanks and Greetings!
Hi,
For some reason, the Facebook connect page says:
You are not connected with Facebook!
Connect Now
But there is no link, it's just type.
I am using a custom theme, yes.
Also, will this work with Ultimate Profile? Also wouldn't mind adding a LIKE button to Aeva Media... Shouldn't be too difficult to do.
QuoteHow to use:
- Create an application at facebook, http://www.facebook.com/developers/createapp.php (http://www.facebook.com/developers/createapp.php)
- Edit the settings, specially at Connect option, fill Connect URL with your website ie: http://example.com (http://example.com/)
- Goto admin/sa facebook connect and enter the keys in the correct places
Don't see a connect option. What are people using?
How would I know when it's actually working?
@checkmater
check you app settings see this topic for details omn settimng up you app http://www.sa-mods.info/index.php?topic=734.0
@DistantJ
mod version smf version? you need todo custom edits for your theme
@seechep that neeeds changing see
this topic for details on settimng up you app http://www.sa-mods.info/index.php?topic=734.0
I just D/L this mod...http://custom.simplemachines.org/mods/index.php?mod=2322
And installed it into ONE of my forums and when I went to install it into another, of the SAME version, it said it was not compatible. Version is 1.1.11 on both...
make sure you download the right package one is for smf2 the other is for smf1 wich it states with the package name
I'm sorry, I thought I was clear. I have one D/L and it for smf 1. It, the ONE D/L installed in one forum just fine and in the other it said it was not compatible.
I just want to clarify whether this great mod is available for SMF 1.11
Thank you.
Quote from: humbleworld on October 19, 2010, 01:03:53 PM
I just want to clarify whether this great mod is available for SMF 1.11
Thank you.
Yes it is, make sure to use the package that has smf1 in the name
Thank you very much Spoogs.
Quote from: Spoogs on October 19, 2010, 01:15:42 PM
Quote from: humbleworld on October 19, 2010, 01:03:53 PM
I just want to clarify whether this great mod is available for SMF 1.11
Thank you.
Yes it is, make sure to use the package that has smf1 in the name
That is not true as this is my issue.
Without additional info such as links to your sites, there isnt much we can do or say
Can anyone here provide a step-by-step guide to build a facebook application so that I can integrate it with this MOD?
Quote from: humbleworld on October 19, 2010, 07:12:35 PM
Can anyone here provide a step-by-step guide to build a facebook application so that I can integrate it with this MOD?
http://www.sa-mods.info/index.php?topic=734.0
Many thanks again, Spoogs.
Is it true that in a later release of SMF if the mod isn't updated some member may lose their accounts?
no it isnt who said that?
ok, thank you.
new version for smf2 realsed
fixed invite page breaking layout
added back post to wall promp when logging in with facebook
added sme users settings
users can now publish there post on facebook via addional options when posting
fixed hard coded text
added facebook profile badge support
fixed graph api likes and freinds count slowing page load time down
added ?limit=4 to $get_me = $facebook->api('/me/'); we dont need them all
added your groups pages
added your albums pages with add photo feture
added your links pages with add link feture
added your notes pages with add notes feture
added your events feture with add event feture
updated api sdk to the latest version
removed total freind,pages,etc counts was used in page indexs but proved to be slow now uses a custom page index function
just installed it on my smf2RC3 - when i klick the facebook button i have to allow the application to request my information and then it goes...
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /homepages/46/d116412466/htdocs/gesandte/fbc/facebook/php/facebook.php on line 38
any ideas?
you need php5 to use this mod ask your host to update your php version for you they should do it
Hey Buddy Thanks for awesome mod i have a problem when i login using facebook my username is always admin even though i used different facebook accounts so if any others used facebook login will they be also logged in as admin pls Help me fix this
http://downloadsmania.in (http://downloadsmania.in)
I installed smf 2.0rc3
and using the latest version of your plugin
o.2 version
Quote from: Sleepy Arcade on October 24, 2010, 01:24:35 PM
you need php5 to use this mod ask your host to update your php version for you they should do it
Thanks - that was the problem!
0.2 isnt thelatest version of the mod people have reported this before tho i have never been able to replicate it myself can you try this one
http://custom.simplemachines.org/mods/index.php?action=download;mod=2322;id=159573
Quote from: felixreddy on October 24, 2010, 04:12:14 PM
Hey Buddy Thanks for awesome mod i have a problem when i login using facebook my username is always admin even though i used different facebook accounts so if any others used facebook login will they be also logged in as admin pls Help me fix this
http://downloadsmania.in (http://downloadsmania.in)
I installed smf 2.0rc3
and using the latest version of your plugin
o.2 version
I havent been able to replicate this either but this is what needs to happen (I think)
Unsync admin and test accounts
On both fb accounts go here http://www.facebook.com/editapps.php (http://www.facebook.com/editapps.php) click the x to remove the application (dont worry you're not hurting anything)
Now...
Login and integrate your admin account to the appropriate fb account.
Use another browser or computer (otherwise make sure you completely log out of your admin account and the fb account associated with it)
Then...
Login to your test account and integrate your other fb account.
You should not have that issue anymore... if you do let us know.
(I havent tested this yet but I'm almost certain it will work)
I would like to see an example of this mod working if anyone can share a link.
http://sa-mods.info
Quote from: Spoogs on October 26, 2010, 08:57:32 PM
http://sa-mods.info
Question: Will this mod allow posts in a forum to be shared on facebook? And can you choose the boards you want to have post on facebook?
Yes and yes :)
Please....I installed the Facebook Intregation Mod today...
But this time around I get an HTTP 505 Internal Server Error ...
When I click on associate with facebook or Integrate with facebook...
Help Pleaseeeeeee...
whats the permissions on the fbc dir and containing files?
does it give any errors in your error logs?
Hope someone will be good enough to help me here as I've screwed up .
I have zero knowledge with forums (hence my mistake) so please bear with me
I wanted to update to the new version of so i uninstalled the package however it gave me this error
the code which was showing in the "replace area" showed this :
$groupLevels['global']['standard'] = array_merge($groupLevels['global']['restrict'], array(
'share_topic',
'manage_facebook',
replace
$groupLevels['global']['standard'] = array_merge($groupLevels['global']['restrict'], array(
$permissionList = array(
'membergroup' => array(
'share_topic' => array(false, 'facebookperm', 'facebookperm'),
'manage_facebook' => array(false, 'facebookperm', 'facebookperm'),
replace
$permissionList = array(
'membergroup' => array(
But like the idiot that i am i chose to ignore it and pressed uninstall anyway (lesson learned on that !) and so now I am locked out of the forum and i just get this error on the forum page:

I did go into the ./Sources/ManagePermissions.php file as shown in my first pic and edited the code to where it said to "replace" thinking that would fix it however it did not
So guys any suggestions or help would be great as I'm lost
Thank You
attach your manage setting.php file here
what version of the mod were you using?
here you go ,
I was using 1.0 RC1 rev 271
Thanks
sorry meant your managepermissions.php
np :)
I apologize if this has already been answered, but my search and scan through this whole topic of 47 pages did not help.
am on SMF 2.0 RC3
Like many others, when I push the Facebook connect button, am taken to
/forums/index.php?action=facebook;sa=connect;step
and I get the
Fatal error: Class 'Facebook' not found in /home/talkabo/public_html/forums/Sources/FB_Connect/FB_Connect_Subs.php on line 359
and I am NOT logged in to my forums with my facebook ID
I AM logged to Facebook, and I DID check that the fbc folder under my forums is chmod'ed 755 and all files within as 644, and that I am not using www in my domain name neither on my site nor in the facebook devpers appl.
I tried with both facebook ids, my regular and the one I created for this app. both failed to log-in.
I also checked that in the source page of my site, the path to fbc is correct
echo'<script src="path to fbc dir/fbc/fbconnect.js" type="text/javascript"></script>';
Any help ? anything I need to check ?
Can you please tell, what SMF version and any custom themes?
Please follow the steps here: http://www.sa-mods.info/index.php?topic=734.msg4837#msg4837 on how to set up the facebook developer app.
Quote from: ~Alex~ on October 27, 2010, 07:46:12 PM
Can you please tell, what SMF version and any custom themes?
Please follow the steps here: http://www.sa-mods.info/index.php?topic=734.msg4837#msg4837 on how to set up the facebook developer app.
you surely read my post before I edited it and added smf2.0 RC3
thank you for caring Alex.
am not using any custom themes for my default.
Guests definitely use default theme.
Quote from: ~Alex~ on October 27, 2010, 07:46:12 PM
Can you please tell, what SMF version and any custom themes?
Please follow the steps here: http://www.sa-mods.info/index.php?topic=734.msg4837#msg4837 on how to set up the facebook developer app.
it is regrettable....... yes I did follow every step there, and am still getting the same error message.
Link to the site?
@ Sincere
wht is the permissions on fbc/facebook.php ?
@sardaukar74
it means the code didnt get uninstalled properly can you attach you index.template.php pls
Please I cnt find any errors about the mod in my log....
Let me say this is one awesome mod! And the support from Spoog is just incredible! Thanks you so much for this and all your help!
Quote from: Sleepy Arcade on October 28, 2010, 01:21:41 PM
@ Sincere
wht is the permissions on fbc/facebook.php ?
@sardaukar74
it means the code didnt get uninstalled properly can you attach you index.template.php pls
sleepy, as I mentioned in my post, the fbc folder is chmodded to 755 and all files within to 644 as recommended by your kind self many times earlier in this thread.
QuoteI AM logged to Facebook, and I DID check that the fbc folder under my forums is chmod'ed 755 and all files within as 644, and that I am not using www in my domain name neither on my site nor in the facebook devpers appl.
oh i am sry it was late last night
can i have a link to you site pls
Quote from: Bobn on October 28, 2010, 10:49:04 PM
Let me say this is one awesome mod! And the support from Spoog is just incredible! Thanks you so much for this and all your help!
Glad i was able to help :)
i have an error in subs.php, every time i install fbconnect the script would disable entire forum (blank page), it seems like a problem with below function, because when i remove it, the forum would be back to normal again :
function show_facebook(){
global $settings, $user_info, $context, $txt, $modSettings, $scripturl, $boarddir;
include_once $boarddir.'/fbc/facebook_init_main.php';
//user is logged in and maintenance mode is disabled
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 />';
}
//user is logged maintenance is enabled and they have permission to manage facebook
elseif ($context['user']['is_logged'] && !empty($modSettings['fb_enable']) && allowedTo('manage_facebook')){
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 />';
}
//user isnt logged and maintenance mode is disabled
elseif (empty($context['user']['is_logged']) && 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,user_photos,create_event" 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,user_photos,create_event" onlogin="window.location=\'', $scripturl, '?action=facebook;area=connect;step\'">'.$txt['login'].'</fb:login-button>';
}
}
}
function show_facebook_like($extra,$extra1,$extra2){
global $scripturl, $modSettings, $sourcedir, $user_info, $context, $boarddir;
include_once $sourcedir.'/FB_Connect/FB_Connect.php';
db_select_member_settings('fb_show_likeb',$user_info['id']);
if(!empty($context['fb_show_likeb'])){
if (empty($modSettings['like_board_url'])){$url = ''.$scripturl.'';}else{$url = 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];}
include_once $boarddir.'/fbc/facebook_init_main.php';
if($modSettings['likeshow'] == $extra2){
echo $extra.'<iframe src="http://www.facebook.com/plugins/like.php?href='.$url.'&layout=', empty($modSettings['liketopiclayout']) ? 'standard' : 'button_count','
&show_faces=false&width=450&action=', empty($modSettings['liketopicverbb_board']) ? 'like' : 'recommend','&colorscheme=', empty($modSettings['liketopiccolour']) ? 'light' : 'dark','
&height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:35px;" allowTransparency="true"></iframe>'.$extra1;
}
}
}
faced problem in install fb this mod in dark break theme
@diontoradan
can you post up the file whith the code in place pls
@king999
that realy helps?
ok, i will break down the problem...
already installed version 0.2, no problems, uninstall and install the latest version.
click install, i ended up having 2 incompatibility in subs.php and display.template.php, manual edit no problem.
but when i click install now, and wham, blank pages.
try to sort out the problems, and everything went back to normal after i remove the bottom function in subs.php.
here's the full code of subs.php. sorry for my not so good programming. i need this badly because most of my member use Facebook.
thanks before...
try this but backup beforehand
hmmm not working... still blank...
do you get any errors in erro logs?
this is the error code :
PHP Fatal error: Cannot redeclare show_facebook() (previously declared in /home/www/public_html/forum/Sources/Subs.php:4690) in /home/www/public_html/forum/Sources/Load.php(2232) : eval()'d code on line 232
that error mean that u still have code probaly left over from the old version of the mod
are u using a custom theme make sure that functiom show_facebook show_faceboo_like isnt in the index.template.php and in you default theme
package updated for rc4
Great I really like this.
I have installed on my custom theme and have created application in Facebook.
I have tried but not successful to edit my index.template.php custom theme file.
Here attached index.template.php if anyone could help me regarding this.
Thanks in Advance.
smf version?
mod version?
I have just updated my SMF version to 1.1.12
and Mod version: SA_FBConnect_0.2_smf11x.zip
here you go pls back before uploading cos i aint tested it
Thank alot.
But the link of button seems broken.
please explain more link to site?
The link of Integrate with facebook button, when I am clicking on this nothing happens
link to site?
Please have look to this: http://www.afghanistanforums.com/index.php
When clicking on button in order to connect with Facebook nothing happens.
I have attached screen shot
try this
It is double now and still same thing.
See screen shot.
lol sry i left code there when i moved the button ;) try attached
Hi
I appreciate your help.
Still the same thing.
When I click on button, my Forum main url changes to this : http://www.afghanistanforums.com/index.php# and nothing happens.
Still there are two Connect with Facebook buttons.
In Facebook I have created Application and set my Website url and update ID API and Secret key in main settings of SA Facebook.
Is there anything left?
Update Info:
Hi sorry due to cache problem I was seeing 2 buttons.
There is only 1 button now but cannot connect with it when click on button.
Same problem in menu button.
it is working for me i just registerd t your site with facebook
How this works? without login to page I have to click on button na? and it must open a popular window?
just hit the connect woth facebook button that all i did
Maybe something wrong with my PC browsers.
Thanks alot for your help.
Can I have someones forum url which have this mod installed and functioning properly ?
http://www.sa-mods.info/
The above page is working fine in my PC
but what is the reason that I couldn't connect from my Forum and others can?
I have found this error in my FireFox error console:
Error: FB is not defined
Source File: http://www.afghanistanforums.com/fbc/fbconnect.js
Line: 3
code in line 3 is:
FB.Connect.requireSession(function() {
Update:
My Network Administrator blocked Facebook and I am using it through secure connection.
Could this error be due to Network restrictions?
I don't see a like topic button when I go to a topic page. Running on 1.1.12
Quote from: ProtoGT on November 03, 2010, 03:54:56 PM
I don't see a like topic button when I go to a topic page. Running on 1.1.12
That option is not available in the 0.2 version of the mod
SA_FBConnect_1.0+Beta5_rev264_forsmf1.zip is what I installed.
Quote from: ProtoGT on November 03, 2010, 05:25:38 PM
SA_FBConnect_1.0+Beta5_rev264_forsmf1.zip is what I installed.
Did you select which boards are like boards in the ACP
Quote from: Spoogs on November 03, 2010, 06:49:33 PM
Quote from: ProtoGT on November 03, 2010, 05:25:38 PM
SA_FBConnect_1.0+Beta5_rev264_forsmf1.zip is what I installed.
Did you select which boards are like boards in the ACP
yes
I have translated to French the user-side english sentences in the install.xml file.
now when I try to upload this file, I have an error message telling me the file is corrupt.
The package you tried to upload either is not a valid package or has become corrupted.
Why is that ? am attaching the "french_included" version I made as my little contribution to this mod.
Now I am able to to connect with Facebook button I have redirect all Facebook http to https:// .
Question: Why I was not able to connect from my Forum and at same time I was able to connect from other Forum?
Same PC same browser and Same secure connection, with other Forums no problem but I had only with mine.
Hi,
there are 4 versions on the mod site.
which version would be the right one for me?
I use smf 2.0 RC3 with simple portal, ultimate profile & couple of other mods. Any known conflicts with other mods?
I appreciate any help.
http://custom.simplemachines.org/mods/index.php?action=download;mod=2322;id=160438
SA™
1) Thanks for creating the mod!
2) I am having the same problem as maihannijat, am using a custom template, no mods, and I have gone in manually and found what makes the FBC work and put it in my custom template.
When I click on the "Facebook Connect" link it just puts "#" at the end. So I think I missed some JS somewhere.
Also I found that am getting "Invalid Application ID" from a page called:
facebook.com/external/login_status.php etc.....
I know I have the right App. ID so that part am baffled.
Maybe I missed something, I don't know but could you either post what make FBC work or check my file?
Thanks,
-FD
find in that file
echo $context['html_headers'], '
after add
global $boardurl, $modSettings;
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_com_show = "',$modSettings['fb_admin_commets_post'],'";
</script>';
SA™ thanks but am stilling having some issues. It does load the javascript and creates the pop-up but...
I get this error:
QuoteInvalid API key specified
The application you are trying to access does not exist or has been disabled.
Simple right? I checked the API key and it matches, what is weird thought is that it works with the core theme but not the custom them.
I attached the new index.template.php file.
Thanks for your quick response, much appreciated.
From where I can find my Comment Box ID?
The modification is very good.
Is there any possibility that the comments from the first page moved under each theme, and "Comments Box XID" an automatic topic title?
Example:
Quote from: maihannijat on November 08, 2010, 01:59:45 AM
From where I can find my Comment Box ID?
ther eis no comments box id you meant xid? right
that is a unique identifier for the comments box in other words it can be anything you wanted eg your user name maybe it has to be unique for each site othwer wise the comment will fail to load
Quote from: Mihac on November 08, 2010, 03:56:01 AM
The modification is very good.
Is there any possibility that the comments from the first page moved under each theme, and "Comments Box XID" an automatic topic title?
Example:
yes it is doable only problem is that i diont have time to do it right now
I have tried to add SA code for my custom theme. but no success
I am using Orange-lt theme. I attached my index.template.php file.
I will appreciate anyone help me with it.
Thanks
Any update on this? My 2 forums are base on this template.
Tired to change it.. because im not using default theme.
For several timessss.. so tired
O:)
hope somebody can help me..
SA_FBConnect 1.0 RC2-3 rev280
small update that fixes profile badges show for the wrong people issue
SA™ can you tell me where you are pulling $modSettings['fb_app_key'], $modSettings['fb_app_secret'], and any other $modSettings?
When I do:
echo "KEY:" . $modSettings['fb_app_key'];
echo "<br />KEY:" . $modSettings['fb_app_secret'];
It echos only:
KEY:
KEY:
Did something get skipped in the install process? It still works great on the core template but on a custom template I still can't get the api to work.
BTW this is what is around it, and it should work since it's calling a global before the echo, so it should already have the api info right?
function template_main_below()
{
global $context, $settings, $options, $scripturl, $txt;
echo "KEY:" . $modSettings['fb_app_key'];
echo "<br />KEY:" . $modSettings['fb_app_secret'];
echo'
<script type="text/javascript">
FB.init("'.$modSettings['fb_app_key'].'",
"'.$boardurl.'/fbc/xd_receiver.htm",
{"doNotUseCachedConnectState":true });
function doLoggedOutFacebookUser(){
FB.Connect.logout(function(){location.href = "'.$scripturl.'?action=logout;sesc='.$context['session_id'].'";});
}
</script>';
replace
global $context, $settings, $options, $scripturl, $txt;
with
global $context, $settings, $options, $scripturl, $txt, $modSettings;
Thank you so much, I can't believe I over looked that. I assumed it was there!
Also it should be:
global $context, $settings, $options, $scripturl, $boardurl, $boarddir, $txt, $modSettings;
You need:
$boardurl, $boarddir, & $modSettings.
Thanks SA™!
Thanks for creating this MOD!!!
Just one question
After one of my members have logged in using facebook connect I want to send them to the index.php page rather than forum page....
kind of stupid question but how do i make an app? lol
noob here. anyone wanna help me with this pls? thx
Quote from: e-pinyon on November 21, 2010, 08:30:09 PM
kind of stupid question but how do i make an app? lol
noob here. anyone wanna help me with this pls? thx
http://www.sa-mods.info/index.php?topic=734.0
Thanks for this beatiful MOD.
I don't see a like topic button when I go to a topic page. Running on SMF 2.0RC3
I see only share topic button...
In admin settings it's all ok.
Sorry for my poor english
Antonio
EDIT I solved but shows vertically scrollbar when i must comment....what is the php code or css code that shows the like button?
I am working it out with SMF 1.1.12
so far I have edited the necessary files and have moved some files to where they should be but there are files that was not specified on which directory I should place them
-install.xml
-installscript.php
-package-info.xml
I placed them in my sites root directory, is that the right place?
meanwhile I just tried it out but when one connects via facebook, he/she is asked to choose a username and password but the email address field is not shown so the process can't continue.
@anto74
it is in fbc/fb_connect.js
@
jekwumoore
you install it tru the package manager
there is no email feild iy gets the email from facebook
why after login fbconnect and redirect to action=facebook the page is blank...?
how can i add the connect button to my portal index page?
the forum is in forum folder.. and the mod working perfectly..
but wanna put the connect button to my portal index page.. when i use the ssi code "<?php ssi_FbcConnect(); ?>" i just see the "Connect Now" text, not button..
how can i do?
What version of SMF
What Portal
If you have the portal installed before this mod the fbconnect button shows in the user block
Quote from: Spoogs on November 25, 2010, 09:37:19 AM
What version of SMF
What Portal
If you have the portal installed before this mod the fbconnect button shows in the user block
smf 2.0 rc4 is my smf version.. but the portal is my own.. i have built it using ssi.. i'm working on local..
also what i mean is, when click action=facebook;area=sync the page just go blank.
could ya fix the spellings errors on the next release?
I think its just every instance of the word friend
please.. i just want to know how can i add this mod's connect button to any other pages... my forum is in another folder..
arte you using SSI on your pages?
Quote from: SA™ on November 27, 2010, 12:41:57 PM
arte you using SSI on your pages?
yes i have included ssi.. but the ssi_FbcConnect() code is not working.. i just see the "connect now" text.. it's not a button..
try adding
global $boarddir;
include_once $boarddir.'/fbc/facebook_init_main.php';
include_once $boarddir.'/fbc/fbmain.php';
after you ssi call
Quote from: SA™ on November 27, 2010, 02:09:47 PM
try adding
global $boarddir;
include_once $boarddir.'/fbc/facebook_init_main.php';
include_once $boarddir.'/fbc/fbmain.php';
after you ssi call
nope.. not working.. there isnt any error message on the page but button is still looking like text.. :(
what if one logs in via facebook into my forum, can he/she log in next time without using facebook?
yes
When one logs i the 1st time via facebook they will be asked to create a forum profile.. after that they can login via facebook or user info
I installed it and when I try to log in via facebook which was successful but it just log into the admin account which means anyone that uses facebook to log into my forum with gain access to my admin control, what went wrong?
Does it have to do with the ip?
No only you can log into the admin account.
You are already an existing user so all you did was integrate your facebook with your exiting forum account.
However if you are logged into facebook and you try to test with another forum account YOU might think this is happening but its only because your browser is still logged into your facebook account.
(always test with separate computers or at least separate browsers)
I will try again but I tested in several browsers , I do not know if the ip had any thing to with it
PM me a link to your site please
I just tried again same result :-[
The same thing happens to me...
i dont see how this can happen me and my beta testers have been trying everything to replicate this but we where nver able to
I'll try to reinstall everything on a different server to make sure and make some comparison... this is my first time using SMF so I think it all boils down in newby error :-[
the only other thing that comes to mind your syncing two smf accounts with one facebook account which wouldent work cos it will always log into the first synced account
what i do to test things is creat a new account via facebook login if it worked unsync that new account log back into admin and sync the admin acccount log out and log back in via facebook if that works then the mod is function properly
i will add i check to see if fbname already exsist in the members table in rc3 version
this is my first time to use SMF and facebook and I only got one smf installation when I encounter the problem. So I think that's not the problem :(
I have no idea what maybe causing this for you guys... I have created several test sites and several apps on FB just to test this and I'm not having that issue.
I'm assuming this is just happening on SMF 1.1x... I can only suggest upgrading to SMF 2.0 and see if its any better.
I tested this tirelessly on both SMF 1.1x and 2.0 and just cant duplicate the issue. I do confirm that it is happening on jekwumoore'a site but it just doesnt happen on any site I've setup and tested (live and local)
Thank you very much for trying to help us, I'm using SMF 2.0. I tried to install it on a different server, and I use the same installation process described in the manual installation.
The site is forumfbtest(dot)getenjoyment(dot)net(slash)smf(slash)
now I got database error, I even reinstalled everything but got the same result :(
is there a need for some server side configurations (php.ini or apache)? I'm using free hosting for now as a test development area.
@spoog, did you try it out on SMF 1.1.12 cos thats what I am using?
Hello this mod is working great so far, thanks!.
Only one small issue, facebook synced avatars are getting stretched, yet user installed ones are not. Which setting do I need to tinker with to correct this?.
Many Thanks!
@Wellington - {yoursite}/index.php?action=admin;area=manageattachments;sa=avatars
@jekwumoore - yes
Thanks I had already found that menu, which one is the correct one so that they resize automatically without stretching or squishing. Each photo is a different shape, I can get resize automatically on user uploaded avatars but not the facebook synced ones. Many thanks!.
Sorry, may i know what is the 3 function that i list below? I actually tried to visit you guys forum to see the sample if such mods.
- facebook comments box ( Does it mean there will be a facebook comments box for each forum members in the forum? or thread? or?? )
- facebook fan page ( Fan page? not really understand about this. )
- facebook admin logs ( Which mean users able to log into the forum from facebook? )
Oh ya, can the user just use their facebook account to log into the forum without needed to create a new forum account?
Also mind to tell me is there got any test forum for me to fully test the mods and play with it?
Thank you very much. :)
you can see a demo here
http://www.sa-mods.info/
facebook admin logs is so admin can see who used fb to login /register
yes user can sync there account with facebook and use it to logint the forum
Er..you mean the whole support forum is a demo? er..how can i use my facebook account to log into the support forum? >.<
Click the facebook login button
So allow the facebook aps in my facebook? :)
yes
Cool. May i know what is Group and Pages in facebook connect do?
groupes display the users facebook groups if any pages displays the users likes needs renaming to likes instead of pages tho
Sorry, don't understand. :(
Quote from: eric1234 on December 06, 2010, 09:12:00 AM
Sorry, don't understand. :(
Its 10 times easier to just test it and if you dont like it remove the mod.
It show that i got no Group which i think it's very weird. Because i do join some group in Facebook. :) Is it a bug?
It could be
Private/closed groups wont show
Mod installed, beta 5 rev 264. SMF 1.1.12
Enabled and app set up.
Not seeing the option to link account to facebook on any forum except admin forum
if then click integrate with facebook, get an error msg: Fatal error: Call to undefined function curl_init() in /var/www/haxed/forum/fbc/facebook.php on line 502
now getting the icons and such but still getting the above error when use it to login
also 'like' appears sometimes, not others?
is curl enable on you host?
good lord. for some reason my install lights up like it's christmas with errors lol. help anyone? rc1.04 with a simple curve variant as a theme.
what out of the 2 files do i install here? the latest file seems smaller than the previous 2.0 one. thanks.
ok... whats the error(s)
before i post the error logs coz i might be making a mistake with it
do i have to emulate this in 2.0 rc3 when im using rc4 by default?
also what do i download the bigger 2.0 file or the smaller 65kb one?
http://custom.simplemachines.org/mods/index.php?action=download;mod=2322;id=162095
Doesnt need to emulate
* 22. Execute Modification ./Sources/Subs-EzPortalMain2.php Test failed
1. Add Before ./Sources/Subs-EzPortalMain2.php Test successful
2. Add After ./Sources/Subs-EzPortalMain2.php Test failed
* 24. Execute Modification ./Themes/default/Post.template.php Test failed
1. Add After ./Themes/default/Post.template.php Test failed
* 30. Execute Modification ./index.php Test failed
1. Add After ./index.php Test successful
2. Add After ./index.php Test failed
sorry but when it says on final line successful then nothing is wrong or it got fixed? all i noticed where the sheer number of msgs in red
those files just need to be manually edited
can you point me in the right direction how to do it? thanks.
i havent modded any pages, all i have done so far is install smf and installed this mod with no work done and this is the error i have
Fatal error: Call to undefined function iconv() in /home/darlekwa/public_html/forums/Sources/FB_Connect/FB_Connect_Subs.php on line 30
Quote from: Peterisgb on December 10, 2010, 09:54:28 AM
i havent modded any pages, all i have done so far is install smf and installed this mod with no work done and this is the error i have
Fatal error: Call to undefined function iconv() in /home/darlekwa/public_html/forums/Sources/FB_Connect/FB_Connect_Subs.php on line 30
Ask your host to enable iconv
Quote from: ggman on December 10, 2010, 01:26:30 AM
can you point me in the right direction how to do it? thanks.
On the mod page, select the correct version and click parse... it will show you all the necessary edits
Quote from: Spoogs on December 10, 2010, 09:57:47 AM
Quote from: Peterisgb on December 10, 2010, 09:54:28 AM
i havent modded any pages, all i have done so far is install smf and installed this mod with no work done and this is the error i have
Fatal error: Call to undefined function iconv() in /home/darlekwa/public_html/forums/Sources/FB_Connect/FB_Connect_Subs.php on line 30
Ask your host to enable iconv
ok thanks i'll get onto my hosts right away, thanks :)
is there anyway around this as my hosts wont let me use this, there being f**king d**kheads, is there anyway around this iconv thing?
you can use the 0.2 version of the mod... it has less features and might require version emulate to install.
whats version emulate?, i'm on 1.1.12, do you have a link to both the emulate thing and the 2.0 thingy?
oh... version emulate is a smf 2.0 feature.
the 0.2 version for 1.1 might install without any problem on 1.1.12
oh ok ty
its not giving me no option to install the 0.2 thing
and its still asking for iconv so i cant use this without enabling this :(
hmm... weird I dont remember it requiring iconv for the 0.2 version
you can try this
in sources/fb_connect/fb_connect_subs.php
find
function character_clean($replace){
$replace = iconv("UTF-8","ISO-8859-9",$replace);
return $replace;
}
replace with
function character_clean($replace){
return $replace;
}
you may have problems with foriegn charactors tho with out iconv modual i dont know another way of doing this
Quote from: SA™ on December 10, 2010, 01:01:20 PM
you can try this
in sources/fb_connect/fb_connect_subs.php
find
function character_clean($replace){
$replace = iconv("UTF-8","ISO-8859-9",$replace);
return $replace;
}
replace with
function character_clean($replace){
return $replace;
}
you may have problems with foriegn charactors tho with out iconv modual i dont know another way of doing this
thanks sooooooooooooo much this has sorted the problem, thanks thanks thanks thanks,
just a little question, how come the share button on the topics only show up for the admin and none of the other users
permissions ;)
Hy
I Want To Disable Facebook Login & Facebook Registration
..
Please Help
I Want That Nobody Can Login Or Register Through Facebook
Only They Register & Login Through My Website & Then They Can Associate Their Facebook Accounts
You could have easily edited your previous post (especially since no one posted after you).
If you are going to allow them to associate their accounts anyway... whats wrong with them registering via FB?
Problem is their e-mail and some registration fields are missing
Also
In Users Online
Users active in past 60 minutes:
They don't show in past 60 minutes (if they offline they remove from list)
..
E-Mail
Additional Information
Verification
These Are Missing In Registration Form If Register Through FaceBook
If they register via FB... their actual email address is used (the one the use to login with facebook).. also when they register via fb a full forum account is created for them at the same time.
What other fields are missing...? (go to the mods acp and enable support for custom profile fields)
no their email not show
something like this show in their email
apps+12255231
[email protected]and
In additional Information
Gender & Location Are Missing (Standard Fields Are Not Showing)
What version of the mod do you have installed
SA_FBConnect_1.0 RC1-1.zip
hmm thats weird
it should be pulling the email address... on my site it pulls the email as well as on all my test sites
Quote from: Spoogs on December 11, 2010, 10:55:53 AM
hmm thats weird
it should be pulling the email address... on my site it pulls the email as well as on all my test sites
Please Guide Me
What I Have To Do
Whats The Problem?
When did the most recent member register via facebook... give me a link to that user
but only members can see profiles
check you PM
What About The "Standard Fields"
Gender, Location etc Not Shows In Facebook Registration
Did you have a previous version of this mod installed before?
no
You can try upgrading to the latest version and see if it helps... I dong have these issues on the version you're using... I cant figure why its not working for ya
what about the facebook developer application?
is that doing this?
tell me your website
I want to check?
Quote from: Dr.IT on December 11, 2010, 12:38:02 PM
What About The "Standard Fields"
Gender, Location etc Not Shows In Facebook Registration
they all should show unless that has gotten broken inthe last update ill have to run some furthur checks on this tomorrow and have you enabled support for custom feilds on facebook admin?
yes I enable custom feilds
custom fields are showing
but
"Standard Fields"
Gender, Location etc Not Shows In Facebook Registration
are those mods you have that show gender location etc?
no these are standards default options of forum
Containing YIM, MSN etc
oh ok ill take a look tomorrow for you
call me stupid lol but where are the setting for these?
I Have Also Another Major Problem
Related To E-Mail
When A User Register Through Facebook A "Facebook Proxy E-mail" Added o User Profile E-mail
Like
apps+122231
[email protected]Its Does Not Pull Actual E-mail
I Compare My Website With Other
Check Attached Picture
Quote from: SA™ on December 11, 2010, 01:54:50 PM
oh ok ill take a look tomorrow for you
call me stupid lol but where are the setting for these?
Admin>Configuration>Features & Options>Profile Fields
Check Attached Image
aha i see
Quote from: Dr.IT on December 11, 2010, 01:58:55 PM
I Have Also Another Major Problem
Related To E-Mail
When A User Register Through Facebook A "Facebook Proxy E-mail" Added o User Profile E-mail
Like
apps+122231[email protected]
Its Does Not Pull Actual E-mail
I Compare My Website With Other
Check Attached Picture
Do You Know What The Problem With Proxy E-Mail?
The Problem Of Proxy E-Mails Is Solved Now
..
Now
I Need Help Only Regarding To
"Standard Fields"
Gender, Location etc Not Shows In Facebook Registration
i have fixed this in rc4 i will try to realese this somtime this week give my testers a chnae to test things :)
thanks
can you share modified file so I just replace that instead of removing old version and installing new
sure in surces/fb_connect/fb_connect.php
find
require_once($sourcedir . '/Profile.php');
loadCustomFields(0, 'register');
after add
// Or any standard ones?
if (!empty($modSettings['registration_fields']))
{
require_once($sourcedir . '/Profile-Modify.php');
// Setup some important context.
loadLanguage('Profile');
loadTemplate('Profile');
$context['user']['is_owner'] = true;
// Here, and here only, emulate the permissions the user would have to do this.
$user_info['permissions'] = array_merge($user_info['permissions'], array('profile_account_own', 'profile_extra_own'));
$reg_fields = explode(',', $modSettings['registration_fields']);
// We might have had some submissions on this front - go check.
foreach ($reg_fields as $field)
if (isset($_POST[$field]))
$cur_profile[$field] = $smcFunc['htmlspecialchars']($_POST[$field]);
// Load all the fields in question.
setupProfileContext($reg_fields);
}
in fb_connect.template.php
find
echo'<h4 class="titlebg"><span class="left"></span>
'.$txt['fb_reg45'].'
</h4>';
after add
foreach ($context['profile_fields'] as $key => $field)
{
echo '<dl class="register_form">
<dt>
<strong', !empty($field['is_error']) ? ' style="color: red;"' : '', '>', $field['label'], '</strong>';
// Does it have any subtext to show?
if (!empty($field['subtext']))
echo '
<span class="smalltext">', $field['subtext'], '</span>';
echo '
</dt>
<dd>';
// Want to put something infront of the box?
if (!empty($field['preinput']))
echo '
', $field['preinput'];
// What type of data are we showing?
if ($field['type'] == 'label')
echo '
', $field['value'];
// Maybe it's a text box - very likely!
elseif (in_array($field['type'], array('int', 'float', 'text', 'password')))
echo '
<input type="', $field['type'] == 'password' ? 'password' : 'text', '" name="', $key, '" id="', $key, '" size="', empty($field['size']) ? 30 : $field['size'], '" value="', $field['value'], '" tabindex="', $context['tabindex']++, '" ', $field['input_attr'], ' class="input_', $field['type'] == 'password' ? 'password' : 'text', '" />';
// You "checking" me out? ;)
elseif ($field['type'] == 'check')
echo '
<input type="hidden" name="', $key, '" value="0" /><input type="checkbox" name="', $key, '" id="', $key, '" ', !empty($field['value']) ? ' checked="checked"' : '', ' value="1" tabindex="', $context['tabindex']++, '" class="input_check" ', $field['input_attr'], ' />';
// Always fun - select boxes!
elseif ($field['type'] == 'select')
{
echo '
<select name="', $key, '" id="', $key, '" tabindex="', $context['tabindex']++, '">';
if (isset($field['options']))
{
// Is this some code to generate the options?
if (!is_array($field['options']))
$field['options'] = eval($field['options']);
// Assuming we now have some!
if (is_array($field['options']))
foreach ($field['options'] as $value => $name)
echo '
<option value="', $value, '" ', $value == $field['value'] ? 'selected="selected"' : '', '>', $name, '</option>';
}
echo '
</select>';
}
// Something to end with?
if (!empty($field['postinput']))
echo '
', $field['postinput'];
echo '
</dd></dl>';
}
Great Its Work.........Thanks
API Error Code: 191
API Error Description: The specified URL is not owned by the application
Error Message: redirect_uri is not owned by the application.
This messages pop out when i am trying to log into my forum using the mods.
After setting up the application
i log into admin and access the mods
and head to main setting
than enable fan page and change the codes of " Your applications page id
can be found in you applications url " to my Application ID in the application section
Replace Facebook Application Key with API key
and also
Replace Facebook Application Secret with Application Secret from the application site.
So did i missed out something or some error?
By the way, there's 2 " connect to facebook " button located at the headers of my forum. May i know how can i change it to just 1 button just like what in this current forum, which got only 1 button instead of 2.
Pardon my English . :D
thanks ;)
@
eric1234
whats website url did you use in you app
is there any link to share with friends on facebook to register them through facebook on our site
or
any invitation system
..
it will be a great feature
this?
your_site_url/index.php?action=facebook;area=invite
Fatal error: Uncaught Exception: 601: Parser error: unexpected ')' at position 70. thrown in /home/****/public_html/fbc/facebook.php on line 425
what is the url link of f Login button?
I want to directly share the url link of F login button to facebook friends
..
please
Quote from: eric1234 on December 15, 2010, 07:10:27 AM
API Error Code: 191
API Error Description: The specified URL is not owned by the application
Error Message: redirect_uri is not owned by the application.
This messages pop out when i am trying to log into my forum using the mods.
Hi Eric,
I installed SA Facebook Connect this morning and got same result. I use Pretty url mod. I try to do maintain pretty url in pretty url section and this error is fix. I hope this help, if you also use pretty url mod.
Hi All,
I have installed mod SA_FBConnect_1.0+Beta5_rev264_forsmf1.zip . My forum is SMF 1.1.12. I have no error installing it, nor manual install.
However, It keep show error message like this when I try to unsync account.
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE ID_MEMBER = 1
LIMIT 1' at line 4
File: /home/.../Sources/Subs.php
Line: 631
The rest of features is function well.
I am no programmer, guys. So please kindly help me.
try using the 0.2 version the persone who was developing the sm1 version has abandond the 1.0 beta version so it will be removed soon
in our website only F Login Button Show
is it possible text show with button like (login with facebook)
as in attached picture
can I put facebook login on other page?
like www.exapmle.com/fb/login.php
etc
in subs.php in function show_facebook(){
you can chnage '.$txt['fb_login'].' to what ever you wanted
Quote from: SA™ on December 16, 2010, 12:16:25 PM
in subs.php in function show_facebook(){
you can chnage '.$txt['fb_login'].' to what ever you wanted
sorry I don't understand
SA Fb Connect RC4 realsed
added better unsync support
now uses session login url
added some secrity checks during login
fixed standerd profile feilds not showing on fb reg
added option to enable disable fb reg/login
added more check to see if user is allready suynced with another account when sycing forum account
removed some uneeded code from fb_connect_subs.php
fixed like on boardindex not showing atall
fixed undefined imdex site slogon
moved language strings to there own files
fixed uninstall errors
added supprt for core theme
Quote from: SA™ on December 16, 2010, 12:16:25 PM
in subs.php in function show_facebook(){
you can chnage '.$txt['fb_login'].' to what ever you wanted
I did not find .$txt['fb_login'] in subs.php
The new version of this mod works with smf2 rc3 or not?
Currently the facebook friend invitation has limited to 16 people only. How can i make it unlimited?
No.. the limit is set by Fb and it can change at anytime.
It may increase if there arent too many reports against you app... and likewise may decrease if there are too many reports
Which mean only facebook able to set the limit , and we ourself was unable to check the limit right?
correct
my app is allowed 31 per day right now
how long does it take from you to reach to 31 people? :P
I honestly dont remember... it was a little higher before
the app itself is almost a year old
Using rc 2 and it says its not compatible,, any ideas?
You can try one of the archives http://www.sa-mods.info/index.php?board=37.0 (i really dont remember the last version that may have been compatible)... However know that there is no support for RC2 and I'd really suggest upgrading anyway.
Quote from: Spoogs on December 21, 2010, 08:43:51 PM
You can try one of the archives http://www.sa-mods.info/index.php?board=37.0 (i really dont remember the last version that may have been compatible)... However know that there is no support for RC2 and I'd really suggest upgrading anyway.
Believe me I would LOVE to upgrade I am just afraid to because I have a large forum with thousands of posts and members
so do others that have upgraded ;)
I'm getting a FB is not defined javascript error does that mean I have to wait for my app on facebook?
Quote from: Spoogs on December 22, 2010, 08:47:30 AM
so do others that have upgraded ;)
I would be willing to pay someone to do it that could guarantee me it would work
Hi, my facebook like count is always reseting back to 0 like, & befor it gets to 10 it will reset back to 0. pls help is there a way to solve it? im using smf rc4 & fbconnect rc4
My Fb Connect says the following:
Invalid API key specified
The app you are trying to access does not exist or has been disabled.
Help please?
the instructions are in the settings area of the mod.
Quote from: Spoogs on December 31, 2010, 10:06:15 PM
the instructions are in the settings area of the mod.
Instructions for what?
you need to create an app on fb, then you will have the correct AppID, API key, & Secret Key
Quote from: Spoogs on December 31, 2010, 10:14:43 PM
you need to create an app on fb, then you will have the correct AppID, API key, & Secret Key
Where do you get the API key from? I've got the APPID and Secret Key
Application name: HSCGUIDE
App URL: http://www.hscguide.net/reloaded/
Application ID: 171689342868966
I tried entering the key as the app ID but that didn't work.
http://www.sa-mods.info/index.php?topic=734.0
You do know the SECRET Key is SECRET for a reason (remove it from your post please)
Quote from: Spoogs on December 31, 2010, 11:05:20 PM
http://www.sa-mods.info/index.php?topic=734.0
You do know the SECRET Key is SECRET for a reason (remove it from your post please)
I tried that. Seemed to process the integration but then it loads the website as this: http://hscguide.net/reloaded/uide/forum/
We never have 'uide' in our url. Also, all the graphics and posts cannot be seen in the forum nor on the homepage when integration has occurred. How can I resolve this?
there are 2 mods available for download; which one to use for RC 4? =/
the one that doesnt say smf1 :P
Hey guys,
I'm a newbie to all of these and running SMF v. 1.1.11 and installed the SA FBConnect 0.2.
The button shows up, but it doesn't work. When click on it, nothing happens or it seems to just refresh the page.
Also, when I was exploring the "share board" tab in the menu, it sends me to a blank page and said "Fatal error: Call to undefined function smf_db_query.......................... /FB_Connect/Facebook_connect_admin.php on line 151"
Please advise.
have you setup an application yet?
Quote from: SA™ on January 05, 2011, 10:04:10 PM
have you setup an application yet?
what kind of application?
Quote from: apc896 on January 05, 2011, 11:26:48 PM
what kind of application?
http://www.sa-mods.info/index.php?topic=734.0
Quote from: Spoogs on January 05, 2011, 11:40:45 PM
Quote from: apc896 on January 05, 2011, 11:26:48 PM
what kind of application?
http://www.sa-mods.info/index.php?topic=734.0
Ok thank you for that... i just did that... but is still not working....
I inputed all the keys and IDs and when I click on the FB connect button, it doesn't do anything or it just refreshes the page.
Also, when I explore the "share boards" option, it directs me to a new page with this error message:
"Fatal error: Call to undefined function smf_db_query() in /hermes/bosweb/web093/b938................................./Sources/FB_Connect/Facebook_connect_admin.php on line 151"
Please advise....
Quote from: apc896 on January 06, 2011, 02:20:12 PM
Quote from: Spoogs on January 05, 2011, 11:40:45 PM
Quote from: apc896 on January 05, 2011, 11:26:48 PM
what kind of application?
http://www.sa-mods.info/index.php?topic=734.0
Ok thank you for that... i just did that... but is still not working....
I inputed all the keys and IDs and when I click on the FB connect button, it doesn't do anything or it just refreshes the page.
Also, when I explore the "share boards" option, it directs me to a new page with this error message:
"Fatal error: Call to undefined function smf_db_query() in /hermes/bosweb/web093/b938................................./Sources/FB_Connect/Facebook_connect_admin.php on line 151"
Please advise....
I found another mod which puts the like buttons in all post.
However, I'm still interested in installing this one because this is the only mod that I can find which puts a FB button in your main page.
I'm still having the same issues as stated above. Please advise.
Thank you so much for your time!
This is a nice mod! I am using it with SMF1.1.12 and Simple Portal 2.3.3 (all default files, no modifications to any templates yet).
When I "sign in with Facebook", it redirects me to the forum. I don't want that, I want it go to to the portal page.
What do I need to change so that it redirects to the portal page?
There are a few instances of "Registerd" It should be "Registered"
The "Update Your Facebook Status" link fails in Safari 3.1.2
@apc896
in sources/fb_connect can you tell me what files are there?
@grynmoors
in sources/fb_connect/fb_connect.php
find
if ($context['pwp'] == '1')
{
redirectexit('action=forum;fb_feed');
}
else
{
redirectexit('action=forum');
}
}
else
{
if ($context['pwp'] == '1')
{
redirectexit('fb_feed');
}
else
{
redirectexit('');
}
}
and chnage the redirect ther
Everytime i tried to login to facebook via the connect button i get the following problem:
It loads the website as this: http://hscguide.net/reloaded/uide/forum/ [nofollow]
We never have 'uide' in our url. Also, all the graphics and posts cannot be seen in the forum nor on the homepage when integration has occurred. How can I resolve this?
i dont see the mod installed at your site?
Awesome mod, love it! I'm currently testing with Simple Portal 2.3.3 and SMF 2.0 RC4. I noticed on the "My Friends" page where it lists my friends, it's only showing 10 people per page...there are 2 empty table cells in the lower right. Is there a setting for how many to show per page that I'm not finding in the admin panel?
Basically it's bringing up a 4 across by 3 down grid but only showing the first 10 cells with information in them...the last 2 across the bottom on the right are empty. Same on subsequent pages.
I seem to be having a strange problem. If someone registers through FB Connect, they see the forums in a whole different way - main things to them are not there (like the ability to post a new topic or reply). I've included screenshots. One is a "normal" member, the other is an account created through FB connect.
It also does not send an activation email when registering through FBConnect for them to activate their account, but they are just automatically activated.
I am running SMF 2.0 RC4
In the mods admin panel what group are your Fb users placed in and what permissions does that group have?
Correct email activation does work with this mod by design... fb users have already authenticated their email addresses.
That was the first thing I checked... the permissions. They are put into the "newbie" membergroup and that group has regular posting/reply permissions.
newbie is a post count group go to Admin>>Members>>Permissions>>Settings ... is permissions for post count groups enabled?
It wasn't, but I enabled it but it didn't change anything.
Admin>>Members>>Permissions... I'm pretty sure that group has no permissions at this point ;)
Ok I feel kind of stupid now. :o Thanks! That did it!
haha no worries ;D I was vague on purpose, glad its working now tho 8)
A useful modification, thank you
Quote from: SA™ on January 09, 2011, 01:42:48 AM
i dont see the mod installed at your site?
I re-enabled the mod. Can you take a look to see the error when I try to integrate please?
http://hscguide.net/reloaded/forum
@donnyfranks link to site?
i get this error
Fatal error: Uncaught exception 'FacebookRestClientException' with message 'Incorrect signature' in /home/hscguide/public_html/reloaded/forum/fbc/facebook/php/facebookapi_php5_restlib.php:3112 Stack trace: #0 /home/hscguide/public_html/reloaded/forum/fbc/facebook/php/facebookapi_php5_restlib.php(309): FacebookRestClient->call_method('facebook.auth.g...', Array) #1 /home/hscguide/public_html/reloaded/forum/fbc/facebook/php/facebook.php(206): FacebookRestClient->auth_getSession('34d36d93e2fb603...', false) #2 /home/hscguide/public_html/reloaded/forum/fbc/facebook/php/facebook.php(167): Facebook->do_get_session('34d36d93e2fb603...') #3 /home/hscguide/public_html/reloaded/forum/fbc/facebook/php/facebook.php(68): Facebook->validate_fb_params() #4 /home/hscguide/public_html/reloaded/forum/Sources/FB_Connect/FB_Connect_Subs.php(279): Facebook->__construct('80480339566a639...', '5920670a4d93bf6...') #5 /home/hscguide/public_html/reloaded/forum/Sources/FB_Connect/FB_Connect.php(13): FB_Globals() #6 /home/hscguide/public_html/reloa in /home/hscguide/public_html/reloaded/forum/fbc/facebook/php/facebookapi_php5_restlib.php on line 3112
wich i think means your app is incorrect or your keys are in the wrong places in fb admin panel
Quote from: clintmyster on January 09, 2011, 05:17:45 PM
Quote from: SA™ on January 09, 2011, 01:42:48 AM
i dont see the mod installed at your site?
I re-enabled the mod. Can you take a look to see the error when I try to integrate please?
http://hscguide.net/reloaded/forum
Quote from: SA™ on January 10, 2011, 12:10:40 PM
@donnyfranks link to site?
i get this error
Fatal error: Uncaught exception 'FacebookRestClientException' with message 'Incorrect signature' in /home/hscguide/public_html/reloaded/forum/fbc/facebook/php/facebookapi_php5_restlib.php:3112 Stack trace: #0 /home/hscguide/public_html/reloaded/forum/fbc/facebook/php/facebookapi_php5_restlib.php(309): FacebookRestClient->call_method('facebook.auth.g...', Array) #1 /home/hscguide/public_html/reloaded/forum/fbc/facebook/php/facebook.php(206): FacebookRestClient->auth_getSession('34d36d93e2fb603...', false) #2 /home/hscguide/public_html/reloaded/forum/fbc/facebook/php/facebook.php(167): Facebook->do_get_session('34d36d93e2fb603...') #3 /home/hscguide/public_html/reloaded/forum/fbc/facebook/php/facebook.php(68): Facebook->validate_fb_params() #4 /home/hscguide/public_html/reloaded/forum/Sources/FB_Connect/FB_Connect_Subs.php(279): Facebook->__construct('80480339566a639...', '5920670a4d93bf6...') #5 /home/hscguide/public_html/reloaded/forum/Sources/FB_Connect/FB_Connect.php(13): FB_Globals() #6 /home/hscguide/public_html/reloa in /home/hscguide/public_html/reloaded/forum/fbc/facebook/php/facebookapi_php5_restlib.php on line 3112
wich i think means your app is incorrect or your keys are in the wrong places in fb admin panel
Quote from: clintmyster on January 09, 2011, 05:17:45 PM
Quote from: SA™ on January 09, 2011, 01:42:48 AM
i dont see the mod installed at your site?
I re-enabled the mod. Can you take a look to see the error when I try to integrate please?
http://hscguide.net/reloaded/forum
All fixed, I had to change the url slightly but now it works fine. Thanks for the help!
Hey Spoogs,,
How can I get FBC to post to my forums FB page and not to MY personnel profile?
Can you help me? I get an error when going to install this mod.
Thanks
@ Bobn
no at this time you cant not yet anyway 1.1 will problay have it tho
@o3ch1e
go ahead and install it then your have to make the chnages
Quote from: SA™ on January 12, 2011, 10:24:45 AM
@ Bobn
no at this time you cant not yet anyway 1.1 will problay have it tho
@o3ch1e
go ahead and install it then your have to make the chnages
I use a custom Themes from dzinerstudio. But I can not use this mod, I have to change it to the core theme.
Thanks
So when do you guys think we might be able to use FBC to post on our group pages instead of our profile page?
There's no estimated time yet... it will have to be coded and tested properly before its release
Quote from: Spoogs on January 12, 2011, 06:52:48 PM
There's no estimated time yet... it will have to be coded and tested properly before its release
Ah,, I really would like my posts to be on my forum FB page and not in my profile :'(
I would just like to say Spoogs is a REALLY good guy! He helped me with FB Connect and a host of other problems that I have been dealing with for years with one of my forums. AAA+++AAA
Quote from: Bobn on January 12, 2011, 07:18:48 PM
Quote from: Spoogs on January 12, 2011, 06:52:48 PM
There's no estimated time yet... it will have to be coded and tested properly before its release
Ah,, I really would like my posts to be on my forum FB page and not in my profile :'(
I cant wait for it to be ready too, that will be a pretty awesome feature
Quote from: Bobn on January 12, 2011, 07:26:21 PM
I would just like to say Spoogs is a REALLY good guy! He helped me with FB Connect and a host of other problems that I have been dealing with for years with one of my forums. AAA+++AAA
Thanks man :) happy I was able to help you get things back on track
Hi,
nice mod. I've just tested it on your site and I see it doesnt support czech language, for example in the names of my pages the text is not correct.
How do I delete the registration?
Thanks
This mod has not translated in all languages and we are looking for translators ;)
What registration do you want to delete?
Hi,
I mean the facebook text in some "pages" in my profile is in czech and it is not displayed in the forum correctly, like the mod won't support utf-8?
What I ment, if I register via facebook, would it be possible for the user if needed to delete the profile in the forum?
Can the administrator delete or ban a facebook profile?
Does it support a multidomain smf forum? Will the profile be visible on other domains using the same forum database? Or will they even be able to login? :)
Anyway, if I get it installed I can of course send you the mod translation.
Thank you!
Quote from: Spoogs on January 12, 2011, 07:35:58 PM
Quote from: Bobn on January 12, 2011, 07:18:48 PM
Quote from: Spoogs on January 12, 2011, 06:52:48 PM
There's no estimated time yet... it will have to be coded and tested properly before its release
Ah,, I really would like my posts to be on my forum FB page and not in my profile :'(
I cant wait for it to be ready too, that will be a pretty awesome feature
Quote from: Bobn on January 12, 2011, 07:26:21 PM
I would just like to say Spoogs is a REALLY good guy! He helped me with FB Connect and a host of other problems that I have been dealing with for years with one of my forums. AAA+++AAA
Thanks man :) happy I was able to help you get things back on track
Help.. i am using _258 and rc4 smf andwhenever i click on associate with facebook account, nothing happens, except the error on the forum that shows a box with a #4 in it, thats it, eveythign else seems to work right, but the connecting to facebook
i also get this error in error log:
donnyfranks
Today at 12:56:22 AM
28312b3f16ae6a8b86c959e2fd7a5b44
Type of error: Undefined
forum.wtsps.com/index.php?action=facebook;area=sync8: Undefined variable: txtFile: /homepages/10/d353714913/htdocs/forum/Sources/FB_Connect/FB_Connect_Subs.php
Line: 21
@ SA
my site is http://forum.wtsps.comhttp://forum.wtsps.com (http://forum.wtsps.com)
Quote from: SA™ on January 10, 2011, 12:10:40 PM
@donnyfranks link to site?
i get this error
Fatal error: Uncaught exception 'FacebookRestClientException' with message 'Incorrect signature' in /home/hscguide/public_html/reloaded/forum/fbc/facebook/php/facebookapi_php5_restlib.php:3112 Stack trace: #0 /home/hscguide/public_html/reloaded/forum/fbc/facebook/php/facebookapi_php5_restlib.php(309): FacebookRestClient->call_method('facebook.auth.g...', Array) #1 /home/hscguide/public_html/reloaded/forum/fbc/facebook/php/facebook.php(206): FacebookRestClient->auth_getSession('34d36d93e2fb603...', false) #2 /home/hscguide/public_html/reloaded/forum/fbc/facebook/php/facebook.php(167): Facebook->do_get_session('34d36d93e2fb603...') #3 /home/hscguide/public_html/reloaded/forum/fbc/facebook/php/facebook.php(68): Facebook->validate_fb_params() #4 /home/hscguide/public_html/reloaded/forum/Sources/FB_Connect/FB_Connect_Subs.php(279): Facebook->__construct('80480339566a639...', '5920670a4d93bf6...') #5 /home/hscguide/public_html/reloaded/forum/Sources/FB_Connect/FB_Connect.php(13): FB_Globals() #6 /home/hscguide/public_html/reloa in /home/hscguide/public_html/reloaded/forum/fbc/facebook/php/facebookapi_php5_restlib.php on line 3112
wich i think means your app is incorrect or your keys are in the wrong places in fb admin panel
Quote from: clintmyster on January 09, 2011, 05:17:45 PM
Quote from: SA™ on January 09, 2011, 01:42:48 AM
i dont see the mod installed at your site?
I re-enabled the mod. Can you take a look to see the error when I try to integrate please?
http://hscguide.net/reloaded/forum
@donnyfranks
what do you have as your site url and domain url in your facebook app
site url in facebook app = "http://forum.wtsps.com/"
domain url = " wtsps.com" ewithotu http://
please help, the like, the share and everything else works except for the associate account, or login with facebook buttons, like i said if clicked it states the error :
Help.. i am using _258 and rc4 smf andwhenever i click on associate with facebook account, nothing happens, except the error on the forum that shows a box with a #4 in it, thats it, eveythign else seems to work right, but the connecting to facebook
i also get this error in error log:
donnyfranks
Today at 12:56:22 AM
28312b3f16ae6a8b86c959e2fd7a5b44
Type of error: Undefined
forum.wtsps.com/index.php?action=facebook;area=sync8: Undefined variable: txtFile: /homepages/10/d353714913/htdocs/forum/Sources/FB_Connect/FB_Connect_Subs.php
Line: 21
i am using the newest release of sa facebook connect, and the bnewest rc4 of SMF, i have tried this on a new blank forum, and the current forum. i have tried it with the delault theme, and custom themes, and they all give the same error:
i have enclosed a snapshot of my settings in FB and in the forum admin page:
please let me know
the unchecked ones on the facebook admin forum, is because they create errors. i have rechecked them, so if possible you can test them
Quote from: Spoogs on January 13, 2011, 10:45:10 AM
@donnyfranks
what do you have as your site url and domain url in your facebook app
here is the facebook pic
here is the pic of the forum when it creates the error!
is there anything in your error logs?
the error logs says:
28312b3f16ae6a8b86c959e2fd7a5b44
Type of error: Undefined
forum.wtsps.com/index.php?action=facebook;area=sync8: Undefined variable: txtFile: /homepages/10/d353714913/htdocs/forum/Sources/FB_Connect/FB_Connect_Subs.php
Line: 21
here is a pic of the html code: line 21 is highlighted, this is the only error i am getting in the error log
did any body noticed a conflict between Enotify and SA Facebook Connect?
@donnyfranks that tells me you have php4 and this mod reqires php5 to work your host should be able to update that for you
@!RFAN please do explain more?
THANKS - I SOLVED THE PROBLEM, THANKS TO YOUR HELP, I CHECKED MY SETTINGS, AND SAW WHERE THE .HTACCESS FILE SAID PHP 4, I CHANGED IT TO READ :
AddType x-mapp-php5 .php .php4
AND NOW IT WORKS
but now i am getting this error:
http://forum.wtsps.com/index.php?
2: implode() [<a href='function.implode'>function.implode</a>]: Invalid arguments passed
File: /homepages/10/d353714913/htdocs/forum/Themes/default/languages/Facebook.english.php (main sub template - eval?)
Line: 290
http://forum.wtsps.com/index.php?
8: Undefined variable: user_info
File: /homepages/10/d353714913/htdocs/forum/Themes/default/languages/Facebook.english.php (main sub template - eval?)
Line: 290
but when looking at the file, there is no line 290, it stops on line 278
Quote from: SA™ on January 14, 2011, 01:24:56 PM
@donnyfranks that tells me you have php4 and this mod reqires php5 to work your host should be able to update that for you
@!RFAN please do explain more?
Hey buddy SA. My name is Matthew and i'm a big fan of your addon. I've been in the process of wanting to use a different theme with your plugin. I'm sure in these 60 pages of communication there is a lot of talk about this but I wanted to see if there was a specific guide online or a walkthrough of some kind on how to integrate the plugin to other themes. I'm somewhat familiar with PHP and very familiar with HTML, but not familiar with SMF and its plugins etc.
Please let me know the best way to approach this concern. Thanks much.
i was using enotify nd this mod... but i got an error when i tested a new registration... i was not able to register a member using facebook connect and when i removed enotify it was working again :s
@donnyfranks
you have to disable eval and it will show the true error
@mattverg7
you can get the edits from the mods page here selected your version and parse it
@!RFAN
oh ill look into thiswhat error did you get?
({ "title": "Notification Feed", "generator": "ENotify Modification for Simple Machines Forum", "items": [ ] })
Quote from: jekwumoore on November 29, 2010, 09:47:57 AM
I installed it and when I try to log in via facebook which was successful but it just log into the admin account which means anyone that uses facebook to log into my forum with gain access to my admin control, what went wrong?
Does it have to do with the ip?
Now I know where the problem is. It has to do with the hosting company, the result above was from a free web hosting account. I tried it out on my main site and it worked well
I am trying to put code for this index.template php file for my as theme
three things I have not figured where to add after or add before
1-<body>';
2- </form>';
3- if (!empty($context['user']['avatar']))
these are present in the default theme but I can't find them in as theme, below is the code of indextemplate of as theme.
<?php
// Version: 1.1; index
/* This template is, perhaps, the most important template in the theme. It
contains the main template layer that displays the header and footer of
the forum, namely with main_above and main_below. It also contains the
menu sub template, which appropriately displays the menu; the init sub
template, which is there to set the theme up; (init can be missing.) and
the linktree sub template, which sorts out the link tree.
The init sub template should load any data and set any hardcoded options.
The main_above sub template is what is shown above the main content, and
should contain anything that should be shown up there.
The main_below sub template, conversely, is shown after the main content.
It should probably contain the copyright statement and some other things.
The linktree sub template should display the link tree, using the data
in the $context['linktree'] variable.
The menu sub template should display all the relevant buttons the user
wants and or needs.
For more information on the templating system, please see the site at:
http://www.simplemachines.org/
*/
// Initialize the template... mainly little settings.
function template_init()
{
global $context, $settings, $options, $txt;
/* Use images from default theme when using templates from the default theme?
if this is 'always', images from the default theme will be used.
if this is 'defaults', images from the default theme will only be used with default templates.
if this is 'never' or isn't set at all, images from the default theme will not be used. */
$settings['use_default_images'] = 'never';
/* What document type definition is being used? (for font size and other issues.)
'xhtml' for an XHTML 1.0 document type definition.
'html' for an HTML 4.01 document type definition. */
$settings['doctype'] = 'xhtml';
/* The version this template/theme is for.
This should probably be the version of SMF it was created for. */
$settings['theme_version'] = '1.1.4';
/* Set a setting that tells the theme that it can render the tabs. */
$settings['use_tabs'] = true;
/* Use plain buttons - as oppossed to text buttons? */
$settings['use_buttons'] = true;
/* Show sticky and lock status seperate from topic icons? */
$settings['seperate_sticky_lock'] = true;
// load custom language strings
loadLanguage('ThemeStrings');
}
// The main sub template above the content.
function template_main_above()
{
global $context, $settings, $options, $scripturl, $txt, $modSettings;
// Show right to left and the character set for ease of translating.
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"', $context['right_to_left'] ? ' dir="rtl"' : '', '><head>
<meta http-equiv="Content-Type" content="text/html; charset=', $context['character_set'], '" />
<meta name="description" content="', $context['page_title'], '" />', empty($context['robot_no_index']) ? '' : '
<meta name="robots" content="noindex" />', '
<meta name="keywords" content="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />
<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/script.js?fin11"></script>
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
var smf_theme_url = "', $settings['theme_url'], '";
var smf_images_url = "', $settings['images_url'], '";
var smf_scripturl = "', $scripturl, '";
var smf_iso_case_folding = ', $context['server']['iso_case_folding'] ? 'true' : 'false', ';
var smf_charset = "', $context['character_set'], '";
// ]]></script>
<title>', $context['page_title'], '</title>';
// The ?fin11 part of this link is just here to make sure browsers don't cache it wrongly.
echo '
<link rel="stylesheet" type="text/css" href="', $settings['theme_url'], '/style.css?fin11" />
<link rel="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?fin11" media="print" />';
/* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)
Thus, in Internet Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.
Note that this is affected by whether IE 6 is in standards compliance mode.. if not, it will also be big.
Standards compliance mode happens when you use xhtml... */
if ($context['browser']['needs_size_fix'])
echo '
<link rel="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';
// the fontsize
if($context['user']['is_logged'])
echo '<style type="text/css"><!--
body
{
font-size: ' , !empty($options['mysize']) ? $options['mysize'] : 'small' , ';
margin: auto;
}
--></style>';
else{
if(isset($_COOKIE['size']))
$gsize=$_COOKIE['size'];
else
$gsize='small';
echo '<style type="text/css"><!--
body
{
font-size: ' , $gsize , ';
}
--></style>';
}
// Show all the relative links, such as help, search, contents, and the like.
echo '
<link rel="help" href="', $scripturl, '?action=help" target="_blank" />
<link rel="search" href="' . $scripturl . '?action=search" />
<link rel="contents" href="', $scripturl, '" />';
// If RSS feeds are enabled, advertise the presence of one.
if (!empty($modSettings['xmlnews_enable']))
echo '
<link rel="alternate" type="application/rss+xml" title="', $context['forum_name'], ' - RSS" href="', $scripturl, '?type=rss;action=.xml" />';
// If we're viewing a topic, these should be the previous and next topics, respectively.
if (!empty($context['current_topic']))
echo '
<link rel="prev" href="', $scripturl, '?topic=', $context['current_topic'], '.0;prev_next=prev" />
<link rel="next" href="', $scripturl, '?topic=', $context['current_topic'], '.0;prev_next=next" />';
// If we're in a board, or a topic for that matter, the index will be the board's index.
if (!empty($context['current_board']))
echo '
<link rel="index" href="' . $scripturl . '?board=' . $context['current_board'] . '.0" />';
// We'll have to use the cookie to remember the header...
if ($context['user']['is_guest'])
$options['collapse_header'] = !empty($_COOKIE['upshrink']);
// Output any remaining HTML headers. (from mods, maybe?)
echo $context['html_headers'], '
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
var current_header = ', empty($options['collapse_header']) ? 'false' : 'true', ';
function shrinkHeader(mode)
{';
// Guests don't have theme options!!
if ($context['user']['is_guest'])
echo '
document.cookie = "upshrink=" + (mode ? 1 : 0);';
else
echo '
smf_setThemeOption("collapse_header", mode ? 1 : 0, null, "', $context['session_id'], '");';
echo '
document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/upshrink.gif");
document.getElementById("upshrinkHeader").style.display = mode ? "none" : "";
document.getElementById("upshrinkHeader2").style.display = mode ? "none" : "";
current_header = mode;
}
// ]]></script>';
// the routine for the info center upshrink
echo '
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
var current_header_ic = ', empty($options['collapse_header_ic']) ? 'false' : 'true', ';
function shrinkHeaderIC(mode)
{';
if ($context['user']['is_guest'])
echo '
document.cookie = "upshrinkIC=" + (mode ? 1 : 0);';
else
echo '
smf_setThemeOption("collapse_header_ic", mode ? 1 : 0, null, "', $context['session_id'], '");';
echo '
document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse.gif");
document.getElementById("upshrinkHeaderIC").style.display = mode ? "none" : "";
current_header_ic = mode;
}
// ]]></script>
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
//Specify affected tags. Add or remove from list:
var tgs = new Array( \'td\',\'tr\');
//Specify spectrum of different font sizes:
var szs = new Array( \'xx-small\',\'x-small\',\'small\',\'medium\',\'large\',\'x-large\' );
';
// setup the array to start with
$fsize=array('xx-small' => 0 , 'x-small' => 1, 'small' => 2, 'medium' => 3, 'large' => 4, 'x-large' => 5);
if(!empty($options['mysize']))
$what=$fsize[$options['mysize']];
else
$what=2;
echo '
var startSz = '.$what.';
function ts( trgt,inc ) {
if (!document.getElementById) return
var d = document,cEl = null,sz = startSz,i,j,cTags;
sz += inc;
if ( sz < 0 ) sz = 0;
if ( sz > 3 ) sz = 3;
startSz = sz;
if ( !( cEl = d.getElementById( trgt ) ) ) cEl = d.getElementsByTagName( trgt )[ 0 ];
cEl.style.fontSize = szs[ sz ];
for ( i = 0 ; i < tgs.length ; i++ ) {
cTags = cEl.getElementsByTagName( tgs[ i ] );
for ( j = 0 ; j < cTags.length ; j++ ) cTags[ j ].style.fontSize = szs[ sz ];
}
setmysize(szs[ sz ]);
}
function tsreset( trgt ) {
if (!document.getElementById) return
var d = document,cEl = null,sz = startSz,i,j,cTags;
sz = 2;
startSz = sz;
if ( !( cEl = d.getElementById( trgt ) ) ) cEl = d.getElementsByTagName( trgt )[ 0 ];
cEl.style.fontSize = szs[ sz ];
for ( i = 0 ; i < tgs.length ; i++ ) {
cTags = cEl.getElementsByTagName( tgs[ i ] );
for ( j = 0 ; j < cTags.length ; j++ ) cTags[ j ].style.fontSize = szs[ sz ];
}
setmysize(szs[ sz ]);
}
// ]]></script>
<script language="JavaScript" type="text/javascript" src="', $settings['theme_url'], '/mootools.js"></script>
<script language="JavaScript" type="text/javascript" src="', $settings['theme_url'], '/menu.js"></script>
<script language="JavaScript" type="text/javascript" src="', $settings['theme_url'], '/main.js"></script>';
echo '
</head>
<body>
<div id="header">
<div id="head-l">
<div id="head-r">
<a href="'.$scripturl.'?action=forum" title=""><span id="logo"> </span></a>';
echo '
</div>
</div>
</div>
<div id="toolbar">
<div id="fancymenu">
',template_menu(),'
</div>
</div><br />
<div id="mainarea">
<div id="sag1">
<div id="sol1">
<div id="alt1">
<div id="altsag1">
<div id="altsol1">
<div id="ust1">
<div id="ustsag1">
<div id="ustsol1">';
echo '
<div id="navarea1">
<div id="arama">';
if ($context['user']['is_logged'])
{
echo '<b>', $txt['hello_member_ndt'], ' ', $context['user']['name'], '</b><br />';
echo '<a href="', $scripturl, '?action=unread">', $txt['unread_since_visit'], '</a><br /><a href="', $scripturl, '?action=unreadreplies">', $txt['show_unread_replies'], '</a><br />';
}
// Otherwise they're a guest - this time ask them to either register or login - lazy bums...
else
{
echo '
', $txt['welcome_guest'], ' ';
}
echo '
</div>';
echo '
<div id="news">
<span class="smalltext"><b>', $txt[102], '</b>: <br />', $context['random_news_line'], '</span>
</div></div><br />';
}
function template_main_below()
{
global $context, $settings, $options, $scripturl, $txt;
echo '
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div><br />';
// Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere!
echo '
<div id="footer">
<div id="footer-l">
<div id="footer-r">
<div id="footerarea">
<span class="smalltext">', theme_copyright(), '
<strong>Theme As</strong> © 2009, by <a href="http://www.fussilet.com" target="_blank"> Fussilet</a></span><br />
<a href="http://validator.w3.org/check/referer" target="_blank" style="font-size:10px;">XHTML</a>';
// Show the load time?
if ($context['show_load_time'])
echo '
<p align="center"><span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $context['load_queries'], $txt['smf302b'], '</span></p>';
// This is an interesting bug in Internet Explorer AND Safari. Rather annoying, it makes overflows just not tall enough.
if (($context['browser']['is_ie'] && !$context['browser']['is_ie4']) || $context['browser']['is_mac_ie'] || $context['browser']['is_safari'] || $context['browser']['is_firefox'])
{
// The purpose of this code is to fix the height of overflow: auto div blocks, because IE can't figure it out for itself.
echo '
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[';
// Unfortunately, Safari does not have a "getComputedStyle" implementation yet, so we have to just do it to code...
if ($context['browser']['is_safari'])
echo '
window.addEventListener("load", smf_codeFix, false);
function smf_codeFix()
{
var codeFix = document.getElementsByTagName ? document.getElementsByTagName("div") : document.all.tags("div");
for (var i = 0; i < codeFix.length; i++)
{
if ((codeFix[i].className == "code" || codeFix[i].className == "post" || codeFix[i].className == "signature") && codeFix[i].offsetHeight < 20)
codeFix[i].style.height = (codeFix[i].offsetHeight + 20) + "px";
}
}';
elseif ($context['browser']['is_firefox'])
echo '
window.addEventListener("load", smf_codeFix, false);
function smf_codeFix()
{
var codeFix = document.getElementsByTagName ? document.getElementsByTagName("div") : document.all.tags("div");
for (var i = 0; i < codeFix.length; i++)
{
if (codeFix[i].className == "code" && (codeFix[i].scrollWidth > codeFix[i].clientWidth || codeFix[i].clientWidth == 0))
codeFix[i].style.overflow = "scroll";
}
}';
else
echo '
var window_oldOnload = window.onload;
window.onload = smf_codeFix;
function smf_codeFix()
{
var codeFix = document.getElementsByTagName ? document.getElementsByTagName("div") : document.all.tags("div");
for (var i = codeFix.length - 1; i > 0; i--)
{
if (codeFix[i].currentStyle.overflow == "auto" && (codeFix[i].currentStyle.height == "" || codeFix[i].currentStyle.height == "auto") && (codeFix[i].scrollWidth > codeFix[i].clientWidth || codeFix[i].clientWidth == 0) && (codeFix[i].offsetHeight != 0 || codeFix[i].className == "code"))
codeFix[i].style.height = (codeFix[i].offsetHeight + 36) + "px";
}
if (window_oldOnload)
{
window_oldOnload();
window_oldOnload = null;
}
}';
echo '
// ]]></script>';
}
echo '
</div>
</div>
</div>
</div>';
// The following will be used to let the user know that some AJAX process is running
echo '
<div id="ajax_in_progress" style="display: none;', $context['browser']['is_ie'] && !$context['browser']['is_ie7'] ? 'position: absolute;' : '', '">', $txt['ajax_in_progress'], '</div>';
echo '
</body>
</html>';
}
// Show a linktree. This is that thing that shows "My Community | General Category | General Discussion"..
function theme_linktree()
{
global $context, $settings, $options;
echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top: 0ex; padding-bottom: 0ex; padding-left: 2ex;">';
// Each tree item has a URL and name. Some may have extra_before and extra_after.
foreach ($context['linktree'] as $link_num => $tree)
{
// Show something before the link?
if (isset($tree['extra_before']))
echo $tree['extra_before'];
// Show the link, including a URL if it should have one.
echo '<b>', $settings['linktree_link'] && isset($tree['url']) ? '<a href="' . $tree['url'] . '" class="nav">' . $tree['name'] . '</a>' : $tree['name'], '</b>';
// Show something after the link...?
if (isset($tree['extra_after']))
echo $tree['extra_after'];
// Don't show a separator for the last one.
if ($link_num != count($context['linktree']) - 1)
echo ' | ';
}
echo '</div>';
}
// Show the menu up top. Something like [home] [help] [profile] [logout]...
function template_menu()
{
global $context, $settings, $options, $scripturl, $txt;
// Work out where we currently are.
$current_action = 'home';
if (in_array($context['current_action'], array('admin', 'ban', 'boardrecount', 'cleanperms', 'detailedversion', 'dumpdb', 'featuresettings', 'featuresettings2', 'findmember', 'maintain', 'manageattachments', 'manageboards', 'managecalendar', 'managesearch', 'membergroups', 'modlog', 'news', 'optimizetables', 'packageget', 'packages', 'permissions', 'pgdownload', 'postsettings', 'regcenter', 'repairboards', 'reports', 'serversettings', 'serversettings2', 'smileys', 'viewErrorLog', 'viewmembers')))
$current_action = 'admin';
if (in_array($context['current_action'], array('search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'logout', 'help', 'pm')))
$current_action = $context['current_action'];
if ($context['current_action'] == 'search2')
$current_action = 'search';
// Are we using right-to-left orientation?
if ($context['right_to_left'])
{
$first = 'last';
$last = 'first';
}
else
{
$first = 'first';
$last = 'last';
}
// Start of the tab section.
echo '
<ul>';
// Show the default [home] button.
echo ($current_action=='home' || $context['browser']['is_ie4']) ? '' : '' , '
<li class="' , $current_action == 'home' ? 'current' : '' , '"><a href="', $scripturl, '">' , $txt[103] , '</a></li>';
// Show the [help] button.
echo ($current_action=='help' || $context['browser']['is_ie4']) ? '' : '' , '
<li class="' , $current_action == 'help' ? 'current' : '' , '"><a href="', $scripturl, '?action=help">' , $txt[119] , '</a></li>';
// How about the [search] button?
if ($context['allow_search'])
echo ($current_action=='search' || $context['browser']['is_ie4']) ? '' : '' , '
<li class="' , $current_action == 'search' ? 'current' : '' , '"><a href="', $scripturl, '?action=search">' , $txt[182] , '</a></li>';
// Is the user allowed to administrate at all? ([admin])
if ($context['allow_admin'])
echo ($current_action=='admin' || $context['browser']['is_ie4']) ? '' : '' , '
<li class="' , $current_action == 'admin' ? 'current' : '' , '"><a href="', $scripturl, '?action=admin">' , $txt[2] , '</a></li>';
// Edit Profile... [profile]
if ($context['allow_edit_profile'])
echo ($current_action=='profile' || $context['browser']['is_ie4']) ? '' : '' , '
<li class="' , $current_action == 'profile' ? 'current' : '' , '"><a href="', $scripturl, '?action=profile">' , $txt[79] , '</a></li>';