Advertisement:

Author Topic: Send Locked Topics to Bottom  (Read 11947 times)

Offline live627

  • Development Contributor
  • SMF Hero
  • *
  • Posts: 5,620
  • Gender: Male
    • live627 on Facebook
    • live627 on GitHub
    • live627 on LinkedIn
    • @live627 on Twitter
    • livemods
Send Locked Topics to Bottom
« on: December 14, 2009, 11:36:51 AM »
Link to Mod

This mod reorders the contents of a board so locked topics always appear at the bottom of the listing, regardless of last posting or when they were locked.

As per the attached screenshot, the two locked topics are newer than the oldest topic. Note also it deliberately does not differentiate between user-own locked and moderator locked topics.

It *doesn't* change the order of the previous/next links, however.
Try not to become a man of success, but rather try to become a man of value.
- Albert Einstein

Offline KensonPlays

  • SMF Hero
  • ******
  • Posts: 4,306
    • @Kenson_Plays on Twitter
Re: Send Locked Topics to Bottom
« Reply #1 on: January 11, 2010, 06:30:53 PM »
I know this really isn't related to the mod, but half the time when I do something in the packages area, i get:
Session verification failed. Please try logging out and back in again, and then try again.

I log out and in, then it happens again! (bug?)

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,632
    • StoryBB/StoryBB on GitHub
Re: Send Locked Topics to Bottom
« Reply #2 on: January 11, 2010, 06:55:56 PM »
Please ask that in the 2.0 support board. In your new topic, please also confirm if it happens while you are using the default theme or not.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline akbora

  • Sr. Member
  • ****
  • Posts: 960
    • Anında Tepki
Re: Send Locked Topics to Bottom
« Reply #3 on: January 11, 2010, 07:17:47 PM »
It must send to buttom but current page only. Now it sends to boards buttom after 10 pages for example...
SMF 2.0.13
Default Theme
Utf8 Turkish
---------------

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,632
    • StoryBB/StoryBB on GitHub
Re: Send Locked Topics to Bottom
« Reply #4 on: January 11, 2010, 07:19:09 PM »
It sends them to the very bottom, exactly what it says it does.

To rewrite it as you're suggesting is a complete rewrite of the mod which I have no time or energy to do, not to mention that I seem to recall this is on my list of mods I'm giving away.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline akbora

  • Sr. Member
  • ****
  • Posts: 960
    • Anında Tepki
Re: Send Locked Topics to Bottom
« Reply #5 on: January 11, 2010, 07:25:40 PM »
This mod sends to buttom but not currently page buttom. To the division buttom.

For example:
1.page
1.topic
2.topic
3.topic

2.page
1.topic
2.topic
3.topic

3.page
1.topic
2.locked topic
3.locked topic

I say:

1.page

1.topic
2.topic
3.locked topic
SMF 2.0.13
Default Theme
Utf8 Turkish
---------------

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,632
    • StoryBB/StoryBB on GitHub
Re: Send Locked Topics to Bottom
« Reply #6 on: January 11, 2010, 07:27:23 PM »
Yes, I know. I wrote it.

I am not changing it:
1. I do not have the time to sit and rewrite the database queries to avoid the HUGE performance impact.
2. I am trying to give this mod away, indicating I do not wish to do further development.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline akbora

  • Sr. Member
  • ****
  • Posts: 960
    • Anında Tepki
Re: Send Locked Topics to Bottom
« Reply #7 on: January 11, 2010, 07:32:22 PM »
Ok. Thanks.
SMF 2.0.13
Default Theme
Utf8 Turkish
---------------

Offline Eclipse16V

  • Sophist Member
  • *****
  • Posts: 1,070
  • Gender: Male
  • Tornado Map
    • Eclipse16V on Facebook
    • @Eclipse16V on Twitter
    • Tornado Map
Re: Send Locked Topics to Bottom
« Reply #8 on: March 15, 2010, 01:35:56 AM »
Nice Mod

Please update it for SMF 2.0RC3  ;)

Thanks
I worked with:
SMF 2 in German

My Shop:
Das Lieschen

Offline Matthew K.

  • SMF Super Hero
  • *******
  • Posts: 12,430
  • Gender: Male
    • matthew.kerle on Facebook
    • @matthew_kerle on Twitter
Re: Send Locked Topics to Bottom
« Reply #9 on: March 15, 2010, 11:53:05 AM »
I am on vacation, as my signature states. I will be updating all of my mods to RC3 very shortly.

Labradoodle-360

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,632
    • StoryBB/StoryBB on GitHub
Re: Send Locked Topics to Bottom
« Reply #10 on: March 15, 2010, 12:04:27 PM »
Labradoodle, he added that post to about 70 mods...
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Matthew K.

  • SMF Super Hero
  • *******
  • Posts: 12,430
  • Gender: Male
    • matthew.kerle on Facebook
    • @matthew_kerle on Twitter
Re: Send Locked Topics to Bottom
« Reply #11 on: March 15, 2010, 12:33:59 PM »
Okay Arantor?

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,632
    • StoryBB/StoryBB on GitHub
Re: Send Locked Topics to Bottom
« Reply #12 on: March 15, 2010, 12:37:32 PM »
Just pointing out that you can mostly ignore it and do it when you're ready.

But hey, if you're comfortable thinking you're being harassed for updates, you stick with that.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Matthew K.

  • SMF Super Hero
  • *******
  • Posts: 12,430
  • Gender: Male
    • matthew.kerle on Facebook
    • @matthew_kerle on Twitter
Re: Send Locked Topics to Bottom
« Reply #13 on: March 15, 2010, 01:06:39 PM »
Arantor, I don't consider it as me being harrassed. If I did, it may be different. But I consider it a nice reminder to update my mods, which I am thankful for, with 28 mods and more in development and the quque.

Labradoodle-360

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,632
    • StoryBB/StoryBB on GitHub
Re: Send Locked Topics to Bottom
« Reply #14 on: March 15, 2010, 01:25:32 PM »
You know that it's not actually a good idea to have too many mods... when RC2 came around it took about 3 weeks to get all my mods refitted then... and I had less then than you do now.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Matthew K.

  • SMF Super Hero
  • *******
  • Posts: 12,430
  • Gender: Male
    • matthew.kerle on Facebook
    • @matthew_kerle on Twitter
Re: Send Locked Topics to Bottom
« Reply #15 on: March 15, 2010, 04:55:32 PM »
I'm fine with my workload. It's what I like doing.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,632
    • StoryBB/StoryBB on GitHub
Re: Send Locked Topics to Bottom
« Reply #16 on: March 15, 2010, 05:44:29 PM »
Just a little bit of advice that's all, as I received similar advice from karlbenson a bit back (you know he had 80 mods, right?)
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Robbo_

  • Full Member
  • ***
  • Posts: 501
  • Gender: Male
  • Simple Portal Customizer
    • ClanSpace
Re: Send Locked Topics to Bottom
« Reply #17 on: July 05, 2010, 03:05:03 PM »
This mod works fine with RC3. You just need to say so in package-info.xml.

I suggest whenever you have a spare 5 minutes just test mods like this one with the emulator and see if you can get away with a simple update just changing package-info.xml. Or set the version to "2.0.0-2.99.99" instead of "2.0 RC3" so that if it works then people can use it straight away and you won't get bothered on the forums. If it doesn't then screw them and do it when you get time.
Aus-Newerth

Quote from: IRC
Roph> I just finished a double 1/2lb cheese, bacon & salad beef burger
Roph> no woman on earth could satisfy me as much as I am satisfied right now by this burger
... later on ...
Roph> how could ensie go about satisfying me =o
<Ensiferous> Roph: Merely looking at me would yield far more pleasure than a burger can provide.

Offline wizzard1

  • Semi-Newbie
  • *
  • Posts: 47
    • mmo-cataclysm
Re: Send Locked Topics to Bottom
« Reply #18 on: July 21, 2010, 11:08:37 AM »
really cool mod indeed
if anyone could get it in there workload and update it to fir with latest ill give you a big cheer :)

Offline Matthew K.

  • SMF Super Hero
  • *******
  • Posts: 12,430
  • Gender: Male
    • matthew.kerle on Facebook
    • @matthew_kerle on Twitter
Re: Send Locked Topics to Bottom
« Reply #19 on: July 21, 2010, 02:46:22 PM »
As already stated, you just need to emulate the mod.

I do plan on updating all of my mods, or giving the ones away that I don't feel like updating very shortly. I have been working on a mod site very heavily, which is where I have put all of my time.