MyBB Community Forums

Full Version: Showthread Template
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Guys,

Is there a list of what variables are available in the showthread template?

Example would be in "postbit_classic" the {$post['useravatar']} variable is available.

If anyone knows if there is a variable for the page number and total pages, or the first post content, that would be great.

Thanks!
Every variable would be difficult, but to answer your second question:
{$page} should give the current page (note, number isn't formatted).
{$pages} should give the number of pages (note, number isn't formatted).

You'll probably need a plugin to retrieve the first post's content unfortunately.
Thanks Yumi! Those worked great.

Are there are any other possible variables that could be available on this page?