SMF 2.1 Slayt Gösterisi Admin panel ayarlı (Bostrap)

Başlatan tekyürek, 30 Nis 2019, 00:17

« önceki - sonraki »

0 Üyeler ve 2 Ziyaretçiler konuyu incelemekte.

tekyürek

replikacep.com da  yapmış oldugum  slayt  gösterisini paylaşıyorum    bir teşekkür yeter  :)

örnek  : https://www.replikacep.com/index.php?action=forum


BoardIndex.template.php bul :

/**
 * This actually displays the board index
 */
function template_main()
{
 global $context, $txt, $settings, $scripturl;

 echo '
 <div id="boardindex_table" class="boardindex_table">';


bunlara dikkat et :
global $context, $settings, $modSettings;
degiştir :
/**
 * This actually displays the board index
 */
function template_main()
{
 global $context, $txt, $settings, $scripturl;

 echo '
 <div id="boardindex_table" class="boardindex_table">';
    if (!empty($settings['slayt_onoff']))
    {
    echo '<div id="replika" class="carousel slide" data-ride="carousel">
  <ul class="carousel-indicators">
    <li data-target="#replika" data-slide-to="1" class="active"></li>
    <li data-target="#replika" data-slide-to="2"></li>
    <li data-target="#replika" data-slide-to="3"></li>
 <li data-target="#replika" data-slide-to="4"></li>
 <li data-target="#replika" data-slide-to="5"></li>
    </ul><div class="carousel-inner"><div class="carousel-item active">
    <img src="'. $settings['slayt_adres']. '"style="width:100%; max-width: 100%;vertical-align: text-top;border-style: dotted;border-width: 2px;">
      <div class="carousel-caption d-none d-md-block">
  <h5 style="font-size: 20px;font-family: Times New Roman;color: rgba(248, 239, 221, 0.9);">'. $settings['slayt_article_upper']. '</h5>
  <a style="text-decoration: none;" target="_blank" href="'. $settings['slayt_link']. '"><p style="color: #f2f2f2;font-size: 35px;padding: 13px 15px;text-align: center;border-style: dashed;border-width: 1px;background-color: rgba(243, 222, 132, 0.3);font-family: Times New Roman, Arial, Helvatica;">'. $settings['slayt_article_lower']. '</p></a>
  </div>
      </div>
    <div class="carousel-item">
    <img src="'. $settings['slayt_adres1']. '"style="width:100%; max-width: 100%;vertical-align: text-top;border-style: dotted;border-width: 2px;">
  <div class="carousel-caption d-none d-md-block">
  <h5 style="font-size: 20px;font-family: Times New Roman;color: rgba(248, 239, 221, 0.9);">'. $settings['slayt_article_upper1']. ' </h5>
  <a style="text-decoration: none;" target="_blank" href="'. $settings['slayt_link1']. '"><p style="color: #f2f2f2;font-size: 35px;padding: 13px 15px;text-align: center;border-style: dashed;border-width: 1px;background-color: rgba(243, 222, 132, 0.3);font-family: Times New Roman, Arial, Helvatica;">'. $settings['slayt_article_lower1']. '</p></a>
    </div>
        </div>
    <div class="carousel-item">
    <img src="'. $settings['slayt_adres2']. '"style="width:100%; max-width: 100%;vertical-align: text-top;border-style: dotted;border-width: 2px;">
  <div class="carousel-caption d-none d-md-block">
  <h5 style="font-size: 20px;font-family: Times New Roman;color: rgba(248, 239, 221, 0.9);">'. $settings['slayt_article_upper2']. ' </h5>
  <a style="text-decoration: none;" target="_blank" href="'. $settings['slayt_link2']. '"><p style="color: #f2f2f2;font-size: 35px;padding: 13px 15px;text-align: center;border-style: dashed;border-width: 1px;background-color: rgba(87, 87, 87, 0.7);font-family: Times New Roman, Arial, Helvatica;">'. $settings['slayt_article_lower2']. '</p></a>
  </div>
        </div>
  <div class="carousel-item">
    <img src="'. $settings['slayt_adres3']. '"style="width:100%; max-width: 100%;vertical-align: text-top;border-style: dotted;border-width: 2px;">
  <div class="carousel-caption d-none d-md-block">
 <h5 style="font-size: 20px;font-family: Times New Roman;color: rgba(248, 239, 221, 0.9);">'. $settings['slayt_article_upper3']. ' </h5>
 <a style="text-decoration: none;" target="_blank" href="'. $settings['slayt_link3']. '"><p style="color: #f2f2f2;font-size: 35px;padding: 13px 15px;text-align: center;border-style: dashed;border-width: 1px;background-color: rgba(87, 87, 87, 0.7);font-family: Times New Roman, Arial, Helvatica;">'. $settings['slayt_article_lower3']. '</p></a>
  </div>
  </div>
    <div class="carousel-item">
    <img src="'. $settings['slayt_adres4']. '"style="width:100%; max-width: 100%;vertical-align: text-top;border-style: dotted;border-width: 2px;">
  <div class="carousel-caption d-none d-md-block">
 <h5 style="font-size: 20px;font-family: Times New Roman;color: rgba(248, 239, 221, 0.9);">'. $settings['slayt_article_upper4']. ' </h5>
 <a style="text-decoration: none;" target="_blank" href="'. $settings['slayt_link4']. '"><p style="color: #f2f2f2;font-size: 35px;padding: 13px 15px;text-align: center;border-style: dashed;border-width: 1px;background-color: rgba(87, 87, 87, 0.7);font-family: Times New Roman, Arial, Helvatica;">'. $settings['slayt_article_lower4']. '</p></a>
  </div>
  </div>
  </div>
<a class="carousel-control-prev" href="#replika" data-slide="prev">
    <span class="carousel-control-prev-icon"></span>
  </a>
  <a class="carousel-control-next" href="#replika" data-slide="next">
    <span class="carousel-control-next-icon"></span>
  </a>
</div><br>'; 
  }



index.template.php  bul :
// load in any javascript files from mods and themes
 template_javascript();

degiştir :
// load in any javascript files from mods and themes
 template_javascript();
 echo '
 <script src="[url]https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js[/url]"></script>
  <script src="[url]https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js[/url]"></script>
  <script src="[url]https://maxcdn.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js[/url]"></script>';





TeMa paneline eklemek için


Settings.turkish.php  ekle

$txt['slayt_onoff'] = '<font style="color: #0f3af3;">Slayt modunu  Aktif Etmek için  sagdaki kutucugu işaretleyin</font>';
$txt['slayt_adres'] = ' <font style="color:#348ef6;">Slayt 1</font> Yandaki Kutuya Resim Adresini Gir';
$txt['slayt_article_upper'] = '<font style="color:#348ef6;">Slayt 1</font> Resim ürerindeki Üstte çıkacak yazıyı gir';
$txt['slayt_article_lower'] = ' <font style="color:#348ef6;">Slayt 1</font>Resim ürerindeki Altında çıkacak yazıyı gir';
$txt['slayt_link'] = '<font style="color:#348ef6;">Slayt 1</font> Çerceve içine Eklenen Yazının İçine Eklenecek Link giriniz';
$txt['slayt_adres1'] = '<font style="color:#348ef6;">Slayt 2</font> Yandaki Kutuya Resim Adresini Gir';
$txt['slayt_article_upper1'] = '<font style="color:#348ef6;">Slayt 2</font> Resim ürerindeki Üstte çıkacak yazıyı gir';
$txt['slayt_article_lower1'] = '<font style="color:#348ef6;">Slayt 2</font> Resim ürerindeki Altında çıkacak yazıyı gir';
$txt['slayt_link1'] = '<font style="color:#348ef6;">Slayt 2</font> Çerceve içine Eklenen Yazının İçine Eklenecek Link giriniz';
$txt['slayt_adres2'] = '<font style="color:#348ef6;">Slayt 3</font> Yandaki Kutuya Resim Adresini Gir';
$txt['slayt_article_upper2'] = '<font style="color:#348ef6;">Slayt 3</font> Resim ürerindeki Üstte çıkacak yazıyı gir';
$txt['slayt_article_lower2'] = '<font style="color:#348ef6;">Slayt 3</font> Resim ürerindeki Altında çıkacak yazıyı gir';
$txt['slayt_link2'] = '<font style="color:#348ef6;">Slayt 3</font> Çerceve içine Eklenen Yazının İçine Eklenecek Link giriniz';
$txt['slayt_adres3'] = '<font style="color:#348ef6;">Slayt 4</font> Yandaki Kutuya Resim Adresini Gir';
$txt['slayt_article_upper3'] = '<font style="color:#348ef6;">Slayt 4</font> Resim ürerindeki Üstte çıkacak yazıyı gir';
$txt['slayt_article_lower3'] = '<font style="color:#348ef6;">Slayt 4</font> Resim ürerindeki Altında çıkacak yazıyı gir';
$txt['slayt_link3'] = '<font style="color:#348ef6;">Slayt 4</font> Çerceve içine Eklenen Yazının İçine Eklenecek Link giriniz';
$txt['slayt_adres4'] = '<font style="color:#348ef6;">Slayt 5</font> Yandaki Kutuya Resim Adresini Gir';
$txt['slayt_article_upper4'] = '<font style="color:#348ef6;">Slayt 5</font> Resim ürerindeki Üstte çıkacak yazıyı gir';
$txt['slayt_article_lower4'] = '<font style="color:#348ef6;">Slayt 5</font> Resim ürerindeki Altında çıkacak yazıyı gir';
$txt['slayt_link4'] = '<font style="color:#348ef6;">Slayt 5</font> Çerceve içine Eklenen Yazının İçine Eklenecek Link giriniz';




Settings.template.php  : bul

array(
'id' => 'og_image',
'label' => $txt['og_image'],
'description' => $txt['og_image_desc'],
'type' => 'url',
),

            );


Degiştir .:

array(
 'id' => 'og_image',
 'label' => $txt['og_image'],
 'description' => $txt['og_image_desc'],
 'type' => 'url',
 ),

  array(
            'id' => 'slayt_onoff',
            'label' => $txt['slayt_onoff'],
          ),   

        array(
        'id' => 'slayt_adres',
        'label' => $txt['slayt_adres'],
        'type' => 'text',
      ),
        array(
        'id' => 'slayt_article_upper',
        'label' => $txt['slayt_article_upper'],
        'type' => 'text',
 
 ),
        array(
        'id' => 'slayt_link',
        'label' => $txt['slayt_link'],
        'type' => 'text',
 
 ),
        array(
        'id' => 'slayt_article_lower',
        'label' => $txt['slayt_article_lower'],
        'type' => 'text',
 
 ),
 '',
        array(
        'id' => 'slayt_adres1',
        'label' => $txt['slayt_adres1'],
        'type' => 'text',
 ),
        array(
        'id' => 'slayt_article_upper1',
        'label' => $txt['slayt_article_upper1'],
        'type' => 'text',
 ),
    array(
        'id' => 'slayt_link1',
        'label' => $txt['slayt_link1'],
        'type' => 'text',
 ),
 array(
        'id' => 'slayt_article_lower1',
        'label' => $txt['slayt_article_lower1'],
        'type' => 'text',
 ),
 '',
 array(
        'id' => 'slayt_adres2',
        'label' => $txt['slayt_adres2'],
        'type' => 'text',
 ),
 array(
        'id' => 'slayt_article_upper2',
        'label' => $txt['slayt_article_upper2'],
        'type' => 'text',
 ),
 array(
        'id' => 'slayt_link2',
        'label' => $txt['slayt_link2'],
        'type' => 'text',
 ),
 array(
        'id' => 'slayt_article_lower2',
        'label' => $txt['slayt_article_lower2'],
        'type' => 'text',
 ),
 '',
 array(
        'id' => 'slayt_adres3',
        'label' => $txt['slayt_adres3'],
        'type' => 'text',
 ),
 array(
        'id' => 'slayt_article_upper3',
        'label' => $txt['slayt_article_upper3'],
        'type' => 'text',
 ),
 array(
        'id' => 'slayt_link3',
        'label' => $txt['slayt_link3'],
        'type' => 'text',
 ),
 array(
        'id' => 'slayt_article_lower3',
        'label' => $txt['slayt_article_lower3'],
        'type' => 'text',
 ),
 '',
 array(
        'id' => 'slayt_adres4',
        'label' => $txt['slayt_adres4'],
        'type' => 'text',
 ),
 array(
        'id' => 'slayt_article_upper4',
        'label' => $txt['slayt_article_upper4'],
        'type' => 'text',
 ),
 array(
        'id' => 'slayt_link4',
        'label' => $txt['slayt_link4'],
        'type' => 'text',
 ),
 array(
        'id' => 'slayt_article_lower4',
        'label' => $txt['slayt_article_lower4'],
        'type' => 'text',
 ),
 );

tarantula901

güzel paylaşım ellerine gözlerine sağlık
Sitenizde işlem yapmadan önce mutlaka yedek alın, yedek alın yedek almayı unutmayın her şeyden önce bu önemli

Pm'den ve Skype'den istenilen destekler ücretlidir. Ücret ödememek için lütfen sitede sorunuzu konu açarak sorabilirsiniz.

Ücretli Smf Destek İçin

tekyürek


ramooo19

Alıntı yapılan: tekyürek - 30 Nis 2019, 16:06Rica ederim ....



 yuhphii oh be eklentiler yavaş yavaş gelmeye başlamış sanırım  :)

tekyürek

Alıntı yapılan: ramooo19 - 08 Mayıs 2019, 11:56yuhphii oh be eklentiler yavaş yavaş gelmeye başlamış sanırım  :)

aslında  paylaşazdım  ama  :) slayt ekleyip   ücretli tema diye yayımlayanlar için paylaştım

tekyürek

Settings.english.php e ekle  ingilizce destegi arayanlar için


$txt['slideshow_onoff'] = '<font style="color:#0f3af3;">Check the box to the right to activate slideshow mode</font>';
$txt['slideshow_adres'] = '<font style="color:#348ef6;">Slide 1</font> Enter Image Address in the Next Box';
$txt['slide_article_upper'] = '<font style="color:#348ef6;">Slide 1</font> Enter the text to be displayed on the top of the image';
$txt['slideshow_article_lower'] = '<font style="color:#348ef6;">Slide 1</font> Enter text to appear under Picture';
$txt['slideshow_link'] = '<font style="color:#348ef6;">Slide 1</font> Please enter a link to insert the text into the frame';
$txt['slideshow_adres1'] = '<font style="color:#348ef6;">Slide 2</font> Enter Image Address in the Next Box';
$txt['slide_article_upper1'] = '<font style="color:#348ef6;">Slide 2</font> Enter the text to appear on the top of the image';
$txt['slideshow_article_lower1'] = '<font style="color:#348ef6;">Slide 2</font> Enter text to appear under Picture';
$txt['slide_link1'] = '<font style="color:#348ef6;">Slide 2</font> Insert a Link to be Inserted into the Framework';
$txt['slide_adres2'] = '<font style="color:#348ef6;">Slide 3</font> Enter Image Address in the Next Box';
$txt['slide_article_upper2'] = '<font style="color:#348ef6;">Slide 3</font> Enter the text to appear on the top of the image';
$txt['slide_article_lower2'] = '<font style="color:#348ef6;">Slide 3</font> Enter the text to appear under Picture';
$txt['slideshow_link2'] = '<font style="color:#348ef6;">Slide 3</font> Please enter a link to insert the text into the frame';
$txt['slide_adres3'] = '<font style="color:#348ef6;">Slide 4</font> Enter Image Address in the Next Box';
$txt['slide_article_upper3'] = '<font style="color:#348ef6;">Slide 4 mUfont> Enter text to be displayed on the top of the image';
$txt['slide_article_lower3'] = '<font style="color:#348ef6;">Slide 4</font> Enter text to appear under Picture';
$txt['slideshow_link3'] = '<font style="color:#348ef6;">Slide 4</font> Please enter a link to insert the text into the frame';
$txt['slideshow_adres4'] = '<font style="color:#348ef6;">Slide 5</font> Enter Image Address in the Next Box';
$txt['slide_article_upper4'] = '<font style="color:#348ef6;">Slide 5</font> Enter the text to appear on the top of the image';
$txt['slideshow_article_lower4'] = '<font style="color:#348ef6;">Slide 5</font> Enter the text to appear under Picture';
$txt['slideshow_link4'] = '<font style="color:#348ef6;">Slide 5</font> Please enter a link to insert the text into the frame';

ramooo19

Alıntı yapılan: tekyürek - 03 Tem 2019, 01:13Settings.english.php e ekle  ingilizce destegi arayanlar için


$txt['slideshow_onoff'] = '<font style="color:#0f3af3;">Check the box to the right to activate slideshow mode</font>';
$txt['slideshow_adres'] = '<font style="color:#348ef6;">Slide 1</font> Enter Image Address in the Next Box';
$txt['slide_article_upper'] = '<font style="color:#348ef6;">Slide 1</font> Enter the text to be displayed on the top of the image';
$txt['slideshow_article_lower'] = '<font style="color:#348ef6;">Slide 1</font> Enter text to appear under Picture';
$txt['slideshow_link'] = '<font style="color:#348ef6;">Slide 1</font> Please enter a link to insert the text into the frame';
$txt['slideshow_adres1'] = '<font style="color:#348ef6;">Slide 2</font> Enter Image Address in the Next Box';
$txt['slide_article_upper1'] = '<font style="color:#348ef6;">Slide 2</font> Enter the text to appear on the top of the image';
$txt['slideshow_article_lower1'] = '<font style="color:#348ef6;">Slide 2</font> Enter text to appear under Picture';
$txt['slide_link1'] = '<font style="color:#348ef6;">Slide 2</font> Insert a Link to be Inserted into the Framework';
$txt['slide_adres2'] = '<font style="color:#348ef6;">Slide 3</font> Enter Image Address in the Next Box';
$txt['slide_article_upper2'] = '<font style="color:#348ef6;">Slide 3</font> Enter the text to appear on the top of the image';
$txt['slide_article_lower2'] = '<font style="color:#348ef6;">Slide 3</font> Enter the text to appear under Picture';
$txt['slideshow_link2'] = '<font style="color:#348ef6;">Slide 3</font> Please enter a link to insert the text into the frame';
$txt['slide_adres3'] = '<font style="color:#348ef6;">Slide 4</font> Enter Image Address in the Next Box';
$txt['slide_article_upper3'] = '<font style="color:#348ef6;">Slide 4 mUfont> Enter text to be displayed on the top of the image';
$txt['slide_article_lower3'] = '<font style="color:#348ef6;">Slide 4</font> Enter text to appear under Picture';
$txt['slideshow_link3'] = '<font style="color:#348ef6;">Slide 4</font> Please enter a link to insert the text into the frame';
$txt['slideshow_adres4'] = '<font style="color:#348ef6;">Slide 5</font> Enter Image Address in the Next Box';
$txt['slide_article_upper4'] = '<font style="color:#348ef6;">Slide 5</font> Enter the text to appear on the top of the image';
$txt['slideshow_article_lower4'] = '<font style="color:#348ef6;">Slide 5</font> Enter the text to appear under Picture';
$txt['slideshow_link4'] = '<font style="color:#348ef6;">Slide 5</font> Please enter a link to insert the text into the frame';

teşekkürler 

celalyagmur

Hocam kurmadan önce bir örnek görüntü olsaydı güzel olurdu.Elinize sağlık çok emek verilmiş belliki...burdan bakın örneğe demişsinizya girdim sayfanın en altına kadar baktım göremedim örnek görüntüyü..Çünki baya bir kod ekleyeceğiz dosyalara birde istediğim gibi çıkmazsa silmek için uğraş dur...Emeğine sağlık tşk keşke örnek görebilseydik.
Cahillik ne güzel birşey.! Herşeyi bildiğini zannediyorsun...

tekyürek

Alıntı yapılan: celalyagmur - 28 Şub 2020, 19:13Hocam kurmadan önce bir örnek görüntü olsaydı güzel olurdu.Elinize sağlık çok emek verilmiş belliki...burdan bakın örneğe demişsinizya girdim sayfanın en altına kadar baktım göremedim örnek görüntüyü..Çünki baya bir kod ekleyeceğiz dosyalara birde istediğim gibi çıkmazsa silmek için uğraş dur...Emeğine sağlık tşk keşke örnek görebilseydik.

https://www.replikacep.com/index.php?action=forum
Mobilde gizledim sadece masa üstü surumde gözüküyor

celalyagmur

#9
Tmm'dır hocam istedigim tamda buydu tşk...Yarın sabahtan kurmaya başlarım inşallah hayırlı geceler...Hocam kusura bakma en önemli seyi sormayı unuttum..Bunun mobil ayarı vardır heralde öyle sizin sitedeki gibi enine uzun degildir responsive yani değilmi.? Birde buda önemli o kodları kurduktan sonra bu slayt portalın neresinde olacak.? Üst orta yada onu benmi ayarlayacağım,eğer ben yapacaksam onuda anlatırsanız sevinirim.Trantula biliyor beni biraz acemiyimde bu işlerde.
Cahillik ne güzel birşey.! Herşeyi bildiğini zannediyorsun...

celalyagmur

Sizden haber bekliyom yukarıdaki msj için.! Ona göre yükleme yapacağım hocam.
Cahillik ne güzel birşey.! Herşeyi bildiğini zannediyorsun...

tekyürek

#11
Alıntı yapılan: celalyagmur - 29 Şub 2020, 17:23Sizden haber bekliyom yukarıdaki msj için.! Ona göre yükleme yapacağım hocam.

Mobil ile uyumlu ben temada gizledim site hizli olsun diye

Portalda nereye eklerseniz orada cikar

Slayt ekrani yan cevirince mobilde gozukur   ekte sundum gorsel

celalyagmur

Yani kişi tlf ekranını yan çevirmeyince göremez diyorsunuz.? Öylemi...Peki normal çevirmedende gözüke biliyormu mobile uygun şekilde ekteki slayt gibi.
Cahillik ne güzel birşey.! Herşeyi bildiğini zannediyorsun...

tekyürek

Alıntı yapılan: celalyagmur - 29 Şub 2020, 23:39Yani kişi tlf ekranını yan çevirmeyince göremez diyorsunuz.? Öylemi...Peki normal çevirmedende gözüke biliyormu mobile uygun şekilde ekteki slayt gibi.

Evet ekrani cevirmeden de gözüküyor benim sitedeki. Bana ozel

Benim sitedekini ben gizledim  mobilde hizli olmasi icin
Sizin ekliyeceginiz de gizli degil mobilde

celalyagmur

Cahillik ne güzel birşey.! Herşeyi bildiğini zannediyorsun...