Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by (Guest)
Developer Last Online: Jan 1970 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 09-19-2001 Last Update: Never Installs: 19
 
No support by the author.

I updated the hack a little so it looks nice.

http://vbulletin.com/forum/showthrea...272#post173883

Credit To: ethank

Added:

Display order, so it orders the sub-forums the way they are listed in your admin CP.

Added an hr.

Thats it it!

if you watn the HR to look good add this into your
"Custom replacements"

hr is replaced by <hr size="1" color="{ tablebordercolor }"

{ tablebordercolor } - dont forget to remove the spaces "{ }

that is it!

Show Your Support

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

Comments
  #12  
Old 09-20-2001, 07:55 PM
Bender's Avatar
Bender Bender is offline
 
Join Date: Oct 2001
Location: Stade, Germany
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great Hack, valid - easy to implement and works like a charm
Reply With Quote
  #13  
Old 09-20-2001, 11:42 PM
Kajiro
Guest
 
Posts: n/a
Default

Quote:
Originally posted by Goldfinger
try putting a \ before any " on your size

like.. <hr size=\"1\">
woo~ this can fix my problem~~
thx Q very MUCH
Reply With Quote
  #14  
Old 09-20-2001, 11:50 PM
DarkReaper DarkReaper is offline
 
Join Date: Oct 2001
Posts: 429
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Right...this didn't work for me. Do forums have to have a description for this to work? Lots of my forums don't have descriptions....

Also, how would I get it so it only shows the total threads/replies for all the subforums added up, but not the subforums themselves?
Reply With Quote
  #15  
Old 09-21-2001, 02:47 AM
valid
Guest
 
Posts: n/a
Default

here, look at this screenshot!

Thats how you do it!

Quote:
Originally posted by DarkReaper
Right...this didn't work for me. Do forums have to have a description for this to work? Lots of my forums don't have descriptions....

Also, how would I get it so it only shows the total threads/replies for all the subforums added up, but not the subforums themselves?
Reply With Quote
  #16  
Old 09-21-2001, 02:54 AM
valid
Guest
 
Posts: n/a
Default

still works!

as you can see in the txt file, you need to mod 2 files, not just index.php

index.php and forumdisplay.php
Reply With Quote
  #17  
Old 09-21-2001, 08:06 AM
JJR512's Avatar
JJR512 JJR512 is offline
 
Join Date: Oct 2001
Location: Glen Burnie, MD, USA
Posts: 710
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A very very trivial matter...but for the sake of making the subforum links exactly identical to the regular forum links, I changed the line that starts with $subs.= so that the forumid number and sessionhash were reversed. The stock vB has the sessionhash in the link first, followed by the forum specification...in this hack, it's backwards. As I said, it's trivial, I'm sure it makes no difference; I just like to have things looking the same, that's all.

PHP Code:
$subs.="<a href=\"forumdisplay.php?s=$session[sessionhash]&forumid=$forum_child[forumid]\">$forum_child[title]</a>"
Reply With Quote
  #18  
Old 09-21-2001, 10:52 AM
DarkReaper DarkReaper is offline
 
Join Date: Oct 2001
Posts: 429
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have forums that have subforums. They go 5 levels deep. I modified both files. It doesn't work.
Reply With Quote
  #19  
Old 09-21-2001, 11:08 AM
valid
Guest
 
Posts: n/a
Default

Than I dont know whats wrong, : P (sorry), should have worked with ease, maybe you have some other hacks runing that prevent it from displaying or you installed it wrong, who knows, I'm very limited in php codeing.

So this hack is not suppored, just trying to help the best way I can, and I didnt write it "ethank" did, I only mod it a little to give it a better look and display order of the forums, thats all.

: P

Quote:
Originally posted by DarkReaper
I have forums that have subforums. They go 5 levels deep. I modified both files. It doesn't work.
Reply With Quote
  #20  
Old 09-21-2001, 11:12 AM
Goldfinger's Avatar
Goldfinger Goldfinger is offline
 
Join Date: Oct 2001
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Valid on your board how'd you do the auto post.. thats real cool. share .
Reply With Quote
  #21  
Old 09-21-2001, 06:58 PM
valid
Guest
 
Posts: n/a
Default

Go to dev forum and then to vbulletin hacks section on that forum! : P
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:37 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04553 seconds
  • Memory Usage 2,291KB
  • Queries Executed 25 (?)
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
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)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
  • 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