Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

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
  #2  
Old 12-19-2004, 04:57 PM
d7me4ever's Avatar
d7me4ever d7me4ever is offline
 
Join Date: Jul 2004
Location: Saudi Arabia
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanx

nice job
Reply With Quote
  #3  
Old 12-24-2004, 06:19 AM
trevelyn1015 trevelyn1015 is offline
 
Join Date: Dec 2004
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmmm...
Reply With Quote
  #4  
Old 01-06-2005, 01:17 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you want it for minutes or seconds, you can use the code in this post:

https://vborg.vbsupport.ru/showpost....4&postcount=17
Reply With Quote
  #5  
Old 01-07-2005, 12:42 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack has been checked and installs and works fine in the latest version 3.0.5

Amy
Reply With Quote
  #6  
Old 02-16-2005, 01:55 AM
BaconDelight BaconDelight is offline
 
Join Date: Jan 2005
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 02-16-2005, 01:55 AM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cool Thanks for sharing your code.
Reply With Quote
  #8  
Old 02-19-2005, 10:17 AM
agiacosa agiacosa is offline
 
Join Date: Dec 2004
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bacon,
When I implement your hack, it works, but the rest of the advanced search function doesn't. Any thoughts?
Reply With Quote
  #9  
Old 02-21-2005, 08:39 PM
BaconDelight BaconDelight is offline
 
Join Date: Jan 2005
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oops. Turns out you can't nest forms like that. So to keep that field located where I had it, I'd have to modify search.php more than I care to at the moment. So, because I'm lazy, I've just relocated it outside the main form on the page.

I've attached the new instructions. Basically, don't do step one of my original instructions (or, if you've already done it, undo it by adding style="margin:0px" back into the fieldset tag), move the code from step 2 from where I originally had it to after the </form> tag, above "$footer" and wrap it in <table> and <td> tags to format it to the correct width.

That will have it positioned at the bottom left of the page, below the "save search prefs" drop down, above the time disply. You may need to change font colors as I've done in the attached screeshot. Let me know if you need help with that.
Reply With Quote
  #10  
Old 02-26-2005, 10:24 AM
agiacosa agiacosa is offline
 
Join Date: Dec 2004
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you!
Reply With Quote
Reply

Thread Tools

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 04:14 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.04389 seconds
  • Memory Usage 2,279KB
  • Queries Executed 23 (?)
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)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
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete