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
  #2  
Old 05-12-2009, 10:25 PM
mikey1991's Avatar
mikey1991 mikey1991 is offline
 
Join Date: Oct 2008
Location: United Kingdom
Posts: 654
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, Installed
Reply With Quote
  #3  
Old 05-13-2009, 12:22 PM
ftanightwizard ftanightwizard is offline
 
Join Date: Mar 2008
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed...
Works great.
Thank You
Reply With Quote
  #4  
Old 05-13-2009, 01:03 PM
madotds madotds is offline
 
Join Date: Oct 2007
Location: UK
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Thanks for this product its just what I wanted

But can someone help with something please? Is there a way to have this mod not effect a particular style? Most of my styles are based on default and this mod works fine but another style is a little more modified and gets all messed up with this.

Regards
Mark
Reply With Quote
  #5  
Old 05-13-2009, 01:09 PM
nexialys
Guest
 
Posts: n/a
Default

i can help you a little... (why ask "someone" when i'm here.. lol)

there is 3 plugins in this product that need to be edited by you if you want them to work on a single style...

plugins: forumbit_display, forumhome_complete, forumdisplay_complete

you have to change them like this:
Code:
if($stylevar['styleid'] == 'X')
{
###### THE CONTENT OF THE PLUGINS ######
}
replace the X with the "styleid" you want the product to work for.
Reply With Quote
  #6  
Old 05-13-2009, 01:29 PM
madotds madotds is offline
 
Join Date: Oct 2007
Location: UK
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Lightning fast support Cheers mate I will go now and have a go at that.

regards
Mark
Reply With Quote
  #7  
Old 05-13-2009, 01:56 PM
Stifmeister2 Stifmeister2 is offline
 
Join Date: Feb 2006
Location: Finland
Posts: 755
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to add this only for certain styles, and not every style??
Reply With Quote
  #8  
Old 05-13-2009, 02:00 PM
nexialys
Guest
 
Posts: n/a
Default

sure, change for this this:

Code:
$arrayofstyles = array(X, Y, Z);
if(in_array($stylevar['styleid'], $arrayofstyles))
change the X, Y, Z for the styleids you need...
Reply With Quote
  #9  
Old 05-13-2009, 04:01 PM
madotds madotds is offline
 
Join Date: Oct 2007
Location: UK
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nexialys View Post
sure, change for this this:

Code:
$arrayofstyles = array(X, Y, Z);
if(in_array($stylevar['styleid'], $arrayofstyles))
change the X, Y, Z for the styleids you need...
Hi sorry but do I just need to add this code to the top of each of the plugins? I have added

Code:
$arrayofstyles = array(1, 2, 3, 4,);
if(in_array($stylevar['styleid'], $arrayofstyles))
to the top of each plugin but it still has an effect on Style ID 6

Regards
Mark
Reply With Quote
  #10  
Old 05-13-2009, 04:07 PM
nexialys
Guest
 
Posts: n/a
Default

you have to make like the first request, like
PHP Code:
$arrayofstyles = array(1234);
if(
in_array($stylevar['styleid'], $arrayofstyles))
{
# THE CODE OF THE PLUGIN

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 10:28 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.04824 seconds
  • Memory Usage 2,290KB
  • 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
  • (4)bbcode_code
  • (1)bbcode_php
  • (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
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (6)postbit_onlinestatus
  • (10)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
  • 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