Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Nexia's Forum Categories Seperator Details »»
Nexia's Forum Categories Seperator
Version: 1.00, by (Guest)
Developer Last Online: Jan 1970 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.8.0 Rating:
Released: 05-11-2009 Last Update: Never Installs: 15
Uses Plugins Auto-Templates
 
No support by the author.

Seperate Main forums (categories) with style. Replace the default vB to fit a better width.

You can see the result on this site, on the forumhome page, and in each categories where you see sub-forums.

First, it seperate the categories on home page.

Second, it replace the DEFAULT thead of the forumbit listing on FORUMHOME and FORUMDISPLAY templates so you can choose the width of the "lastpostby" block.

This is one of the most requested feature for the admins who use the default vBulletin templates for forum listing.

in AdminCP >> vBulletin Options >> Forum Listings Display Options, you now have this part:


no template or file edit, as usual...


Original Source: http://vbenhancer.com/free-visual-el...eperator/3232/

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 05-13-2009, 05:23 PM
madotds madotds is offline
 
Join Date: Oct 2007
Location: UK
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi nexialys
Sorry for seeming like such a noob on this one but I am stuggling to get this to work! I either get it to work on all styles or none at all. below is the code I have in each of the plugins. Am I dong something stupid here? I thought i was slowly getting my head round php coding but I may have to rethink that!

forumhome_complete
Code:
$arrayofstyles = array(1, 2, 3, 4);
if(in_array($stylevar['styleid'], $arrayofstyles))
{
    $needle[] = addslashes('<td class="thead">&nbsp;</td>');
    $needle[] = addslashes('<td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>');
    $needle[] = addslashes('<td class="thead">$vbphrase[last_post]</td>');
    $needle[] = addslashes('<td class="thead">$vbphrase[threads]</td>');
    $needle[] = addslashes('<td class="thead">$vbphrase[posts]</td>');
    $heystack[] = '';
    $heystack[] = addslashes('<td class="thead" colspan="2" align="$stylevar[left]">$vbphrase[forum]</td>');
    $heystack[] = addslashes('<td class="thead" width="' . $vbulletin->options['nex_seperate_forumbits_lastpostby'] . '">$vbphrase[last_post]</td>');
    $heystack[] = addslashes('<td class="thead" width="50">$vbphrase[threads]</td>');
    $heystack[] = addslashes('<td class="thead" width="50">$vbphrase[posts]</td>');
    $vbulletin->templatecache['FORUMHOME'] = str_replace($needle, $heystack, $vbulletin->templatecache['FORUMHOME']);
}
forumdisplay_complete
Code:
$arrayofstyles = array(1, 2, 3, 4);
if(in_array($stylevar['styleid'], $arrayofstyles))
{
    $needle[] = addslashes('<td class="thead">&nbsp;</td>');
    $needle[] = addslashes('<td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>');
    $needle[] = addslashes('<td class="thead">$vbphrase[last_post]</td>');
    $needle[] = addslashes('<td class="thead">$vbphrase[threads]</td>');
    $needle[] = addslashes('<td class="thead">$vbphrase[posts]</td>');
    $heystack[] = '';
    $heystack[] = addslashes('<td class="thead" colspan="2" align="$stylevar[left]">$vbphrase[forum]</td>');
    $heystack[] = addslashes('<td class="thead" width="' . $vbulletin->options['nex_seperate_forumbits_lastpostby'] . '">$vbphrase[last_post]</td>');
    $heystack[] = addslashes('<td class="thead" width="50">$vbphrase[threads]</td>');
    $heystack[] = addslashes('<td class="thead" width="50">$vbphrase[posts]</td>');
    $vbulletin->templatecache['FORUMDISPLAY'] = str_replace($needle, $heystack, $vbulletin->templatecache['FORUMDISPLAY']);
}
forumbit_display
Code:
$arrayofstyles = array(1, 2, 3, 4);
if(in_array($stylevar['styleid'], $arrayofstyles))
{
if (!isset($sepcounter)) $sepcounter = 0;
if (($tempext == '_nopost') AND  ($sepcounter >= 1))
{
    eval('$forumbits .= "' . fetch_template("forumhome_forumbit_seperate") . '";');
}
$sepcounter++;
}
Again sorry to be a pain in the arse
Regards
Mark
Reply With Quote
  #13  
Old 05-13-2009, 06:22 PM
nexialys
Guest
 
Posts: n/a
Default

looks good to me, if you want the hack to work in style #1, #2, #3 and #4...
Reply With Quote
  #14  
Old 05-13-2009, 06:41 PM
madotds madotds is offline
 
Join Date: Oct 2007
Location: UK
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nexialys View Post
looks good to me, if you want the hack to work in style #1, #2, #3 and #4...
Thats not good then if the code looks right but it is still not working for me. I will have to come back to this one later

Cheers for the help
Reply With Quote
  #15  
Old 05-13-2009, 07:57 PM
funkmeister funkmeister is offline
 
Join Date: Oct 2004
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod, thanks. But have had to uninstall as I was finding depending on which browser was in use, the width applied would display differently for each separated forum! IE6/7, Safari (mac/win), Chrome, Firefox...

Will keep an eye on it, should it be more cross-browser friendly in the future.

Thanks.
Reply With Quote
  #16  
Old 05-14-2009, 07:01 AM
goxy63 goxy63 is offline
 
Join Date: Oct 2008
Location: its like another planet:D
Posts: 657
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

WTF

Pile of great mods and developer nexialys suspended ???

Bullshit if you ask me !!!

Is there any thread why people got suspended and what suspension means, will he be able to support his hacks/mods !?

http://vbenhancer.com/admins-den/oh-my-oh-my/4848/
Reply With Quote
  #17  
Old 05-14-2009, 05:32 PM
Leo Brazil's Avatar
Leo Brazil Leo Brazil is offline
 
Join Date: Dec 2007
Location: Brazil
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just hope the issue with Nexialys was sorted out soon. I've been testing this mod for awhile and it was the only categories separator that works great on my board without messing up with some parts.

But I'll need some help with it.

I have many sub forums, I mean like a 4th degree sub forum.

I would like to know if is there a way to select of disable a few forums to not be affected by this mod, I mean without separation ?

Thanks

PS: Despite of tons of mods been published on 11th this month, your case is the exception of the expression "Quantity doesn't mean quality". Great and useful selection of mods you have and thank you for sharing with us.
Reply With Quote
Reply


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 11:27 AM.


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.04134 seconds
  • Memory Usage 2,268KB
  • Queries Executed 23 (?)
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
  • (3)bbcode_code
  • (1)bbcode_quote
  • (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
  • (1)pagenav_pagelink
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (5)postbit_onlinestatus
  • (7)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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_imicons
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete