Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Alphabetical Forum Filtering (ABC Threads Menu) Details »
Alphabetical Forum Filtering (ABC Threads Menu)
Mod Version: 1.1, by RenatoMN (Member) RenatoMN is offline
Developer Last Online: Aug 2011 I like it Show Printable Version Email this Page

vB Version: 3.8.4 Rating: (15 votes - 5.00 average) Installs: 97
Released: 01 Nov 2009 Last Update: 05 Nov 2009 Downloads: 561
Not Supported Uses Plugins Auto-Template  

This mod add an "ABC Menu" on top of forumdisplay.php, to filter threads by theirs initial letter. It's fully customisable, as you may see in the screenshots attached.

I take a lot of caution coding 3 different locations to place it and a variable that you can use to manual placement.

There's also styling options:

- active "filtered letter" link color;
- active "filtered letter" cell background color;
- letters cells classes (only alt2 or alternating alt1/alt2);
- configurable optional message above the ABC Menu - phrased (multi language);

When the user clicks a letter in the ABC Menu, the thread results will be filtered in the default order (configured in ACP or overriden by user options in UserCP). Then, a popup menu will be displayed aside the letter to reorder the filtering (there's all options: per title, starting date, last post date, replys number, number of views, thread started username and thread rating - all in both descending+ascending orders).

The # link lists not only the threads started by numbers, but all threads not started by a letter (what includes number 0-9 and all symbols).

Stop loosing your time. Download, install and see it yourself!

Installation instructions
- Import attached product

Upgrade instructions (any version to 1.1)
1- Import attached product (set Allow overwrite = Yes)
2- Check your configs (will need to adjust colspan and positioning again)

Note about colspan

Take some time checking the colspan value. The lower you set it, better. I'm saying this because if you set 5 for a skin that need only 4, newer browsers will renderize it ignoring the excess, but older will render 1 (or more) blank columns (and you will end up with an HTML structural error, regardless what the browser renderize).

It's now adjusted as 5 by default (new installs*). If you upgraded your version, you will need to manually adjust it. This occurs because the old version automatically add + 3 to configured value. But I saw some skins this week with very different layouts for forumdisplay (they have only 2-3 columns), so I decided to remove this "+3" adjustment in code. So, if you set it 3, you will have colspan="3", and so on.

The mod auto adjusts the colspan based in your forum configurations (the colspan is increased by 1 when the forum have threadicons and/or the inlinemod column is show). When you use manual placement, a key text should be used as colspan value in your template (--abcfilter-colspan--), to benefits of this function that identify the inlinemod/threadicons columns + the colspan setting.


Version History

01/11/2009 - 1.0
- Initial release.

01/11/2009 - 1.0b
- Fixed Plugin code (see post #1908976).
- Small edit in popup menu <if> statements.

05/11/2009 - 1.1
- Fixed pagination.
- New template positions.
- 1 more fix in the <if> statements.
- Removed unnecessary template caching.
- Added session hash in URL, when present.
- Configurable No Follow parameter in links.
- Optional line break (<br>) below ABC Menu.
- Configurable # symbol (set 0-9, @, or whatever).
- Selected letter cell class now match styles automatically.
- You may still customize the colors, if you want a "highlight".
- Re-ordering results in forum footer keeps the thread list filtered.*

* This may not work with all styles (let me know).

Known bugs: pagination works fine, however, page totals are not decreased after filtering.

e.g.: if you have 200 threads, divided in 10 pages (20 per page), after filtering the forum for the letter "A", if you have 35 results, you will see not only 2 pages, but all 10 (pages 3 to 10 returns the default "no threads to show" error). I do not see it as a big problems, specially because I added both Asc/Desc orders in the filtering, so you don't need to waste your time trying to find the "last page" of a filtering with 5+ pages: just inverse the order and go to page 1


IF YOU'RE USING IT, MARK AS INSTALLED. IT'S GOOD FOR YOU AND ME.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	alphabetical_ff_forum.jpg
Views:	1732
Size:	126.5 KB
ID:	105833   Click image for larger version

Name:	alphabetical_ff_acp.jpg
Views:	1092
Size:	120.8 KB
ID:	105834  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #76  
Old 05 Feb 2012, 13:40
MadMaX83 MadMaX83 is offline
 
Join Date: Dec 2008
What about Thread Prefixes?
I'm using default Threat Prefix tool from vB.

Will that affect this hack?
I mean, everyting will bu under the same position, because of prefixes?
Reply With Quote
  #77  
Old 30 May 2012, 09:59
yeppuda yeppuda is offline
 
Join Date: Jan 2011
this addons is very very very "wrong" for "http://validator.w3.org"
Reply With Quote
  #78  
Old 10 Aug 2012, 08:34
intheghost1 intheghost1 is offline
 
Join Date: May 2009
Nice and good mod. Thank you very much.
Reply With Quote
  #79  
Old 27 Feb 2015, 23:11
mykkal's Avatar
mykkal mykkal is offline
 
Join Date: May 2007
Real name: Mike McKoy
Is there a plugin that is anything like this for vb4.2?
__________________
Casting Calls for Models, Actors, And Other Talent
http://MyModelTalk.com
Reply With Quote
  #80  
Old 27 Feb 2015, 23:19
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Aug 2009
Real name: Chris
http://www.vbulletin.org/forum/showthread.php?t=255876
__________________
You can get access to my 180 mods for vB 3.6 - 4.x at The Admin Zone as well as the professional support you are used to. New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders! ​ OzzModz down. Site has had a data breach, checking how the intrusion happened. Change your PW if you use the same one on my site and others.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 03:36.

Layout Options | Width: Wide Color: