Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

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
  #12  
Old 11-02-2009, 02:54 AM
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Posts: 758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nominated For MOTM. :up:

Works Fine on vB373 PL1. :up:

I Hope You Can Find a Way to Work the Extra Pagination.

Is Important that you Include Usergroup Restrictions, like an Option to Select the Usergroups that Can Use this Mod.

On Plugin "Alphabetical Forum Filtering - Show ABC Menu" you can add

at the Beginning

Quote:
if (is_member_of($vbulletin->userinfo, explode(',','5,6,7,2')))
{
and at the End

Quote:
}
to Display it Only to Usergroups '5,6,7,2'; if required you can Add Usergroups by Adding them Sepparated by Commas.

You can Add an Option for the Mod where Admins can Specify the Usergroups listed as

5,6,7,2

My Best Regards.

Reply With Quote
  #13  
Old 11-02-2009, 06:00 AM
Cerbero1000 Cerbero1000 is offline
 
Join Date: May 2005
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No way to have popup menu working. I have updated to last version. I'm on 3.7.5
Reply With Quote
  #14  
Old 11-02-2009, 09:43 AM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice mod, and lol @ donate button INSIDE the admincp options ..

Probably going to use it on http://wetalk.tv in the 'tv shows' forum.

Feature request: this, but for forums. I have a site with 500 sub forums, having the user use that as a directory would be cool.
Reply With Quote
  #15  
Old 11-02-2009, 04:43 PM
RenatoMN's Avatar
RenatoMN RenatoMN is offline
 
Join Date: Nov 2008
Location: Brazil
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by inciarco View Post
Nominated For MOTM. :up:

Works Fine on vB373 PL1. :up:

I Hope You Can Find a Way to Work the Extra Pagination.
Thanks

I found a forum with a custom "ABC Menu" who did it, I think it's not too hard. Will look further still today.

Quote:
Is Important that you Include Usergroup Restrictions, like an Option to Select the Usergroups that Can Use this Mod.

(...)

You can Add an Option for the Mod where Admins can Specify the Usergroups listed as

5,6,7,2

My Best Regards.

Thanks for the suggestion. Works exactly same way the forums configuration. I just didn't realize somebody would want usergroup permissions. Will be implementing this for sure.

Quote:
Originally Posted by Cerbero1000 View Post
No way to have popup menu working. I have updated to last version. I'm on 3.7.5
The mod has been developed for 3.8.4 (should work from at least 3.8 RC 3).

3.7 require a new mod, with the JS popup menu ported (3.8 have it built in).

I will be looking @ it next days/weeks. Would be faster if you donate to incentivate

Quote:
Originally Posted by Floris View Post
Nice mod, and lol @ donate button INSIDE the admincp options ..

Probably going to use it on http://wetalk.tv in the 'tv shows' forum.
Something wrong with the donation button? :erm:

Searched vb.org rules and found nothing related to donations for coders. Considering vB.org have a specific forum for paid requests, it sounds nice to incentivate coders develop free mods and paid mods for a lower price (this mod is from a paid request, and while other coders would ask hundreds dollars, I asked a very low incentive and firmed that it would be publicy available after finished).

I'm still implementing all features the user request: he wants A-Z filtering in forumhome (index.php) also, below each forum title. However, this seems hards to code, because there are 4 forumbits to attach the ABC Menu template and there is nothink to "hook in" that is widely used from different styles. Any user using a style != from vB default will have to use the manual placement in forumhome (and, like I said, there are 4 forumbits...). Like you can see, I hate manual edits. It make upgrading vB a bad experience.

Quote:
Feature request: this, but for forums. I have a site with 500 sub forums, having the user use that as a directory would be cool.
My forum have ~350 forums (50 of usergroups and staff level sections). I found a way to reduce the 300 content forums to only 8 (I'm implementing this - it's some kind of "filtering" too)

Send me a PM if you're interested in know more.
Reply With Quote
  #16  
Old 11-02-2009, 06:39 PM
RenatoMN's Avatar
RenatoMN RenatoMN is offline
 
Join Date: Nov 2008
Location: Brazil
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Cerbero1000:

Users reported it to works with 3.7.3 PL1, so it should work with 3.7.5 as well (I mean, it have the JS necessary built in), so there's no need for a new mod released to 3.7.x.

Please post your forums URL here (or send me a PM), then I will be able to debug it (at least 1 forum must be open to guests).

Quote:
Originally Posted by inciarco
Quote:
Originally Posted by RenatoMN
Quote:
Originally Posted by inciarco
Works Fine on vB373 PL1. :up:
Does the ordering popup works?

Asking because a user using 3.7.5 reported it as broken, so I though 3.7 does not have the JS for popup menus.

(more comments about your post in https://vborg.vbsupport.ru/showthread.php?t=227174)

Regards,
Renato
Hi.

Yes, it Works Fine on vB373 PL1; it's activated when the User Clicks on the Letter and after the Forum is Filtered on the Clicked Letter Appears the Dropdown Option with the Backgroud Color specified on the ACP Mod's Option, and when Clicking on it, Displays the Ordering Options, by Title and by other Criterias. :up:

Is a very nice Mod, RenatoMN, Thank You Very Much for Sharing it.

My Best Regards.

Reply With Quote
  #17  
Old 11-02-2009, 09:20 PM
Cerbero1000 Cerbero1000 is offline
 
Join Date: May 2005
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Pm sent.
Thanks!
Reply With Quote
  #18  
Old 11-02-2009, 10:09 PM
chesterano chesterano is offline
 
Join Date: Oct 2008
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice work, thank you!
one q is possible to add filter threads by last word for eg.
Alphabetical Forum Filtering
Reply With Quote
  #19  
Old 11-03-2009, 01:36 AM
RenatoMN's Avatar
RenatoMN RenatoMN is offline
 
Join Date: Nov 2008
Location: Brazil
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by chesterano View Post
Nice work, thank you!
one q is possible to add filter threads by last word for eg.
Alphabetical Forum Filtering
Wow, what kind of forums you run? :P

I will study mysql/regex to find a way of doing it (I know the regex to do it matching "[space]F" but it would not match a thread with a single word).
Reply With Quote
  #20  
Old 11-03-2009, 07:07 AM
chesterano chesterano is offline
 
Join Date: Oct 2008
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have place wher users add threads for eg.

Mike - my collections pictures from Sweden
Kate - pictures from London

ect.
Thank you very much
Reply With Quote
  #21  
Old 11-03-2009, 03:32 PM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RenatoMN View Post
Thanks

I found a forum with a custom "ABC Menu" who did it, I think it's not too hard. Will look further still today.



Thanks for the suggestion. Works exactly same way the forums configuration. I just didn't realize somebody would want usergroup permissions. Will be implementing this for sure.



The mod has been developed for 3.8.4 (should work from at least 3.8 RC 3).

3.7 require a new mod, with the JS popup menu ported (3.8 have it built in).

I will be looking @ it next days/weeks. Would be faster if you donate to incentivate



Something wrong with the donation button? :erm:

Searched vb.org rules and found nothing related to donations for coders. Considering vB.org have a specific forum for paid requests, it sounds nice to incentivate coders develop free mods and paid mods for a lower price (this mod is from a paid request, and while other coders would ask hundreds dollars, I asked a very low incentive and firmed that it would be publicy available after finished).

I'm still implementing all features the user request: he wants A-Z filtering in forumhome (index.php) also, below each forum title. However, this seems hards to code, because there are 4 forumbits to attach the ABC Menu template and there is nothink to "hook in" that is widely used from different styles. Any user using a style != from vB default will have to use the manual placement in forumhome (and, like I said, there are 4 forumbits...). Like you can see, I hate manual edits. It make upgrading vB a bad experience.



My forum have ~350 forums (50 of usergroups and staff level sections). I found a way to reduce the 300 content forums to only 8 (I'm implementing this - it's some kind of "filtering" too)

Send me a PM if you're interested in know more.
I don't mind that coders set paypal up in their profile, so those who decide to support it, have it in their release thread on the right column.

It's not needed to pollute my admincp with donate buttons.

If there's a readme.html or install.html, I think it's a suitable place to have someone consider contributing to it while they're reviewing it.

What's next, a popup that prevents one from using the product until donate option yes/no has been selected? Sorry, personally I find it a step too far to butt in on the admincp with going anywhere further than provide the code for the addon.

It's a personal preference. It got me by surprise. And I hope it's not a trend. It is actually a motivator for me to either a) stop using it and uninstall it as it gives me the impression the mod is only released to try and get some money out of it (just like so called "lite" releases on vborg) or b) just edit the code out and no longer support the idea of donating for it.

Again it's just me .. I would donate if it's a fair honest submitted contribution for free, no commercialization or monetizing on the mind, and there's a paypal link on the release or install thread in the right place.

No, it's not a problem, and yes, I understand your motivation. But no, I don't personally like it. That's why I commented on it. Nothing personal against you.
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 01:25 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.04819 seconds
  • Memory Usage 2,363KB
  • 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
  • (12)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
  • (3)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