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 1 trên 1
Tăng kích thước phông chữ Giảm kích thước phông chữ
  1. #1
    admin's Avatar

    Trạng thái
    Offline
    Họ tên
    Mai Thanh Trung
    Tham gia ngày
    Aug 2006
    Thành viên thứ
    1
    Đến từ
    Pleiku, Gia Lai
    Tuổi
    39
    Giới tính
    Bài gởi
    4,984
    Level: 57 [?]
    Experience: 32,158,686
    Next Level: 35,467,816
    Cảm ơn 53
    Cảm ơn 2,450 lần / 1,409 Bài viết

    Default Tag Cloud on Forumdisplay  

    This mod was originally written by ThorstenA. The original thread is here.

    I have permission to release this upgraded version of the mod from the author here:
    Originally Posted by ThorstenA
    I'd be very glad if you would publish your changed mod in the vb 4 section. (I wrote that this mod is completely free already here). I am not interested in being named as the author, having the functionality - so that it works with vb4 - is far more important to me
    What does this product do?
    It displays a tag cloud of all tags used within actual forums on top of FORUMDISPLAY. If a user clicks on tags, only threads within actual forums are displayed then.



    How to install?
    Just import product. Done.

    How to uninstall?
    Just deinstall product. If you did either template edit below, then undo the template edit.


    Optional: To also only show threads within actual forums once a user clicks on a tag on showthread:

    1) change template tagbit to
    HTML Code: 
    <li><a href="tags.php?{vb:raw session.sessionurl}tag={vb:raw tag_url}<vb:if condition="THIS_SCRIPT == 'showthread'">&amp;forumid={vb:raw show.tagforumid}</vb:if>">{vb:raw tag}</a></li>
    2) turn ON the plugin labeled "Make showthread tag only show tags in that forum (optional)" (it is off by default)


    How to change location of tag cloud box?

    1) Find this code from manage plugins > plugin forumdisplay_start (Forum Tags)
    PHP Code: 
        $find '<div id="above_threadlist" class="above_threadlist">';
        
    $vbulletin->templatecache['FORUMDISPLAY'] = str_replace($find,$cloud_html.$find,$vbulletin->templatecache['FORUMDISPLAY']); 
    and replace with this code:
    PHP Code: 
       vB_Template::preRegister('FORUMDISPLAY', array('cloud_html' => $cloud_html)); 
    2) Put {vb:raw cloud_html} in FORUMDISPLAY where you want to show tag cloud.

    Details

    * no options available yet
    * uses standard tag options made in admincp > tags
    * Does not add phrases, templates.
    * It uses standard tag cloud template, but shows it on FORUMDISPLAY
    * Tag cloud is only shown in actual forum when tags were used
    * threads tagged within subforums are not shown
    * Tag cloud is automatically placed above the threadlist
    * Tag links are altered to let tags be searchable by forum
    * Tags.php has a new option forumid to only show tags from specific forums
    * If you click on a tag, only topics within actual forum are displayed
    * Tag size is dependent on how many threads are tagged only within actual forum
    * Adds 1 query to forumdisplay

    Version history

    2009-12-04 - version 0.4 - First release that works with vB4 by Lynne (pre 4.0.1)
    2010-01-26 - version 0.5 - Fixed problem with tags having single apostophes in them. Created a new template to display the tag cloud at the top of forumdisplay (looks the same as bottom templates and will collapse). Fixed issue where css is stored as a file. (4.0.1)
    2010-10-22 - version 0.6 - Modified template due to changes in 4.0.8 (4.0.8)
    File Kèm Theo File Kèm Theo
    thay đổi nội dung bởi: admin; 28-11-2010 lúc 10:29 AM
    .♥.Thà không yêu cho cuộc đời trong trắng.♥.
    .♥.Lỡ yêu rồi phải cố gắng thành công.♥.


    Thiết kế website, Cung cấp Domain, Hosting, VPS

  2. The Following 2 Thank You to admin For This Useful Post:

    ai_hon_ai (09-06-2012),Dunglx (08-04-2011)


 

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Trả lời: 1
    Bài mới gởi: 17-08-2011, 12:45 AM
  2. BT - Avatar forumdisplay!
    By admin in forum v4.0.x Modifications
    Trả lời: 2
    Bài mới gởi: 05-05-2010, 03:52 PM
  3. BT - Forumdisplay loggedinusers [avatar]
    By admin in forum v4.0.x Modifications
    Trả lời: 0
    Bài mới gởi: 25-04-2010, 09:29 PM
  4. Make Prefixes Clickable to Filter Forumdisplay
    By admin in forum v4.0.x Modifications
    Trả lời: 1
    Bài mới gởi: 26-03-2010, 07:13 PM
  5. Username HTML Markup in Forumdisplay
    By admin in forum v3.8.x Modifications
    Trả lời: 0
    Bài mới gởi: 19-10-2009, 08:37 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
  •