Script buton facebook lateral dreapta

Întrebări / Probleme / Moduri / .etc
Post Reply
User avatar
tataieee
Administrator
Posts: 3831
Joined: 17 Sep 2014, 17:52
Nume Real: Alexandru Costin
Nivel cunoştinţe IT: 10
Location: Giurgiu; România
Contact:

30 Sep 2014, 17:35

Screen:
Image
Deschide common.css si adauga :

Code: Select all

.facebook{
    float:right;
    width:232px;
    height:420px;
    background: url("{T_THEME_PATH}/images/slider.png");
    display:block;
    right:-205px;
    padding:0;
    position:fixed;
    top:201px;
    z-index:10000;
}

a#facebook { 
	display: table-cell; width: 37px; height: 30px; 
    background: url("{T_THEME_PATH}/images/podzielsiena/facebook.png") top left no-repeat; 
}
a:hover#facebook { 
	background-position: 0 -30px;
}
Imaginea aceasta o descarcati si o numiti slider apoi o urcati in styles/tema/theme/images

Deschide overall_header.html, cauta :

Code: Select all

<body id="phpbb" class="section-{SCRIPT_NAME} {S_CONTENT_DIRECTION}">
Adauga dupa:

Code: Select all

<div class="facebook">
        <div style="color:#FFF; padding:10px 5px 0 35px;">
           <script src="http://connect.facebook.net/pl_PL/all.js#xfbml=1"></script><fb:like-box href="LINK SPRE PAGINA DE FACEBOOK" width="190" height="360" show_faces="true" stream="false" header="true" style="background: #ffffff;"></fb:like-box>

			<div id="fb-root"></div>
			<script type="text/javascript">
			// <!--
 
			(function() {
			  var s = document.createElement('script');
			  var root = document.getElementById('fb-root');
 
			  window.fbAsyncInit = function() {
			    FB.init({status: true, cookie: true, xfbml: true});
			    root.removeChild(s);
			  };
 
			  s.async = true;
			  s.src = document.location.protocol +
			    '//connect.facebook.net/pl_PL/all.js';
			  root.appendChild(s);
			}());
 
			// -->
			</script>
       </div>
</div> 
P.S: Inlocuieste LINK SPRE PAGINA DE FACEBOOK cu link-ul dorit.

Sursa : phpbb.ro
*Email: w.tataieee@gmail.com
*PayPal: w.tataieee@yahoo.com
User avatar
Linuxel
Membru
Posts: 13
Joined: 27 Sep 2014, 14:35
Nume Real: Gabriel
Nivel cunoştinţe IT: 8

28 Nov 2014, 12:06

Nu merge
User avatar
tataieee
Administrator
Posts: 3831
Joined: 17 Sep 2014, 17:52
Nume Real: Alexandru Costin
Nivel cunoştinţe IT: 10
Location: Giurgiu; România
Contact:

28 Nov 2014, 20:52

Linuxel wrote:Nu merge
Fi mai explicit. Ce "nu merge" ?
*Email: w.tataieee@gmail.com
*PayPal: w.tataieee@yahoo.com
User avatar
Linuxel
Membru
Posts: 13
Joined: 27 Sep 2014, 14:35
Nume Real: Gabriel
Nivel cunoştinţe IT: 8

29 Nov 2014, 20:07

tataieee wrote:
Linuxel wrote:Nu merge
Fi mai explicit. Ce "nu merge" ?
Am facut tot ce scrie in Tutorial si cand duc mouse pe el nu se deschide :d
User avatar
Linuxel
Membru
Posts: 13
Joined: 27 Sep 2014, 14:35
Nume Real: Gabriel
Nivel cunoştinţe IT: 8

30 Nov 2014, 00:45

Am Rezolvat singur. Imi lipsea ->

Code: Select all

<script type="text/javascript" src="{T_TEMPLATE_PATH}/forum_fn.js"></script>
Eu aveam asa ->

Code: Select all

<script type="text/javascript">
si am pus deasupra lui Codul de mai sus.

Rezolvat T/C.
User avatar
tataieee
Administrator
Posts: 3831
Joined: 17 Sep 2014, 17:52
Nume Real: Alexandru Costin
Nivel cunoştinţe IT: 10
Location: Giurgiu; România
Contact:

30 Nov 2014, 00:48

Asta era o problemă de la tine, nu din script :)
*Email: w.tataieee@gmail.com
*PayPal: w.tataieee@yahoo.com
User avatar
Gerese
Membru
Posts: 3
Joined: 30 Nov 2014, 01:29
Nume Real: ionut
Nivel cunoştinţe IT: 9

30 Nov 2014, 01:34

tataieee , dami add: boss.ionut29
User avatar
tataieee
Administrator
Posts: 3831
Joined: 17 Sep 2014, 17:52
Nume Real: Alexandru Costin
Nivel cunoştinţe IT: 10
Location: Giurgiu; România
Contact:

30 Nov 2014, 07:54

Gerese wrote:tataieee , dami add: boss.ionut29
Ti-am onorat cererea dar să ştii că nu se oferă suport pe YM.
*Email: w.tataieee@gmail.com
*PayPal: w.tataieee@yahoo.com
Post Reply

Return to “phpBB 3.0.x”