How to add a Facebook like button on your Ucoz Site
shadychiri
Posts: 62
Reputation: 2

Message # 16 | 12:16 PM
seems my entry was edited abit but no problemmo!
@Blazer here is how it should be

Edited by:$EDITEDBY$+(the code you got from the link above)

deleting edited by will make important info like

Quote
Message edited by Username300 - Tuesday, 2011-05-24, 4:41 PM

to disappear.

about the messed up page i think Animorph has given the best way out. however if you had backed up your template( ironicaly that is one of the things the mod who edited the post deleted) you could easily go back and restore the saved template with no worries. any way best of luck

raso
Posts: 7
Reputation: 0

Message # 17 | 6:12 PM
no, I'm interested in this square to create

I speak Serbian.. biggrin

www.proogamers.info
Animorph
Posts: 2856
Reputation: 189

Message # 18 | 6:44 PM
raso, I answered you here:
http://forum.ucoz.com/forum/25-13747-1#79090

To busy building a passive income online ;)
daMonsta
Posts: 3
Reputation: 0

Message # 19 | 6:44 PM
Hi,

i tried to apply some solutions suggested on the net, but cannot make it work. Could you help me?
I'd like to add the simple Like button of Facebook to my site, somewhere, where it's not disturbing but visible.

Thanks

Dartz
Posts: 1931

Message # 20 | 6:45 PM
We are uCoz support forum not newbie guide.

Linkable images: http://forum.ucoz.com/forum/36-8596-1

As for 'where', provide a screen-shot.


[... With uCoz since December 2 2007 ...]
daMonsta
Posts: 3
Reputation: 0

Message # 21 | 6:45 PM
erm... thanks i know how to add a pic, but i mean how to add the LIKE button of Facebook, which will enable visitors to LIKE my site.
Sunny
Posts: 9296
Reputation: 456

Message # 22 | 6:45 PM
daMonsta, uCoz does not have such feature. Might be possible by means of custom coding.
I'm not active on the forum anymore. Please contact other forum staff.
daMonsta
Posts: 3
Reputation: 0

Message # 23 | 6:45 PM
well, i just found the working version:

http://developers.facebook.com/docs/reference/plugins/like#

adytzu1_vl01
Posts: 251
Reputation: 0

Message # 24 | 4:09 PM
I have a problem with this button
1. The image on my entries are not displayed
2. The description is not displayed
I put the Like button in Appearance of entries in file catalog
Code
<iframe src="http://www.facebook.com/plugins/like.php?app_id=119587638141083&href=$ENTRY_URL$&send=false&layout=button_count&width=100&show_faces=false&action=like&colorscheme=light&font&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:21px;" allowTransparency="true"></iframe>


And the meta tags on a global block

Code

<html xmlns="http://www.w3.org/1999/xhtml"
        xmlns:og="http://ogp.me/ns#"
        xmlns:fb="https://www.facebook.com/2008/fbml">
<head>
   <meta property="og:title" content="$TITLE$" />
<meta property="og:type" content="song,movie,game,product" />
<meta property="og:url" content="$ENTRY_URL$" />
<meta property="og:image" content="$SCREEN_URL$" />
<meta property="og:site_name" content="$SITE_NAME$" />
<meta property="fb:admins" content="styiks,adytzu1_vl01" />
       <meta property="og:description" content="$MESSAGE$"/>
</head></html>


I tried to put a link to any image, but nothing works sad :(
The result is this

Added (2011-09-04, 3:42 PM)
---------------------------------------------
any suggestions ? dry

Added (2011-09-19, 10:09 Am)
---------------------------------------------
nobody knows? sad

Attachments: 7913732.jpg (13.1 Kb)

This site does not support Internet Explorer.
Join me All-Stars.ro
With uCoz since 2009
Post edited by adytzu1_vl01 - Saturday, 2011-09-03, 6:42 PM
مصطفى
Posts: 16
Reputation: 0

Message # 25 | 2:06 PM
KeKeGeNKaY
Posts: 12
Reputation: 0

Message # 26 | 2:32 PM
Hi, i have a problem. I undestand how to put a like box on your website, but (the problem) HOW CAN I PUT A LIKE BOX FOR EVERY ARTICLE , but to be different, meaning.. a like box for each article.. not a one box for all. and just put a replace... undestand.. NOW, can I do that ??? AND HOW ?
PLeasee help me...

UCOZ Respect!
Post edited by KeKeGeNKaY - Tuesday, 2011-10-25, 2:33 PM
redhead
Posts: 113
Reputation: 9

Message # 27 | 2:46 PM
KeKeGeNKaY, Go to CP->Design->Design management (templates)->Module->Page with entry full text and its comments->Add the code of Facebook like button where you want it to de displayed.
KeKeGeNKaY
Posts: 12
Reputation: 0

Message # 28 | 2:56 PM
Not working, i doing that and is appeare how you sayd, but is the same like box avery time.. and when I put the buttom it's puting all..not for an article ... Another idea ? .. SOryy
redhead
Posts: 113
Reputation: 9

Message # 29 | 3:18 PM
KeKeGeNKaY,
1.Include the JavaScript SDK on your page once, for example at the top part of the website:
Code
<div id="fb-root"></div>
<script>(function(d, s, id) {
   var js, fjs = d.getElementsByTagName(s)[0];
   if (d.getElementById(id)) {return;}
   js = d.createElement(s); js.id = id;
   js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
   fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
2.Go to CP->Design->Design management (templates)->Module->Appearance of entries->Place the code for your plugin wherever you want the plugin to appear on your page:
Code
<div class="fb-like" data-href="$ENTRY_URL$" data-send="false" data-layout="button_count" data-width="450" data-show-faces="true"></div>
KeKeGeNKaY
Posts: 12
Reputation: 0

Message # 30 | 3:52 PM
Now it's work.. thanks a lot.

UCOZ Respect!
Search: