vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=329160

DRC - HeadUrz (Custom headers per forum and per thread)
by Dr.CustUmz
24 Feb 2022 00:04

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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

If you aren't seeing the text area when creating or editing a thread be sure to check forum manager and enable the option.

Dr.CustUmz 24 Feb 2022 08:14

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 02:29.

Powered by vBulletin® Version 3.8.14
Copyright © 2022, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.