View Full Version : forum home coloums are way off
imported_cono
10-30-2002, 06:01 PM
i am working on a style for my default board stlye. the problem is the collums do not match? i am a total newb and need some help with this.
i also added the moderator dropdown mod and now the black that was on the catagory background disappered?
thanks for the help.
Cypher720
10-30-2002, 10:03 PM
screenshot please......try making the table width a certain perrcent or width, as opposed to 100%
imported_cono
10-30-2002, 10:55 PM
some of the other forums down futher into the board are way off. but here is a example.
i have some serious issuses going on with my forum home. i am trying to find the mod witch lets you centers the text of the catagories but i can find it?
Burning_Ice
10-31-2002, 12:30 AM
I guess you like VB.org's style?
Tony G
10-31-2002, 03:20 AM
For centered categories, use this mod:
http://www.vbulletintemplates.com/mods/showthread.php?s=&threadid=9&highlight=Centered
imported_cono
10-31-2002, 06:34 AM
i used that and it was still the same thing? i am going to mess around with the templates a little at a time to see if i can get it right?
Tony G
10-31-2002, 07:22 AM
Should work, don't see how such a simple mod wouldn't work.
Hmm, are you editing the right code properly?
Its due to the fact that you have split the colums from the forum tables. there was a topic about this awhile ago lemme find it for you.
<a href="http://www.vbulletintemplates.com/mods/showthread.php?s=&threadid=1533&highlight=forumhome" target="_blank">http://www.vbulletintemplates.com/mo...ight=forumhome</a>
use the fix and posted in that thread and report back.
imported_cono
10-31-2002, 10:55 PM
i must have used a updated txt file? it seems like this was allready done to my templates. i still have the problem, though its not as bad. my major problem is my moderators colum is way off?
you can view it at. http://www.nbguy.com/vbb/
thanks, i dont know how to work with these templates to well. i am just going by what the instructions are telling me. so i am pretty much lost when it comes to trouble shooting.
Rufus69
10-31-2002, 11:08 PM
hmm that looks like you forgot to add a </td> either that or maybe you dont have the width set right...
I'm kind new to VB so I might be wrong
imported_cono
10-31-2002, 11:12 PM
witch template? its worth a shot.
Rufus69
10-31-2002, 11:19 PM
hmm I would think forumhome but I dont have my cp open right now.
Post your forumhome_forumbit_level2_post and forumhome_forumbit_level1_nopost templates.
imported_cono
11-01-2002, 03:46 AM
<tr>
<td bgcolor="{secondaltcolor}" valign="middle" align="center"><img src="{imagesfolder}/$forum[onoff].gif" border="0" alt=""></td>
<td bgcolor="{firstaltcolor}" align="left"
onMouseOver="this.style.backgroundColor='{secondaltcolor}';
this.style.cursor='hand';"
onMouseOut="this.style.backgroundColor='{firstaltcolor}';"
onClick="window.location.href='forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]'">
<table width="100%">
<tr>
<td valign="top"><b><a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont>$forum[title]</normalfont></a></b></td>
<td width="35%" align="right" valign="top"><a href="search.php?s=$session[sessionhash]&action=getnew&forumid=$forum[forumid]"><img src="{imagesfolder}/sm_search.gif" border="0" width="11" height="11" hspace="2" alt="Read New Posts in $forum[title]"></a><a href="newthread.php?s=$session[sessionhash]&action=newthread&forumid=$forum[forumid]"><img src="{imagesfolder}/sm_newthread.gif" border="0" width="11" height="11" hspace=2" alt="Create a New Thread in $forum[title]"></a><a href="member2.php?s=$session[sessionhash]&action=addsubscription&forumid=$forum[forumid]"><img src="{imagesfolder}/sm_subscribe.gif" border="0" width="13" height="11" hspace="2" alt="Subscribe to $forum[title]"></a></td>
</tr><tr><td colspan="2"><smallfont>$forum[description]</smallfont></tr></table>
</td>
<td bgcolor="{secondaltcolor}"><center><normalfont>$forum[replycount]</normalfont></center></td>
<td bgcolor="{firstaltcolor}"><center><normalfont>$forum[threadcount]</normalfont></center></td>
<td bgcolor="{secondaltcolor}" onMouseOver="this.style.backgroundColor='{firstaltcolor}';
this.style.cursor='hand';"
onMouseOut="this.style.backgroundColor='{secondaltcolor}';"
onClick="window.location.href='showthread.php?s=$session[sessionhash]&goto=lastpost&forumid=$forum[forumid]'"><center><smallfont>$forum[lastpostinfo]</smallfont></center></td>
<td bgcolor="{firstaltcolor}" onMouseOver="this.style.backgroundColor='{secondaltcolor}';
this.style.cursor='hand';"
onMouseOut="this.style.backgroundColor='{firstaltcolor}';"
onClick="window.location.href='showgroups.php?s=$session[sessionhash]'"><form><td bgcolor="{firstaltcolor}" valign="middle" align="right" nowrap>
<IMG align="absmiddle" SRC="{imagesfolder}/team.gif">
<SELECT NAME="newLoc" onChange="jumpPage(this.form.newLoc)" style="font-size: 7pt; background-color: #dfdfdf; font-family: Arial, Tahoma;" maxlength="20">
<OPTION VALUE="#">moderators</OPTION>
<OPTION VALUE="#">---------------------</OPTION>
$forum[moderators]</select></td></form></tr>
</tr>
imported_cono
11-01-2002, 03:47 AM
</table>
</td></tr></table><br>
<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td>
<table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">
<tr id="cat">
<td align="center" bgcolor="{categorybackcolor}" colspan="6">
<a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont color="{categoryfontcolor}"><b>$forum[title]</b></normalfont></a>
<br><smallfont color="{categoryfontcolor}">$forum[description]</smallfont></td>
</tr>
<tr align="center">
<td bgcolor="{tableheadbgcolor}"><smallfont> </smallfont></td>
<td bgcolor="{tableheadbgcolor}" width="80%" align="left"><smallfont color="{tableheadtextcolor}"><b>Forum</b></smallfont></td>
<td bgcolor="{tableheadbgcolor}"><smallfont color="{tableheadtextcolor}"><b>Posts</b></smallfont></td>
<td bgcolor="{tableheadbgcolor}"><smallfont color="{tableheadtextcolor}"><b>Threads</b></smallfont></td>
<td bgcolor="{tableheadbgcolor}" nowrap><smallfont color="{tableheadtextcolor}"><b>Last Post</b></smallfont></td>
<td bgcolor="{tableheadbgcolor}" width="20%"><smallfont color="{tableheadtextcolor}"><b>Moderator</b></smallfont></td>
</tr>
Rufus69
11-01-2002, 12:28 PM
erm on that last post I dont see any </table> at the end
might try putting one
*posts his favorite smilie*
:_P
It got ran over by a car >_>
imported_cono
11-01-2002, 12:55 PM
i dont think there is supposed to be? i tried adding the </table> at the end of the template and it really messed up the colums! but i think its in that colum. for some reason its only the moderator colum? it seems to be a double colum? i guess.
Replace your forumhome_forumbit_level2_post with:
<tr align="center">
<td bgcolor="{secondaltcolor}" valign="middle" align="center"><img src="{imagesfolder}/$forum[onoff].gif" border="0" alt=""></td>
<td bgcolor="{firstaltcolor}" align="left"
onMouseOver="this.style.backgroundColor='{secondaltcolor}';
this.style.cursor='hand';"
onMouseOut="this.style.backgroundColor='{firstaltcolor}';"
onClick="window.location.href='forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]'">
<table width="100%">
<tr>
<td valign="top"><b><a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont>$forum[title]</normalfont></a></b></td>
<td width="35%" align="right" valign="top"><a href="search.php?s=$session[sessionhash]&action=getnew&forumid=$forum[forumid]"><img src="{imagesfolder}/sm_search.gif" border="0" width="11" height="11" hspace="2" alt="Read New Posts in $forum[title]"></a><a href="newthread.php?s=$session[sessionhash]&action=newthread&forumid=$forum[forumid]"><img src="{imagesfolder}/sm_newthread.gif" border="0" width="11" height="11" hspace=2" alt="Create a New Thread in $forum[title]"></a><a href="member2.php?s=$session[sessionhash]&action=addsubscription&forumid=$forum[forumid]"><img src="{imagesfolder}/sm_subscribe.gif" border="0" width="13" height="11" hspace="2" alt="Subscribe to $forum[title]"></a></td>
</tr><tr><td colspan="2"><smallfont>$forum[description]</smallfont></tr></table>
</td>
<td bgcolor="{secondaltcolor}"><center><normalfont>$forum[replycount]</normalfont></center></td>
<td bgcolor="{firstaltcolor}"><center><normalfont>$forum[threadcount]</normalfont></center></td>
<td bgcolor="{secondaltcolor}" onMouseOver="this.style.backgroundColor='{firstaltcolor}';
this.style.cursor='hand';"
onMouseOut="this.style.backgroundColor='{secondaltcolor}';"
onClick="window.location.href='showthread.php?s=$session[sessionhash]&goto=lastpost&forumid=$forum[forumid]'"><center><smallfont>$forum[lastpostinfo]</smallfont></center></td>
<td bgcolor="{firstaltcolor}" valign="middle" align="center" onMouseOver="this.style.backgroundColor='{secondaltcolor}';
this.style.cursor='hand';"
onMouseOut="this.style.backgroundColor='{firstaltcolor}';"
onClick="window.location.href='showgroups.php?s=$session[sessionhash]'"><form>
<IMG align="absmiddle" SRC="{imagesfolder}/team.gif">
<SELECT NAME="newLoc" onChange="jumpPage(this.form.newLoc)" style="font-size: 7pt; background-color: #dfdfdf; font-family: Arial, Tahoma;" maxlength="20">
<OPTION VALUE="#">moderators</OPTION>
<OPTION VALUE="#">---------------------</OPTION>
$forum[moderators]</select></td></form></tr>
</tr>
imported_cono
11-01-2002, 02:00 PM
OMG!!! its fixed!!!!! yeeeeeeeeeeees.
sorry i had to do that, this was killing me! thank you sooooooooo much!
what was wrong? i am a newb but i would like to know whats wrong so i can keep a eye out for it in the future.
did i say thank you? thank you!!
again!
lol
the errors in red:
<td bgcolor="#FFFFFF" onMouseOver="this.style.backgroundColor='#F9F9F9';
this.style.cursor='hand';"
onMouseOut="this.style.backgroundColor='#FFFFFF';"
onClick="window.location.href='showgroups.php?s=$session[sessionhash]'"><form><td bgcolor="#FFFFFF" valign="middle" align="right" nowrap>
<IMG align="absmiddle" SRC="images/team.gif">
<SELECT NAME="newLoc" onChange="jumpPage(this.form.newLoc)" style="font-size: 7pt; background-color: #dfdfdf; font-family: Arial, Tahoma;" maxlength="20">
<OPTION VALUE="#">moderators</OPTION>
<OPTION VALUE="#">---------------------</OPTION>
$forum[moderators]</select></td></form>
you started a new <td>, i combined the two in the block and it fixed it.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.