Vergleich syndication.php - 1.8.3 - 1.8.38
Zeile 35 | Zeile 35 |
---|---|
} |
} |
$thread_limit = $mybb->get_input('limit', 1); | $thread_limit = $mybb->get_input('limit', MyBB::INPUT_INT); |
} | } |
Zeile 44 | Zeile 44 |
} |
} |
$thread_limit = 20; | $thread_limit = 15; |
} | } |
Zeile 190 | Zeile 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)) | while($post = $db->fetch_array($query)) |
Zeile 227 | Zeile 227 |
|
|
$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(); |