vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How to display custom forums or threads in the RSS Feed? (https://vborg.vbsupport.ru/showthread.php?t=294357)

MonkYZ 01-25-2013 01:23 AM

How to display custom forums or threads in the RSS Feed?
 
Hello everyone!

I'm in a search for some kind of a solution to my RSS Feed, something that doesn't have to include all my forums and threads... and i hoped you can help me with that.

What i'm looking for is that my /forum/external.php?type-rss2 to not show ALL the forums, but only the ones i will select (by id or something). Or maybe a way i could simply exclude some forums from the RSS...

Please let me know if you have or know about a solution for this!
Thanks in advance!

kh99 01-25-2013 12:31 PM

You can specify a list of forumids as a parameter to external.php, like
Code:

/forum/external.php?type=rss2&forumids=1,2,3

but unfortunately there is no parameter to exclude a list (and no parameters for individual threads). Of course this doesn't do any good if you're trying to keep people from getting feeds to those forums (because they don't have to include the parameter). What you could do is create a plugin using hook external_start and set your own list of forumids.


All times are GMT. The time now is 06:51 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.00984 seconds
  • Memory Usage 1,707KB
  • 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
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete