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: 560
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.
  #16  
Old 02 Nov 2009, 23:20
Cerbero1000 Cerbero1000 is offline
 
Join Date: May 2005
Pm sent.
Thanks!
Reply With Quote
  #17  
Old 03 Nov 2009, 00:09
chesterano chesterano is offline
 
Join Date: Oct 2008
Nice work, thank you!
one q is possible to add filter threads by last word for eg.
Alphabetical Forum Filtering
Reply With Quote
  #18  
Old 03 Nov 2009, 03:36
RenatoMN's Avatar
RenatoMN RenatoMN is offline
 
Join Date: Nov 2008
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
  #19  
Old 03 Nov 2009, 09:07
chesterano chesterano is offline
 
Join Date: Oct 2008
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
  #20  
Old 03 Nov 2009, 17:32
Floris Floris is offline
 
Join Date: Jan 2002
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?

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.
__________________
My community; http://wetalknation.net
Reply With Quote
  #21  
Old 03 Nov 2009, 21:38
RenatoMN's Avatar
RenatoMN RenatoMN is offline
 
Join Date: Nov 2008
Originally Posted by Floris View Post
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.
If I did not mentioned I developed it after a mod request, you would never know it. I can say it's "a new mod, grab from the idea of a paid mod", and not "a mod based in a paid mod". I went ahead and developed a mod better than what a user requested (asking a bid), and put it here, for free. I do not like template edits, although I ever read "Instructions.txt" as I ever read the manual of anything I buy. However, I know people do not like to do it, therefore I prefer to provide a simple .xml to import.

Also, it is not the mod the user requested. It is a very different mod (far better, in my point of view). Like I said, he wants something that looks "simpler": the filtering links in forumhome (index.php), below forum titles. However, it's harder to code, because there are more forumbits than a single forumdisplay template to edit (and there're no hooks or variables I can use to append the ABC table content). And if I did only it (with no menu in forumdisplay), then people would go back index to filter other letter, and I would not have a good place to put the ordering popup menu.

Anyway, thanks for your point of view. I still think you're free to use it, or not. It's up to you. You would never see the mod acp options after the 1st time you go there (or you maybe never see it, if you're good with default options: show in all forums, no bgclass alternating, no table header message, "white over blue" selected letter cell styling), then you will not see the donate button anymore.

IMHO, a single (optional) donate button is FAR, very very very FAR from a popup asking for a donation. The fact is the mod have currently 28 installs (not counting the people using it without marking as installed), and I didn't received a single donation, then it isn't so intrusive.

What to say about search engines? Not too far, you were able to search web without seeing ads in the results pages. Today, every search tool is ad monetized. You only see the ads if you decide to search. Same way, you only see my donation button if you decide to use the mod.

If you still think the donation button is intrusive and do a) or b), I will be sad if your option is a). I prefer you do b) than not use the mod at all. Your suggestions will be helpful for me and all ppl using the mod.

Regards.

(I should update it today, with new options: usergroup settings and - maybe - the pagination fix).
Reply With Quote
  #22  
Old 03 Nov 2009, 21:58
Floris Floris is offline
 
Join Date: Jan 2002
Thanks for your point of view too. And yes, I use it. It runs on the network of 10 sites on wetalk.tv - beta testing it now to see which forums we want to include/exclude.
__________________
My community; http://wetalknation.net
Reply With Quote
  #23  
Old 04 Nov 2009, 11:53
Hasann's Avatar
Hasann Hasann is offline
 
Join Date: Sep 2005
Real name: Hasann
Installed And Nominated For MOTM. It is Just Great..
__________________
HASANN
Reply With Quote
  #24  
Old 05 Nov 2009, 07:56
RenatoMN's Avatar
RenatoMN RenatoMN is offline
 
Join Date: Nov 2008
Posting just to inform you:

I fixed the pagination problem!!

I will be posting the mod today (just adding some more nice features).
Reply With Quote
  #25  
Old 05 Nov 2009, 22:13
Cerbero1000 Cerbero1000 is offline
 
Join Date: May 2005
Rated excellent and featured mod of the month!
Reply With Quote
  #26  
Old 05 Nov 2009, 22:25
aztecboi2003 aztecboi2003 is offline
 
Join Date: Apr 2007
So I just upload the product and that's it? Thanks.
Reply With Quote
  #27  
Old 05 Nov 2009, 22:34
RenatoMN's Avatar
RenatoMN RenatoMN is offline
 
Join Date: Nov 2008
Originally Posted by aztecboi2003 View Post
So I just upload the product and that's it? Thanks.
Yes!

Please mark as installed if using. Thanks.

Regards,
Reply With Quote
  #28  
Old 06 Nov 2009, 01:15
aztecboi2003 aztecboi2003 is offline
 
Join Date: Apr 2007
Installed. Looks and works great. Thanks.
Reply With Quote
  #29  
Old 06 Nov 2009, 01:51
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Question

Great Improvements.

Pagination is Working Fine Now.

One Little Maybe Bug:

When Selecting "Yes" for "Use custom style for selected letter?", and then selecting a Letter, the Colors are being applied to the Selected Letter and to the Ones located to the Left of the Selected Letter, but for the Letters to the Right the Color of the Letters are not being Applied.

Is it dessigned to work this way?

Question: For Next Update will you be Including the Usergroup Permissions? (so that we don't have to Edit the Plugin, Je Je Je)

My Best Regards.

Reply With Quote
  #30  
Old 06 Nov 2009, 03:35
RenatoMN's Avatar
RenatoMN RenatoMN is offline
 
Join Date: Nov 2008
May you please post a screenshot (or a URL - better)?

Yes, next update, usergroup permissions
(actually, I simply forgot to include it in this version)
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 10:20.

Layout Options | Width: Wide Color: