Facebook sayfa ekleme yardım

Başlatan herme, 14 Mar 2016 19:23

« önceki - sonraki »

0 Üye ve 1 Ziyaretçi konuyu incelemekte.



  1. 632

  2. 250
14 Mar 2016 19:23 Son düzenlenme: 14 Mar 2016 20:35 herme

Merhaba arkadaşlar smf defult temaya facebook sayfası eklemek istiyorum,ama nasıl ekleyeceğimi bilmiyorum chatboxu daraltıp yanına ekleme istiyorum resim ekledim Bu konuda bana yardımcı olurmusunuz.



1. Include the JavaScript SDK on your page once, ideally right after the opening <body> tag.
<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/tr_TR/sdk.js#xfbml=1&version=v2.5&appId=1690377574553203";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

2. Place the code for your plugin wherever you want the plugin to appear on your page.

<div class="fb-page" data-href="https://www.facebook.com/Scriptportal&#x131;-677097765766660/" data-tabs="timeline" data-width="300" data-height="250" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"></div>



*

  1. 1,077

  2. 98

  3. 283
14 Mar 2016 20:38 #1 Son düzenlenme: 14 Mar 2016 21:11 CeeMoo
boardindex.template.php Bulun
function template_main()
{
global $context, $settings, $options, $txt, $scripturl, $modSettings;

Sonrasına ekleyin.

echo '<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/tr_TR/\'script\',\'facebook-jssdk\'));</script>';

echo '<table width="100%">
<tr>
<td>';
//SMFPacks Shoutbox -->
if (function_exists('template_shoutbox')) template_shoutbox('main');
// <-- SMFPacks Shoutbox
echo '
</td>
<td width="30%">
           <div class="fb-page" data-href="https://www.facebook.com/Scriptportal&#38;#x131;-677097765766660/" data-tabs="timeline" data-width="100%" data-height="250" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"></div>
</td>
</tr>
</table>';



  1. 632

  2. 250
Alıntı yapılan: CeeMoo - 14 Mar 2016 20:38boardindex.template.php Bulun
function template_main()
{
global $context, $settings, $options, $txt, $scripturl, $modSettings;

Sonrasına ekleyin.

echo '<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/tr_TR/\'script\',\'facebook-jssdk\'));</script>';

echo '<table>
<tr>
<td>';
//SMFPacks Shoutbox -->
if (function_exists('template_shoutbox')) template_shoutbox('main');
// <-- SMFPacks Shoutbox
echo '
</td>
<td width="30%">
           <div class="fb-page" data-href="https://www.facebook.com/Scriptportal&#x131;-677097765766660/" data-tabs="timeline" data-width="100%" data-height="250" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"></div>
</td>
</tr>
</table>';

Dediğin gibi yükledim kardeşim değişen birşey olmadı

*

  1. 1,077

  2. 98

  3. 283
14 Mar 2016 21:35 #3 Son düzenlenme: 14 Mar 2016 22:00 CeeMoo

boardindex.template.php Bulun
function template_main()
{
 global $context, $settings, $options, $txt, $scripturl, $modSettings;

Sonrasına ekleyin.

 echo '<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/tr_TR/sdk.js#xfbml=1&version=v2.5&appId=1690377574553203";
  fjs.parentNode.insertBefore(js, fjs);
}(document, \'script\', \'facebook-jssdk\'));</script>';

   echo '
  <table width="100%">
      <tr>
         <td>';
   //SMFPacks Shoutbox -->
   if (function_exists('template_shoutbox')) template_shoutbox('main');
   // <-- SMFPacks Shoutbox
         echo '
         </td>
         <td width="30%">
<div class="windowbg2">
  <span class="topslice"><span></span></span>
 <div class="content">
       <div class="fb-page" data-href="https://www.facebook.com/Scriptportal&#x131;-677097765766660/" data-tabs="timeline" data-width="100%" data-height="300" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"></div>
 </div>
<span class="botslice"><span></span></span>
</div>
         </td>
      </tr>
   </table>';



  1. 632

  2. 250
Alıntı yapılan: CeeMoo - 14 Mar 2016 21:35boardindex.template.php Bulun
function template_main()
{
 global $context, $settings, $options, $txt, $scripturl, $modSettings;

Sonrasına ekleyin.

echo '<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/tr_TR/sdk.js#xfbml=1&version=v2.5&appId=1690377574553203";
  fjs.parentNode.insertBefore(js, fjs);
}(document, \'script\', \'facebook-jssdk\'));</script>';

   echo '
  <table width="100%">
      <tr>
         <td>';
   //SMFPacks Shoutbox -->
   if (function_exists('template_shoutbox')) template_shoutbox('main');
   // <-- SMFPacks Shoutbox
         echo '
         </td>
         <td width="30%">
<div class="windowbg2">
  <span class="topslice"><span></span></span>
 <div class="content">
       <div class="fb-page" data-href="https://www.facebook.com/Scriptportal&#x131;-677097765766660/" data-tabs="timeline" data-width="100%" data-height="300" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"></div>
 </div>
<span class="botslice"><span></span></span>
</div>
         </td>
      </tr>
   </table>';


Cem kardeşim ellerine sağlık çok çok teşekkkür ederim yardımların için hakkını helal et


MENU ×