Version: 1.00, by ThorstenA
Developer Last Online: Nov 2023
Category: Show Thread Enhancements -
Version: 3.7.0 Beta 4
Rating:
Released: 01-23-2008
Last Update: Never
Installs: 53
Template Edits
No support by the author.
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 actual forum and all subforums. It's working great!
admincp > vbulletin options > External Data Provider > set yes all
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 -->
Done
Optional
If you want to change time frame of your refreshing threads, go to AdminCP > vBulletin Settings > External Data Provider
Change the value of Cache Lifespan to for example "1 Minute"
Hope that works great for you, too. I'd be glad to hear from you via pm.
9.2.2008 Fixed an error. Upgrade instruction: Please just copy this new code here into the template. Done.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Please let me some time to answer within this thread. You wrote me a pm less than one hour after you wrote your post. It usually takes some days until I response.
This modification fetches vbulletin RSS for showing threads. RSS is updated every 15 minutes or every hour. This is built into vbulletin. It maybe possible to change that in vbulletin admincp > change schedules, but I do not know how to do this.
Quote:
Originally Posted by apiasto
when user makes a thread,it does not show in the panel,even after refresh
This modification fetches vbulletin RSS for showing threads. RSS is updated every 15 minutes or every hour. This is built into vbulletin. It maybe possible to change that in vbulletin admincp > change schedules, but I do not know how to do this.
^^ thanks for that bro and sorry for the pm, only reason i pm'ed you is because it was urgent!!
i first replied to the thread and then i thought that you could be busy so i sent you the pm...
anywayz here is the solution for you apiasto
AdminCP---->vBulletin Settings---->External Data Proider
Change the value of Cache Lifespan to 1
^ by doing this vBulletin will fetch the threads data in a minute and latest threads will be updated soon....
^^ thanks for that bro and sorry for the pm, only reason i pm'ed you is because it was urgent!!
i first replied to the thread and then i thought that you could be busy so i sent you the pm...
anywayz here is the solution for you apiasto
AdminCP---->vBulletin Settings---->External Data Proider
Change the value of Cache Lifespan to 1
^ by doing this vBulletin will fetch the threads data in a minute and latest threads will be updated soon....
thnx punjabi i appreciate it.i will try later :up:
Works really neatly, I have it here: http://www.pregnancy.org/bulletinboa...x_original.php check it out Now, is there a way to modify this so that it can be between the breadcrumb header and the listing of posts?