MyBB Community Forums

Full Version: Expand / Collapse button
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

How to use custom collapse / expand? I want to use it on a custom page but I can't get it to work.

Thanks
The collapse expand is using the js from the mybb header include. You can get it to work on your page by pretty much copying the content of boardstats into your template. and make sure you are calling $collapsed, $collapsedimg variables (usually where you load the lang and db)