Dr.CustUmz
02-23-2022, 10:00 PM
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:
<if condition="$threadinfo[headurz]">
$threadinfo[headurz]
<else />
<if condition="$forum_header_code">
$forum_header_code
<else />
MY HEADER CODE
</if></if>
If you aren't seeing the text area when creating or editing a thread be sure to check forum manager and enable the option.
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:
<if condition="$threadinfo[headurz]">
$threadinfo[headurz]
<else />
<if condition="$forum_header_code">
$forum_header_code
<else />
MY HEADER CODE
</if></if>
If you aren't seeing the text area when creating or editing a thread be sure to check forum manager and enable the option.