The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to align my forum main page
Hello what do I need to edit to align the boxes for each section on my forum ?
As shown here in the picture below --------------- Added [DATE]1205237432[/DATE] at [TIME]1205237432[/TIME] --------------- Now fixed one of my super moderators looked into it and found this in forumhome_forumbit_level1_nopost : Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="$stylevar[outertablewidth]" align="center"> <if condition="$childforumbits"> <tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}"> <tr align="center"> <td class="thead" width="15"> </td> <td class="thead" align="$stylevar[left]">$vbphrase[forum]</td> <td class="thead" width="160">$vbphrase[last_post]</td> <td class="thead" width="40">$vbphrase[threads]</td> <td class="thead" width="40">$vbphrase[posts]</td> <if condition="$vboptions[showmoderatorcolumn]"> <td class="thead">$vbphrase[moderator]</td> </if> </tr> And changed to this : Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="$stylevar[outertablewidth]" align="center"> <if condition="$childforumbits"> <tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}"> <tr align="center"> <td class="thead" width="5%"> </td> <td class="thead" align="$stylevar[left]" width="50%">$vbphrase[forum]</td> <td class="thead" width="25%">$vbphrase[last_post]</td> <td class="thead" width="10%">$vbphrase[threads]</td> <td class="thead" width="10%">$vbphrase[posts]</td> <if condition="$vboptions[showmoderatorcolumn]"> <td class="thead">$vbphrase[moderator]</td> </if> </tr> Posted here incase anyone else has the same problem |
#2
|
|||
|
|||
Can someone give me the 3.7.1 version of this fix as that code is not in forumhome_forumbit_level1_nopost - but its in forumhome and forumdisplay
thanks |
#3
|
|||
|
|||
yes it's the same
|
#4
|
||||
|
||||
NOt work for me... i have same problem too
|
#5
|
||||
|
||||
If you define the column widths properly then it should be working just fine.
Check all 4 templates forumhome_forumbit_level1_nopost forumhome_forumbit_level1_post forumhome_forumbit_level2_nopost forumhome_forumbit_level1_post |
#6
|
|||
|
|||
but its not in the default forumhome_forumbit_level1_nopost template on vb 3.7.1?
ive changed everything - it only ever changes the first forum and not subsequent. I usually know my beans so this is chapping my ass atm Here are the templates that are possibles - can i get help on what changes to make - cheers guys in forumhome Code:
<tr align="center"> <td class="thead"> </td> <td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td> <td class="thead">$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> Code:
<tbody> <tr> <td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>"> <if condition="$childforumbits"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a> </if> <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a> <if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if> <if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if> </td> </tr> </tbody> <if condition="$childforumbits"> <tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}"> $childforumbits </tbody> </if> Code:
<tbody> <tr align="center"> <td class="alt1Active" colspan="2" align="$stylevar[left]" id="f$forum[forumid]"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td><img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /></td> <td><img src="$vboptions[cleargifurl]" alt="" width="9" height="1" border="0" /></td> <td> <div> <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a> <if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if> </div> <if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if> <if condition="$show['forumsubscription']"><div class="smallfont"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&f=$forum[forumid]" rel="nofollow">$vbphrase[unsubscribe_from_this_forum]</a></strong></div></if> <if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if> </td> </tr> </table> </td> <td class="alt2">$forum[lastpostinfo]</td> <td class="alt1">$forum[threadcount]</td> <td class="alt2">$forum[replycount]</td> <if condition="$vboptions['showmoderatorcolumn']"> <td class="alt1"><div class="smallfont">$forum[moderators] </div></td> </if> </tr> </tbody> <if condition="$childforumbits"> <tbody> $childforumbits </tbody> </if> Code:
<tr> <td class="tcat"><span class="smallfont"> </span></td> <td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">5<else />4</if>"> <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a> <if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if> <if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if> </td> </tr> $childforumbits Code:
<tr align="center"> <td class="alt2"><img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /></td> <td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]"> <div> <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a> <if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if> </div> <if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if> <if condition="$show['forumsubscription']"><div class="smallfont"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&f=$forum[forumid]" rel="nofollow">$vbphrase[unsubscribe_from_this_forum]</a></strong></div></if> <if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if> </td> <td class="alt2">$forum[lastpostinfo]</td> <td class="alt1">$forum[threadcount]</td> <td class="alt2">$forum[replycount]</td> <if condition="$vboptions['showmoderatorcolumn']"> <td class="alt1"><div class="smallfont">$forum[moderators] </div></td> </if> </tr> $childforumbits Code:
</table> <br /> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <thead> <tr align="center"> <td class="thead"> </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> |
#7
|
||||
|
||||
i can assure you if you assign width size it should normally fix.. dont knw if u are using any additional mods but all i can suggest is find all the place where see Last post info and change the width.. try trial and error. I use it in my Skin Morbid you can check the exact template i edited and its the same one i told you.
|
#8
|
|||
|
|||
as you can see they are default templates bar one. So if you can tell me what code to put in which template (as listed) i would be grateful. Telling me to just assign width's isn't helping me - i need the actual code please - thanks
|
#9
|
|||
|
|||
Quote:
The code you posted above with my default template : Forumhome mine is identical forumhome_forumbit_level1_nopost mine is identical forumhome_forumbit_level1_post identical apart from this on last line PHP Code:
forumhome_forumbit_level2_post identical apart from this on last line PHP Code:
PHP Code:
I dont use that plugin so unsure if its correct but you could try : PHP Code:
Or failing that look at these two lines PHP Code:
PHP Code:
|
#10
|
||||
|
||||
any have idea for this problem ? all my
forumhome_forumbit_level1_nopost forumhome_forumbit_level1_post forumhome_forumbit_level2_nopost forumhome_forumbit_level1_post are normal... for the posted above... My problem solved but not the solution above look my attachmnet here is the code i use Find in: - FORUMDISPLAY - FORUMHOME - forumhome_seperate_forumcats PHP Code: Code:
<tr align="center"> <td class="thead"> </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> PHP Code: Code:
<tr align="center"> <td class="thead" width="5%"> </td> <td class="thead" width="50%" align="$stylevar[left]">$vbphrase[forum]</td> <td class="thead" width="35%">$vbphrase[last_post]</td> <td class="thead" width="5%">$vbphrase[threads]</td> <td class="thead" width="5%">$vbphrase[posts]</td> <if condition="$vboptions['showmoderatorcolumn']"> <td class="thead" width="0%">$vbphrase[moderator]</td> </if> </tr> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|