ikona facebook-a

Założony przez  Niki.

wersja skryptu MyBB:1.6.8
adres forum: www.e4msu.y0.pl
Dobry wieczór! Wgrałem właśnie sobie skórkę z Angielskiego forum MyBB.
Chodzi o to, iż chciał bym wpisać adres swojego konta na Facebooku, jest do tego specjalny znaczek (ikonka) załączony screen w załączniku.

   

Jak to zrobić? Proszę o pomoc w tej sprawie.
Nie jestem na 100% pewien ale możesz zobaczyć szablon nav i header. W którymś z nich się chyba to zmienia.
Niestety, nie ma w Szablonach, żadnej takiej opcji, szukałem chyba wszędzie, nie ma nigdzie takiej opcji, jest jedynie w skórce takie coś:
}
li.shr-facebook {
background-position:-1330px bottom !important;
}
li.shr-facebook:hover {
background-position:-1330px top !important;
Z tego, co widzę w źródle strony, powinno być w header. Podaj jego zawartość.
:: Akcja DZIĘKUJĘ ZA POMOC ::
Pomocy udzielam jedynie na forum. Wszystkie rzeczy wykraczające poza tą dziedzinę wykonuję odpłatnie.
<div id="container">
<link rel="stylesheet" media="screen" href="http://xserverx.com/forums/inc/lights/christmaslights.css" />
<script type="text/javascript" src="http://xserverx.com/forums/inc/lights/soundmanager2-nodebug-jsmin.js"></script>
<script type="text/javascript" src="http://yui.yahooapis.com/combo?2.6.0/build/yahoo-dom-event/yahoo-dom-event.js&2.6.0/build/animation/animation-min.js"></script>
<script type="text/javascript" src="http://xserverx.com/forums/inc/lights/christmaslights.js.php?bburl={$mybb->settings['bburl']}"></script>
<script type="text/javascript">
var urlBase = './';
soundManager.url = './';
</script>
<div id="lights" class="lightsActive"  onclick="makeInact()"></div>
  <a name="top" id="top"></a>

  <div id="header"><table class="tborder" border="0" cellpadding="4" cellspacing="1">
 <thead>
  <tr>
<td width="25%">

<div class="userbox"><div id="panel">
    {$welcomeblock}</div>
    <a href="{$mybb->settings['bburl']}/search.php?action=getnew">{$lang->welcome_newposts}</a> | <a href="{$mybb->settings['bburl']}/search.php?action=getdaily">{$lang->welcome_todaysposts}</a>

    
   </div>
</td>
   <td width="50%">
   <div class="logo"><a href="{$mybb->settings['bburl']}/index.php" ><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></div>



</td>

<td width="25%">



<div id="menu" class="menu">
<table class="tborder" border="0" cellpadding="4" cellspacing="1">
 <thead>
  <tr>
   <td class="thead" align="center"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/icons/news.png" alt="News" title="News" /><strong><a href="{$mybb->settings['bburl']}/portal.php">News</a></strong></td>
                        <td class="thead" align="center"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/icons/mobile.png" alt="Version for Mobile Devices" title="Mobile" /><strong><a href="<archive_url>">Mobile</a></strong></td>
   <td class="thead" align="center" width="100"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/icons/memberlist.png" alt="Forum Staff" title="Staff" /><strong><a href="{$mybb->settings['bburl']}/showteam.php">Staff</a></strong></td>
</tr><tr>
   
   <td class="thead" align="center"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/icons/index.png" alt="Forum Index Page" title="Forum" /><strong><a href="{$mybb->settings['bburl']}/index.php">Forum</a></strong></td>
   <td class="thead" align="center"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/icons/search.png" alt="Search" title="Search" /><strong><a href="{$mybb->settings['bburl']}/search.php">{$lang->toplinks_search}</a></strong></td>

   <td class="thead" align="center"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/icons/help.png" alt="Help Section" title="Help" /><strong><a href="{$mybb->settings['bburl']}/misc.php?action=help">{$lang->toplinks_help}</a></strong></td>
 </tr>
 </thead>
</table>
</div>
</td>
 </tr>
 </thead>
</table>
</div>
<div class='shr-bookmarks' >
<script>

function fbs_click()
{
        u=location.href;
        t=document.title;
        window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(u)+'&t='+encodeURIComponent(t),' sharer', 'toolbar=0, status=0, width=626, height=436');
        return false;
}

</script>

<div class="sharing-menu">
<ul class='socials' style="margin: auto auto;">
<li class='shr-facebook'><a href="location.href" onclick="return fbs_click()"/></a></li>
<script>
function twitt_click()
{
        u=location.href;
        t=document.title;
        window.open('http://twitthis.com/twit?url='+encodeURIComponent(u)+'&t='+encodeURIComponent(t));
        return false;
}
</script>
<li class='shr-twitter'><a onclick="return twitt_click()"/></a></li>

<li
class='shr-delicious'><a href="http://delicious.com/save" onclick="window.open('http://delicious.com/save?v=5&noui&jump=close&url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title), 'delicious','toolbar=no,width=550,height=550'); return false;"></a></li>

<li
class='shr-digg'><a href="http://digg.com/submit" onclick="window.open('http://digg.com/submit?url='+encodeURIComponent(location.href)+'&topic=playable_web_games&title='+encodeURIComponent(document.title), 'digg','toolbar=no,width=550,height=550'); return false;"></a></li>

<li
class='shr-googlebuzz'><a onclick="window.open('http://www.google.com/reader/link?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title), 'google buzz','toolbar=no,width=550,height=550'); return false;"></a></li>

<li
class='shr-reddit'><a href="http://reddit.com/submit" onclick="window.location = 'http://reddit.com/submit?url=' + encodeURIComponent(window.location); return false"></a></li>

<li
class='shr-stumbleupon'><a onclick="window.open('http://www.stumbleupon.com/submit?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title), 'stumbleupon','toolbar=no,width=550,height=550'); return false;"></a></li>

encodeURIComponent(location.href)
</script>
</li>

<li
class='shr-mixx'><a href="http://www.mixx.com/submit?page_url=" onclick="window.open('http://www.mixx.com/submit?page_url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title), 'mixx','toolbar=no,width=550,height=550'); return false;"></a></li>

</ul></div>
</div>

  <div id="content">
   <navigation>

   {$pm_notice}
   {$bannedwarning}
   {$bbclosedwarning}
   {$unreadreports}
Prosze.
<script>

function fbs_click()
{
        u=location.href;
        t=document.title;
        window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(u)+'&t='+encodeURIComponent(t),' sharer', 'toolbar=0, status=0, width=626, height=436');
        return false;
}

</script>
No jak nie ma, jak jest? Aktualnie ten przycisk pozwala na sharowanie strony, na której znajduje się użytkownik.
:: Akcja DZIĘKUJĘ ZA POMOC ::
Pomocy udzielam jedynie na forum. Wszystkie rzeczy wykraczające poza tą dziedzinę wykonuję odpłatnie.
Jest, ale gdy wprowadziłem link zamiast tego:
http://www.facebook.com/sharer.php?u=
To był błąd strony.
window.open('https://webboard.pl');

Albo w ogóle usunąć cały skrypt i zmienić:
<li class='shr-facebook'><a href="location.href" onclick="return fbs_click()"/></a></li>
na
<li class='shr-facebook'><a href="https://webboard.pl"></a></li>

. . .
:: Akcja DZIĘKUJĘ ZA POMOC ::
Pomocy udzielam jedynie na forum. Wszystkie rzeczy wykraczające poza tą dziedzinę wykonuję odpłatnie.



Użytkownicy przeglądający ten wątek:

1 gości