Thread Alphabetical Pagination

Thread Alphabetical Pagination 1.0.0 RC

No permission to download

Scandal

Well-known member
Licensed customer
Scandal submitted a new resource:

Thread Alphabetical Pagination - Filter threads on forum view based on the first letter of thread title. Any language supported.

Filter threads on forum view based on the first letter of thread title.
See attached screenshots!

  • Any language alphabet supported.
  • Apply the alphabet pagination bar to specific forums.
  • Change the alphabet buttons sorting like you want. Apply multiple language letters.

This addon was a custom paid job for @CivilWarTalk. Thanks to him for the support on development and for allow me to publish it on the community for free. (y)

Read more about this resource...
 
First off, thank you and CivilWarTalk for sharing. I'm just wondering if there's a way to tweak this on my end so that the filtering includes more than just the first letter of thread titles? TIA
 
When I try to use Spanish letters like Ñ, it confuses it as an N and doesn't apply the filter.

Great addon!!
 
@Scandal will you be updating this for XF 2.3 and beyond? It has been a fantastic add-on and proved very useful, but it doesn't work in 2.3 as it stands. With thanks :)
 
I don't think there's anything more to come here. Therefore a fix from me. I have only adapted a template modification.

Code:
Before:
<xf:extension name=“above_thread_list”></xf:extension>
After:
<xf:extension id=“above_thread_list”></xf:extension>
 

Attachments

It tested it with XF 2.3.8 and it worked, but the sign for reset of the filter was not shown. Therefore I adapted the following Template:

sc_alphabetical_pagination_row
<xf:if is="$forum.Node.canThreadAlphabetPagination()">
<xf:css src="sc_alphabetical_pagination.less" />
<div id="thread_alphabet_row">
<xf:foreach loop="$forum.Node.getThreadAlphabetPaginationLetters()" value="$currentletter">
<a href="{{ link('forums', $forum, {'l':$currentletter.letter}) }}" class="thread_alphabet_letter <xf:if is="$xf.request.filter('l', 'str') == $currentletter.letter">highlighted</xf:if>">{$currentletter.letter}</a>
</xf:foreach>
<a data-xf-init="tooltip" data-content="{{ phrase('sc_alphabetical_pagination_clear') }}" href="{{ link('forums', $forum) }}" class="thread_alphabet_letter"><i class="fas fa-sign-out-alt" data-xf-init="icon"></i></a>
</div>
</xf:if>
The addition isr marked in red color.
 
Back
Top Bottom