Comentarii prin facebook!
|
|
Adrian1 | Date: Luni, 2014-01-13, 23:39 | Message # 1 |
| Cum as putea si eu implementa un sistem asemanator cu al tau http://maxrom.ucoz.com/news/2012-07-29-100 prin care poti comenta pe site si dupa postarea comentariului, comentariul sa se distribuie pe facebook direct??!
EU SI DUMNEZEU: CEA MAI FRUMOASA CONVERSATIE PURTATA VREODATA
|
|
|
|
Muşatinu | Date: Marţi, 2014-01-14, 01:48 | Message # 2 |
|
|
|
|
|
|
Muşatinu | Date: Marţi, 2014-01-21, 03:44 | Message # 4 |
| Adrian1, zici sa fie si comentari locale si cele de pe facebook? pai eu am folosit Jquery Tabs
|
|
|
|
Adrian1 | Date: Marţi, 2014-01-21, 11:31 | Message # 5 |
| Muşatinu, unde trebuieexact bagat codul respectiv cu taburile?Adăugat (2014-01-21, 11:31) --------------------------------------------- exact*
EU SI DUMNEZEU: CEA MAI FRUMOASA CONVERSATIE PURTATA VREODATA
|
|
|
|
|
Adrian1 | Date: Miercuri, 2014-02-05, 13:25 | Message # 7 |
| Muşatinu, multumesc!Adăugat (2014-02-05, 13:25) --------------------------------------------- Muşatinu, unde mai exact se pune codul ca nu prea imi iese ...
EU SI DUMNEZEU: CEA MAI FRUMOASA CONVERSATIE PURTATA VREODATA
|
|
|
|
|
Adrian1 | Date: Joi, 2014-02-06, 22:17 | Message # 9 |
| Muşatinu, [spoiler="Spoiler"]<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/ro_RO/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script>[/spoiler]Adăugat (2014-02-06, 22:17) --------------------------------------------- http://www.plici.ro/images/mmmm.png
EU SI DUMNEZEU: CEA MAI FRUMOASA CONVERSATIE PURTATA VREODATA
|
|
|
|
Muşatinu | Date: Joi, 2014-02-06, 22:45 | Message # 10 |
|
|
|
|
|
Adrian1 | Date: Vineri, 2014-02-07, 00:47 | Message # 11 |
| Muşatinu, nu ma pricem sa-l implementez .... am ramas doar la dorinta de a-mi seta ca toate comentariile de pe site sa se distribuie automat pe facebook ...
EU SI DUMNEZEU: CEA MAI FRUMOASA CONVERSATIE PURTATA VREODATA
|
|
|
|
Muşatinu | Date: Sâmbătă, 2014-02-08, 00:26 | Message # 12 |
| Adrian1,
Pui in CSS:
Cod /* Tabs */ #tabs { background:url(http://promovare.ucoz.ro/imagini/bgtabs.png); padding:4px; float:left; clear:both; width:690px; margin-bottom:10px; } ul.tabs { margin: 0; padding: 0; float: left; list-style: none; height: 31px; /*--Set height of tabs--*/ width:690px; }
ul.tabs li { float: left; margin: 0; padding: 0; height: 31px; /*--Subtract 1px from the height of the unordered list--*/ line-height: 31px; /*--Vertically aligns the text within the tab--*/ border-left: none; margin-bottom: -1px; /*--Pull the list item down 1px--*/ overflow: hidden; position: relative; }
ul.tabs li a { text-decoration: none; background:url(http://emoldova.ucoz.net/images/tab2.gif); color: #000; display: block; font-size: 11px; font-weight:bold; padding: 0 8px; outline: none; cursor:pointer; }
ul.tabs li a:hover { } html ul.tabs li.active, html ul.tabs li.active a, html ul.tabs li.active a:hover { /*--Makes sure that the active tab does not listen to the hover properties--*/ background:url(http://maxrom.ucoz.com/imagini/module/news/tabcoment.gif); color:#fff; } .tab_container { overflow: hidden; clear: both; float: left; background:url(http://maxrom.ucoz.com/imagini/design1/flogo.png); padding:6px; width:670px; }
.tab_content { padding: 10px 10px; font-size: 12px; background: #fafafa; } .tab_container #tab4 { padding:10px; font-family:Georgia; } /* ----- */
In pagina cu tot continutu si comntariile la el inlocuiesti forma de comentarii locale cu:
Cod <div id="tabs"> <ul class="tabs"> <li><a href="#tab1"> Comenteaza ca user local </a></li> <li><a href="#tab2">Comenteaza prin FaceBook</a></li> </ul> <div class="tab_container"> <!-- Tab 1 --> <div id="tab1" class="tab_content"> Forma de comentarii locala </div> <!-- Tab 2 --> <div id="tab2" class="tab_content"> <div class="fb-comments" data-href="$ENTRY_URL$" data-num-posts="3" data-width="650"></div> </div> </div> </div>
In codul dat unde e Forma de comentarii locala pui codul mai sus inlocuit.
Tot pe aceasta pagina intre <head> si </head> pui:
Cod <script type="text/javascript" src="http://maxrom.ucoz.com/js/jquery.tools-1.1.2.js"></script> <script type="text/javascript" src="http://maxrom.ucoz.com/js/tabs.js"></script>
In footer pui:
Cod <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_LA/all.js#xfbml=1&appId=136619623172579"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); </script>
|
|
|
|
Adrian1 | Date: Sâmbătă, 2014-02-08, 13:57 | Message # 13 |
| Citat Muşatinu ( ) In footer ??
EU SI DUMNEZEU: CEA MAI FRUMOASA CONVERSATIE PURTATA VREODATA
|
|
|
|
|
|