| Absent | 06 Haziran 2021 16:10 | vBulletin 3.7.x eklentisiz otomatik konu etiketi oluşturma Forumunuzdaki açılan konulara otomatik olarak konu etiketi ekler. Not: Bu kodlar sadece 3.7.x sürümünde çalışmaktadır. Diğer üst sürümlerde kullanırsanız sorun yaşayabilirsiniz. Kurulum: '' includes/functions_newpost.php '' Dosyasını Açıp Alttaki Kodları Bulun; PHP- Kodu: if ($type == 'thread' AND $post['taglist'])
{
Alttaki kod ile değiştirin; PHP- Kodu: // HACK : START : AUTO TAG
// if ($type == 'thread' AND $post['taglist'])
// {
if ($type == 'thread')
{
if (!$post['taglist']) {
$temptags = split(' ',$post['title']);
$newtags = array();
require(DIR . '/includes/searchwords.php');
foreach ($temptags as $tagtext) {
if (strlen($tagtext) <= 3 || in_array(strtolower($tagtext), $badwords)) {
// Do nothing
} else {
array_push($newtags,$tagtext);
}
}
$post['taglist'] = join(',',$newtags);
}
// HACK : END : AUTO TAG
|