Vergleich syndication.php - 1.8.2 - 1.8.38

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 35Zeile 35
}
else
{

}
else
{

	$thread_limit = $mybb->get_input('limit', 1);

	$thread_limit = $mybb->get_input('limit', MyBB::INPUT_INT);

}

if($thread_limit > 50)

}

if($thread_limit > 50)

Zeile 44Zeile 44
}
else if(!$thread_limit || $thread_limit < 0)
{

}
else if(!$thread_limit || $thread_limit < 0)
{

	$thread_limit = 20;

	$thread_limit = 15;

}

// Syndicate a specific forum or all viewable?

}

// Syndicate a specific forum or all viewable?

Zeile 190Zeile 190
		}
}


		}
}


	$query = $db->simple_select("posts", "message, edittime, tid, fid, pid", $firstpostlist, array('order_by' => 'dateline', 'order_dir' => 'desc'));

	$query = $db->simple_select("posts", "message, edittime, tid, uid, username, fid, pid", $firstpostlist, array('order_by' => 'dateline DESC, pid DESC'));

	while($post = $db->fetch_array($query))
{
$parser_options = array(

	while($post = $db->fetch_array($query))
{
$parser_options = array(

Zeile 227Zeile 227

$items[$post['tid']]['description'] = $parsed_message;
$items[$post['tid']]['updated'] = $post['edittime'];


$items[$post['tid']]['description'] = $parsed_message;
$items[$post['tid']]['updated'] = $post['edittime'];

 
		$items[$post['tid']]['author'] = array("uid" => $post['uid'], "name" => $post['username']);

		$feedgenerator->add_item($items[$post['tid']]);
}
}


		$feedgenerator->add_item($items[$post['tid']]);
}
}


// Then output the feed XML.

// Then output the feed.

$feedgenerator->output_feed();

$feedgenerator->output_feed();