Pagina 1 van 1

rss op discusssieboard

Geplaatst: 11 sep 2006, 19:28
door carpflashes.nl
Hoi ik wilde graag rss op mijn discussieboard.
nu heb ik iets gevonden maar komt er niet wijs uit :(
als me iemand met onderstaand kan helpen....

Code: Selecteer alles

// 
// BEGIN Configuration 
// 
// Set the relative path from this file to your phpBB root folder 
$phpbb_root_path = 'http://www.carpflashes.nl/board/'; 
// How many posts do you want to returnd (count)?  Specified in the URL with "c=".  Defaults to 15, upper limit of 50. 
$count = ( isset($HTTP_GET_VARS['c']) ) ? intval($HTTP_GET_VARS['c']) : 50; 
$count = ( $count == 0 ) ? 15 : $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 
// 

Geplaatst: 12 sep 2006, 16:35
door DaMnNaTiOn
Relative path is iets anders dan je volledige site url :wink:
Volgens mij moet het lukken als je je url weghaalt en ./ erin zet.
Plaats de rss.php file wel in de root van je forum, /board/ dus.
Anders werkt het niet.