Log in

View Full Version : Fake Forums List - How to?


MrApples
11-01-2007, 10:30 PM
Probably not the best word choice but I'll explain.

I want to have forums in multiple places on the site. Since there seems to be no mods for this, and I'm not that capable, I want to setup a fake forum listing.

Instead of looping through all the forums and all that, I want to setup a page of static forums.

This appears to be the code for the forums
<!-- main -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="98%" align="center">
<thead>
<tr align="center">
<td class="thead">&nbsp;</td>
<td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead" width="175">$vbphrase[last_post]</td>
<td class="thead">$vbphrase[threads]</td>
<td class="thead">$vbphrase[posts]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="thead">$vbphrase[moderator]</td>
</if>
</tr>
</thead>
$forumbits

How would I do that statically? Like for just one specific forum by ID, what do those variables translate to?

Went into the source and it gave me this
<tr align="center"> <td class="alt2"><img src="FORUMICONSRC" alt="" border="0" id="forum_statusicon_19" /></td> <td class="alt1Active" align="left" id="f19"> <div> <a href="FORUMURL"><strong>FORUMNAME</strong></a> </div> <div class="smallfont">FORUM DESCRIPTION</div> </td> <td class="alt2" nowrap="nowrap"> <div class="smallfont" align="left"> <div style="clear:both"> <a href="LINKTONEWPOST" title="Go to first unread post in thread 'NEWPOSTNAME'"><strong>NEWPOSTNAME</strong></a> </div> <div>

by <a href="LINKTOPOSTER" >POSTERNAME</a> </div> <div align="right">
DATEOFLASTPOST
<a href="LINKTOLASTPOST"><img class="inlineimg" src="LASTPOSTICONSRC" alt="Go to last post" border="0" /></a> </div> </div> </td> <td class="alt1">NUMTOPICS</td> <td class="alt2">NUMREPLIES</td> </tr>
...but I need it just a bit more automatic.

MrApples
11-06-2007, 08:08 PM
Help?