Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Navigation
Follow us on Facebook
Follow us on Google+
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 :

[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]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();[/syntaxhighlighter]

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

Hi! Its me, Ankur Thakur! Smile
 
http://ankurthakur.in/
Craig
Hey Ankur,

Very nice man. Works good at my end.
Regards
 
http://www.phpfusionmods.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
How to create a facebook login Panels and Infusions 2 18-04-2014 03:33
Facebook like box panel Official releases [Infusions] 1 26-02-2014 23:26
[ADDON] Facebook Login/Register System Modifications and Requests 49 08-01-2014 21:24
Facebook Connect Panel Panels and Infusions 2 07-01-2014 16:59
Facebook connect, Translate problem. Content Administration 6 26-10-2013 21:37
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 fromVenue