troubleshooting Question

Pulling posts and headings to display outside the phpBB Forums

Avatar of driven13
driven13 asked on
PHPContent Management
10 Comments1 Solution1307 ViewsLast Modified:
Hello experts:

I have version 3.x installed.

All I am trying to do is pull the top 5 posts (Topic, heading, link to latest post, number of posts) and display them on an EXTERNAL page that is NOT part of the phpBB Forums pages.

I am including this code at the top so that I can communicate with the Forums' database:

define('IN_PHPBB', true);
$phpbb_root_path = './forums/phpBB3/';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);

// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup();

But I have no idea what to do to get the 5 posts to show up on the page as described above.

I have found this article that talks about it but as I am an absolute noob in all this, I could not figure it out:

http://blog.phpbb.com/2009/11/09/how-to-display-posts-and-topics-on-external-pages/


Can someone please help???

--d.
ASKER CERTIFIED SOLUTION
compfixer101

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 10 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 10 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros