vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Extend "New/Today's Post" Time to 96/hours instead of 24? (https://vborg.vbsupport.ru/showthread.php?t=246921)

Mostjolly 07-20-2010 12:29 AM

Extend "New/Today's Post" Time to 96/hours instead of 24?
 
Is there a way we could retrieve the new/today's post from 96 hours or beyond instead of 24or48 hours (96 hours is four days)?

All help is appreciated,
-Minh :D

BirdOPrey5 07-20-2010 10:43 AM

I believe if you edit the link and add "&days=4" to the end of the URL it will work,

Mostjolly 07-20-2010 12:14 PM

Would the codes be looking like this: <a href="search.php?$session[sessionurl]do=getnew&days=4">, if so, I've tried and it didn't work :)

PS. I just edited the style template.. or does this needs to be editted in raw php code page?

BirdOPrey5 07-20-2010 01:05 PM

for me the link is:
search.php?do=getdaily&days=10
and it works for 10 days... yes in the template.

Mostjolly 07-20-2010 07:21 PM

Thanks again BOP,

Your code:
Quote:

search.php?do=getdaily&days=10
Could this work for "do=getNEW" instead for the getdaily?
-Minh :D

BirdOPrey5 07-20-2010 08:13 PM

well get NEW should get all new posts no matter how old they are, certainly longer than a few days. I think there is a setting in options someplace on how old threads are before automatically marked as read, I think the default is like 2 weeks or such but I'm not 100% sure.


All times are GMT. The time now is 04:07 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.01004 seconds
  • Memory Usage 1,715KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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