![]() |
DRC - HeadUrz (Custom headers per forum and per thread)
1 Attachment(s)
This could come in useful for a rules thread, a updates thread or any other threads you may find could use it's own custom header.
I would not recommend on a big site at the moment, I have yet to add permissions, but you could use it in a forum that only admins and mods can post new threads. This will not use auto template edits because headers can vary on a per site basis, i could make this replace the header template entirely, and your custom code would need to include the ENTIRE header, but I know for the needs I made this I only need portion of my header replaced, since my navigation is very custom and within my header., and I feel those who will use this would know a little coding anyhow. Sooo to make it work this is how I apply it, in header template the section I want to replace with custom templates i wrap with: Code:
<if condition="$threadinfo[headurz]"> |
Updated with support for per forums as well as per thread.
Explanation of how it works: You set a custom header for a section within the forum manager. All child forums will also get this header UNLESS you define one for them specifically for a child forum. If a thread within those forums has a custom header, it will override any previous set headers. Modify forum headers via the forum manager, modify thread headers pretty much anywhere you edit a thread (new thread, edit 1st post, admin edit thread). TO DO: usergroup permissions to be able to apply custom headers. header editor on forumdisplay pages. |
All times are GMT. The time now is 11:24 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|