News:

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

Main Menu

SA Facebook Integration

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

Previous topic - Next topic

SA™

just to make sure is it this ajax chat you use?

http://custom.simplemachines.org/mods/index.php?mod=1319

them error come from the profile sub menu item

you could remove it if you wanted

Sources\Facebook\FacebookHooks.php

find and remove

        if(!empty($context['fbname']) && !empty($modSettings['fb_app_enabled'])){
       
    $counter = 0;

    foreach ($menu_buttons['profile']['sub_buttons'] as $area => $dummy)
    if (++$counter && $area == 'account')
    break;

            $menu_buttons['profile']['sub_buttons'] = array_merge(
        array_slice($menu_buttons['profile']['sub_buttons'], 0, $counter, TRUE),

    array(
        'fb' => array(
    'title' => $txt['fb_main5'],
    'href' => $scripturl . '?action=profile;area=fsettings;u='.$user_info['id'].'',
    'show' => true,
    ),
    ),

      array_slice($menu_buttons['profile']['sub_buttons'], $counter, NULL, TRUE)

            );
        }


and yes they still can get to that area thru the profile screen
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

David111567

Quote from: SA™ on November 25, 2011, 08:35:43 PM
just to make sure is it this ajax chat you use?

http://custom.simplemachines.org/mods/index.php?mod=1319

them error come from the profile sub menu item

you could remove it if you wanted

Sources\Facebook\FacebookHooks.php

find and remove

        if(!empty($context['fbname']) && !empty($modSettings['fb_app_enabled'])){
       
    $counter = 0;

    foreach ($menu_buttons['profile']['sub_buttons'] as $area => $dummy)
    if (++$counter && $area == 'account')
    break;

            $menu_buttons['profile']['sub_buttons'] = array_merge(
        array_slice($menu_buttons['profile']['sub_buttons'], 0, $counter, TRUE),

    array(
        'fb' => array(
    'title' => $txt['fb_main5'],
    'href' => $scripturl . '?action=profile;area=fsettings;u='.$user_info['id'].'',
    'show' => true,
    ),
    ),

      array_slice($menu_buttons['profile']['sub_buttons'], $counter, NULL, TRUE)

            );
        }


and yes they still can get to that area thru the profile screen

Dude!  You saved the day!  Thank you very much....all is well.  Everything works fine, now.

Much appreciated!

David

littleone

#2042
I was using 46 on my test site before I upgraded and it was working fine.  Now that I use 47 on my live site, it doesnt appear to be working.  All I get is the ability to associate fb to my forum, but the "recommend button" and the "Comment" area all show without anything.  And as I said it was working fine before, I checked all the keys and stuff in the fb app.  All is well but still not working.


Correction....
I cant see the like button or the Comment box, however other people can... and Im the admin ?  I have tried linking my account and leaving it unlinked... nothing...   Also there is a message below the plugin...


Additional info... apparently its an IE issues.  Appears to be working in FF and Chrome... just not IE....

SA™

indeed there is an issue in ie 8 with fb plugins not showing

sources/facebook/facebookhooks.php

find
fb_call_js_sdk();
add after

echo'<script src="http://connect.facebook.net/'.$modSettings['fb_admin_intern1'].'/all.js#xfbml=1"></script>';
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

emery

How would you get the regerstration, or find from facebook, to ask for the users birthday?

i am using the

QuoteSA Facebook Intergration 2.0 RC Rev36
© 2009 - 2011 SA Mods

Modification and only allowing regerstration through that mod.

Thanks,
Emery

!RFAN

Thanks for adding facebook publisher for pages

i have a request that when post is published i should not show BBC codes used in the text of post on facebook

attached a photo to explain it..


SA™

#2046
please try the attachec facebookhooks.php file upload it to sources/facebook

i only tested it on a few bbcodes but it should remove all of them leaving the text inside them there
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

trekkie2444


!RFAN

Quote from: SA™ on November 28, 2011, 06:06:08 AM
please try the attachec facebookhooks.php file upload it to sources/facebook

i only tested it on a few bbcodes but it should remove all of them leaving the text inside them there
Yeah it is working fine now
Thanks for the quick help. you are awesome :)

littleone

Quote from: SA™ on November 26, 2011, 08:55:23 PM
indeed there is an issue in ie 8 with fb plugins not showing

sources/facebook/facebookhooks.php

find
fb_call_js_sdk();
add after

echo'<script src="http://connect.facebook.net/'.$modSettings['fb_admin_intern1'].'/all.js#xfbml=1"></script>';


Made this change but it did not resolve the IE issues :(

SA™

it works with ie 8 what version of ie you using?
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

littleone

I'm using IE 8, but the "Comment Box" on threads and the "Like" or "Recommend" button does not show.  It did fix the "Facebook" tab showing on the menu bar, but it just shows the user info and picture, no entry box for posts or whatever on FB

SA™

have you enabled them? in fb admin and chosed the boards where the comments nd like willl show?

that fixed i listed elayer woldent of made no dfference to the fb menu tab
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

littleone

Quote from: SA™ on November 29, 2011, 11:22:40 PM
have you enabled them? in fb admin and chosed the boards where the comments nd like willl show?

that fixed i listed elayer woldent of made no dfference to the fb menu tab

Yes they are enabled.  Other browsers see them, just not IE

SA™

that fix sure works for me on my site so i dont know tho i did have todo it another way cos it conflicted with other stuff

your have to wait for the next version now with the fix
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

~DS~

Quote from: littleone on November 29, 2011, 07:50:17 PM
I'm using IE 8, but the "Comment Box" on threads and the "Like" or "Recommend" button does not show.  It did fix the "Facebook" tab showing on the menu bar, but it just shows the user info and picture, no entry box for posts or whatever on FB
Only if I have IE8 to test which is never gonna happen in a Mac. :P
"There is no god, and that's the simple truth. If every trace of any single religion were wiped out and nothing were passed on, it would never be created exactly that way again. There might be some other nonsense in its place, but not that exact nonsense. If all of science were wiped out, it would still be true and someone would find a way to figure it all out again."
~Penn Jillette – God, NO! – 2011

Nitesh Kunnath

Unable to integrate "sa facebook connect" plugin and "Enotify" plugin both at a forum. It clashes or give errors after integration.

This is the error:

({ "title": "Notification Feed", "generator": "ENotify Modification for Simple Machines Forum", "items": [ ] })


Please help me install both this plugin as I need it much !!!

Where might be the issue ?
If anyone guide me which file should be modified, I will do it and try :)

SA™

http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

Nitesh Kunnath


SA™

yes rev47 is the latest one so it applies to that aswell

rev is short for revision
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

Advertisement: