![]() |
Exclude Forums From external.php
Ever wanted to exclude some of your forums from the external.php output, without having to add and maintain a huge include list?
Now you can, this mod adds two attributes to the external.php query string.
We redirect all our feed requests to feedburner and use it to serve all our forum feeds. We have a feed for each of our individual forums and a general feed for the entire site. Recently we added some commercial forums and don't want to clutter the feed with the commercial content, so we needed to exclude two forums. Our forum feed string now looks like: How does this mod work? This mod uses the hooks in external.php to add the new settings without the need for custom code modifications. |
pretty cool hack, thanks mate :D
|
Thanks! Exactly what I needed!
|
What does this do?
Thanks. |
Where do you edit the forums to include/exclude in the ACP?
|
Quote:
i wanna the same thing |
Excellent stuff - perfect for me when hiding forums from RSS feeds :D
|
Quote:
The excluded forums are controlled from the external.php query string. |
Ok...let me try this....what do I edit and where do I go to edit which forums to exclude?
|
Hi
Even though I have the ¬itleids=1 command in my url, for one of my forums it still shows the ids when I add more then 2 forum ids to exclude. http://www.patientenfragen.net/exter...3¬itleids=1 On my other forum, this problem does not exist even with 3 ids in the url. http://www.elternfragen.net/external...2¬itleids=1 I have no clue why this happened Thanks for this mod. ;) StarBuG |
Quote:
My main RSS feed now looks like: Code:
http://forum.voxilla.com/external.php?type=rss2&lastpost=1&excludeids=97,98¬itleids=1 |
So I am editing something in external.php to exclude forums now?
|
interesting, i thin i can use this, need to look into it
|
What I am trying to do is only include one forum in my rss feed. Any suggestions on how to do this efficiently?
|
Quote:
|
Thanks for this Mod.
I am the one who asked for this here and here! This is special great if you have forums that are "feed by feeds" :) Here is my contribution so you don't have to add or change any query string in external.php Code:
Go to Admin CP, Plugin & Products, Plugin Manager and Add New Plugin Done! Installed Thanks |
One more note, you can add
Code:
$vbulletin->GPC['notitleids'] = 1; in the Plugin PHP Code to hide the ID of you forums. |
notitleids=1 still lists id's in the titles for me. It's the last forum created, is this the reason?
Is there a way to automatically exclude a specific forum from the feed without changing the original url? |
Is it possible to feed forums that have no guest access, I want to share a staff room on two seperate forums, so a feed to and from each seems to be the answer.....is it possible though>
Cheers |
echamberlain, nice work, thanks! Any idea how to write a mod to INCLUDE specific THREADS?
|
thanks!!!
|
What if I want to exclude ALL but one forum? Sort of the opposite of what this mod does...
|
Instructions for creating feeds for individual forums is in the vBulletin documentation.
|
I'm sorry if this is obvious, but will this work OK in 3.7?
|
mine is working!
|
I've added the above $vbulletin->GPC['notitleids'] = 1; to the plugin code, and it is still out putting all the forum id's!
any idea? |
Here is my plugin:
Hook: esternaƧ_start $vbulletin->GPC['excludeids'] = 'X,Y,Z'; $vbulletin->GPC['notitleids'] = 1; $vbulletin->GPC['lastpost'] = 1; |
is this working in 3.7.2?
|
Thank you echamberlain and nice contribution nfn!
*clicks installed* |
Hi, I've just installed this and it works brilliantly. Just one issue - the notitleids parameter has no effect. Any ideas?
|
It works on vBulletin 3.8.0.
|
Quote:
http://www.forum.simple-nlp.pl/exter...ds=23,25,52,54 But when I set options in plugin and leave link without those params: http://www.forum.simple-nlp.pl/external.php?type=rss2 Then code in plugin have no effect. Honestly - it have no effect at all. I don't know what I'm doing wrong. Plugin is set like it is described in some post earlier. I put my ids of forums. And still empty link shows everything. I need to find a way to change default behaviour, bacauose I already propagated by RSS link to some sites - and I even don't remember where. So right now those pages are just spammed by welcome messages in my forum, and real content is not visible :/ |
Ok I already did it :D
You have to change existing plugin: Exclude Forum From external.php Change: Code:
$vbulletin->input->clean_array_gpc('r', array( Code:
if ($vbulletin->GPC['excludeids'] != '') { |
why the hell have ppl rated this mod up? did they not check their rss feed? it doesn't work and this mod is so temperamental. Maybe it is just my v3.8.2 but after examining the code, I can't see how this thing works.
|
Somebody knows if other mod make this excludes?
all the best beduino |
Quote:
I mean it doesn't work with params written in plugin. But with teaken from url it works. Unfortunatelly I want to dissable by default some forums... |
Ok I have solution - forget about previous changes I wrote about. Starting from original version - find plugin Exclude Forum From external.php and under
Code:
// clean our new excludeids attribute Code:
if ($vbulletin->GPC['excludeids'] == '') { |
Awesome NLP-er! Works great.
|
Is this mod working for vb 4.x?
|
2 NLP-er
Dosn't works with 3.8.5 :( |
All times are GMT. The time now is 02:26 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|