Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Get New Posts From Last X Hours, Minutes or Seconds Details »»
Get New Posts From Last X Hours, Minutes or Seconds
Version: 1.00, by amykhar amykhar is offline
Developer Last Online: Nov 2013 Show Printable Version Email this Page

Version: 3.0.5 Rating:
Released: 12-18-2004 Last Update: 03-08-2005 Installs: 7
 
No support by the author.

This one was requested here:

https://vborg.vbsupport.ru/showthread.php?t=66089

It works in versions 3.0.5, 3.0.6 and 3.0.7. I am reasonably sure it works in earlier versions as well.

What it allows you to do is to get the posts made in the past X number of hours. You set up the links to provide the intervals you desire.

This one is very easy to install, and I have been running it for a while now. It should work just fine for you. It is in beta just to make sure everything is a-ok before newbies start installing it.

No screenshot provided because where you put the links is entirely up to you. It works very nicely with this template mod:

http://www.vbulletintemplates.com/mo...ight=new+posts

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 02-26-2005, 10:34 PM
Bulent Tekcan Bulent Tekcan is offline
 
Join Date: Oct 2003
Location: TURKEY - Istanbul
Posts: 437
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can I put the minute ? 15,30 or 45.....
Reply With Quote
  #13  
Old 02-27-2005, 01:39 AM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes. I did the code for minutes as well.

As mentioned in post #4 of this thread, you can find that code here:
https://vborg.vbsupport.ru/showpost....4&postcount=17
Reply With Quote
  #14  
Old 03-09-2005, 01:47 AM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have updated this hack to include the contents of post 4, which allows you to search for minutes or seconds as well as hours.

I have also provided a link to a template mod that works very well with this hack. You can see it in action on my forums at http://www.eaforums.com/forums/
Reply With Quote
  #15  
Old 03-30-2005, 01:03 PM
agiacosa agiacosa is offline
 
Join Date: Dec 2004
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BaconDelight
Great little hack, installed and working.

I created a little form on my advanced search page so that users can input any number of hours (up to 999) and search. I located it on the bottom left in the "Search Options" column. Screenshot and instructions (it only requires editing the search_forum template) are attached.
Hi Baconlight,

Your mod seems to be limited to "getdaily" or just the last 24 hours. Not 999 hours. Is that right?
Reply With Quote
  #16  
Old 03-30-2005, 02:37 PM
BaconDelight BaconDelight is offline
 
Join Date: Jan 2005
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nope, it will search as far back as you put in. My mod really just takes whatever number you give and plugs it into the search url that amykhar gives. As written, it's limited to 999 hours becaue I've only allowed for a 3 digit input. Otherwise, amykhar's hack is written to accept any number of hours.
Reply With Quote
  #17  
Old 04-01-2005, 07:56 AM
agiacosa agiacosa is offline
 
Join Date: Dec 2004
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bacon,

Please try it here: http://www.aquaticplantcentral.com/forumapc/search.php?

It only returns the last 24 hours no matter what you put in. Perhaps it has something to do with this in your mod?

Code:
<input type=hidden name=do value=getdaily>
Reply With Quote
  #18  
Old 04-01-2005, 01:18 PM
BaconDelight BaconDelight is offline
 
Join Date: Jan 2005
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, getdaily is just the function call in search.php. Notice, it appears in amykhar's installation instructions.

Do you perhaps have you forums default thead display cutoff set to 1 day?
Reply With Quote
  #19  
Old 04-01-2005, 04:44 PM
agiacosa agiacosa is offline
 
Join Date: Dec 2004
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BaconDelight
No, getdaily is just the function call in search.php. Notice, it appears in amykhar's installation instructions.

Do you perhaps have you forums default thead display cutoff set to 1 day?
Where would I check that?
Reply With Quote
  #20  
Old 04-01-2005, 05:12 PM
BaconDelight BaconDelight is offline
 
Join Date: Jan 2005
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

AdminCP, I'd be more specific, but my host is down right now. I'll let you know when I can get back into it.
Reply With Quote
  #21  
Old 04-01-2005, 07:55 PM
BaconDelight BaconDelight is offline
 
Join Date: Jan 2005
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nope, that seems to be a red herring. That's a forum setting, not an overall board setting, so it shouldn't be affecting it. And it defaults to 1 month.

Just out of curiosity, if you put in LESS than 24, does it give you the right results, or still 24?
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 05:05 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07812 seconds
  • Memory Usage 2,299KB
  • Queries Executed 25 (?)
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)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete