MyBB Community Forums

Full Version: MYBB Custom page pool data from different SQL database?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is it possible to create a custom page and then inside the page show the content from different database?

I have a database where I store blog posts that I would like ti display on my MYBB custom page?
Yes, it would be possible. You will need to setup a new database connection to use in that page though.
Any idea where can I learn how to do it.
Thanks
(2014-11-01, 07:35 PM)marcus123 Wrote: [ -> ]Any idea where can I learn how to do it.
Thanks

http://www.pontikis.net/blog/how-to-use-...you-should
Great thanks guys!
I believe you could try using the $db->select_db($databasename) in your page and it might work. You would need to make sure the user for your forum database is also a user for the database you wish to connect to. I've never tried it, but from the file it looks like it would.