System Administrator
Yönetici
İleti: 4153
Teşekkür Sayısı: 339
Çevrimdışı
Cinsiyet: 
|
 |
« : 04 Aralık 2007, 20:17:31 » |
|
Örnek Görünüm; Linkleri goruntulemenize izin verilmiyor.
Kayit olun veya Giris yapin
Kurulum Biittikten Sonra Kullanılan Tema Şeçeneklerinden ''kategorilerde resim göstermek istermisiniz?'' seçeneğini aktif edin ve kategoriler bölümüne giderek kategori başı resimlerini ayarlayın oda aşağıdaki resimde 
######manuel kurulum#######theme/BoardIndex.template.php yi aç bul else echo '<img src="', $settings['images_url'], '/off.gif" alt="', $txt[334], '" title="', $txt[334], '" />';
echo '</a> </td>
sonrasına ekle '; //Board icons if($settings['show_icons']==1) { echo' <td ' , !empty($board['children']) ? 'rowspan="2"' : '' , ' class="windowbg2" width="32" align="center" valign="center"> <img src="', $settings['images_url'], '/icon/', $board['board_icon'],'" alt="" /> </td>'; } echo'theme/MessageIndex.template.php yi aç bul <table border="0" width="100%" cellspacing="1" cellpadding="5" class="bordercolor"> <tr> <td colspan="4" class="catbg">', $txt['parent_boards'], '</td> </tr>';
değiştir <table border="0" width="100%" cellspacing="1" cellpadding="5" class="bordercolor"> <tr> <td colspan="5" class="catbg">', $txt['parent_boards'], '</td> </tr>';
bul echo '<img src="', $settings['images_url'], '/off.gif" alt="', $txt[334], '" title="', $txt[334], '" />';
echo '</a> </td>
sonrasına ekle '; //Board icons if($settings['show_icons']==1) { echo' <td ' , !empty($board['children']) ? 'rowspan="2"' : '' , ' class="windowbg2" width="32" align="center" valign="center"> <img src="', $settings['images_url'], '/icon/', $board['board_icon'],'" alt="" /> </td>'; } echo'
source/BoardIndex.php yi aç bul c.name AS catName, c.ID_CAT, b.ID_BOARD, b.name AS boardName, b.description, b.numPosts, b.numTopics, b.ID_PARENT, IFNULL(m.posterTime, 0) AS posterTime, IFNULL(mem.memberName, m.posterName) AS posterName, m.subject, m.ID_TOPIC, IFNULL(mem.realName, m.posterName) AS realName," . ($user_info['is_guest'] ? " 1 AS isRead, 0 AS new_from" : "
değiştir c.name AS catName, c.ID_CAT, b.ID_BOARD, b.name AS boardName, b.board_icon, b.description, b.numPosts, b.numTopics, b.ID_PARENT, IFNULL(m.posterTime, 0) AS posterTime, IFNULL(mem.memberName, m.posterName) AS posterName, m.subject, m.ID_TOPIC, IFNULL(mem.realName, m.posterName) AS realName," . ($user_info['is_guest'] ? " 1 AS isRead, 0 AS new_from" : "
bul // Not a child. $isChild = false;
$this_category[$row_board['ID_BOARD']] = array( 'new' => empty($row_board['isRead']), 'id' => $row_board['ID_BOARD'], 'name' => $row_board['boardName'],
sonrasına ekle 'board_icon' => $row_board['board_icon'],source/MessageIndex.php yi aç bul b.ID_BOARD, b.name, b.description,değiştir b.ID_BOARD, b.name, b.board_icon, b.description,bul 'new' => empty($row_board['isRead']) && $row_board['posterName'] != '', 'name' => $row_board['name'],
sonrasına ekle 'board_icon' => $row_board['board_icon'],theme/Settings.template.phpyi aç bul array( 'id' => 'display_who_viewing', 'label' => $txt['who_display_viewing'], 'options' => array( 0 => $txt['who_display_viewing_off'], 1 => $txt['who_display_viewing_numbers'], 2 => $txt['who_display_viewing_names'], ), ),
sonrasına ekle array( 'id' => 'show_icons', 'label' => $txt['show_icons'], ),
theme/ManageBoards.template.php yi aç bul </tr><tr>'; }
// Options for board name and description. echo '
sonrasına ekle <td> <b>', $txt['icon'], ':</b><br /> ', $txt['icon_a'], '<br /><br /> </td> <td valign="top" align="right"> <img src="', $settings['images_url'], '/icon/', $context['board']['board_icon'], '" alt="" /> <input type="text" name="board_icon" value="', $context['board']['board_icon'], '" size="30" /> </td> </tr> <tr>
source/ManageBoards.php yi aç bul foreach ($boardList[$catid] as $boardid) { $context['categories'][$catid]['boards'][$boardid] = array( 'id' => &$boards[$boardid]['id'], 'name' => &$boards[$boardid]['name'],
sonrasına ekle 'icon' => &$boards[$boardid]['board_icon'],bul $boardOptions['board_name'] = preg_replace('~[&]([^;]{8}|[^;]{0,8}$)~', '&$1', $_POST['board_name']);sonrasına ekle $boardOptions['board_icon'] = preg_replace('~[&]([^;]{8}|[^;]{0,8}$)~', '&$1', $_POST['board_icon']);bul $context['board_order'] = array(); $context['board'] = array( 'is_new' => true, 'id' => 0, 'name' => $txt['mboards_new_board_name'], 'description' => '',
sonrasına ekle 'board_icon' => '',bul $context['board']['name'] = htmlspecialchars($context['board']['name']);sonrasına ekle $context['board']['board_icon'] = htmlspecialchars($context['board']['board_icon']);source/Subs-Boards.php yi aç bul // Getting all the board and category information you'd ever wanted. $request = db_query(" SELECT IFNULL(b.ID_BOARD, 0) AS ID_BOARD, b.ID_PARENT, b.name AS bName, b.description, b.childLevel, b.boardOrder, b.countPosts, b.memberGroups, b.ID_THEME, b.override_theme, b.permission_mode, c.ID_CAT, c.name AS cName, c.catOrder, c.canCollapse FROM {$db_prefix}categories AS c LEFT JOIN {$db_prefix}boards AS b ON (b.ID_CAT = c.ID_CAT) ORDER BY c.catOrder, b.childLevel, b.boardOrder", __FILE__, __LINE__);
değiştir // Getting all the board and category information you'd ever wanted. $request = db_query(" SELECT IFNULL(b.ID_BOARD, 0) AS ID_BOARD, b.ID_PARENT, b.name AS bName,b.board_icon, b.description, b.childLevel, b.boardOrder, b.countPosts, b.memberGroups, b.ID_THEME, b.override_theme, b.permission_mode, c.ID_CAT, c.name AS cName, c.catOrder, c.canCollapse FROM {$db_prefix}categories AS c LEFT JOIN {$db_prefix}boards AS b ON (b.ID_CAT = c.ID_CAT) ORDER BY c.catOrder, b.childLevel, b.boardOrder", __FILE__, __LINE__);
bul 'order' => $row['boardOrder'], 'name' => $row['bName'], 'memberGroups' => explode(',', $row['memberGroups']), 'description' => $row['description'],
sonrasına ekle 'board_icon' => $row['board_icon'],bul if (isset($boardOptions['board_name'])) $boardUpdates[] = 'name = \'' . $boardOptions['board_name'] . '\'';
sonrasına ekle if (isset($boardOptions['board_icon'])) $boardUpdates[] = 'board_icon = \'' . $boardOptions['board_icon'] . '\'';
bul // Set every optional value to its default value. $boardOptions += array( 'posts_count' => true, 'override_theme' => false, 'board_theme' => 0, 'access_groups' => array(), 'board_description' => '',
sonrasına ekle 'board_icon' => '',bul // Insert a board, the settings are dealt with later. db_query(" INSERT INTO {$db_prefix}boards (ID_CAT, name, description, boardOrder, memberGroups) VALUES ($boardOptions[target_category], SUBSTRING('$boardOptions[board_name]', 1, 255), '', 0, '-1,0')", __FILE__, __LINE__);
değiştir // Insert a board, the settings are dealt with later. db_query(" INSERT INTO {$db_prefix}boards (ID_CAT, name, description, boardOrder, memberGroups, board_icon) VALUES ($boardOptions[target_category], SUBSTRING('$boardOptions[board_name]', 1, 255), '', 0, '-1,0' , '')", __FILE__, __LINE__);
/Languages/index.english.php yi aç bul ?>öncesine ekle $txt['icon'] = 'Name of the icon file:'; $txt['icon_a'] = 'Enter the name, with the extension, of the icon you want shown before the category description.'; $txt['show_icons'] = 'Show icons before categories?';
Languages/index.turkish.php yi aç bul ?>öncesine ekle kaydet ve çık $txt['icon'] = 'Kategori Dosyasinin adi:'; $txt['icon_a'] = 'Kategori basinda gostermek istediginiz resimin yolunu yazin.'; $txt['show_icons'] = 'Kategorilerde resim göstermek istermisiniz?';
son olarak ekteki boardicondb.php dosyasını forumunuza ftp den atın ve tam yolunu tarayıcıdan bir kere çalıştırın.. [eklenti yönetici tarafından silindi]
|