![]() |
Exclude service forums from "New Posts" Search
Several users on my forum complaining, that when they click "New Posts" link on navbar, they get their search results jammed with posts from "User Infraction Discussion Forum" and from "Post Reporting Discussion Forum". So, I written a small mod to exclude these service forums from "New Posts" results.
Forum ids to exclude are taken from VBulletin settings (VBulletin options -> User Infractions & Post Reporting Options) Please note:
|
what you mean with 'vbulletin settings'?
|
Those areas should be staff areas and regulars users shouldn't have access to them.
|
Yes if your users are seeing those results in the search results then you do not have permissions setup properly on those forums which should be restricted down to specific usergroup's such as the administrators group for example.
|
Users must have a permission to view and post in those forums. Why shouldn't they? We discuss their violation of forum rules there and they must be given a chance to protect their innocence.
But having posts from these subforums in search results is not always good... |
Still your permissions aren't right as there is no need for a mod for this. Even if you want the forum public theres another permission setting in the forum manager for each forum.
Index New Posts in Search Engine (Setting this to 'No' will prevent anyone from being able to search in this forum) That setting right there will keep the posts out of the search indexer. |
Quote:
|
Quote:
|
Quote:
Try it. |
As said previously, there is no need for this mod.
|
2Milad:
Actually, I tried... May be I need to rebuild forum index for that. I will try to. |
This would be great if it could be changed so that users can decide to hide any forum ids from the New Posts. :D
|
Quote:
|
Wired1, you don't need it, because you can exclude some forums from search in vbulletin settings, where is forum permissions. ;) So, as somebody said there's no need for this mod. ;) FractalizeR, sorry for that, but that's the true.
|
I installed this, but I tweaked it to exclude a self-defined list of forums instead of just the specified ones.
|
Worked for me, installed...
Milad, I had your way setup for a few weeks, and it just doesn't work for me. |
Quote:
|
Quote:
Quote:
I would like to have something like this working on my Forum, but with some differences: I do have the 'services' forums on the 'Backstage' of my board, so only staff will be able to read it. But what I need is a way to avoid two of my all public forums to get new messages on the /search.php?do=getnew button. How do I do it? :confused: Thank you! :up: :up: |
Quote:
|
www. yoursite.com/forum/search.php?do=getnew&exclude=1,2,3,4,5(forum id)
the most simple option for exclude some forums in a "new post" read this https://vborg.vbsupport.ru/showthrea...ew+post+search |
Quote:
|
Good day, Vlad ;)
Could you please add one variable? To add more custom forums to exclude from "New posts" search? |
Is this compatible with VB 3.7.4? And what if it is not a service forum but a forum I use for news feeds set up by rss feed that I do not want included in new poets but do want members to see them on the board? Will it work for this?
|
Quote:
|
It worked well. Thank you!
|
All times are GMT. The time now is 05:23 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|