Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Navigation
Latest Addons
AD Gallery 31
SyntaxHighlighte... 45
Newsletters v4.03 104
Facebook Like Box 117
Newsletters v4.02 55
Metro 148
Facebook Connect 161
Shoutbox Panel 123
Redactor for PHP... 102
MI Floating Side... 105
Facebook Login/R... 146
Avatar Studio v2.03 176
Relationship Sta... 93
Sexual Orientati... 111
Fisherman 138
Popular Addons
iTheme2 5790
Arise 5780
User Control v1.23 4612
Event Calendar 4038
Photowidget panel 3880
Radio-Theme red2... 3346
Highslide Gallery 3307
CSS/JavaScript D... 3219
Facebook Connect... 2973
Dynamic Menu 2886
Slideshow Lightb... 2713
L-AMANT 2654
Enigma 2628
2Dark 2601
Black 2566
View Thread
Official Home of PHP-Fusion » General Addon and Modification Support » Code Snippet and functions
Who is here? 1 guest(s)
 Print Thread
Some Nice Snippets from Facebook
Ankur
Hello Guyz,

I was just informed by one of my Friend L0nelyCowBoy about the updated interface of the Facebook Plugins. So I just tried some of them and want to share it with you :

I have just tested three plugins and want response if it also good for you.

Just Add it as a Lower or Upper Center Panel and try :

openside("Facebook Recent Activity");

$link = urlencode($settings['siteurl']);
$curlink = 'http://';
$curlink .= $_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];
$curlink = urlencode($curlink);

echo "<center>";

// This Code is for Like. Remove if not wanted.
echo "<iframe src='http://www.facebook.com/plugins/like.php?href=".$curlink."&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;font=tahoma&amp;colorscheme=light&amp;height=80' scrolling='no' frameborder='0' style='border:none; overflow:hidden; width:450px; height:80px;' allowTransparency='true'></iframe><br />";

// This Code is for Activity. Remove if not wanted.
echo "<iframe src='http://www.facebook.com/plugins/activity.php?site=".$link."&amp;width=300&amp;height=300&amp;header=true&amp;colorscheme=dark&amp;font=tahoma&amp;recommendations=true' scrolling='no' frameborder='0' style='border:none; overflow:hidden; width:300px; height:300px;' allowTransparency='true'></iframe>";

// This Code is for Recommendations. Remove if not wanted.
echo "<iframe src='http://www.facebook.com/plugins/recommendations.php?site=".$link."&amp;width=300&amp;height=300&amp;header=true&amp;colorscheme=light&amp;font=tahoma' scrolling='no' frameborder='0' style='border:none; overflow:hidden; width:300px; height:300px;' allowTransparency='true'></iframe>";

echo "</center>";

closeside();


Please refer to the page at http://developers.../activity/. You can check for some Good options and help there !

Temp. Screenshot :
i55.tinypic.com/mrsio7.png

ankurthakur.co.cc/images/freelancer.png
 
http://ankurthakur.in/
Craig
Hey Ankur,

Very nice man. Works good at my end.
 
http://www.fusiontube.co.uk/
BlackDragon
Nice,
Thanks man Smile .
http://www.bolja-...ost.com.ba My best PHP-Fusion design.
 
Jump to Forum:
Similar Threads
Thread Forum Replies Last Post
facebook mods? Content Administration 2 28-04-2013 15:46
[ADDON] Facebook Login/Register System Ideas for Modifications and Requests 43 17-04-2013 18:57
Facebook Content Administration 2 04-04-2013 09:19
Facebook User ID Lookup V1.00 Panels and Infusions 1 03-04-2013 16:13
Facebook Panels - major oversight Panels and Infusions 5 02-03-2013 05:39
Official Home of PHP-Fusion uses cookies. Some may already have been set. Read more about our Cookies here.
Please click the button I Consent Cookies to hide this bar and accept our cookies. If you continue to use the site with no action taken, we'll assume that you consent our cookies anyway.
Cookiebar Panel byVenue