Siyahlar...
Kurucu Üye
İleti: 1335
Teşekkür Sayısı: 544
Çevrimdışı
Cinsiyet: 
|
 |
« Yanıtla #6 : 03 Şubat 2008, 09:28:20 » |
|
şuanda ben bu dediğinizden sonra bu foruma kurdum betasını  hem de biz 1.1.4 kullanıyoruz  bu paketı kurduktan sonra sunu yapın çünkü bu uygulamaları default adlı temaya yapıyor sadece bu mod: kullandıgınız temanın display.template.php dosyasını açın ve bulun: echo ' <input type="hidden" name="sc" value="' . $context['session_id'] . '" /> <input type="hidden" name="seqnum" value="', $context['form_sequence_number'], '" /> </form> </td> </tr> </table>'; }Bununla değişin: echo ' <input type="hidden" name="sc" value="' . $context['session_id'] . '" /> <input type="hidden" name="seqnum" value="', $context['form_sequence_number'], '" /> </form> </td> </tr> </table><br /><br />'; }
// Added by Related Topics if (!empty($context['related_topics']) > 0) { echo ' <div class="tborder" ', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? 'style="width: 100%;"' : '', '> <table border="0" width="100%" cellspacing="1" cellpadding="4" class="bordercolor"> <tr class="titlebg"> <td colspan="7">', $txt['related_topics'], '</td> </tr> <tr> <td width="9%" colspan="2" class="catbg3"></td> <td class="catbg3">', $txt[70],'</td> <td class="catbg3">', $txt[109],'</td> <td class="catbg3">', $txt[110],'</td> <td class="catbg3">', $txt[301],'</td> <td class="catbg3">', $txt[111],'</td> </tr>';
foreach ($context['related_topics'] as $topic) { // Do we want to seperate the sticky and lock status out? if (!empty($settings['seperate_sticky_lock']) && strpos($topic['class'], 'sticky') !== false) $topic['class'] = substr($topic['class'], 0, strrpos($topic['class'], '_sticky')); if (!empty($settings['seperate_sticky_lock']) && strpos($topic['class'], 'locked') !== false) $topic['class'] = substr($topic['class'], 0, strrpos($topic['class'], '_locked'));
echo ' <tr> <td class="windowbg2" valign="middle" align="center" width="5%"> <img src="', $settings['images_url'], '/topic/', $topic['class'], '.gif" alt="" /> </td> <td class="windowbg2" valign="middle" align="center" width="4%"> <img src="', $topic['first_post']['icon_url'], '" alt="" /> </td> <td class="windowbg' , !empty($settings['seperate_sticky_lock']) && $topic['is_sticky'] ? '3' : '' , '" valign="middle" ', (!empty($topic['quick_mod']['remove']) ? 'id="topic_' . $topic['first_post']['id'] . '" onmouseout="mouse_on_div = 0;" onmouseover="mouse_on_div = 1;" ondblclick="modify_topic(\'' . $topic['id'] . '\', \'' . $topic['first_post']['id'] . '\', \'' . $context['session_id'] . '\');"' : ''), '>';
if (!empty($settings['seperate_sticky_lock'])) echo ' ' , $topic['is_locked'] ? '<img src="' . $settings['images_url'] . '/icons/quick_lock.gif" align="right" alt="" id="lockicon' . $topic['first_post']['id'] . '" style="margin: 0;" />' : '' , ' ' , $topic['is_sticky'] ? '<img src="' . $settings['images_url'] . '/icons/show_sticky.gif" align="right" alt="" id="stickyicon' . $topic['first_post']['id'] . '" style="margin: 0;" />' : '';
echo ' ', $topic['is_sticky'] ? '<b>' : '' , '<span id="msg_' . $topic['first_post']['id'] . '">', $topic['first_post']['link'], '</span>', $topic['is_sticky'] ? '</b>' : '';
// Is this topic new? (assuming they are logged in!) if ($topic['new'] && $context['user']['is_logged']) echo ' <a href="', $topic['new_href'], '" id="newicon' . $topic['first_post']['id'] . '"><img src="', $settings['images_url'], '/', $context['user']['language'], '/new.gif" alt="', $txt[302], '" /></a>';
echo ' <small>', $topic['board_link'], '</small> <small id="pages' . $topic['first_post']['id'] . '">', $topic['pages'], '</small> </td> <td class="windowbg2" valign="middle" width="14%"> ', $topic['first_post']['member']['link'], ' </td> <td class="windowbg' , $topic['is_sticky'] ? '3' : '' , '" valign="middle" width="4%" align="center"> ', $topic['replies'], ' </td> <td class="windowbg' , $topic['is_sticky'] ? '3' : '' , '" valign="middle" width="4%" align="center"> ', $topic['views'], ' </td> <td class="windowbg2" valign="middle" width="22%"> <a href="', $topic['last_post']['href'], '"><img src="', $settings['images_url'], '/icons/last_post.gif" alt="', $txt[111], '" title="', $txt[111], '" style="float: right;" /></a> <span class="smalltext"> ', $topic['last_post']['time'], '<br /> ', $txt[525], ' ', $topic['last_post']['member']['link'], ' </span> </td>';
echo ' </tr>';
}
echo ' </table> </div>'; }şimdide default/languages/Modifications.turkish.php dosyasında bulun: ?>bir üstüne ekleyin: // Added by Related Topics $txt['related_topics'] = 'İlgili Konular'; $txt['relatedTopicsEnabled'] = 'Enable Related Topics'; $txt['relatedTopicsCount'] = 'How many related topics to show'; $txt['relatedFulltext'] = 'Fulltext'; $txt['relatedMethod'] = 'Search Method<br /><span class="smalltext"><b><a href="' . $scripturl . '?action=related;sa=index;begin">Build index for custom method</a></span></b>'; $txt['relatedCustom'] = 'Custom';şimdide admin panelı >> forum seçeneklerine gidin ve buraya bir kez tıklayın dediğimiz yere tıklayıp yenıden aynı sayfaya yanı forum secenekleri sayfasına donene kadar yanı yukleme bitene kadar bekleyin bişeyi ellemeden.  Yani anlatmak istedıgım paket haldeki bi modülün install dosyasında değişim ve modifiyelerin verildiği yol default temadır genelde.Biz bu paketi bu uygulama ile her kullandıgımız temaya uyarlayabiliriz. şuan bu sayfada alta bakın
|