vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - Exclude Forums From external.php (https://vborg.vbsupport.ru/showthread.php?t=154323)

echamberlain 08-09-2007 03:54 PM

Quote:

Originally Posted by SBlueman (Post 1313240)
Ok...let me try this....what do I edit and where do I go to edit which forums to exclude?

You add the new attributes to where ever you are using external.php.

My main RSS feed now looks like:
Code:

http://forum.voxilla.com/external.php?type=rss2&lastpost=1&excludeids=97,98&notitleids=1

SBlueman 08-11-2007 07:20 PM

So I am editing something in external.php to exclude forums now?

Antivirus 08-12-2007 05:35 AM

interesting, i thin i can use this, need to look into it

SBlueman 08-12-2007 05:54 AM

What I am trying to do is only include one forum in my rss feed. Any suggestions on how to do this efficiently?

echamberlain 08-12-2007 11:31 PM

Quote:

Originally Posted by SBlueman (Post 1315679)
What I am trying to do is only include one forum in my rss feed. Any suggestions on how to do this efficiently?

It's documented in the vBulletin manual.

nfn 08-20-2007 06:54 PM

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

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.


Done!

Installed

Thanks

nfn 08-21-2007 08:58 AM

One more note, you can add

Code:

$vbulletin->GPC['notitleids'] = 1;

in the Plugin PHP Code to hide the ID of you forums.

NeutralizeR 09-25-2007 01:22 PM

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?

Cybertims 10-06-2007 08:15 PM

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

mexicanpizza 11-18-2007 01:56 AM

echamberlain, nice work, thanks! Any idea how to write a mod to INCLUDE specific THREADS?


All times are GMT. The time now is 10:00 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01067 seconds
  • Memory Usage 1,734KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete