Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

Reply
 
Thread Tools
Category separation Details »»
Category separation
Version: 1.7, by PitchouneN64ngc (Senior Member) PitchouneN64ngc is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.8.x Rating:
Released: 07-28-2009 Last Update: Never Installs: 71
Uses Plugins Auto-Templates
Re-useable Code Translations  
No support by the author.

Description

With this mod, you can separate each block of categories (containing forums / subforums) with a space.

This mod as created by akex054 for 3.5 for the first initial release and was never released out of vbulletin-fr.org (was totally in French).

Enjoy

[hr]grey[/hr]
Installation

Time: 1 minute
vB version: 3.8.0 Beta 2 minimum

[hr]grey[/hr]
Instructions
  1. Import the product file. This file contains some code to edit templates cache.
  2. Go to "vBulletin Options > vBulletin Options > Categories separation" and configure your settings.
All instructions are given to upgrade like a charm

[hr]grey[/hr]
FAQ

No FAQ for now (and not needed)

[hr]grey[/hr]
Copyright

All code present is this mod can't be redistributed or anything else without my consentement.

[hr]grey[/hr]
Changelog

- 1.0.0 : Initial release. (July 29 2009)

[hr]grey[/hr]
If you like it...

Download Now

File Type: zip Category Separation.zip (81.6 KB, 520 views)

Screenshots

File Type: png Screenshot 1.png (28.9 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:

Comments
  #12  
Old 11-14-2009, 06:22 PM
Dax IX Dax IX is offline
 
Join Date: Jul 2005
Posts: 153
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have one category that contains more categories (sub-categories), and I'm trying to remove the "Forum, Last Post, Threads, Posts" row.

I've tried editing the plugins to eclude that category, but it doesn't seem to work. :\

Here's what I did:

PHP Code:
$vbulletin->templatecache['FORUMHOME'] = preg_replace('/(<!-- main -->\s*?<table class=\\\"tborder\\\" cellpadding=\\\"\$stylevar\[cellpadding\]\\\" cellspacing=\\\"\$stylevar\[cellspacing\]\\\" border=\\\"0\\\" width=\\\"100%\\\" align=\\\"center\\\">\s*?<thead>)/''\\1'$vbulletin->templatecache['FORUMHOME']);

$vbulletin->templatecache['FORUMHOME'] = preg_replace('/<tr align=\\\"center\\\">\s*?<td class=\\\"thead\\\">&nbsp;<\/td>\s*?<td class=\\\"thead\\\" width=\\\"100%\\\" align=\\\"\$stylevar\[left\]\\\">\$vbphrase\[forum\]<\/td>\s*?<td class=\\\"thead\\\">\$vbphrase\[last_post\]<\/td>\s*?<td class=\\\"thead\\\">\$vbphrase\[threads\]<\/td>\s*?<td class=\\\"thead\\\">\$vbphrase\[posts\]<\/td>\s*?"\\.\(\(\$GLOBALS\[\'vbulletin\'\]->options\[\'showmoderatorcolumn\'\]\) \? \("\s*?<td class=\\\"thead\\\">\$vbphrase\[moderator\]<\/td>\s*?"\) : \(""\)\)\\."\s*?<\/tr>\s*?<\/thead>\s*?\$forumbits/''$forumbits'$vbulletin->templatecache['FORUMHOME']);

$vbulletin->templatecache['forumhome_forumbit_level1_nopost'] = preg_replace('/("\\.\(\(\!\$show\[\'collapsable_forums\'\]\) \? \(\"\s*?<tbody>\s*?\"\) \: \(\"\"\)\)\\.\"\s*?<tr>)/''<tr>'$vbulletin->templatecache['forumhome_forumbit_level1_nopost']);

$vbulletin->templatecache['forumhome_forumbit_level1_nopost'] = preg_replace(
            
'/("\\.\(\(\!\$show\[\'collapsable_forums\'\]\) \? \(\"\s*?<tbody id=\\\"collapseobj_forumbit_\$forumid\\\" style=\\\"\{\$collapseobj_forumid\}\\\">\s*?\"\) \: \(\"\"\)\)\\."\s*?\$childforumbits\s*?"\\.\(\(\!\$show\[\'collapsable_forums\'\]\) \? \(\"\s*?<\/tbody>\s*?\"\) \: \(\"\"\)\)\\.")/',
            
'</thead>
        <tbody id=\"collapseobj_forumbit_$forumid\" style=\"{$collapseobj_forumid}\">
        <if condition=\"$forum[forumid] != 57\">
            <tr align=\"center\">
                  <td class=\"thead\" width=\"{$vbulletin->options[\'catmod_statusicon_width\']}\">&nbsp;</td>
                  <td class=\"thead\" width=\"{$vbulletin->options[\'catmod_forum_width\']}\" align=\"$stylevar[left]\">$vbphrase[forum]</td>
                  <td class=\"thead\" width=\"{$vbulletin->options[\'catmod_lastpostinfo_width\']}\">$vbphrase[last_post]</td>
                  <td class=\"thead\" width=\"{$vbulletin->options[\'catmod_threadcount_width\']}\">$vbphrase[threads]</td>
                  <td class=\"thead\" width=\"{$vbulletin->options[\'catmod_replycount_width\']}\">$vbphrase[posts]</td>
                  ".(($GLOBALS[\'vbulletin\']->options[\'showmoderatorcolumn\']) ? ("
                  <td class=\"thead\" width=\"{$vbulletin->options[\'catmod_moderators_width\']}\">$vbphrase[moderator]</td>
                  ") : (""))."
            </tr>
        </if>
        $childforumbits
        </tbody>'
$vbulletin->templatecache['forumhome_forumbit_level1_nopost']); 
I added an IF CONDITION in the last section.

Any ideas?
Reply With Quote
  #13  
Old 11-14-2009, 07:09 PM
PHILLYFAN PHILLYFAN is offline
 
Join Date: Jul 2008
Location: Hell
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

love it!

thanks!
Reply With Quote
  #14  
Old 11-17-2009, 06:08 AM
Scout24 Scout24 is offline
 
Join Date: May 2008
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not used I see no difference
Reply With Quote
  #15  
Old 12-15-2009, 09:17 PM
Jeweetog Jeweetog is offline
 
Join Date: Sep 2009
Posts: 138
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

I applied this mod, i was wondering how i can adjust the forum width?

Doing this in forumhome template makes only the first category adjusted, everything else stays the same.
Reply With Quote
  #16  
Old 09-24-2010, 10:48 PM
Black Tiger's Avatar
Black Tiger Black Tiger is offline
 
Join Date: Apr 2004
Location: Netherlands
Posts: 957
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just installed this on a fresh 3.8.6 installation, looks fine, thank you!
Reply With Quote
  #17  
Old 09-27-2010, 02:56 PM
Black Tiger's Avatar
Black Tiger Black Tiger is offline
 
Join Date: Apr 2004
Location: Netherlands
Posts: 957
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

However, I need vBAdvanced. And after installing vBA it's not working anymore. So I uninstalled it from my forums.

Is there a way to make this work with vBAdvanced please?
Reply With Quote
  #18  
Old 10-01-2010, 09:10 AM
drsli's Avatar
drsli drsli is offline
 
Join Date: Jan 2008
Location: Germany
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Many thanks for this useful mod!

@Black_Tiger
It works for me perfectly together with my vbadvanced installation.
Reply With Quote
  #19  
Old 10-01-2010, 11:51 AM
Black Tiger's Avatar
Black Tiger Black Tiger is offline
 
Join Date: Apr 2004
Location: Netherlands
Posts: 957
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Maybe you have other columns in vBA then I do. As soon as I disable vBA it works, but with vBA enabled on my forums it doesn't. So it must be vBA.
Reply With Quote
  #20  
Old 10-02-2010, 12:30 AM
Black Tiger's Avatar
Black Tiger Black Tiger is offline
 
Join Date: Apr 2004
Location: Netherlands
Posts: 957
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have to excuse myself. After you stated this worked with vBA I ran a few times over my settings. My forum is a complete fresh install. There was the standard style with style id 1. Then I created 1 new style. Strangely enough this style did not get style id 2 but style id 4 and my mistake was to fill in id 2.
So now everything is working like a charm. For as much as I can see, including the width of the last post section for example, this is one of the best seperation mods online!
I voted MOTD for this!
Reply With Quote
  #21  
Old 10-02-2010, 09:44 PM
drsli's Avatar
drsli drsli is offline
 
Join Date: Jan 2008
Location: Germany
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I?m glad you got this sorted out!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02: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.04634 seconds
  • Memory Usage 2,343KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete