vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   New Post and Todays Posts for limited forums (https://vborg.vbsupport.ru/showthread.php?t=187574)

SGT Rock 08-08-2008 06:46 PM

New Post and Todays Posts for limited forums
 
I've been searching around trying to find how to make this work but cannot seem to find it - so forgive me if there is an easy solution...

I've got a set of forums where I would like to have a custom NewPosts and Today's Posts searches that only searches for posts from these forums. Is there an easy way to make this happen>

Thanks in advance.

SGT Rock 08-12-2008 05:12 AM

Anyone....

Dismounted 08-12-2008 12:33 PM

Add this to the end of the search URL (for only including forums with ID 228 & 229):
Code:

&include=228,229
So getting new posts for forum IDs 228 & 229 on vB.org would be:
Code:

https://vborg.vbsupport.ru/search.php?do=getnew&include=228,229

SGT Rock 08-13-2008 05:31 PM

Thanks. I've got it worked out now, but this only seems to work for newposts not today's posts for some reason.

Dismounted 08-14-2008 07:29 AM

Please provide a URL.

Daky 10-21-2008 12:20 AM

Nice one!
I was looking for something like this for long time,... is there a hack to do this wit more option/per user maybe?

tnx

Dismounted 10-21-2008 05:41 AM

Just use conditionals? The conditional depends on what you want to do..
Code:

<if condition="SOMETHING">Do this!</if>

kjsmith84 05-16-2010 07:12 PM

nevermind- found another code to use


All times are GMT. The time now is 09:20 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.01119 seconds
  • Memory Usage 1,716KB
  • 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
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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