vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Is it possible to have more than one "New posts"-search? (https://vborg.vbsupport.ru/showthread.php?t=273378)

Tonje! 11-04-2011 01:46 PM

Is it possible to have more than one "New posts"-search?
 
What I mean is, can I have two different search-links that will show new posts in different parts of the forum? I.e. one search will show new posts from Category 1, another search will show new posts from Category 2.

:confused:

Videx 11-04-2011 07:41 PM

I've never seen anything like that. But I wonder if you couldn't craft some sort of Google site search to do that?

nerbert 11-06-2011 04:45 AM

Create two links based on the existing one and at the end of each link use "exclude= ..." to exclude forums by forum id.

Code:

<li><a href="search.php?do=getnew&amp;contenttype=vBForum_Post&amp;exclude=1,2,3,4,5">Group A New Posts</a></li>
<li><a href="search.php?do=getnew&amp;contenttype=vBForum_Post&amp;exclude=6,7,8,9,10">Group B New Posts</a></li>


Videx 11-06-2011 01:20 PM

Interesting. Presumably that will work with "include" also, as well as with categories.?

nerbert 11-06-2011 03:25 PM

I'm not sure of either one. It's easy enough to try with a modified link. If it doesn't work nothing will blow up.


All times are GMT. The time now is 10:11 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.01010 seconds
  • Memory Usage 1,711KB
  • 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
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete