vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Forums arranged in columns on forumhome (https://vborg.vbsupport.ru/showthread.php?t=59958)

D@rkness 09-26-2004 09:59 PM

That problem should be caused by having a zero value in your Show Subforums in # of columns field. Set value to 1 and you should be fine.

jesse 09-27-2004 02:03 PM

ok starting fresh i just installed this mod
http://www.vbulletin.com/forum/showthread.php?t=110590

now what will be the next step to get this to work ?

after the install the text looks like this what should I change to get this up?
forum_forumbit_level1_nopost
<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">&nbsp;</td>
<td class="thead" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead" width="200">$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>

GamerzWorld 09-30-2004 03:16 PM

Hello a few questions. My template forum home shows this

HTML Code:

<if condition="$childforumbits">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
<tr align="center">
          <td class="thead" width="30">&nbsp;</td>
          <td class="thead" align="$stylevar[left]">$vbphrase[forum]</td>
          <td class="thead" width="245">$vbphrase[last_post]</td>
          <td class="thead" width="55">$vbphrase[threads]</td>
          <td class="thead" width="55">$vbphrase[posts]</td>
          <if condition="$vboptions[showmoderatorcolumn]">
          <td class="thead" width="100">$vbphrase[moderator]</td>
          </if>
        </tr>

Now it says to replace

HTML Code:

<if condition="$childforumbits">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
$childforumbits
</tbody>
</if>

With

HTML Code:

<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>
</tbody>
</if>

What modification would i make to my template please?

Other question is how do i add images and lay out like shown in attached image

jesse 09-30-2004 03:27 PM

the hack you are using is from vbtemplates you would seek that there

Beermonster 10-06-2004 12:54 PM

Any ideas why when I change it, it just squashes things up? I've double checked the install don't think I've missed anything

Beermonster 10-06-2004 04:50 PM

Quote:

Originally Posted by Beermonster
Any ideas why when I change it, it just squashes things up? I've double checked the install don't think I've missed anything


Doesn't matter I've sorted it, god damn nood must have missed something :tired:

aljassmy 10-12-2004 01:43 AM

hi!!
thanks Xenon for this nice hack ,,
i have a small problem with it!
when Show Subforums in (1) of columns the moderators of the subforum is show but when i put Subforums in (2) or (3)... of columns the moderators will be hideing

any help please!!

Xenon 10-12-2004 04:00 PM

well, it's working as designed.

the moderator column would make the display way too cluttered.

aljassmy 10-12-2004 09:26 PM

yeh but i need it!!

is that impossible??

Xenon 10-14-2004 04:48 PM

well, it's not impossible.

you have to copy the moderator list part from construct_forumbits into construct_forum_columns

and manipulate the template forumhome_forumbit_columncell
.

It shouldn't be too hard to do it, but i won't do it myself.


All times are GMT. The time now is 07:35 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01663 seconds
  • Memory Usage 1,754KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete