Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
Time travel to past discussions Details »»
Time travel to past discussions
Version: 0.2, by fci fci is offline
Developer Last Online: Aug 2009 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 3.6.4 Rating:
Released: 12-30-2006 Last Update: 01-01-2007 Installs: 12
Uses Plugins
Code Changes  
No support by the author.

To see a live demo of this, go here and scroll to the bottom:
http://intpcentral.com/forums/forumdisplay.php?f=7

-------------

Description in a nutshell:
Filtering the existing threads by a specific date to give the illusion that you are going back in time.

-------------

Install instructions

1. Download product-timetravel.xml

2. Import product-timetravel.xml into your forum

3. Edit forumdisplay.php

The purpose of this is to make sure the timetravel GET variable is passed around when clicking on different page numbers.

At around line 933 of forumdisplay.php change this (or do a search for $pagenav to find it):
Code:
$pagenav = construct_page_nav($pagenumber, $perpage, $totalthreads, 'forumdisplay.php?' . $vbulletin->session->vars['sessionurl'] . "f=$forumid", ""
to this:
Code:
$pagenav = construct_page_nav($pagenumber, $perpage, $totalthreads, 'forumdisplay.php?' . $vbulletin->session->vars['sessionurl'] . "f=$forumid$hook_pagenav", ""

4. Go to vBulletin Options -> Time Travel Settings

5. Adjust the settings to suit your forum

6. Test the mod on your forum

7. Report back here with any comments/feedback

8. Finished

-------------

changelog:
0.1
- initial release

0.1.1
- bug fix

0.2
- filter out stickies
- use vBulletin Options area to enable/disable mod, set start month, choice between filtering by last post or thread creation date, set default to filter by last post

-------------

Show Your Support

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

Comments
  #2  
Old 12-31-2006, 06:16 PM
UltimateOreo! UltimateOreo! is offline
 
Join Date: Nov 2006
Location: Missouri
Posts: 462
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is VERY cool, the vbulletin staff should actually consider this instead of their archive. By the way, if you are getting a syntax error, just click the overwrite button, it worked for me.
Reply With Quote
  #3  
Old 12-31-2006, 06:28 PM
fci fci is offline
 
Join Date: Nov 2004
Location: Twin Cities, MN
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

an XML syntax error? Does anyone else have this problem?

edit: I just did an export and re-upped it, if anyone else has issues let me know
Reply With Quote
  #4  
Old 12-31-2006, 06:39 PM
tonyph33r tonyph33r is offline
 
Join Date: Jul 2006
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you
Reply With Quote
  #5  
Old 12-31-2006, 08:58 PM
fci fci is offline
 
Join Date: Nov 2004
Location: Twin Cities, MN
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I accidentally uploaded a version that hadn't been fully tested when I re-upped earlier but it is corrected now.
Reply With Quote
  #6  
Old 01-01-2007, 04:05 AM
Ntfu2 Ntfu2 is offline
 
Join Date: Feb 2006
Posts: 1,247
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I dont understand?
Reply With Quote
  #7  
Old 01-01-2007, 03:51 PM
fci fci is offline
 
Join Date: Nov 2004
Location: Twin Cities, MN
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ntfu2, here is what it is in a nutshell:
Filtering the existing threads by a specific date to give the illusion that you are going back in time.
Reply With Quote
  #8  
Old 01-01-2007, 03:57 PM
DannyMilner DannyMilner is offline
 
Join Date: Aug 2005
Location: Leeds, UK
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thats a very cool idea! Very nice work
Reply With Quote
  #9  
Old 01-01-2007, 04:23 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is the demo on your site broken ? I just set it to June 2005 and all the last post information still seemed to be for 2006 and the "Random Thread Generator" was still listed first (or maybe it doesn't work for guests ?)
Reply With Quote
  #10  
Old 01-01-2007, 07:06 PM
fci fci is offline
 
Join Date: Nov 2004
Location: Twin Cities, MN
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
Is the demo on your site broken ? I just set it to June 2005 and all the last post information still seemed to be for 2006 and the "Random Thread Generator" was still listed first (or maybe it doesn't work for guests ?)
mmm, I don't have it filtering the stickies. That should be relatively easy to fix (assuming there's hooks for it..).

To prevent some confusion, it filters by thread creation date not last post date which can make it appear that isn't actually filtering properly when looking at the last post date it displays.
At the demo I linked, there are a lot of old threads that appeared to have been bumped in 2006.

A better demo link would be this page which doesn't have several bumped old threads:
http://intpcentral.com/forums/forumd....php?forumid=7
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 12: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.04395 seconds
  • Memory Usage 2,285KB
  • 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
  • (2)bbcode_code
  • (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
  • (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
  • (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