Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Alphabetical Forum Filtering (ABC Threads Menu) Details »»
Alphabetical Forum Filtering (ABC Threads Menu)
Version: 1.1, by RenatoMN RenatoMN is offline
Developer Last Online: Aug 2011 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 3.8.4 Rating:
Released: 10-31-2009 Last Update: 11-04-2009 Installs: 98
Uses Plugins Auto-Templates
 
No support by the author.

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).

[S]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[/S]

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

Download Now

File Type: xml product-alphabetical_ff_1_0b.xml (16.2 KB, 110 views)
File Type: xml product-alphabetical_ff_1_1.xml (21.8 KB, 517 views)

Screenshots

File Type: jpg alphabetical_ff_forum.jpg (126.5 KB, 0 views)
File Type: jpg alphabetical_ff_acp.jpg (120.8 KB, 0 views)

Show Your Support

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

Comments
  #52  
Old 12-19-2009, 04:44 PM
z0diac z0diac is offline
 
Join Date: Dec 2006
Posts: 252
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to make it DEFAULT to Ascending alphebetical order? So when a user clicks on a letter, it automatically lists them in ascending?

Right now, you have to first click the letter, then click the letter again and select ascending.
Reply With Quote
  #53  
Old 12-21-2009, 11:32 AM
laztrix laztrix is offline
 
Join Date: Dec 2008
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works smoothly.
Marked as installed, great work.
Reply With Quote
  #54  
Old 12-24-2009, 07:33 AM
conankid conankid is offline
 
Join Date: Dec 2009
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this mod support Unicode charater like Đ Ê Ơ .....? Thank you
Reply With Quote
  #55  
Old 12-27-2009, 07:55 AM
mykkal's Avatar
mykkal mykkal is offline
 
Join Date: May 2007
Location: Atlanta, GA
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I need to add no follow tags to this to keep SEO high. Where should I put that code? Also can that be added by default to future renditions?

Search engines penalize for duplicate content. And since VB has SEO and sitemap already there's no need for bots to see it. Especially since its just a tool for registered users.
Reply With Quote
  #56  
Old 01-17-2010, 01:52 PM
lazydesis lazydesis is offline
 
Join Date: Sep 2006
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by thedvs View Post
@RenatoMN

PLEASE! (with cherries on top) code it for vb4.0, seriously everyone who uses this will be begging you to.
i second that pretty please
Reply With Quote
  #57  
Old 01-19-2010, 02:37 PM
lazydesis lazydesis is offline
 
Join Date: Sep 2006
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by thedvs View Post
@RenatoMN

PLEASE! (with cherries on top) code it for vb4.0, seriously everyone who uses this will be begging you to.
i third that ... and i am sure there will be many to follow who will fourth, fifth and may be 100th it

this was such an awesome mod and all my users loved it absolutely

may be you can put up your paypal link in the 4.0 release and I am sure many people including me would love to donate for this

thanks
Reply With Quote
  #58  
Old 01-19-2010, 02:52 PM
CILGINKRAL_'s Avatar
CILGINKRAL_ CILGINKRAL_ is offline
 
Join Date: May 2007
Location: Turkey
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, wonderfull
Reply With Quote
  #59  
Old 02-10-2010, 03:23 AM
marianoblesa marianoblesa is offline
 
Join Date: Jan 2006
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please Update VB4.

Thanks.
Reply With Quote
  #60  
Old 02-26-2010, 08:44 AM
djpatch djpatch is offline
 
Join Date: Feb 2009
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please recode for vb4
Reply With Quote
  #61  
Old 02-26-2010, 09:56 AM
z0diac z0diac is offline
 
Join Date: Dec 2006
Posts: 252
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any chance to have it list threads alphabetically once you click on a letter, by default? Maybe in ACP you could have it ask what the default listing mode is..
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 09:05 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.05468 seconds
  • Memory Usage 2,341KB
  • Queries Executed 26 (?)
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_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete