Site in read-only mode

This site is now read-only following the release of MyBB 1.8 and the new mods site.

If you are looking for MyBB 1.8 mods please click here to visit the new mods site.

You can continue to download submissions for MyBB 1.6 and earlier here, however new submissions will only be accepted via the new mods site.

MyBB Integration class / MyBB SDK

The class provided shall help you link your site to your MyBB forum, enabling you to access useful forum functionalities


In order to build up a community, a forum is an essential step towards connecting the users and towards creating a stable base for communication. Since a forum contains a lot of functions you would not want to miss on your own site, interaction between the website and the forum should be provided, so you can access the most important functionalities of your installed forum. MyBB has been proven to be a nice free bulletin board, definitely competiting with free board giants like phpBB or SMF.
The class provided shall help you link your site to your MyBB forum. No more exploring of complicated code, no more trial and error - a set of helpful functions is ready for use!

The class comes in with a few functionalities (more will be added).
So far the class contains following functionalities:

  • dbEscape: Escape Values for Database usage
  • getForum: Returns forum data of $forum_id
  • getLatestActiveThreads: Get latest active threads, where posts have been posted
  • getLatestPosts: Get latest posts of one or more forums
  • getLatestThreads: Get latest threads of one or more forums
  • getPost: Returns post data of $post_id, also parse it instantly
  • getPosts:
  • getPostsOfThread: Return posts from a specific thread
  • getPrivateMessagesOfUser: Get messages of a user in a nicely structured array
  • getThread: Returns thread data of $thread_id
  • getUser: Returns user data of $user_id
  • getWhoIsOnline: Returns list of online users
  • incViews: Increase the view count of a thread
  • isLoggedIn: Return status if the user is logged in
  • isModerator: Return status if the user is a mod
  • isSuperAdmin: Returns if user is super admin
  • login: Login Procedure with user and password
  • logout: Logout Procedure
  • markRead: Mark one or more forums read
  • parseString: Parses a string with MyBB's parser (MyCodes/BBCodes)
  • register: Register a new user to the forum. User Info is taken from an array passed to the function


Further information on how to use the class can be found on http://phpdave.com/MyBBIntegrator including a detailed documentation!
Also, the download link can be found on that site