MyBB Hacks

Full Version: $GLOBALS['threadfields']
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
How can I do without using the threadtype field? threadtypeADMIN is visible to admin only and "Sticky" can only be used by admins..
Maybe something like this:

threadtypeADMIN: Sticky

Code:
<if $GLOBALS['threadfields']['threadtypeADMIN'] == 'Sticky' then>
Sticky template here (only Admin can use this template).
<else>
Other template here (previously threadtypeADMIN: Entry and threadtype: Entry).
General user will use this template.
</if>


Do you want it like that?

I'm having some problems (as reported) and will try later.
But I think it will work..
Pages: 1 2
Reference URL's