Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Exclude service forums from "New Posts" Search Details »
Exclude service forums from "New Posts" Search
Mod Version: 1.00, by FractalizeR (Coder) FractalizeR is offline
Developer Last Online: Nov 2014 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.7.0 Rating: (1 vote - 5.00 average) Installs: 21
Released: 09 Jun 2008 Last Update: 09 Jun 2008 Downloads: 154
Not Supported Uses Plugins Template Edits Re-usable Code Translations  

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:
  • Permission adjustments on mentioned service forums to hide them from search may not always be desired as users MUST HAVE a right to prove their innocence in those forum and discuss/review existing cases of other users. That's why this small hack was written.
  • Turning off "Index New Posts in Search Engine" in forum settings DOES NOT hide threads in that forum from "New Posts" link on navbar. That's why this small hack was written.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 09 Jun 2008, 15:26
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Real name: Christian
what you mean with 'vbulletin settings'?
Reply With Quote
  #3  
Old 09 Jun 2008, 15:28
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Those areas should be staff areas and regulars users shouldn't have access to them.
Reply With Quote
  #4  
Old 09 Jun 2008, 15:30
Ideal Web Tech's Avatar
Ideal Web Tech Ideal Web Tech is offline
 
Join Date: Feb 2008
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.
__________________
Ideal Web Technologies
Reply With Quote
  #5  
Old 09 Jun 2008, 15:55
FractalizeR's Avatar
FractalizeR FractalizeR is offline
 
Join Date: Oct 2005
Real name: Vladislav
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...
Reply With Quote
  #6  
Old 09 Jun 2008, 15:58
Ideal Web Tech's Avatar
Ideal Web Tech Ideal Web Tech is offline
 
Join Date: Feb 2008
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.
__________________
Ideal Web Technologies
Reply With Quote
  #7  
Old 09 Jun 2008, 17:03
jim6763nva's Avatar
jim6763nva jim6763nva is offline
 
Join Date: Oct 2005
Real name: Jim
Originally Posted by Ideal Web Tech View Post
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.
Ideal, Thanks for posting this. I learned something today.
Reply With Quote
  #8  
Old 09 Jun 2008, 17:06
FractalizeR's Avatar
FractalizeR FractalizeR is offline
 
Join Date: Oct 2005
Real name: Vladislav
Originally Posted by Ideal Web Tech View Post
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.
Yes, but that doesn't get your posts invisible when you use "New Posts" link in navbar (it leads to /search.php?do=getnew)
Reply With Quote
  #9  
Old 10 Jun 2008, 01:14
Milad's Avatar
Milad Milad is offline
 
Join Date: May 2005
Real name: Milad
Originally Posted by FractalizeR View Post
Yes, but that doesn't get your posts invisible when you use "New Posts" link in navbar (it leads to /search.php?do=getnew)
It does, really.

Try it.
Reply With Quote
  #10  
Old 10 Jun 2008, 01:57
SCRIPT3R SCRIPT3R is offline
 
Join Date: Jan 2005
As said previously, there is no need for this mod.
Reply With Quote
  #11  
Old 10 Jun 2008, 11:25
FractalizeR's Avatar
FractalizeR FractalizeR is offline
 
Join Date: Oct 2005
Real name: Vladislav
2Milad:
Actually, I tried... May be I need to rebuild forum index for that. I will try to.
Reply With Quote
  #12  
Old 12 Jun 2008, 02:36
Koroku Koroku is offline
 
Join Date: Oct 2006
Location: Minnesota, USA
Real name: Greg Martin
This would be great if it could be changed so that users can decide to hide any forum ids from the New Posts.
Reply With Quote
  #13  
Old 12 Jun 2008, 02:49
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
Originally Posted by Koroku View Post
This would be great if it could be changed so that users can decide to hide any forum ids from the New Posts.
There's already ways to do that. Can't remember at the moment, but you can add a var and exclude IDs to the search.php?do=getnew line.
__________________
Admin of the Corsair Memory Forum (AKA the House of Help from back in the day)
Admin of Petri's IT Forum / Moderator at webdesignforums.net
Reply With Quote
  #14  
Old 14 Jul 2008, 11:25
BANDiT600's Avatar
BANDiT600 BANDiT600 is offline
 
Join Date: Jul 2003
Real name: Nikolay
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.
Reply With Quote
  #15  
Old 21 Jul 2008, 13:24
Halarkin Halarkin is offline
 
Join Date: May 2004
I installed this, but I tweaked it to exclude a self-defined list of forums instead of just the specified ones.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 11:49.

Layout Options | Width: Wide Color: