Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 04-21-2011, 02:32 AM
dr1 dr1 is offline
 
Join Date: Nov 2001
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How do I display New Posts by X time?

I know how to add a drop down to the menu bar, but not sure the right paramaters for the URL to show the following:

- All new posts since last visit
- All new posts in past 6 hrs
- All new posts in past 1 day
- All new posts in past 3 days

Thanks.
Reply With Quote
  #2  
Old 04-21-2011, 02:38 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

New Posts in the Last 4 Days - change 4 to whatever you want:
PHP Code:
search.php?do=getdaily&days=4&contenttype=vBForum_Post 
New posts since last visit:
PHP Code:
search.php?do=getnew&contenttype=vBForum_Post 
Reply With Quote
  #3  
Old 04-21-2011, 02:46 AM
dr1 dr1 is offline
 
Join Date: Nov 2001
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

4 hrs would be something like below? Thanks.

search.php?do=getdaily&hours=4&contenttype=vBForum _Post
Reply With Quote
  #4  
Old 04-21-2011, 02:57 AM
westy543 westy543 is offline
 
Join Date: Apr 2011
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How do I change the settings of "new posts" tab so that it displays topics that have been commented on in the last 4 days??

Edit: I actually wont a button or something that will show active topics. That would be heaps handier.
Reply With Quote
  #5  
Old 04-21-2011, 03:03 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dr1 View Post
4 hrs would be something like below? Thanks.

search.php?do=getdaily&hours=4&contenttype=vBForum _Post
No. hours is not an variable that may be used. 4 hours is 1/6 of a day or .17 or so.

Quote:
Originally Posted by westy543 View Post
How do I change the settings of "new posts" tab so that it displays topics that have been commented on in the last 4 days??

Edit: I actually wont a button or something that will show active topics. That would be heaps handier.
What is an 'active' topic? I would think it would be threads with new content which is what What's New shows. If it's something else, then define it please.
Reply With Quote
  #6  
Old 04-21-2011, 03:10 AM
westy543 westy543 is offline
 
Join Date: Apr 2011
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="http://www.clanz.com.au/forums/search.php?search_id=active_topics&sid=6c9e1c9dcc5 3b8a07ab2561103cf3123" target="_blank">http://www.clanz.com.au/forums/searc...b2561103cf3123</a>

Ok for instance that link is a gaming forum, not mine, just an example and that section shows all active topics. Its topics that are used the most and is heaps easier for finding threads, rather then going back through the other way to find a thread.

Edit: If you click forums on clanz it will take you back to yur normal page like vb4 does although clanz has a "active topics" button. Once you click that you will get a better picture of what it does.
Reply With Quote
  #7  
Old 04-21-2011, 03:49 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How is that different than What's New? It looks like a list of threads that were most recently replied to which is what What's New is.
Reply With Quote
  #8  
Old 04-21-2011, 03:53 AM
westy543 westy543 is offline
 
Join Date: Apr 2011
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
How is that different than What's New? It looks like a list of threads that were most recently replied to which is what What's New is.
Its actually a heap different because once you read those threads they don't just disappear and then when you wanna comment in them the next day or something they are still in active topics not like they do in "whats new".
Reply With Quote
  #9  
Old 04-21-2011, 04:18 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You mean something like this?
Attached Images
File Type: png post_days.png (14.4 KB, 0 views)
Reply With Quote
  #10  
Old 04-21-2011, 04:39 AM
westy543 westy543 is offline
 
Join Date: Apr 2011
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo View Post
You mean something like this?
Yeah that is correct.
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 07:39 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
  • Page Generation 0.04065 seconds
  • Memory Usage 2,278KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete