Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 05-15-2009, 02:33 PM
Biker_GA Biker_GA is offline
 
Join Date: Oct 2004
Location: Where my hat is
Posts: 829
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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?
Reply With Quote
  #2  
Old 05-15-2009, 02:37 PM
BlueNinjaGo's Avatar
BlueNinjaGo BlueNinjaGo is offline
 
Join Date: Mar 2009
Posts: 668
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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)
Reply With Quote
  #3  
Old 05-15-2009, 02:47 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 05-15-2009, 02:58 PM
Biker_GA Biker_GA is offline
 
Join Date: Oct 2004
Location: Where my hat is
Posts: 829
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BlueNinjaGo View Post
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. I only use feeds in two sub-forums, although one of the feeds does pull quite a few articles (6) each time it runs.
Reply With Quote
  #5  
Old 05-15-2009, 03:01 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 05-15-2009, 03:13 PM
Biker_GA Biker_GA is offline
 
Join Date: Oct 2004
Location: Where my hat is
Posts: 829
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.

What would the conditional be to exclude "username"?
Reply With Quote
  #7  
Old 05-15-2009, 03:21 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 05-15-2009, 03:25 PM
Biker_GA Biker_GA is offline
 
Join Date: Oct 2004
Location: Where my hat is
Posts: 829
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #9  
Old 05-15-2009, 03:36 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sometimes you have to train your users to use the options already available in the software.
Reply With Quote
  #10  
Old 05-15-2009, 03:40 PM
Biker_GA Biker_GA is offline
 
Join Date: Oct 2004
Location: Where my hat is
Posts: 829
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:10 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04360 seconds
  • Memory Usage 2,247KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete