vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Display latest threads from one forum in the side column of a second forum (https://vborg.vbsupport.ru/showthread.php?t=182014)

IvyKeepMommy 06-09-2008 03:55 PM

Display latest threads from one forum in the side column of a second forum
 
I've installed the Ultimate Side Columns and Kerry Anne directed me to vb.com to get the code to make the forums display -- but since almost every question I've ever asked over there has directed me to ask over here... I'm going to skip a step.

First let me say I am a programming newbie -- I took programming classes back in the Basic/Pascal/Cobal days so have a general understanding of it, but am still hazy on a lot of html and php.

The code that I found on vb.com, would seem to suggest that I use this code

HTML Code:

<!-- show latest active threads -->
<table cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<tbody>
<tr>
<td colspan="2">
<a href="http://theamericanmommy.com/forums/search.php?do=getnew">Latest Active Threads</a>
</td>
</tr>
</tbody>
<tbody>
<tr>
 
<td width="100%">
 
<div>
<script type="text/javascript" src="http://theamericanmommy.com/forums/external.php?type=rss"></script>
<script language="" type="text/javascript">
<!--
for (x = 0; x < 10; x++)
{
document.writeln("<a href=\"http://theamericanmommy.com/forums/showthread.php?t="+threads[x].threadid+"\">"+threads[x].title+"</a> (Posted By: "+threads[x].poster+")<br />");
}
//-->

</script></div>
 
</td>
</tr>
</tbody>
<!-- show latest active threads -->
</table>
<br />

However, I've tried that and what it does is provide a link that reads Latest Active Threads that takes me to the other site, but what I am looking for is a way to dynamically list what those threads actually are (that would then be clickable)

Can someone help me figure out what is wrong in the above code to get it to do what I'd like it to do?

Thanks for the help in advance! :rolleyes:


All times are GMT. The time now is 08:36 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04568 seconds
  • Memory Usage 1,714KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (1)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete