Home 網站架設DISCUZ TAG 標籤 功能擴充 – 增加顯示類似TAG

TAG 標籤 功能擴充 – 增加顯示類似TAG

by admin
0 comment

本文轉自: Bluelovers.風 http://discuz.bluelovers.net
本文網址: http://discuz.bluelovers.net/thread-3796.html

演示 http://discuz.bluelovers.net/tag.php?name=死神


開啟tag.php

[code]include template(‘tag_threads’);[/code]
在上面加上
[code]if ($page == 1 && !$inajax) {
$taglikelist = array();

$query = $db->query(“SELECT * FROM {$tablepre}tags WHERE tagname LIKE ‘%”.str_replace(‘_’, ‘_’, $name).”%’ ORDER BY total LIMIT $viewthreadtags”);
while($tagrow = $db->fetch_array($query)) {
$tagrow[‘tagnameenc’] = rawurlencode($tagrow[‘tagname’]);
$taglikelist[] = $tagrow;
}

$taglikelist && sort($taglikelist);
}

[/code]
開啟 tag_threads.htm

[code]

$multipage

[/xml]在下面加上[code]

類似標籤

[/code]

You may also like

Leave a Comment

logo-t

softblog is the Best Newspaper and Magazine WordPress Theme with tons of options and demos ready to import. This theme is perfect for blogs and excellent for online stores, news, magazine or review sites.

Editors' Picks

Latest Posts

@2019 – 2024 All Right Reserved. Designed and Developed by SoftBlog.

 

Adblock Detected

Please support us by disabling your AdBlocker extension from your browsers for our website.