Log in

View Full Version : Diff. headers for forumdisplay and forum's threads?


newvbuser
03-13-2002, 01:07 PM
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/showthread.php?s=&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.

mav
03-29-2002, 01:09 PM
Can someone post the code for this? Please?