Back to vBulletin 4.x Add-ons

Persistent filters / selectors in issuelist page
Mod Version: 1.00, by farhad.khan

vB Version: 4.0.x Rating: (1 vote - 5.00 average) Installs: 5
Released: 08 Nov 2010 Last Update: Never Downloads: 26
Not Supported Code Changes Re-usable Code Translations  

This simple mod makes the filters/selectors in the Issue List persistent. Only applies to project version for now.

Project Version Selector
After installing this mod, when a version is selected in the issue list page, the version is stored in a cookie in your browser. The issuelist page will then automatically select your last used version every time you load this page. When you change the version the cookie is updated and the newly selected version becomes the default.

Caveat
Once you select a version, you lose the ability to view issues from "(any)" version until the cookie expires, which is in 1 day. This is due to the fact that PT does not send a GET param when (any) is selected. PT assumes that if no GET is sent, it means (any). This should be addressed by PT core developers in the future.

How to install

*NIX

Upload the attached patch file to your vb root
run the patch in your vb root directory using the command below
patch < persistent_filters.txt

Windows
Open the patch file and manually add the lines with a + sign to project.php

How to uninstall


*NIX

Run the command below (to be run ONLY after installing the patch):
patch -R < persistent_filters.txt

Windows
Manually remove the lines with a + sign from project.php

Contributed by http://www.grype.ca.

Download

File Type: %1$s persistent_filters.txt (1.1 KB, 28 downloads)

Similar Mods

Horizontal Yes/No selectors in ACP vBulletin 3.5 Add-ons

vblts.ru supports vBulletin®, 2022-2024