MOD trực tuyến và giới tính cạnh avatar

Mod này dành cho:

Discuz! X Version:X3 X2.5

Để hiển thị giới tính của thành viên và tình hình trực tuyến hoặc ngoại tuyến như trên hình ảnh:

Tải về giải nén:

https://www.4shared.com/s/f-7hf5Mjqea

Mở template/default/forum/viewthread_node.htm

Tìm:

<a href="home.php?mod=space&uid=$post['authorid']" target="_blank" class="xw1">$post[author]</a>$authorverifys</div>

và dán đoạn này lên trên:

    <span class="y">
    <!--{if ($_G['setting']['vtonlinestatus'] == 2 && $_G[forum_onlineauthors][$post[authorid]]) || ($_G['setting']['vtonlinestatus'] == 1 && (TIMESTAMP -

    $post['lastactivity'] <= 10800) && !$post['authorinvisible'])}-->

    <!--{if $post['gender'] == 1}--><img src="static/image/common/male.gif" title="Bay"> <img src="static/image/common/online.gif" title="Online" />
    <!--{elseif $post['gender'] == 2}--><img src="static/image/common/female.gif" title="Bayan"> <img src="static/image/common/online.gif" title="Online" /><!--{else}--><img

    src="static/image/common/unknow.gif" title="Belirsiz"> <img src="static/image/common/online.gif" title="Online" /><!--{/if}--><!--{else}--><!--{if $post['gender'] == 1}

    --><img src="static/image/common/male.gif" title="Bay"> <img src="static/image/common/offline.gif" title="Offline" />
    <!--{elseif $post['gender'] == 2}--><img src="static/image/common/female.gif" title="Bayan"> <img src="static/image/common/offline.gif" title="Offline" /><!--{else}--><img

    src="static/image/common/unknow.gif" title="Belirsiz"> <img src="static/image/common/offline.gif" title="Offline" /><!--{/if}--><!--{/if}--></span>

Và đưa thư mục /image vừa giải nén này đưa vào /static

Bình luận về bài viết này