vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Sub-Forums (https://vborg.vbsupport.ru/showthread.php?t=28478)

Bender 09-20-2001 07:55 PM

Great Hack, valid - easy to implement and works like a charm :D

Kajiro 09-20-2001 11:42 PM

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

DarkReaper 09-20-2001 11:50 PM

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?

valid 09-21-2001 02:47 AM

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?


valid 09-21-2001 02:54 AM

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

JJR512 09-21-2001 08:06 AM

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


DarkReaper 09-21-2001 10:52 AM

I have forums that have subforums. They go 5 levels deep. I modified both files. It doesn't work.

valid 09-21-2001 11:08 AM

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.

Goldfinger 09-21-2001 11:12 AM

Valid on your board how'd you do the auto post.. thats real cool. share :).

valid 09-21-2001 06:58 PM

Go to dev forum and then to vbulletin hacks section on that forum! : P


All times are GMT. The time now is 02:07 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.01139 seconds
  • Memory Usage 1,739KB
  • 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
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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