Quote:
Originally posted by PeterNRG
I found out that Pogo's code has a weird bug: as soon as someone starts a poll thread, the RSS script shows already the threadtitle and link, which results in a url which does not exist, as long as the creation of the poll isn't finished
|
It is not a weird bug it is just how vBulletin works. Just created threads with the option to add a poll are invisible as long as the poll is not set up.
Now I added
visible=1 AND to the query and such threads are not shown anymore.
To not include the last reply line you can change the code like this:
replace:
echo "<description> $firstposter - $replies $replyword - $lastreplydate $lastreplytime </description>\n";
with:
if ($replies > 0) {
echo "<description> $firstposter - $replies $replyword - $lastreplydate $lastreplytime </description>\n";
}