Quên mật khẩu?

Ẩn quảng cáo

 

 [FMvi-Group]Xem bài viết mới cùng chuyên mục V.2

Go down 
Tác giảThông điệp
admin
[—»Sói™~]-[Ðại Ma Ðầu]
[—»Sói™~]-[Ðại Ma Ðầu]
admin


Giới tính Giới tính : Nam Virgo
Chinese zodiac Chinese zodiac : Horse
Bài viết Bài viết : 1042
Xu Xu : 158
Thanked Thanked : 650
Sinh Nhật Sinh Nhật : 20/09/1990
Tham Gia Tham Gia : 15/07/2011
Tuổi Tuổi : 33
Yahoo Yahoo : Hà Nội
Nghề Nghiệp Nghề Nghiệp : Giáo Sư
Status Status : hgfggggggggggggg

Character sheet
Tài Sản:

[FMvi-Group]Xem bài viết mới cùng chuyên mục V.2   Empty
Bài gửiTiêu đề: [FMvi-Group]Xem bài viết mới cùng chuyên mục V.2    [FMvi-Group]Xem bài viết mới cùng chuyên mục V.2   EmptyFri Oct 14, 2011 9:00 pm

Chức năng:

Thay Forumotion Traffic exchange bằng danh sách các bài viết cùng chuyên mục.
Lấy tối đa 13 bài viết, thay đổi kích thước tùy theo số lượng bài.
Có thể bật/tắt bằng cách bật/tắt Traffic exchange



Bước 1: Ganeral - Messages and e-mails - Configuration:
Điền vào 3 vị trí sau:

Define another name for Stickies : Chú ý
Define another name for Announcements : Thông báo
Customize a global announcement name : Thông báo khẩn


Bước 2: Display - Templates - Ganeral - Topics_list_box:
Tìm đoạn code sau:
Code:
            <div class="topictitle">
                {topics_list_box.row.NEWEST_POST_IMG}{topics_list_box.row.PARTICIPATE_POST_IMG}{topics_list_box.row.TOPIC_TYPE}
                <h2 class="topic-title">
                  <a class="topictitle" href="{topics_list_box.row.U_VIEW_TOPIC}">{topics_list_box.row.TOPIC_TITLE}</a>
                </h2>
            </div>

Thay nó bằng:
Code:
    <script type="text/javascript">$(function(){$(".xname").hide();});</script>
            <div class="topictitle" style="display:block;">
                {topics_list_box.row.NEWEST_POST_IMG}{topics_list_box.row.PARTICIPATE_POST_IMG}{topics_list_box.row.TOPIC_TYPE}
                <h2 class="topic-title">
                  <a class="topictitle" href="{topics_list_box.row.U_VIEW_TOPIC}">{topics_list_box.row.TOPIC_TITLE}</a><span class="xname" style="float: right;"><strong>{topics_list_box.row.TOPIC_AUTHOR}</strong><br/></span>
                </h2>
            </div>


Bước 3: Display - Templates - Ganeral - Viewtopic_body:
Tìm đoạn này

Code:
    <!-- BEGIN promot_trafic -->
    ...
    <!-- END promot_trafic -->
và thay bằng:
Code:
    <!-- BEGIN promot_trafic -->
    <table class="forumline" width="100%" border="0" cellpadding="1" cellspacing="0" id="ptrafic_close" style="display:none;margin: 1px 0px 1px 0px">
      <tr>
          <td class="thead" height="28">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td valign="top"><h1> Xem thêm các bài viết khác cùng chuyên mục</h1></td>
                  <td align="right" valign="middle" width="10"><span class="gensmall"><a onmouseover="showtip('Mở danh mục');" onmouseout="hidetip();" href="javascript:ShowHideLayer('ptrafic_open','ptrafic_close');"><img src="{TABS_MORE_IMG}" alt="+" align="middle" border="0" /></a></span></td>
                </tr>
            </table>
          </td>
      </tr>
    </table>
    <table class="forumline" width="100%" border="0" cellpadding="1" cellspacing="0" id="ptrafic_open" style="display:'';margin: 1px 0px 1px 0px">
      <tr>
          <td class="thead" height="28">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td valign="top"><h1> Xem thêm các bài viết khác cùng chuyên mục</h1></td>
                  <td align="right" valign="middle" width="10"><span class="gensmall"><a onmouseover="showtip('Đóng danh mục');" onmouseout="hidetip();" href="javascript:ShowHideLayer('ptrafic_open','ptrafic_close');"><img src="{TABS_LESS_IMG}" alt="-" align="middle" border="0" /></a></span></td>
                </tr>
            </table>
          </td>
      </tr>
      <tr>
          <td class="row2 postbody" valign="top">
    <script type="text/javascript">
    $(function() {
    $('<span class="bv" />').load('/f{FORUM_ID}-forum div.topictitle:not("div.topictitle:contains(\'Thông báo khẩn\'),div.topictitle:contains(\'Thông báo\'),div.topictitle:contains(\'Chú ý\'),div.topictitle:gt(13)")', {limit: 10}, function() {
    jQuery(this).hide()
    .appendTo('.cungchuyenmuc')
    .fadeIn(1);
    });
    return false;
    });
    </script>
    <div class="cungchuyenmuc" style="overflow:hidden; width:100%; height:auto;"></div>
          </td>
      </tr>
    </table>
    <!-- END promot_trafic -->
Chú ý: Vì TUT được thiết kế thay cho vị trí Forumotion Traffic exchange để bạn có thể bật/tắt nó, nên bạn cần bật Traffic exchange cho forum của bạn nếu muốn nó hiển thị.
Ganeral - Forum promotion - Traffic exchange - Options - Activate traffic exchange: Members and guests
Nếu nó vẫn không hiển thị, hoặc bạn không tìm thấy đoạn code trong hướng dẫn bước 3 thì vui lòng xem lại bài này: [You must be registered and logged in to see this link.]
Về Đầu Trang Go down
https://itvui.123.st
 
[FMvi-Group]Xem bài viết mới cùng chuyên mục V.2
Về Đầu Trang 
Trang 1 trong tổng số 1 trang
 Similar topics
-
» [FMvi-Group] Nút thanks không chuyển trang ver1
» FMvi-Group Media Player
» FMvi-Group Media Player
»  [FMvi-Group] Casino BETA cho Forumotion
» [FMvi-Group] BBcode Notes cho mọi phiên bản Forumotion

Permissions in this forum:Bạn không có quyền trả lời bài viết
Kênh thông tin giải trí dành cho teen việt :: *`+`* Mã Nguồn *`+`* :: Thủ Thuật Forumotion :: Code-
Chuyển đến