vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Excluding a users posts from "new posts" search (https://vborg.vbsupport.ru/showthread.php?t=155833)

hinch 08-21-2007 08:52 AM

Excluding a users posts from "new posts" search
 
I've setup an RSS feed bot that makes posts in 2 forum sections with general news from news websites and also games industry news from selected sources.

one thing thats annoying me and my users about it though is that when you click the "new posts" button all posts made by the bot in those 2 forum sections show up meaning its hard to see at a glance new posts made by the specific users.

I've tried turning off post indexing in the search engine on those 2 forums however the posts are still appearing in the new posts search.

Is there any way to exclude this specific users posts from the new posts page so it just shows posts made by users and not by the rss bot?

hinch 08-22-2007 09:48 AM

Anybody any idea?

rpainter 09-04-2007 06:59 PM

i'm looking for the same thing

towermatt 09-04-2007 07:07 PM

Hmmm...this is sparking a light for me. I believe there is a setting that says something like "ignore auto posts in the *new post* count"

But I am using "about today" modification so it could be in there. Very cool if you have not checked it out.

Paul M 09-04-2007 07:42 PM

Quote:

Originally Posted by hinch (Post 1322196)
I've tried turning off post indexing in the search engine on those 2 forums however the posts are still appearing in the new posts search.

What exactly did you turn off ?

If you edit the forum permissions (per usergroup) for those forums to turn off the search permission it should work.

m002.p 09-04-2007 09:05 PM

Or why dont you try to exclude the forums the RSS feeds post in, from the "new posts" search?

This would work as long as those forums are "RSS feed only".

Simply use this link instead by editing the navbar template or wherever the "new posts" URL appears.

Code:

http://www.mysite.com/forum/search.php?do=getnew&exclude=71
Marked in Red is the code you will need to add but note that the number (in this example; 71), must be changed to the forum ID concerned. If you have multiple exclusions, simply add them like this:

Code:

http://www.mysite.com/forum/search.php?do=getnew&exclude=71,72,73
Hope that helps somewhat...

midlandi 03-15-2008 04:41 PM

Quote:

Originally Posted by m002.p (Post 1332484)
Or why dont you try to exclude the forums the RSS feeds post in, from the "new posts" search?

This would work as long as those forums are "RSS feed only".

Simply use this link instead by editing the navbar template or wherever the "new posts" URL appears.

Code:

http://www.mysite.com/forum/search.php?do=getnew&exclude=71
Marked in Red is the code you will need to add but note that the number (in this example; 71), must be changed to the forum ID concerned. If you have multiple exclusions, simply add them like this:

Code:

http://www.mysite.com/forum/search.php?do=getnew&exclude=71,72,73
Hope that helps somewhat...

Tried this, it didnt work?

snakes1100 03-15-2008 04:43 PM

Add &nocache=1 to the url as well

midlandi 03-15-2008 04:58 PM

Quote:

Originally Posted by snakes1100 (Post 1465499)
Add &nocache=1 to the url as well

Is this correct?

Quote:

do=getnew&exclude=98,104,99,100,97&nocache=1
or this?
Quote:

do=getnew&exclude&nocache=98,104,99,100,97

snakes1100 03-15-2008 06:14 PM

nocache is its own setting to exclude the postcache if your using it

search.php?do=process&exclude=30&nocache=1


All times are GMT. The time now is 02:25 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.01090 seconds
  • Memory Usage 1,737KB
  • 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
  • (4)bbcode_code_printable
  • (5)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