Bạn ghé thăm diễn đàn lần đầu? hãy đăng ký ngay bây giờ để tham gia.
  • Đăng nhập:

Chào mừng bạn đến với ITVNN FORUM - Diễn đàn công nghệ thông tin.

Nếu đây là lần đầu tiên bạn tham gia diễn đàn, xin mời bạn xem phần Hỏi/Ðáp để biết cách dùng diễn đàn. Để có thể tham gia thảo luận bạn phải đăng ký làm thành viên, click vào đây để đăng ký.


  • Partner Area
    • ITVNN HOSTING - Thiết kế website, Cung cấp Domain, Hosting, VPS Việt Nam Anh Hùng - Thông tin truyền thông
kết quả từ 1 tới 4 trên 4
Tăng kích thước phông chữ Giảm kích thước phông chữ
  1. #1
    alike's Avatar

    Trạng thái
    Offline
    Tham gia ngày
    Feb 2011
    Thành viên thứ
    39529
    Tuổi
    34
    Giới tính
    Bài gởi
    22
    Level: 26 [?]
    Experience: 105,929
    Next Level: 125,609
    Cảm ơn 0
    Cảm ơn 0 lần / 0 Bài viết

    Default Giúp code gửi bài viết trong vbb  

    f1.jpg

    Cho mình hỏi code này viết sao dạ
    thay đổi nội dung bởi: Jollibee; 21-03-2011 lúc 08:42 PM Lý do: Thêm dấu vào

  2. #2
    s0ct0j0c's Avatar
    Banned

    Trạng thái
    Offline
    Họ tên
    Kiều Sơn Lâm
    Tham gia ngày
    Jan 2011
    Thành viên thứ
    36613
    Đến từ
    TP.HCM
    Tuổi
    31
    Giới tính
    Bài gởi
    454
    Level: 41 [?]
    Experience: 2,206,817
    Next Level: 2,530,022
    Cảm ơn 91
    Cảm ơn 89 lần / 68 Bài viết

    Default

    Ra ngoài xem code của forum xịn hơn kìa chỉ vào tờ giấy trắng nho nhỏ đó

  3. #3
    alike's Avatar

    Trạng thái
    Offline
    Tham gia ngày
    Feb 2011
    Thành viên thứ
    39529
    Tuổi
    34
    Giới tính
    Bài gởi
    22
    Level: 26 [?]
    Experience: 105,929
    Next Level: 125,609
    Cảm ơn 0
    Cảm ơn 0 lần / 0 Bài viết

    Default

    la sao minh chua hiểu

  4. #4
    Tiểu Bá Vương 1404's Avatar

    Trạng thái
    Offline
    Họ tên
    BCP Hùng
    Tham gia ngày
    Oct 2010
    Thành viên thứ
    32314
    Đến từ
    Vietnam
    Tuổi
    30
    Giới tính
    Bài gởi
    3,311
    Level: 53 [?]
    Experience: 16,338,764
    Next Level: 19,059,430
    Cảm ơn 394
    Cảm ơn 1,859 lần / 992 Bài viết

    Default

    Đây là code mình viết cho phần Last Post trong FORUMHOME, bạn sử dụng như sau :
    • Vào Style Manager -> Edit Templates -> Forum Home Templates -> forumhome_lastpostby.
    • Thay toàn bộ bằng code sau nếu temp này chưa qua chỉnh sửa :
      PHP Code: 
      <vb:if condition="$show['lastpostinfo']">
          <
      class="lastposttitle">
          <
      vb:if condition="$show['icon']"><img src="{vb:raw icon.iconpath}" alt="{vb:raw icon.title}" border="0" /></vb:if>
          <
      vb:if condition="$lastpostinfo['prefix']">{vb:raw lastpostinfo.prefix}</vb:if>
          <
      a href="{vb:link thread, {vb:raw threadinfo}, {vb:raw pageinfo_newpost}}" class="threadtitle" title="{vb:rawphrase go_first_unread_in_thread_x, {vb:raw lastpostinfo.lastthread}}">{vb:raw lastpostinfo.trimthread}</a>
          <
      a href="{vb:link thread, {vb:raw threadinfo}, {vb:raw pageinfo_lastpost}}#post{vb:raw lastpostinfo.lastpostid}"><img src="{vb:stylevar imgdir_button}/lastpost-{vb:stylevar right}.png" alt="{vb:rawphrase go_to_last_post}" /></a>
          </
      p>
          <
      div class="lastpostby">
          <
      vb:if condition="$lastpostinfo['lastposterid']">
              {
      vb:rawphrase by_x_memberaction, {vb:raw memberaction_dropdown}}
          <
      vb:else />
              {
      vb:rawphrase by_x_guest, {vb:raw lastpostinfo.lastposter}}
          </
      vb:if>
          </
      div>
          <
      class="lastpostdate">{vb:raw lastpostinfo.lastpostdate}<vb:if condition="!$show['detailedtime']">, <span class="time">{vb:raw lastpostinfo.lastposttime}</span></vb:if>&nbsp;&nbsp;&nbsp;&nbsp;<a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newthread.php?{vb:raw session.sessionurl}do=newthread&amp;f={vb:raw lastpostinfo.forumid}" rel="nofollow">+Gửi Bài Mới</a></p>
      <
      vb:else />
          <
      span class="lastpostdate">{vb:raw lastpostinfo.lastpostdate} <vb:if condition="!$show['detailedtime']"><span class="time">{vb:raw lastpostinfo.lastposttime}</span></vb:if></span>
          <
      a href="{vb:link thread, {vb:raw threadinfo}, {vb:raw pageinfo_lastpost}}#post{vb:raw lastpostinfo.lastpostid}"><img src="{vb:stylevar imgdir_button}/lastpost-{vb:stylevar right}.png" alt="{vb:rawphrase go_to_last_post}" /></a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newthread.php?{vb:raw session.sessionurl}do=newthread&amp;f={vb:raw lastpostinfo.forumid}" rel="nofollow">+Gửi Bài Mới</a>
      </
      vb:if> 
    • Với trường hợp đã qua chỉnh sửa, tìm vào vị trí code sau :
      PHP Code: 
      <class="lastpostdate">{vb:raw lastpostinfo.lastpostdate}<vb:if condition="!$show['detailedtime']">, <span class="time">{vb:raw lastpostinfo.lastposttime}</span></vb:if> 

      PHP Code: 
      <a href="{vb:link thread, {vb:raw threadinfo}, {vb:raw pageinfo_lastpost}}#post{vb:raw lastpostinfo.lastpostid}"><img src="{vb:stylevar imgdir_button}/lastpost-{vb:stylevar right}.png" alt="{vb:rawphrase go_to_last_post}" /></a
      Thêm vào liền kề ngay phía sau :
      PHP Code: 
      &nbsp;&nbsp;&nbsp;&nbsp;<a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newthread.php?{vb:raw session.sessionurl}do=newthread&amp;f={vb:raw lastpostinfo.forumid}" rel="nofollow">+Gửi Bài Mới</a


 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Xin code C++ về xóa dữ liệu trong tệp txt
    By tuanphat06 in forum Thắc mắc - Góp ý
    Trả lời: 0
    Bài mới gởi: 12-05-2016, 08:24 AM
  2. Trả lời: 0
    Bài mới gởi: 15-04-2012, 09:06 AM
  3. Trả lời: 1
    Bài mới gởi: 05-04-2012, 11:24 AM
  4. Xin code ẩn 1 đoạn HTML trong rum
    By hoangduykt7990 in forum Hỏi đáp & Thảo luận
    Trả lời: 2
    Bài mới gởi: 19-05-2011, 08:32 PM
  5. HELP - Hiển thị link trong thẻ CODE
    By kevin_trung in forum Hỏi đáp & Thảo luận
    Trả lời: 2
    Bài mới gởi: 09-04-2011, 11:29 PM

Tags for this Thread

Bookmarks

Quuyền Hạn Của Bạn

  • Bạn không thể tạo chủ đề mới
  • Bạn không thể trả lời bài viết
  • Bạn không thể gửi file đính kèm
  • Bạn không thể chỉnh sửa bài viết
  •