网络营销电子商务研究中心  
How to buy the best prescription safety glasses in Canada? Let's study!
Go Back   网络营销电子商务研究中心 > 网站建设 > vBulletin技术交流
User Name
Password
 
FAQ Members List Calendar Cheap Glasses Mark Forums Read

vBulletin技术交流 主要讨论vBulletin的安装使用、模板风格、插件以及小技巧等。

Reply
 
Thread Tools Display Modes
  #1   IP: 222.184.47.203
Old 2009-07-29, 07:04 AM
topvip topvip is offline
超级版主
 
Join Date: 2006-01-04
Posts: 1206
topvip 正向着好的方向发展
Default Show latest threads on showthread

Do you ever wanted to show latest threads on showthread ? You can do that without products. All you need is to use build-in RSS feed. Here you will be presented all topics within this forum and all subforums. It's working great.


############# Install Instructions

## Admin Control Panel > vBulletin Options > vBulletin Options > External Data Provider > Use External Data Provider:
YES - type = JavaScript

## Place this code into template ad_showthread_beforeqr
Code:
<!-- show latest active threads -->
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" 
align="center">
<tbody><tr><td class="tcat">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_external')"><img 
id="collapseimg_forumhome_external" 
src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_forumhome_external].gif" alt="" border="0" /></a>
<a href="forumdisplay.php?f=$foruminfo[forumid]">New topics in $foruminfo[title]</a>
</td></tr></tbody>

<tbody id="collapseobj_forumhome_external" style="$vbcollapse[collapseobj_forumhome_external]">

<tr><td class="alt1" width="100%" valign="top">
 
<div class="smallfont">

<script type="text/javascript" src="external.php?forumids=$foruminfo[childlist]&type=js"></script>
<script language="" type="text/javascript">
<!--
for (var x in threads)
{
document.writeln("<a href=\"showthread.php?t="+threads[x].threadid+"&goto=newpost\"><img class=\"inlineimg\" src=\"$stylevar[imgdir_button]/firstnew.gif\" alt=\"\" border=\"0\" /></a> <a href=\"showthread.php?t="+threads[x].threadid+"\">"+threads[x].title+"</a> <br />");
}
//-->
</script>

</div>
 
</td>



</tr></tbody>
</table>

<!-- / show latest active threads -->
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HowTo Display Latest Active Threads on ANY normal HTML page topvip vBulletin技术交流 1 2009-07-29 07:03 AM
Latest X Posts on Forum Home yahoo vBulletin技术交流 0 2007-12-02 07:14 PM

Prescription-glasses.com offers prescription glasses online at discount prices.
All times are GMT +8. The time now is 03:26 AM.


Powered by vBulletin Version 3.8.7
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.