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
  #22  
Old 05-04-2003, 02:37 PM
indiamike's Avatar
indiamike indiamike is offline
 
Join Date: Oct 2001
Location: New Jersey, India
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the additions to this jschefdog. I have updated the original release (bringing it back from the dead) and have incorporated your changes into it.

Thanks

Mike
Reply With Quote
  #23  
Old 05-15-2003, 07:52 PM
sraposa sraposa is offline
 
Join Date: Apr 2003
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i too want to thank you for putting it together. bravo! it was exactly what we needed given that the vB algorithm for tracking read/unread posts is way screwy and cannot be relied upon.

i called the feature "View Recent Posts" and i included a link to it right next to "View New Posts" on the home page. and although i kept it as a seperate page, i did a little more integration on the regular Search page.

if any one wants to take a peek...

home page: http://www.karma-lab.com/forum
search page: http://www.karma-lab.com/forum/search.php
view recent posts (hack) page: http://www.karma-lab.com/forum/viewrecent.php

-scott
Reply With Quote
  #24  
Old 05-15-2003, 10:14 PM
indiamike's Avatar
indiamike indiamike is offline
 
Join Date: Oct 2001
Location: New Jersey, India
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent job Scott and a real nice forum.

Cheers
Mike
Reply With Quote
  #25  
Old 05-19-2003, 02:00 PM
sraposa sraposa is offline
 
Join Date: Apr 2003
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks, mike.

also, i just realized that my "Sort By" options weren't working because i had replaced the wrong line in search2.php. the current instructions read:

Next Find: (somewhere between lines 530 to 540 depending on version of vb)

which is actually above the "$days = $daysoption;". not sure about older versions, but in vB2.3.0, the line that needs to get replaced for the sort is just a few lines below the "$days = $daysoption;". and both lines are in the "Get Start Daily" section (which i discovered from jschefdog's post.).

so, at least for 2.3.0, the instructions would be much less prone to errors if they said something like: "go to the ## Get Start Daily ## section. replace the $days = 1 line with... replace the eval() line with ..."

just a suggestion.

thanks again.
-scott
Reply With Quote
  #26  
Old 03-30-2004, 07:32 AM
Thoki Thoki is offline
 
Join Date: Feb 2002
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,
I´d installed zhis nice hack into my vB2.3 and now I updated to vB3.
What happened? My users are screaming: Where ist the search page?? Is it lost? :-)
So, can anybody tell me how to port this to vB3?

Greets Thoki.
Reply With Quote
  #27  
Old 04-08-2004, 09:09 AM
Carter876's Avatar
Carter876 Carter876 is offline
 
Join Date: Mar 2004
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, I would to know if this nice hack is applicable to VBulletin 3.0.0 !

Regards
Reply With Quote
  #28  
Old 04-21-2004, 12:08 AM
jschefdog jschefdog is offline
 
Join Date: May 2002
Location: Sunnyvale, CA.
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just posted what I believe is a way to do this version 3. See the thread Search All Posts From Date (Day Search)
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:23 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.08824 seconds
  • Memory Usage 2,274KB
  • Queries Executed 24 (?)
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
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)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_postinfo_query
  • fetch_postinfo
  • 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