^ thats exactly what I want to do on my forums, just make the tables appear on the right. But so far I just end up butchering my layout. How exactly did you do it? Im following the exact code Sinecure and C: have, but it either butchers the forums, or everything ends up on top or bottom.
Front page split into 2 tables....
Collapse
X
-
Here's what I did.. I took this code, and opened up my forumhome template:
Code:<div align="center"> <center> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td width="20%">[font=verdana][b][color=red]Part 1[/color][/b][/font][b][/b]</td> <td width="80%">[font=verdana][b][color=red]Part 2[/color][/b][/font][b][/b]</td> </tr> </table> </center> </div>
Part 2: Here is where you have to break this code apart. Cut the last part of the code out, starting with where i have Part 2 all the way down to </div>. Just after the <td width="80%"> should come this part of 'forumhome':
Code:<!-- /text --> <br> <!-- main -->
Code:</td> </tr> </table> </center> </div>
Comment
-
Man I am so massively confused.
Here's what I did.. I took this code, and opened up my forumhome template:
Simply insert the html for your left tables here. I built mine on Front Page 2K, then cut and paste the html between <td width="20%"> and </td>
Here is where you have to break this code apart. Cut the last part of the code out, starting with where i have Part 2 all the way down to </div>. Just after the <td width="80%"> should come this part of 'forumhome':
Here is my forumhome template: (btw this template here is modified a bit)
PHP Code:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="no-cache">
<meta http-equiv="Expires" content="-1">
<meta http-equiv="Cache-Control" content="no-cache">
<!-- end no cache headers -->
<meta name="keywords" content="vbulletin,forum,bbs,discussion,jelsoft">
<meta name="description" content="$bbtitle is a discussion forum powered by vBulletin. To visit the forum, go to $bburl/ . To find out about vBulletin, go to [url]http://www.vbulletin.com/[/url] .">
<title>$bbtitle - powered by vBulletin</title>
$headinclude
</head>
<body>
$header
<!-- text -->
<!-- /text -->
<!-- welcomepanel -->
<table cellpadding="0" cellspacing="0" border="0" bgcolor="#555576" width="100%" align="center">
<tr>
<td>
<table cellpadding="4" cellspacing="1" border="0" width="100%">
<tr id="cat">
<td bgcolor="#606096" colspan="6"><smallfont color="#FFF788"><b>User Panel</b></smallfont></td>
</tr>
<tr>
<td bgcolor="#DFDFDF" align="center" valign="top" width="100">$avatarimage</td>
<td bgcolor="#F1F1F1">
<smallfont>
Welcome to our newest member, <a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$newuserid">$newusername</a>
$welcometext<br>
<font color="#34567E">Members:</font> $numbermembers <font color="#34567E">Threads:</font> $totalthreads <font color="#34567E">Posts:</font> $totalposts<br>
You last visited: $bbuserinfo[lastvisitdate].<br>
<b>$newposts</b>
</smallfont>
</td>
<td bgcolor="#DFDFDF" align="center" valign="middle" width="300">
$logincode
</td>
</tr>
</table>
</td></tr></table>
<br>
<!-- /welcomepanel -->
<table cellpadding="0" cellspacing="0" border="0" bgcolor="#555576" width="100%" align="center"><tr><td>
<table cellpadding="4" cellspacing="1" border="0" width="100%">
<tr align="center">
<td bgcolor="#8080A6"><smallfont> </smallfont></td>
<td bgcolor="#8080A6" width="80%" align="left"><smallfont color="#EEEEFF"><b>Forum</b></smallfont></td>
<td bgcolor="#8080A6"><smallfont color="#EEEEFF"><b>Posts</b></smallfont></td>
<td bgcolor="#8080A6"><smallfont color="#EEEEFF"><b>Threads</b></smallfont></td>
<td bgcolor="#8080A6" nowrap><smallfont color="#EEEEFF"><b>Last Post</b></smallfont></td>
<td bgcolor="#8080A6" width="20%"><smallfont color="#EEEEFF"><b>Moderator</b></smallfont></td>
</tr>
$forumbits
$pminfo
$loggedinusers
</table>
</td></tr></table>
<!-- /main -->
<br>
<!-- timezone/login-->
<table cellpadding="2" cellspacing="0" border="0" width="100%" align="center">
<tr valign="top">
<td><smallfont>$timezone</smallfont></td>
<td align="right"></td>
</tr>
</table>
<!-- /timezone/login -->
<br>
<!-- icons -->
<table cellpadding="2" cellspacing="0" border="0" width="100%" align="center">
<tr>
<td align="center">
<img src="images/on.gif" border="0" alt="On" align="absmiddle">
<b><smallfont>New posts</smallfont></b>
<img src="images/off.gif" border="0" alt="Off" align="absmiddle">
<b><smallfont>No new posts</smallfont></b>
<img src="images/lock.gif" border="0" alt="Closed Forum" align="absmiddle">
<b><smallfont>A closed forum</smallfont></b>
</td>
</tr>
</table>
<!-- /icons -->
$footer
</body>
</html>
PHP Code:<table width="198" cellspacing="0" bgcolor="#333333" align="left">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" bgcolor="#CCCCCC">
<tr>
<td width="19%" bgcolor="#000000"> </td>
<td width="81%" bgcolor="#003399">
<div align="right"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#FFFFFF"><b>Forum
Statistics</b></font></div>
</td>
</tr>
<tr bgcolor="#CCCCCC">
<td colspan="2"> <b><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Members:</font></b></td>
</tr>
<tr bgcolor="#DDDDDD">
<td colspan="2"> <b><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Currently
Online:</font></b></td>
</tr>
<tr bgcolor="#CCCCCC">
<td colspan="2">
<p><b><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Record
Online:</font></b></p>
</td>
</tr>
<tr bgcolor="#DDDDDD">
<td colspan="2"> <b><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Threads:</font></b></td>
</tr>
<tr bgcolor="#CCCCCC">
<td colspan="2"> <b><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Posts:</font></b></td>
</tr>
</table>
</td>
</tr>
</table>
I *kinda* see where your going, but Im still confused. I'll keep trying and see if I can stumble on success.Last edited by Mr. X; Sat 23 Mar '02, 10:20pm.Comment
-
Im new on this, and I would like to make a forum just like this one http://www.sportsnimports.com/forums
I need the left column for info.
thanksComment
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Comment