Log in

View Full Version : Exclude a forum from external data RSS


melbo
03-07-2010, 08:05 PM
How can I exclude a forum from my sites RSS feed (external.php)?
or include everything but that forum . either way, I don't want my 'news' forum showing up on other sites that use my RSS for content.

Some people have told me to manipulate the URL I'm using but that won't work. I don't use my RSS, people I don't know from all over the world 'subscribe' to my RSS feed and I want to limit output from one forum.

Any tips or ways I can change external.php?

Thanks

Lynne
03-07-2010, 08:39 PM
Plugin, hook location 'external_start':
$vbulletin->GPC['forumids'] = 'x,y,z';
x,y,z being the forumids you want to include.

melbo
03-07-2010, 09:59 PM
Thanks Lynne.

Do I replace this or add your code additionally?

$vbulletin->GPC['type'] = strtoupper($vbulletin->GPC['type']);

--------------- Added 1268006456 at 1268006456 ---------------

Nevermind. I think I found it.

Thanks

--------------- Added 1268007853 at 1268007853 ---------------

I did this

Go to Admin CP, Plugin & Products, Plugin Manager and Add New Plugin

Product: Exclude Forums From external.php
Hook Location: external_start
Title: Anything you want
Execution Order: 4
Plugin PHP Code: $vbulletin->GPC['excludeids'] = '1,2,3';
Plugin is Active: Yes

Note: 1,2,3 are the forum id's you want to exclude.

from this thread: https://vborg.vbsupport.ru/showthread.php?t=154323&page=2