MyBB Community Forums

Full Version: Showing threads on homepage
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm making a website and I need a bit of help...

I want to show threads on my homepage, I know I could use the portal to do this, but I want it outside of MyBB with this style.  I've been Googling this for a while now. I followed lots of threads like http://community.mybb.com/thread-120138.html. Is there any way to show the entire thread like portal.php?


Concept:
[Image: O4G7Y.png]
Obviously this is a bad Paint.NET edit, but this would be cool!  Smile


My website: https://icebergcraft.com (Use HTTPS)


Thanks for reading!
I think this would work
Put it where you want the threads to be, and to make the threads show like that you need to edit the showthread templates for your theme.
Change forum/global.php to where your global.php is, such as if ur global.php is in MyBB folder put MyBB/global.php

<?php
define("IN_MYBB", 1);
require_once "forum/global.php";
echo $showthreads;
?>

And if ur homepage is index.html rename it to index.php

Check the pm i sent u. :-)
Thanks for your help, but when I when I try it, it's just blank. I edited forum/global.php"; to forums/global.php"; to match my forum directory. No php errors, just blank. I renamed index.html to index.php