What do I need to do to enable the homepage to display phpbb's latest post or topics?
What do I need to do to enable the homepage to display phpbb's latest post or topics?
did you try the RSS mod and point the Rss Feed block in the admin panel/builders/homepage builder to your feed?
Running version 6.0.0002 ...researching and testing 6.0.003 in the background
I haven't tried that yet coz I don't know what url feed phpbb uses. Can you point it out to me? Thanks!
where can I find the rss mod for phpbb?
theres a few out there try this one from Wackomenace Tools Phbb - RSS mod
Running version 6.0.0002 ...researching and testing 6.0.003 in the background
Thanks for the link! I followed the instructions however I'm getting these errors when I try to go the the rss.php page.
Warning: main(forum/extension.inc) [function.main]: failed to open stream: No such file or directory in /public_html/forum/rss.php on line 97
Warning: main(forum/extension.inc) [function.main]: failed to open stream: No such file or directory in /public_html/forum/rss.php on line 97
Warning: main() [function.include]: Failed opening 'forum/extension.inc' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /public_html/forum/rss.php on line 97
Warning: main(forum/common.) [function.main]: failed to open stream: No such file or directory in /public_html/forum/rss.php on line 98
Warning: main(forum/common.) [function.main]: failed to open stream: No such file or directory in /public_html/forum/rss.php on line 98
Warning: main() [function.include]: Failed opening 'forum/common.' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /public_html/forum/rss.php on line 98
Warning: main(forum/includes/bbcode.) [function.main]: failed to open stream: No such file or directory in /public_html/forum/rss.php on line 99
Warning: main(forum/includes/bbcode.) [function.main]: failed to open stream: No such file or directory in /public_html/forum/rss.php on line 99
Warning: main() [function.include]: Failed opening 'forum/includes/bbcode.' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /public_html/forum/rss.php on line 99
Fatal error: Call to undefined function: session_pagestart() in /public_html/forum/rss.php on line 102
Last edited by phobia; 12-12-2007 at 12:27 PM.
help anyone?![]()
sounds like you didint put proper variables "BEGIN Configuration" to "END Configuration"
Running version 6.0.0002 ...researching and testing 6.0.003 in the background
Hmm.. I think I did. I'll post the config here.
//
// BEGIN Configuration
//
// Relative path from this file to your phpBB root folder
$phpbb_root_path = 'forum/';
// Feed language
$feed_language = 'en';
// Feed copyright message
$feed_copyright = '';
// Feed image URL
$feed_image = '';
// How many posts do you want returned (count)? Specified in the URL with "c=". Defaults to 10, upper limit of 50.
$count = (isset($HTTP_GET_VARS['c'])) ? intval($HTTP_GET_VARS['c']) : 10;
$count = ($count == 0) ? 10 : $count;
$count = ($count > 50) ? 50 : $count;
// Which forum do you want posts from (forum_id)? Specified in the url with "f=". Defaults to all (public) forums.
$forum_id = (isset($HTTP_GET_VARS['f'])) ? intval($HTTP_GET_VARS['f']) : '';
$sql_forum_where = (!empty($forum_id)) ? ' AND f.forum_id = '.$forum_id : ' ';
// Return topics only, or all posts? Specified in the URL with "t=". Defaults to all posts (0).
$topics_only = (isset($HTTP_GET_VARS['t'])) ? intval($HTTP_GET_VARS['t']) : 0;
$sql_topics_only_where = '';
if ($topics_only == 1) {
$sql_topics_only_where = 'AND p.post_id = t.topic_first_post_id';
}
//
// END Configuration
//
i think you need:
/public_html/forum/
or
/forum/
in
$phpbb_root_path = 'forum/';
Running version 6.0.0002 ...researching and testing 6.0.003 in the background
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks