rss op discusssieboard

Hulp nodig bij een modificaties of op zoek naar een MOD? Bekijk ons archief. Support wordt helaas niet meer verleend.
Forumregels

Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.
phpBB2.0.x
Gesloten
carpflashes.nl
Berichten: 309
Lid geworden op: 04 feb 2004, 23:26
Locatie: maastricht
Contacteer:

rss op discusssieboard

Bericht door carpflashes.nl » 11 sep 2006, 19:28

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 
// 

Gebruikersavatar
DaMnNaTiOn
Berichten: 2555
Lid geworden op: 11 dec 2002, 18:29
Locatie: localhost
Contacteer:

Bericht door DaMnNaTiOn » 12 sep 2006, 16:35

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.
lastmodified.net

Gesloten