Advertisement:

Author Topic: Custom Board Sort  (Read 96834 times)

Offline codenaught

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 14,653
  • Gender: Male
  • Formerly Known As akabugeyes
Custom Board Sort
« on: July 10, 2006, 07:06:30 PM »
Link to Mod

This mod allows you to go edit a board in Admin / Boards and set a custom sort order that is different from the default order when you view the board's message index. You can have particular boards be sorted by:
  • Last post
  • Started by
  • Last post
  • Replies
  • Views
  • First post
  • Subject
and you can have it in ascending or descending order. Users can still change the sorting of the board just as they were before.
« Last Edit: April 07, 2007, 11:11:04 AM by Thantos »
Dev Consultant
Former SMF Doc Coordinator

Offline PrizeLive.com

  • Full Member
  • ***
  • Posts: 683
    • PrizeLive.com
Re: Custom Board Sort
« Reply #1 on: July 10, 2006, 07:09:27 PM »
Cool mod.. I'll check it out..

Just a few questions first..

How can a user set their personal default order? If they click "subject" to sort it by subject, will it always be that way for them until they sort it again?
Get Paid Instantly via PayPal (or other options) at PrizeLive.com!

Offline qtime

  • Full Member
  • ***
  • Posts: 501
Re: Custom Board Sort
« Reply #2 on: July 10, 2006, 07:58:33 PM »
thx for this great option.
you wrote 2 x last post
Last post
Started by
Last post
Replies
Views
First post

I am waiting a long time for this feature.

I have one request so far, is it possible to have an option to sort on the first post on a board on visiting?

Now we can click on:
Subject     Started by     Replies     Views     Last post
to sort, but not first post
« Last Edit: July 11, 2006, 01:41:23 AM by qtime »

Offline PrizeLive.com

  • Full Member
  • ***
  • Posts: 683
    • PrizeLive.com
Re: Custom Board Sort
« Reply #3 on: July 10, 2006, 07:59:24 PM »
Can't you just click last post twice?
Get Paid Instantly via PayPal (or other options) at PrizeLive.com!

Offline qtime

  • Full Member
  • ***
  • Posts: 501
Re: Custom Board Sort
« Reply #4 on: July 10, 2006, 08:04:29 PM »
Yes it's working, thx for the tip, is this normal or due this mod???

Offline PrizeLive.com

  • Full Member
  • ***
  • Posts: 683
    • PrizeLive.com
Re: Custom Board Sort
« Reply #5 on: July 10, 2006, 08:06:29 PM »
Yes it's working, thx for the tip, is this normal or due this mod???

I believe it's normal...  ;)
Get Paid Instantly via PayPal (or other options) at PrizeLive.com!

Offline codenaught

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 14,653
  • Gender: Male
  • Formerly Known As akabugeyes
Re: Custom Board Sort
« Reply #6 on: July 10, 2006, 10:59:48 PM »
Cool mod.. I'll check it out..

Just a few questions first..

How can a user set their personal default order? If they click "subject" to sort it by subject, will it always be that way for them until they sort it again?

It will only sort it by subject for the time the user is viewing it that way. If they returned back to the board the board would be sorted by the custom sort order set for the board. So the user cannot view it in their own default order permanently, so they have to click the link to sort it the way they want each time they enter the board.
Dev Consultant
Former SMF Doc Coordinator

Offline PrizeLive.com

  • Full Member
  • ***
  • Posts: 683
    • PrizeLive.com
Re: Custom Board Sort
« Reply #7 on: July 10, 2006, 11:02:55 PM »
Thanks for your reply..

WOuld it be hard to allow the user to set their own default?
Get Paid Instantly via PayPal (or other options) at PrizeLive.com!

Offline Vinspire

  • Sr. Member
  • ****
  • Posts: 852
  • Gender: Male
    • The Box Of Heart Forum
Re: Custom Board Sort
« Reply #8 on: July 11, 2006, 01:11:20 PM »
can i see screenie ? :)

Offline kezayah

  • Jr. Member
  • **
  • Posts: 107
    • http://ze-forum.org
Re: Custom Board Sort
« Reply #9 on: July 12, 2006, 09:45:37 AM »
can i see screenie ? :)
yes a screen please

Offline codenaught

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 14,653
  • Gender: Male
  • Formerly Known As akabugeyes
Re: Custom Board Sort
« Reply #10 on: July 12, 2006, 02:58:03 PM »
Okay, added a screenshot to the mod page, although not the best of screenshots. ;)

http://mods.simplemachines.org/index.php?action=download;mod=382;id=16927;image

The screenshot is when you are editing a board in the admin panel. You will see a dropdown that lets you select the sort method for that board and the order: ASC meaning ascending and DESC meaning Descending.
Dev Consultant
Former SMF Doc Coordinator

Offline geekleader

  • Newbie
  • *
  • Posts: 1
Re: Custom Board Sort
« Reply #11 on: October 21, 2006, 02:26:41 PM »
Not sure why but the search order is not being remembered, and I'm getting error messages like:

 hxxp:chuckie.bmdistros.co.uk/php/smf/index.php?action=manageboards;sa=board;ID_BOARD=31 [nonactive] 
8: Undefined index: sort_method
File: /home/default/public_html/php/smf_1-0-8/Themes/default/ManageBoards.template.php (eval?)
Line: 391
 
hxxp:chuckie.bmdistros.co.uk/php/smf/index.php?action=manageboards;sa=board;ID_BOARD=31 [nonactive] 
8: Undefined index: sort_method
File: /home/default/public_html/php/smf_1-0-8/Themes/default/ManageBoards.template.php (eval?)
Line: 395
 
hxxp:chuckie.bmdistros.co.uk/php/smf/index.php?action=manageboards;sa=board;ID_BOARD=31 [nonactive] 
8: Undefined index: sort_order
File: /home/default/public_html/php/smf_1-0-8/Themes/default/ManageBoards.template.php (eval?)
Line: 402
 
hxxp:chuckie.bmdistros.co.uk/php/smf/index.php?action=manageboards;sa=board;ID_BOARD=31 [nonactive] 
8: Undefined index: sort_order
File: /home/default/public_html/php/smf_1-0-8/Themes/default/ManageBoards.template.php (eval?)
Line: 403
 
If anyone could help with this I'd really appreciate it

Offline codenaught

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 14,653
  • Gender: Male
  • Formerly Known As akabugeyes
Re: Custom Board Sort
« Reply #12 on: October 21, 2006, 02:36:02 PM »
Unfortunately the mod wasn't designed for SMF 1.0 so I don't think it will work on versions below 1.1 RC2.
Dev Consultant
Former SMF Doc Coordinator

Offline edchapman

  • Jr. Member
  • **
  • Posts: 194
  • Gender: Male
    • Christian Youth Forum
Re: Custom Board Sort
« Reply #13 on: December 02, 2006, 04:12:55 PM »
Anyone have this working on their site? I would love to see it in action.

Offline Krysia

  • Jr. Member
  • **
  • Posts: 377
  • Gender: Female
    • KRYSIA'S WEB
Re: Custom Board Sort
« Reply #14 on: December 14, 2006, 03:17:07 PM »
For clarification purposes, this mod is specifically for boards only?

And not, say, custom sort of topics within the board?



Offline codenaught

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 14,653
  • Gender: Male
  • Formerly Known As akabugeyes
Re: Custom Board Sort
« Reply #15 on: December 15, 2006, 07:24:46 PM »
Not entirely sure of your question.

It sorts topics within a board's list of topics. Such as by last post, number of replies, number of views, etc. If you are asking if it sorts posts within a topic, then no it does not.
Dev Consultant
Former SMF Doc Coordinator

Offline Krysia

  • Jr. Member
  • **
  • Posts: 377
  • Gender: Female
    • KRYSIA'S WEB
Re: Custom Board Sort
« Reply #16 on: December 17, 2006, 07:59:45 PM »
Quote
It sorts topics within a board's list of topics.
Would it do it alphabetically?

For example, if I want to make it so that the board's list of topics reads like follows:

Chapter 01
Chapter 02
Chapter 03
Chapter 04
Chapter ...

It will make it so?



Offline codenaught

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 14,653
  • Gender: Male
  • Formerly Known As akabugeyes
Re: Custom Board Sort
« Reply #17 on: December 17, 2006, 08:27:14 PM »
Yes you can sort it by subject in alphabetical order. I forgot to include "Subject" in the first post of this topic, so sorry if I caused any confusions. :)
Dev Consultant
Former SMF Doc Coordinator

Offline Krysia

  • Jr. Member
  • **
  • Posts: 377
  • Gender: Female
    • KRYSIA'S WEB
Re: Custom Board Sort
« Reply #18 on: December 18, 2006, 10:55:37 AM »
Oh, that is just kick ass:D

<off to go try it>



Offline Krysia

  • Jr. Member
  • **
  • Posts: 377
  • Gender: Female
    • KRYSIA'S WEB
Re: Custom Board Sort
« Reply #19 on: December 18, 2006, 12:46:50 PM »
This mod is so exceptionally kick freaking ass that I can't even believe it.

I've attached a screen cap of the mod in use.

This is FREAKING AWESOME!

I am sooooo happy right now: I have the 2 essential to message boarding, IMO mods in use:
This Custom Default Sort mod and the Show Signature mod...

Life. Is. Good.

THANK YOU!

<Snoopy dances offline>