vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Display threads of Sub-Categories on main website (https://vborg.vbsupport.ru/showthread.php?t=216040)

GeekStep 06-13-2009 12:57 AM

Display threads of Sub-Categories on main website
 
I have with my partner a website portal with vb forum as a part of it.

There are several sub-categories in the forum that I want to display in the website.

Different sub-categories will show on different pages of the main portal.

Lets say, I have webmaster related portal about SEO, Web designing, Programming and Article Writing. I also have a discussion forum on that portal and that forum has a main category - Webmaster News. In this main category there are 4 different sub-categories - web designing, programming,etc

Now, when there any new thread created on any of these four subcategories, I want those threads to display on the main portal (same section - say if a new thread is created in web designing sub-category, then web designing page would display that new thread).

That way, I want to show latest 15 threads of each sub-category.

This is for all VB Experts!
Any help is appreciated. I am also willing to pay!

Thanks

Dismounted 06-13-2009 05:46 AM

Any kind of proper implementation will depend on the portal you are using. However, if you are competent in PHP/MySQL, you can give it a crack yourself: query the thread table to fetch the thread title, as well as first post's ID. Use this ID to join a specific post onto the query.


All times are GMT. The time now is 03:45 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.01405 seconds
  • Memory Usage 1,705KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete