MyBB Community Forums

Full Version: Using variables in Header.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey guys

There is a variable in mybb that stores all the messages {$messagelist}. However this is not global, How do I use this in the header templates? Is it even possible without core edits?

Cheers and thanks in advance
Not without that (core edit) or a plugin.
Right so is making a variable global without plugin plausible?
You would need to make a core edit, to move the logic that initializes the variable to be above where the header template is evaluated.