News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Auto Lock Old Topics

Started by vbgamer45, August 06, 2009, 12:30:14 AM

Previous topic - Next topic

Arantor

The only thing with that is that it would automatically end up bumping every single one of those posts in the process (and there's no way around it, either)

smc1979

Ah, very good point.
I wonder if there is just some way users reading the forum will nknow its been auto locked. Would changing the topic title cause it to be updated in the same way as a post?

Example:
Current topic title: "Port Forwarding Help"
Changed title after lock: "Port Forwarding Help (Auto Locked Due To Inactivity)"

Shane

Arantor

No, that could be achieved without too much hassle, I think.

I will see if I can find time to do this, to be honest I'm really busy with SimpleDesk development, so it will be a while before I get to look at this.

smc1979

That would be great  ;)
I'm a VB programmer so I cant change it my self. I'm thinking it can't be to much f a pain since your already opening the topic to lock it, adding the text should go along with it. I will keep an eye out for an update.

Thanks again
Shane

Arantor

Actually, I don't open the topic at all, as such. From what I remember when I wrote it, the scheduled task runs a single DB query per board to just update all of them at once. I wouldn't bolt this on, however, since that would require another table join (right now it joins topics to messages on the last message to get the last update time)

smc1979

None the less, if it is something you can do that would be great. Its just looking at the locked topics I just to let users know why it was locked :-)

you can see what I am referring to here http://forums.pcwintech.com/ [nofollow]
I help users and when they are fixed I lock the thread. But sometimes a user never returns to finish, so lots of old open topics. They are all now closed thanks to your add on how ever :-)

Shane

aw06

So this works only on SMF 2.0 using the scheduling system, but can't it be back ported to SMF 1.1.11 .. and then use the post warning notification that we set to warn a user that a post if x days old, so when the warning comes up the post would auto lock ??

Not possible ?
:: ShopinJA.com Powered by SMF 1.1.19 | Ig-Oh Theme by Koni | 70 Rock Solid Error Free Mods | Many Custom Edits & Tweaks ::
- Host Unlimited Websites - Free Website Builder & Templates - Unlimited Disk Space & Bandwidth

Arantor

Um, not really, no, because 1.1's code doesn't quite work like that. Besides that doesn't auto lock, that only means if someone tries to reply to an old topic it locks it, which isn't the same thing.

IMHO, if you want that... ask for a new mod in Mod Requests.

I would also encourage you not to confuse what's "not possible" with "what people can't be bothered to write" or "what's a significant amount of effort to write". What you're asking for isn't huge, but it's not trivial either.

aw06

Figured this would be the right place to start asking being as it's being done in 2.0 ,.. mod authors may want to take on the challenge .. but i will make a mod request..
:: ShopinJA.com Powered by SMF 1.1.19 | Ig-Oh Theme by Koni | 70 Rock Solid Error Free Mods | Many Custom Edits & Tweaks ::
- Host Unlimited Websites - Free Website Builder & Templates - Unlimited Disk Space & Bandwidth

Arantor

Apart from the fact that both have 'lock' in the title and handle locking of older posts... there's little or nothing in common between the two.

Jack_40k

Hey guys,

I'm having trouble with the mod. I can't see it. Where is it accessed from in the menu? I assumed it would be under Configuration>Modification settings, but it's not there? I'm running SMF 2.0 RC3

Everything seems to be installed fine.. All the code is there..

live627

You may be missing the setting per-board. Go to where you modify a board.

Oya

um no there isnt one

its all in admin > configuration > modifications > auto lock old topics

live627

That's what I assumed from the mod page

"You can change it on a per-board setting"

Oya

yeah... its per board - but all in one place

samurai-lupin

I would throw in USD 25.00 to purchase a version of his MOD for SMF 1.1 ... anyone else interested?


samurai-lupin

Bump. I still would like this mod available for SMF 1.1 and offer USD 30.00 for it.

aw06

Quote from: Arantor on September 08, 2009, 12:17:46 PM
I'm not going to rewrite this for 1.1.10 just off the bat. I would consider it as a sponsored development however.

How much would you charge to Back-port this to 1.1.x I'm interested
:: ShopinJA.com Powered by SMF 1.1.19 | Ig-Oh Theme by Koni | 70 Rock Solid Error Free Mods | Many Custom Edits & Tweaks ::
- Host Unlimited Websites - Free Website Builder & Templates - Unlimited Disk Space & Bandwidth

Arantor

I don't do 1.1 mods, even for money, sorry.

Advertisement: