The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Forums arranged in columns on forumhome Details »» | |||||||||||||||||||||||||
As requested several times, this hack allows you to arrange forums on forumhome in xx columns instead of just one per row as it is in standart vb3. It is a plain port of my 3.0 version you can find here.
Look at the screenshot to know what i mean The design is changeable in the templates of course I've tested it, and it should work, but as i don't use it myself, i cannot do a longtime test, so if you find any bugs, report them Right now, it's just working on forumhome. I'll add changes for forumdisplay later Show Your Support
|
Comments |
#202
|
||||
|
||||
Quote:
|
#203
|
|||
|
|||
@Allan, I copied it at the end of the file and it works fine
|
#204
|
||||
|
||||
nice hack, with a little tweaking, it works with 3.6
|
#205
|
||||
|
||||
I've been toying with this for about an hour now, and I just can't get it working at all. Putting the code at the top of the file hasn't fixed the problem. Any template modification I make for it hasn't worked yet.
Can someone make a detailed set of installation instructions for those of us who can't get it working? It'd really be appreciated. |
#206
|
|||
|
|||
What exactly does not work?! Did you get any errors? Did you set "Show Subforums in # of columns" setting in your admincp?
Tobi |
#207
|
||||
|
||||
I'm using it together with the forumhome spacing hack and edited the forumhome_forumbit_level1_nopost like this:
Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tbody> <tr> <td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>"> <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> <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}"> <if condition="$forum['subforumcolumns'] > 1"> <tr> <td class="alt1" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>"> <table style="border: none; width: 100%;"> $childforumbits </table> </td> </tr> <else /> $childforumbits </if> <tr align="center"> <td class="thead" width="35"> </td> <td class="thead" align="$stylevar[left]">$vbphrase[forum]</td> <td class="thead" width="175">$vbphrase[last_post]</td> <td class="thead" width="65">$vbphrase[threads]</td> <td class="thead" width="65">$vbphrase[posts]</td> <if condition="$vboptions['showmoderatorcolumn']"> <td class="thead" width="120">$vbphrase[moderator]</td> </if> </tr> $childforumbits <tr><td class="thead" style="line-height: 0; padding: 0; margin: 0;" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>"><img src="$vboptions[cleargifurl]" alt="" width="1" height="12" /></td></tr> </tbody> </if> </table> <div style="padding:0px 0px 16px 0px;"></div> |
#208
|
|||
|
|||
Quote:
Tobi |
#209
|
||||
|
||||
if someone needs help on this, you can pm me with your site, and please include a link to this thread..
you can see its working fine on my site http://forum.vbulletinsetup.com |
#210
|
||||
|
||||
Quote:
I had to remove the code for this columns hack and my template looks like this now: Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tbody> <tr> <td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>"> <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> <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}"> <if condition="$forum['subforumcolumns'] > 1"> <tr> <td class="alt1" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>"> <table style="border: none; width: 100%;"> $childforumbits </table> </td> </tr> <else /> $childforumbits </if> <tr align="center"> <td class="thead" width="35"> </td> <td class="thead" align="$stylevar[left]">$vbphrase[forum]</td> <td class="thead" width="175">$vbphrase[last_post]</td> <td class="thead" width="65">$vbphrase[threads]</td> <td class="thead" width="65">$vbphrase[posts]</td> <if condition="$vboptions['showmoderatorcolumn']"> <td class="thead" width="120">$vbphrase[moderator]</td> </if> </tr> $childforumbits <tr><td class="thead" style="line-height: 0; padding: 0; margin: 0;" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>"><img src="$vboptions[cleargifurl]" alt="" width="1" height="12" /></td></tr> </tbody> </if> </table> <div style="padding:0px 0px 16px 0px;"></div> |
#211
|
|||
|
|||
Mmmh, I do not use this hack, anyway, try this, maybe it works:
Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tbody> <tr> <td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>"> <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> <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}"> <tr align="center"> <td class="thead" width="35"> </td> <td class="thead" align="$stylevar[left]">$vbphrase[forum]</td> <td class="thead" width="175">$vbphrase[last_post]</td> <td class="thead" width="65">$vbphrase[threads]</td> <td class="thead" width="65">$vbphrase[posts]</td> <if condition="$vboptions['showmoderatorcolumn']"> <td class="thead" width="120">$vbphrase[moderator]</td> </if> </tr> <if condition="$forum['subforumcolumns'] > 1"> <tr> <td class="alt1" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>"> <table style="border: none; width: 100%;"> $childforumbits </table> </td> </tr> <else /> $childforumbits </if> <tr><td class="thead" style="line-height: 0; padding: 0; margin: 0;" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>"><img src="$vboptions[cleargifurl]" alt="" width="1" height="12" /></td></tr> </tbody> </if> </table> <div style="padding:0px 0px 16px 0px;"></div> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|