SMF 2.1 Hızlı konu aç modu (Butonu ekleme) (Quick Topic Open to)

Merhaba, tekrar hoş geldiniz!

Bilgi sahibi olanlarla ihtiyaç duyanları buluşturmak, farklı bakış açılarına sahip insanları bir araya getirerek birbirlerini daha iyi anlamalarını sağlamak ve herkesin bilgisini paylaşmasını sağlamak istiyoruz.

replikacep

Tam Üye
Katılım
15 Ara 2018
Mesajlar
234
Tepkime puanı
29
Puanları
28
Yaş
1020
Web sitesi
www.replikacep.com
SMF 2.1 Hızlı konu aç modu (Butonu ekleme) (Quick Topic Open to)

SMF 2.1 Hızlı  konu aç  modu (Butonu ekleme) (Quick Topic Open to)

Quick Topic Open to

[anchor=compatibilidad]Quick New thread Allow Open[/anchor]

Made by www.replikacep.com
Producer: Replikacep
dowloand : Simple Machines
altarnatif link : SMF 2.1 Hızlı  konu aç  modu (Butonu ekleme) (Quick Topic Open to)
Version: 2.1 Date 2019
Compatibility: SMF 2.1 RC 1
* Add new look for SMF 2.1 RC1
Quick New thread Allow Open
Adds buttons to the home page allows you to open a quick topic




Quick Topic Open to by Quick Topic Open to is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License
Based on a work at smf.gen.tr
Permissions beyond the scope of this license may be available at simplemachines.org

bu mod sayesinde  hızlı konu açmak oldukça  kolay  Add_Topic  diye bir mod vardı  bilirmisiniz  gereksiz dosyalar  ve gereksiz  yer kaplıyor  birsürü kod ekliyor  smf için bence geregi yok

yaptıgım eklenti oldukca basit şekilde aynı görevi görmektedir  :D

Subs.php  de bul :
Kod:
'home' => array(
 'title' => $txt['home'],
 'href' => $scripturl,
 'show' => true,
 'sub_buttons' => array(
 ),
 'is_last' => $context['right_to_left'],
 ),

altına  ekle :
Kod:
'new_topic' => array(
 'title' => $txt['new_topic'],
 'href' => $scripturl .'?action=post;board=',
 'show' => !empty($modSettings['post_onof']),
 'sub_buttons' => array(
 ),
 ),

ManageSettings.php  de bul:
Kod:
// Big Options... polls, sticky, bbc....
 array('select', 'pollMode', array($txt['disable_polls'], $txt['enable_polls'], $txt['polls_as_topics'])),
 '',

altına ekle  :
Kod:
array('check', 'post_onof'),
         '',

Modifications.turkish.php  de bu : 
Kod:
?>

öncesinne  ekle : 
Kod:
$txt['post_onof'] = 'Yeni konu Aç Butonuna izin ver ';

index.css de bul :
Kod:
/* This is a small fix for dropmenu icons */


altına ekle : 
Kod:
.main_icons.new_topic::before{
 background-position: -5px -239px;
}
 
replikacep' Alıntı:
orhan bey  sitenize eklenti yüklenmiyor bilginiz olsun

evet js cakişmasi malesef bu surum iyce berbat olmaya başladi.
 
Geri
Üst Alt