Merhaba Sitede satış bolumu hosting kaynaklı hata nedeniyle geçici askıya alinmiş tir.
Hello Onsite sales are partly due to temporary errors due to hosting buggy.


Avatars on Board and/or MessageIndex SMF 2.1

Started by seyit, 08 Aug 2018, 00:11:52

previous topic - next topic

0 Members and 1 Guest are viewing this topic.

Modifikasyon Adı: Avatars on Board and/or MessageIndex

Uyumluluk: 2.1 beta  sürüm

https://www.replikacep.com/ farkı ile

güle güle kullanın

modu 2.1 kullananlar için yapmış bulunmaktayım 

Manuel  kurmayi bilmeyenler ekteki paketi indirip kurabilir









manuel kurulum

BoardIndex.template.php bul :

Code Select
// Show some basic information about the number of posts, etc.
 echo '
 </div>
 <div class="board_stats">
 <p>', comma_format($board['posts']), ' ', $board['is_redirect'] ? $txt['redirects'] : $txt['posts'], '
 ', $board['is_redirect'] ? '' : '<br> ' . comma_format($board['topics']) . ' ' . $txt['board_topics'], '
 </p>
 </div>
 <div class="lastpost ',!empty($board['last_post']['id']) ? 'lpr_border' : 'hidden', '">';

 if (!empty($board['last_post']['id']))
 echo '
 <p>', $board['last_post']['last_post_message'], '</p>';
 echo '
 </div>';

degiştir


Code Select
// Show some basic information about the number of posts, etc.
 echo '
 </div>
 <div class="board_stats">
 <p>', comma_format($board['posts']), ' ', $board['is_redirect'] ? $txt['redirects'] : $txt['posts'], '
 ', $board['is_redirect'] ? '' : '<br> ' . comma_format($board['topics']) . ' ' . $txt['board_topics'], '
 </p>
 </div>
 <div class="lastpost ',!empty($board['last_post']['id']) ? 'lpr_border' : 'hidden', '">';

 if (!empty($board['last_post']['id']))
 echo '
 <p>'.$board['last_post']['member']['avatar']['image'].' ', $board['last_post']['last_post_message'], '</p>';
 echo '
 </div>';


bul

Code Select
function template_ic_block_recent()
{
 global $context, $scripturl, $settings, $txt;

degiştir

Code Select
function template_ic_block_recent()
{
 global $context, $scripturl, $settings, $txt,$memberContext;


index.template.php bul

Code Select
$settings['avatars_on_boardIndex'] = false;
degiştir

Code Select
$settings['avatars_on_boardIndex'] = true;

index.css en sona ekle

Code Select
.sonileti .avatar, .lastpost img.avatar {
 float:left;
    width: 40px;
    height: 40px;
 border-radius:50%;
 border: 1px solid #ccc;
    overflow: hidden;
}


ÖN İZLEME RESİM