vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Q. Cloning forum.php and using it to show only non-active forums (https://vborg.vbsupport.ru/showthread.php?t=260219)

Old-Git 03-11-2011 05:59 PM

Q. Cloning forum.php and using it to show only non-active forums
 
I'm thinking about cloning the forum.php file under VB4 and using it as a separate page to display only those forums that are not set as active. The problem is I'm only at the very early stages of teaching myself about coding for this stuff and so do not yet understand all that I'm reading in the forum.php.

Can someone give me some tips as to what I might need to change? How does forum.php know to only display those forums set as active. Is this something that is coded in fourm.php itself or is it buried in a template, or something, that is being called by forum.php

I appreciate any info anyone can give me.

Thanks in Advance

Pete

Zachery 03-11-2011 09:23 PM

forum.php?f=X x being the forumid: http://www.vbulletin.com/forum/forum.php?f=145

Old-Git 03-11-2011 10:44 PM

Zachery,

you're a supernova where a candle would do! I was using forumdisplay to achieve the same thing, but getting a very inelegeant presentation of what I wanted to see. This on the other hand is absolutely perfect. Thankyou!

Zachery 03-11-2011 11:46 PM

Don't work with the software for 9 years and not learn a thing or two ;)


All times are GMT. The time now is 02:44 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.01404 seconds
  • Memory Usage 1,711KB
  • 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
  • (4)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