vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   RSS feeds and "New Posts" (https://vborg.vbsupport.ru/showthread.php?t=213756)

Biker_GA 05-15-2009 02:33 PM

RSS feeds and "New Posts"
 
For some reason, our membership is getting cranky over the use of RSS feeds into a couple of select forums. While I have given them the ability to ignore a forum, many don't wish to do that, and would rather ignore the feed itself when clicking "new posts".

So, my quandary. How to keep the feed, but have "new posts" ignore anything started by the userid I've assigned to the feed. I have an idea of how to have search ignore that, but am unsure of the syntax. I also don't want to create a huge burden on the database. Would adding this to the "new posts" link create too many additional queries?

BlueNinjaGo 05-15-2009 02:37 PM

What exactly are you trying to ignore from the search?

I had the same issue, so I just set the "New Posts" to ignore ALL of the boards I had RSS feeds in. (I kept my RSS feed imports on their own separate boards)

Lynne 05-15-2009 02:47 PM

I use a mod and put all my RSS feeds into a single thread per feed (I only have two feeds running)(this is a mod). Then, my users can choose to Ignore the Thread (another mod) if they wish.

Biker_GA 05-15-2009 02:58 PM

Quote:

Originally Posted by BlueNinjaGo (Post 1811222)
What exactly are you trying to ignore from the search?

I had the same issue, so I just set the "New Posts" to ignore ALL of the boards I had RSS feeds in. (I kept my RSS feed imports on their own separate boards)

I'm thinking the best way would be just to set "New Posts" to ignore any post by the username I've assigned to the feed (Reason Bot). Thought about adding a conditional to that (ignore when the number of replies is zero) but don't want to hammer the database too hard when folks click on "new posts".

Then again, I can just tell my membership to go pound sand. :D I only use feeds in two sub-forums, although one of the feeds does pull quite a few articles (6) each time it runs.

Lynne 05-15-2009 03:01 PM

It's very easy to exclude forums in your New Posts search. Is it only the feeds posting in those sub-forums?

To exclude forums in the New Posts button, you may add "&exclude=xx" or "&exclude=xx,yy,zz" (separate the forumids by commas) to the end of the New Posts url... ie. "/forums/search.php?do=getnew&exclude=xx" This would normally be in the navbar template. I think it occurs in a couple of places there, so you will need to edit each of those urls.

Biker_GA 05-15-2009 03:13 PM

I've given the users the ability to "opt out" of the forums, but they aren't satisfied with that. I know.. They're picky. :D

What would the conditional be to exclude "username"?

Lynne 05-15-2009 03:21 PM

I don't think you can exclude via username.

I'm not sure (cuz I've never done it), but what if they put the user on ignore? Try that yourself and see if the posts show up in search.

Biker_GA 05-15-2009 03:25 PM

Ignore completely wipes it out, and while some may have done that, others are saying they still want to read the posts, but just don't want it showing on "new posts".

Yeah.. I know... There are days when I really have to wonder why I do this. LOL

Lynne 05-15-2009 03:36 PM

Sometimes you have to train your users to use the options already available in the software. :cool:

Biker_GA 05-15-2009 03:40 PM

Yep... I may play around with this a bit and see if I can come up with something that works. Either that, or I'll just go crazy with the feeds and flood the forums with it to make 'em all numb to seeing the name appear. LOL


All times are GMT. The time now is 04:05 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
  • Page Generation 0.01013 seconds
  • Memory Usage 1,729KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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