The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Aligning the tables on the main forum page
Take a look at my forum:
http://www.powwows.com/gathering I want to align the columns on this page to make it look a little better. What template is that? I tried editing forumdisplay_forumbit_level2_post to: <tr align="center"> <td bgcolor="#F9F9F9" valign="top" width="30"><img src="images/$forum[onoff].gif" border="0" alt=""></td> <td bgcolor="#FFFFFF" align="left" width="200"><a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont><b>$forum[title]</b></normalfont></a> <br><smallfont>$forum[description]</smallfont></td> <td bgcolor="#F9F9F9" width="25"><normalfont>$forum[replycount]</normalfont></td> <td bgcolor="#FFFFFF" width="25"><normalfont>$forum[threadcount]</normalfont></td> <td bgcolor="#F9F9F9" width="25"><smallfont>$forum[lastpostinfo]</smallfont></td> <td bgcolor="#FFFFFF" width="25"><smallfont>$forum[moderators]</smallfont></td> </tr> But I don't see a difference??!!?? |
#2
|
||||
|
||||
Can someone help?
|
#3
|
||||
|
||||
Edit forumdisplay, you'll need to edit the <table> tags to change the alignment of a WHOLE table.
|
#4
|
||||
|
||||
Maybe I'm missing it, but below is my template, where???
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>$foruminfo[title] - $bbtitle</title> $headinclude </head> <body> $header <table cellpadding="2" cellspacing="0" border="0" width="100%" align="center"> <tr> <td valign="top">$navbar <smallfont>$moderatedby$onlineusers</smallfont></td> <td valign="bottom" align="right"><smallfont>$newthreadlink </smallfont></td> </tr> </table> <br> $forumdisplay[forumslist] $forumdisplay[threadslist] <!-- forum jump and timezone --> <table cellpadding="2" cellspacing="0" border="0" width="100%" align="center"> <tr valign="bottom"> <td>$forumjump</td> <td align="right"> <table cellpadding="0" cellspacing="0" border="0"><tr> <form action="search.php" method="post"> <td><smallfont><b>Search this Forum:</b> <input type="hidden" name="s" value="$session[sessionhash]"><input type="hidden" name="searchdate" value="-1"> <input type="hidden" name="beforeafter" value="after"><input type="hidden" name="forumchoice" value="$forumid"> <input type="hidden" name="action" value="simplesearch"><br><input type="text" class="bginput" name="query">$gobutton </smallfont></td> </form> </tr></table> </td> </tr> </table> <!-- /forum jump and timezone --> <br> <!-- icon key --> <table cellpadding="2" cellspacing="0" border="0" width="100%" align="center"> <tr><td colspan="5" align="center"><smallfont>$timezone</smallfont></td></tr> <tr><td rowspan="2" width="50%"> </td> <td nowrap><smallfont><img src="images/newfolder.gif" border="0" alt="New Posts"> <b>New posts</b> </smallfont></td> <td nowrap><smallfont>( <img src="images/newhotfolder.gif" border=0 alt="Hot Thread"> <b>More than $hotnumberposts replies or $hotnumberviews views</b> ) </smallfont></td> <td nowrap><smallfont><img src="images/lockfolder.gif" border="0" alt="Closed Thread"> <b>Closed thread</b></smallfont></td> </tr> <tr> <td nowrap><smallfont><img src="images/folder.gif" border="0" alt="No New Posts"> <b>No new posts</b> </smallfont></td> <td nowrap colspan="2"><smallfont>( <img src="images/hotfolder.gif" border=0 alt="Hot Thread"> <b>More than $hotnumberposts replies or $hotnumberviews views</b> ) </smallfont></td> <td rowspan="2" width="50%"> </td></tr> </table> <!-- /icon key --> <br> <!-- forum rules and admin options --> <table cellpadding="2" cellspacing="0" border="0" width="100%" align="center"> <tr valign="bottom"> <td><smallfont><b>Forum Rules:</b>$forumrules</smallfont></td> <td align="right">$adminoptions</td> </tr> </table> <!-- /forum rules and admin options --> $footer </body> </html> |
#5
|
||||
|
||||
Actaully, I'm wrong. Check forumdisplay_forumslist. I'm not sure if thats wrong I'll take a deeper look later.
|
#6
|
||||
|
||||
Tried that, but it didn't make a change???
PHP Code:
|
#7
|
||||
|
||||
I think those are the <table> tags (At the top) you need to edit.
|
#8
|
||||
|
||||
How would that change the alignment of the columns?
|
#9
|
||||
|
||||
I got it now, sorry.
Go into your forumhome_forumbit_level1_nopost and check the code for the forum/replies/threads etc. header under the category have width %'s. |
#10
|
||||
|
||||
Here's that section:
PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|