fci
12-30-2006, 10:00 PM
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):
$pagenav = construct_page_nav($pagenumber, $perpage, $totalthreads, 'forumdisplay.php?' . $vbulletin->session->vars['sessionurl'] . "f=$forumid", ""
to this:
$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
-------------
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):
$pagenav = construct_page_nav($pagenumber, $perpage, $totalthreads, 'forumdisplay.php?' . $vbulletin->session->vars['sessionurl'] . "f=$forumid", ""
to this:
$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
-------------