Sort topics alphabetically

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
ameeck
Former Team Member
Posts: 6559
Joined: Mon Mar 21, 2005 6:57 pm

Re: Sort topics alphabetically

Post by ameeck »

Be careful, this MOD adds a bar with the alphabet and allows the user to display topics from only one letter. The title is chosen from historical reasons, because a simillar MOD in phpBB2 was named liked this.

If you're trying to find a MOD that will sort a particular forum in a specific order, look for the Forum sort order MOD.
User avatar
girlintrouble
Registered User
Posts: 856
Joined: Fri Jan 25, 2008 8:35 pm
Location: UK

Re: Sort topics alphabetically

Post by girlintrouble »

So the following post doesnt help me?
ameeck wrote:The change shouldn't be too complicated.
&sk=s&sd=a
Find this line in viewforum.php:

Code: Select all

'U_LETTER' => append_sid("viewforum.$phpEx", "f=$forum_id&letter=$single_letter&$u_sort_param"),  
and replace it with this line:

Code: Select all

'U_LETTER' => append_sid("viewforum.$phpEx", "f=$forum_id&letter=$single_letter&sk=s&sd=a"),  
and then change the second 'U_LETTER' line just below it to this:

Code: Select all

'U_LETTER' => append_sid("viewforum.$phpEx", "f=$forum_id&letter=other&sk=s&sd=a"),  
ameeck
Former Team Member
Posts: 6559
Joined: Mon Mar 21, 2005 6:57 pm

Re: Sort topics alphabetically

Post by ameeck »

This MOD only filters out topics from a selected letter, it still maintains their sort order, which is in most cases by the time of the last reply. With this, the sorting of the topics is always alphatebic when you select a letter. It doesn't change the sort order if you didn't select a letter.
Bombybob
Registered User
Posts: 50
Joined: Sat Sep 06, 2008 11:51 am

Re: Sort topics alphabetically

Post by Bombybob »

Hello,

I work on a new version of my forum with phpbb3.0.2 and i install this mod with no soucy but my title topic are

[Apis mellifera] new bee for me (or a exemple with phpbb2)

and the mod can not work with my title.

I would like that the classification is made between [ ]

Can you help me ?

Cordialy.
Last edited by Bombybob on Mon Sep 15, 2008 1:11 pm, edited 1 time in total.
Bombybob
Registered User
Posts: 50
Joined: Sat Sep 06, 2008 11:51 am

Re: Sort topics alphabetically

Post by Bombybob »

Nobody ?

Thanks
User avatar
girlintrouble
Registered User
Posts: 856
Joined: Fri Jan 25, 2008 8:35 pm
Location: UK

Re: Sort topics alphabetically

Post by girlintrouble »

I think possibly you might have wanted the Forum Sort Order Mod

http://www.phpbb.com/community/viewtopi ... &sk=t&sd=a

I thought this mod was the one I wanted from the description but in actual fact I needed the one I have posted above.

Look at the one I have posted, if it is the one you need then roll back this one with your back ups and apply the other.
Bombybob
Registered User
Posts: 50
Joined: Sat Sep 06, 2008 11:51 am

Re: Sort topics alphabetically

Post by Bombybob »

Thank you but it's this mod "Sort topics alphabetically" i want for my forum. ;)
aertifact
Registered User
Posts: 1
Joined: Wed Sep 17, 2008 9:08 am

Re: Sort topics alphabetically

Post by aertifact »

I'm new at this, been struggling with what I got. I can't get this mod to work correctly, this is how it looks at my forum. Any one got an idea what I did wrong?
You do not have the required permissions to view the files attached to this post.
User avatar
girlintrouble
Registered User
Posts: 856
Joined: Fri Jan 25, 2008 8:35 pm
Location: UK

Re: Sort topics alphabetically

Post by girlintrouble »

Not very clear image, better image may help ;-)
User avatar
oddfish
Registered User
Posts: 839
Joined: Mon Mar 19, 2007 8:45 pm
Location: Testing 3.1

Re: Sort topics alphabetically

Post by oddfish »

aertifact : check your viewforum_body.html edit and make sure you have inserted the new code Before <!-- BEGIN topicrow --> and not after.
Country Flag User Edition Clickable Post Count Link

... another record broken without breaking any records ...
Testing phpBB3.1 dark style based on prosilver ... http://www.oddmods.net
Seascan
Registered User
Posts: 3
Joined: Fri Sep 19, 2008 7:40 pm

Re: Sort topics alphabetically

Post by Seascan »

This mod worked great for me. Thanks!!!

I would like to change the All Topics to display as All Towns on the letter bar. I found where to change the words Sort Alphabectically but couldn't find where to change All Topics. Any one know?
User avatar
oddfish
Registered User
Posts: 839
Joined: Mon Mar 19, 2007 8:45 pm
Location: Testing 3.1

Re: Sort topics alphabetically

Post by oddfish »

Seascan : you will need to make a couple of changes to make that happen.

Open language/en/common.php
Find

Code: Select all

	'ALL_TOPICS'					=> 'All Topics',
Add after

Code: Select all

	'ALL_TOWNS'						=> 'All Towns',
Open styles/stylename/template/viewforum_body.html
Find - is a partial find

Code: Select all

{L_SORT_ALPHABETICALLY}: <a href="{U_ALL_TOPICS}" style="font-weight: bold;">{L_ALL_TOPICS}</a>
In-Line find

Code: Select all

{L_ALL_TOPICS}
Replace with

Code: Select all

{L_ALL_TOWNS}
save and refresh your template and browser (cache if needed).
Country Flag User Edition Clickable Post Count Link

... another record broken without breaking any records ...
Testing phpBB3.1 dark style based on prosilver ... http://www.oddmods.net
Seascan
Registered User
Posts: 3
Joined: Fri Sep 19, 2008 7:40 pm

Re: Sort topics alphabetically

Post by Seascan »

Thank you oddfish that worked great!
Bombybob
Registered User
Posts: 50
Joined: Sat Sep 06, 2008 11:51 am

Re: Sort topics alphabetically

Post by Bombybob »

Bombybob wrote:Hello,

I work on a new version of my forum with phpbb3.0.2 and i install this mod with no soucy but my title topic are

[Apis mellifera] new bee for me (or a exemple with phpbb2)

and the mod can not work with my title.

I would like that the classification is made between [ ]

Can you help me ?

Cordialy.
Thanks
Bombybob
Registered User
Posts: 50
Joined: Sat Sep 06, 2008 11:51 am

Re: Sort topics alphabetically

Post by Bombybob »

Up, thanks. ;)

Return to “[3.0.x] MOD Database Releases”