vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=187)
-   -   Show all subforum threads in main forum for vB3.7.x (no extra queries) (https://vborg.vbsupport.ru/showthread.php?t=181876)

Pure Dope 09-21-2008 10:18 PM

does work with 3.6.8

Pure Dope 09-21-2008 10:19 PM

i believe to be forum specific you would have to do this

WHERE forumid IN ($foruminfo[forumid]," . implode(',',$foruminfo['childlist']) . ")

change that to

WHERE forumid IN (x, y, z)

where x y and z are forumIds. dont quote me on this....just try it. if not...then its probably a problem w/the sql.

jawatkin 09-25-2008 12:00 PM

Not sure I understand this... Why have subforums, then? Couldn't something similar be achieved without subforums, requiring prefixes in the forum that are choice "subforum 1" "subforum 2" and "subforum 3"?

Marcus_Fenix 10-22-2008 11:19 AM

-edit- it's working ;)

LuBi 10-27-2008 04:18 AM

Quote:

Originally Posted by jawatkin (Post 1629989)
Not sure I understand this... Why have subforums, then? Couldn't something similar be achieved without subforums, requiring prefixes in the forum that are choice "subforum 1" "subforum 2" and "subforum 3"?

I haven't tried this mod yet but I plan on it later tonight. I'll use this are an organizational tool believe it or not. This will bring attention to threads in subforums the average user might not participate in. All this while still providing organization to those who wish to visit the subforum. For example, think of a general forum.. inside that general forum there is a subforum for new members. Most long time members won't waste time in the new members subforum. With this mod they might see a thread title that peeks their interest and in turn will reply. The only concern with this mod I would have is if people would stop using the subforum itself confusing the main forum with it and starting off-forum new threads.

As for prefixes, it might just be me but I hate how vB handles them. The original prefix hacks from previous versions of vB were much better.

GlamRockTalk 12-15-2008 09:00 PM

If someone can get this working for only certain forums, it would be 'the balls' :D

But, does as it says, so it's cool with me :)

pnosko31 12-26-2008 08:36 AM

I have a forum with a large number of images in different categories - i use this so that members can click a link that says new images and this pulls the list of images from all categories.

GlamRockTalk 12-26-2008 02:32 PM

pnosko31, can you show an example of what you're referring to. Sounds interesting.

vBRiP 05-19-2010 05:04 AM

nice thanks

BirdOPrey5 06-24-2010 09:33 PM

This is great- any ideas on how it might be adapted to work on other forums within the same site, not subforums... example if I have the following top level forums:
-Off Topic
-Health
-Cars
-Poker
-Home Improvement

As is people usually post topics only in "Off Topic" and I move them to the appropriate forum... it would be great if even after being moved the thread would continue to be viewable in Off Topic but the thread is physically located for lack of a better term in a different forum, and posts/replies to the thread from either forum get added to the original thread.


All times are GMT. The time now is 11:11 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.01244 seconds
  • Memory Usage 1,732KB
  • 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_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