Skocz do zawartości
"Idzie nowe..." - o zmianach i nie tylko ×
Przeniesienie zakupów z IPS Marketplace / Moving bought items from IPS Marketplace ×

[IPBTutorials] Change Facebook Activity hook into Facebook Lik...


Rekomendowane odpowiedzi

With a simple change a template bit, you can have a snazzy facebook like box on your sidebar.

Under the Look & Feel tab in the admin panel click on "Manage Template & CSS" for the skin you want to edit.

Navigate to Board Index -> hookFacebookActivity

Find:

<div class='general_box clearfix'> <h3><img src='{$this->settings['img_url']}/user_comment.png' alt='' /> {$this->lang->words['hook_facebookactivity']}</h3> <div class='block_list clearfix _sbcollapsable' style='text-align:center'> <div><fb:activity site="" width="290" height="300" header="false" border_color="#FFF" colorscheme="light" /></div> </div> </div><div id="fb-root"></div> <script> window.fbAsyncInit = function() { FB.init({appId: '{$this->settings['fbc_appid']}', status: true, cookie: true, xfbml: true}); }; (function() { var e = document.createElement('script'); e.async = true; e.src = document.location.protocol + '//connect.facebook.net/{$this->settings['fb_locale']}/all.js'; document.getElementById('fb-root').appendChild(e); }()); </script>

Replace with:

<div class='general_box clearfix'> <h3><img src='{$this->settings['img_url']}/user_comment.png' alt='' /> {$this->lang->words['hook_facebookactivity']}</h3> <div class='block_list clearfix _sbcollapsable' style='text-align:center'> <div><fb:like-box profile_id="00000000000" href="http://www.facebook.com/group.php?gid=00000000000" width="240" height="270" connections="8" stream="false" header="false"></fb:like-box></div> </div> </div><div id="fb-root"></div> <script> window.fbAsyncInit = function() { FB.init({appId: '{$this->settings['fbc_appid']}', status: true, cookie: true, xfbml: true}); }; (function() { var e = document.createElement('script'); e.async = true; e.src = document.location.protocol + '//connect.facebook.net/{$this->settings['fb_locale']}/all.js'; document.getElementById('fb-root').appendChild(e); }()); </script>

Replace the zeros in the code with your facebook page or group id.

IPB_Journal___Spolszczenie.rar

Wyświetl pełny artykuł

Odnośnik do komentarza
Udostępnij na innych stronach

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...

Powiadomienie o plikach cookie

Umieściliśmy na Twoim urządzeniu pliki cookie, aby pomóc Ci usprawnić przeglądanie strony. Możesz dostosować ustawienia plików cookie, w przeciwnym wypadku zakładamy, że wyrażasz na to zgodę.