MyBB Community Forums

Full Version: need help with a php script
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i was wondering how would i accomplish a mysql query that pulls all of the posts on a certain forum and display them on my front page.
Enable the portal and get the portal redirect modification.

To enable the portal:

ACP >> Board Settings >> Change >> Portal Settings (hit go to edit) >> put your forum ID of whatever forum you want to pull news from and hit save.

To get the forum ID, go into the forum and look at the URL. For instance, General Support at this forum is ID 4 http://community.mybboard.net/forumdisplay.php?fid=4

Once the portal is enabled, setup this modification: http://mods.mybboard.com/view.php?did=115 to redirect your visitors there before they login. This will display the news in a portal style on that page. After they login, they'll be redirected to the index.

If you want to display news on your own custom page from any forum you want... see http://community.mybboard.net/showthread.php?tid=3975