PDA

View Full Version : Excluding a users posts from "new posts" search


hinch
08-21-2007, 08:52 AM
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
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.

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:

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

Hope that helps somewhat...

midlandi
03-15-2008, 04:41 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.

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:

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
Add &nocache=1 to the url as well

Is this correct?

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

or this?
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

midlandi
03-15-2008, 06:23 PM
This is the line i havehref="search.php?$session[sessionurl]do=getnew"

so what should that become please?

kj_202
03-15-2008, 06:34 PM
I don't know what to say really but thanks snake :)

Edit: Just seen the big bump in the thread but the user that needed help is still active.

snakes1100
03-15-2008, 07:45 PM
search.php?$session[sessionurl]do=process&exclude=30&nocache=1