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

Reply
 
Thread Tools
Add a Separate Page to your Forum to search Last XX Days Details »»
Add a Separate Page to your Forum to search Last XX Days
Version: 1.00, by indiamike indiamike is offline
Developer Last Online: Aug 2006 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 04-26-2002 Last Update: Never Installs: 17
 
No support by the author.

This is a simple hack.
What is does is adds a new page to your forum to allow the user to view posts by the last xx number of days. What's different in this hack is that we don't replace the "get daily function" (which has been the big hurdle with this type of hack).

This only adds a new php page that can be linked to from anywhere in the forum to search by the last xx days.

Very simple to do and install time is about 10 minutes and should work with all later versions of vb.

Here is a working online example -Day Search .

In my version it just creates a text link to the day search page the we create (from instructions) where the user can search from the last xx days. Simple and easy enough.

Credits go to c-pr0mpt and the search days hack by Vincent "MW" Chan who created two hacks which I modified into one to suit my needs.

***pretty easy hack just requires some php pages to be changed and a few template changes****

Mike

ps...instructions are in html format

please note- this hack has been updated on May 4, 2003 to include suggestions in the threads below

Show Your Support

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

Comments
  #2  
Old 04-27-2002, 06:07 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*confused*

Picture, demo, or anything? (I think pictures/demo's should be required with every new hack)
Reply With Quote
  #3  
Old 04-27-2002, 06:21 PM
Lesane's Avatar
Lesane Lesane is offline
 
Join Date: Oct 2001
Location: The Netherlands
Posts: 1,149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Look at his online demo, what more do you want?

Great hack indiamike, i will install this one later. Thanks.
Reply With Quote
  #4  
Old 04-27-2002, 06:27 PM
inetd inetd is offline
 
Join Date: Nov 2001
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

good hack
download allready, insatall one later
Reply With Quote
  #5  
Old 04-27-2002, 07:03 PM
indiamike's Avatar
indiamike indiamike is offline
 
Join Date: Oct 2001
Location: New Jersey, India
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Velocd
*confused*

Picture, demo, or anything? (I think pictures/demo's should be required with every new hack)
A picture speaks a thousand words but having a demo that works and someone can check it out is also good.

So there is no confusion

Here is the link to my search page where I added the link to the day search
Search Page

Here is the page that the hack creates to search by xx days
Day Search
Reply With Quote
  #6  
Old 04-27-2002, 07:23 PM
John's Avatar
John John is offline
 
Join Date: Mar 2002
Location: Norwich, UK
Posts: 1,543
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have to say, this looks like a really good hack - sometimes "View New Posts" can can a pain because it times out and resets - I'll install later on
Reply With Quote
  #7  
Old 04-27-2002, 08:49 PM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just downloaded it and i am about to install, but one quick question. When you search by x number of days, does it not show private forums? Wanted to find out before i added this.
Reply With Quote
  #8  
Old 04-27-2002, 09:14 PM
indiamike's Avatar
indiamike indiamike is offline
 
Join Date: Oct 2001
Location: New Jersey, India
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All this hack basically does is copy your present search.php file to a new php file and change one line to show by the amount by days instead of getting new posts. So the answer would be if your present search function doesn't show private forums then your new day search wouldn't show them either (and vice versa).

In reality the whole hack is a no-brainer hack and I am quite surprised that no one thought of doing this before. :ermm:

Mike
Reply With Quote
  #9  
Old 04-27-2002, 10:03 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oh, mybad I must have skipped the link to the demo in your first post when reading. ok, now I see. very nice
Reply With Quote
  #10  
Old 04-28-2002, 04:11 PM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yep. Installed and loving it. Thanks for posting this hack.
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 01:53 PM.


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.06177 seconds
  • Memory Usage 2,288KB
  • 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)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
  • (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