Log in

View Full Version : external.php


tis01
09-17-2006, 01:28 PM
I 'm running vb3.6 and my board contains a lot of section.
Until now, I used : "external.php?type=rss2&forumids=4,5,6,8,9,10,11,12,13,20,26,31,38" but somme rss reader find it too long.
So is there a way to make my external php include evreything except 1 or 2 sections, maybe like "external.php?type=rss2&forumids<>39"

nico_swd
09-19-2006, 01:22 PM
Try changing line 287 to this.


AND thread.forumid IN(4,5,6,8,9,10,11,12,13,20,26,31,38)

tis01
09-20-2006, 07:28 AM
exactly what I was looking for and it works fine. Thanks for this great tip

nico_swd
09-20-2006, 07:43 AM
Hmm, I just thought about it, and it can be done better, so that you can still allow your visitors to select the forums. Change the line to this.


". iif($vbulletin->GPC['forumids'], $forumchoice, "AND thread.forumid IN(4,5,6,8,9,10,11,12,13,20,26,31,38)") ."


If no forum ID is set, it will grab all the ones you want, otherwise the selected ones.