Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

How to add facebook like box to php fusion website

Asked Modified Viewed 6,074 times
S
sajeeshnair
S
  • Newbie, joined since
  • Contributed 6 posts on the community forums.
  • Started 3 threads in the forums
  • Started this discussions
asked
Newbie

Hi! I'm trying to add facebook like box code to the website. I tried adding it to the welcome panel as well as tried creating a new panel, but it's not showing up. Please help.

<iframe src="http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fplatform&amp;width=292&amp;connections=10&amp;stream=false&amp;header=false&amp;height=255" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:292px; height:255px;" allowTransparency="true"></iframe>
0 replies

6 posts

G
GMUDuckman
G
  • Senior Member, joined since
  • Contributed 266 posts on the community forums.
  • Started 6 threads in the forums
answered
Senior Member

hi,
first this belongs on the mod's site.
second

openside("Like this on Facebook", true, on);
echo "<iframe src='http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fplatform&amp;width=292&amp;connections=10&amp;stream=false&amp;header=false&amp;height=255' scrolling='no' frameborder='0' style='border:none; overflow:hidden; width:292px; height:255px;' allowTransparency='true'></iframe>";
closeside();
Edited by GMUDuckman on 29-09-2010 21:53,
0 replies
H
HobbyMan
H
Just some Guy
  • Veteran Member, joined since
  • Contributed 1,486 posts on the community forums.
  • Started 91 threads in the forums
answered
Veteran Member

C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

S
sajeeshnair
S
  • Newbie, joined since
  • Contributed 6 posts on the community forums.
  • Started 3 threads in the forums
  • Started this discussions
answered
Newbie

Quote

GMUDuckman wrote:
hi,
first this belongs on the mod's site.
second

openside("Like this on Facebook", true, on);
echo "<iframe src='http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fplatform&amp;width=292&amp;connections=10&amp;stream=false&amp;header=false&amp;height=255' scrolling='no' frameborder='0' style='border:none; overflow:hidden; width:292px; height:255px;' allowTransparency='true'></iframe>";
closeside();


@ GMUDuckman: I got the following error by doing the above action:

Notice: Use of undefined constant on - assumed 'on' in
................./administration/panel_editor.php(143) : eval()'d code on line 1
0 replies
W
WEC
W
WEC 10
  • Veteran Member, joined since
  • Contributed 946 posts on the community forums.
  • Started 5 threads in the forums
answered
Veteran Member

Replace on with "on" and you should get rid of that notice.
0 replies
G
GMUDuckman
G
  • Senior Member, joined since
  • Contributed 266 posts on the community forums.
  • Started 6 threads in the forums
answered
Senior Member

lol i always forget to put quotes around that crap! you can always just get rid of the true, "on" parameters, they just make it so you can minimize the panel.
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 6 posts
  • Votes 0 votes
  • Topic users 5 members

5 participants

C
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
W
W
WEC 10
  • Veteran Member, joined since
  • Contributed 946 posts on the community forums.
  • Started 5 threads in the forums
H
H
Just some Guy
  • Veteran Member, joined since
  • Contributed 1,486 posts on the community forums.
  • Started 91 threads in the forums
G
G
  • Senior Member, joined since
  • Contributed 266 posts on the community forums.
  • Started 6 threads in the forums
S
S
  • Newbie, joined since
  • Contributed 6 posts on the community forums.
  • Started 3 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet