vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Diff. headers for forumdisplay and forum's threads? (https://vborg.vbsupport.ru/showthread.php?t=36087)

newvbuser 03-13-2002 01:07 PM

Diff. headers for forumdisplay and forum's threads?
 
Hi

In default vB, the header of the main forumdisplay.php page of the forum and the header of the threads within that forum are same.

Is there any way I can have two diff. headers? One for the main forumdisplay.php page, and another for the all the threads of that particular forum?

Any help would be greatly appreciated as I have seen a couple of vB forums doing it and so there has to be a way to do it? Thanks!

Neo 03-13-2002 02:12 PM

Of course... and I know how!

OHH!!
AHH!!
OOO!!
UMM!!
YEAH!!
(claps)

Admin 03-13-2002 02:22 PM

I actually do this in this forum! If you want I'll post the full code. (it's really a matter of editing two lines)

Robert9 03-13-2002 02:38 PM

i think, just add a new template, and put one of this header in the forumhome and the other in the threaddisplay template, i'm not sure!

Neo 03-13-2002 03:11 PM

Errrr... https://vborg.vbsupport.ru/showthrea...threadid=36091

Admin 03-13-2002 03:18 PM

Errrr.... that's not right.

Neo 03-13-2002 03:36 PM

No its not ><

Admin 03-13-2002 03:38 PM

It is, you are checking $forumid but anyone can set that through the URL. The best way is to check $PHP_SELF, like I do.

Neo 03-13-2002 03:56 PM

Ahhh... I didnt see that before...

If you feel like you can delete mine since you put one out aswell.

newvbuser 03-19-2002 04:59 PM

Hi all who replied back and thanks.

However I don't understand which one applies to my request :confused:

I want a diff. banner for the main forumdisplay.php page, and a diff. banner for the threads in that forum.

Thanks again.


All times are GMT. The time now is 01:37 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.01034 seconds
  • Memory Usage 1,726KB
  • 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)pagenav
  • (1)pagenav_curpage
  • (1)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