MyBB Hacks

Full Version: how to add pagination / multipage in custom page
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've create a custom page that only show recent posts from all forum. But it will limit the recent posts with code in php.

PHP Code:
LIMIT 5


What i want is to make a pagination based on how many recent posts in our forum and make them in pagination just like in portal

Anyone can help me with this?

You can look at the portal.php or other pages that use pagination to know how it works. They have similar method.
Reference URL's