vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Forum Home Enhancements - Seperate Forum Categories (https://vborg.vbsupport.ru/showthread.php?t=123713)

RS_Jelle 08-10-2006 10:00 PM

Seperate Forum Categories
 
Separate Forum Categories
  • Version: 1.0.1
  • Author: RS_Jelle
  • Description: This mod separates each forum category on the forum home without any template edits. The category header is added to the top of each separated category. This will be done for ALL the styles on your forum. Have a look at the attached screenshot and everything will become clear if you don't get the point :)
  • Why? I created this mod because someone requested it.
  • Limitations:
    1. It's possible that this mod won't work properly on highly customized styles.
    2. The 'Last Post' column can be smaller than normal if the thread titles of the category forums are all small (you can only fix this with a template edit). Have a look at the attached screenshot to see this limitation.
https://vborg.vbsupport.ru/external/2010/10/30.jpg

================================================== ========================
Installation
================================================== ========================
  1. Import the product
  2. Enjoy!
================================================== ========================
History
================================================== ========================
  • 1.0.0: Initial release
  • 1.0.1: Moved the version check to the vBulletin.org version check system
If you use this add-on, please click install to say thanks and to receive updates.

RS_Jelle 08-11-2006 09:47 PM

First post reserved :)

A bit more about the limitations:
  • The category header bar is necessary, otherwise your layout will be screwed. It can't be done without it.
  • I will never fix these limitations. The mod is about doing it without any template edits and the only way to get around the limitations are template edits.

Makaveli105 08-11-2006 09:50 PM

Nice release, I'd install this if the Forum, Last Post, Threads, and Posts bar was placed under the category bar.

[high]* Makaveli105 watches this mod :D[/high]

RS_Jelle 08-11-2006 10:01 PM

Quote:

Originally Posted by Makaveli105
Nice release, I'd install this if the Forum, Last Post, Threads, and Posts bar was placed under the category bar.

[high]* Makaveli105 watches this mod :D[/high]

That's also a limitation, then you have to do a template edit:
  1. First install the product
  2. Open forumhome_forumbit_level1_nopost and remove the following code:
    HTML Code:

    <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>

  3. Open forumhome_seperate_forumcats and add the following code at the end of the template:
    HTML Code:

    <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>


Ntfu2 08-11-2006 11:37 PM

2 hours after i did the template edits too :D

Owell, nice job with the plugin version ;)

Milad 08-12-2006 12:19 AM

I did something similar but removed it because of the same limitation.

We can do this also by adding a white <tr><td></td></tr> but the border will style be shown.

BoYagoob 08-12-2006 04:09 AM

installed ..

RS_Jelle 08-12-2006 04:15 AM

Quote:

Originally Posted by Milad
We can do this also by adding a white <tr><td></td></tr> but the border will style be shown.

Indeed, that's the first thing I tested, but that was very ugly with that border and background color -like you said-.

jellybaby 08-12-2006 05:52 PM

Can anyone help me solve this problem please - I have two description bars!

WeArab 08-13-2006 09:09 AM

You rock man!

Installed!

Thank you!! :)


All times are GMT. The time now is 09:58 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.01302 seconds
  • Memory Usage 1,747KB
  • 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
  • (2)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)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