News:

Wondering if this will always be free?  See why free is better.

Main Menu

Lock thread after x replies

Started by ScousePete, September 30, 2006, 02:03:53 PM

Previous topic - Next topic

ScousePete

Quote from: MoreBloodWine on October 19, 2006, 06:47:02 PM
But my whole point on this was some people might wana lock a topic outright without waiting for replies whhile others would wana lock a topic after x amt of relies... so thats why I feel a seperate permission for this would be a good idea... like seen in the pic someone posted where you se both options to lock topic and lock topic after x replies...

I think we have some confusion over the word "permission" :)
Maybe I should rephrase. I believe there should be two separate "options" One to lock the thread outright, one to lock the thread after x number of replies.
Whoever is "allowed" to lock threads (ie has that permission or power) would also be able to lock threads after x replies. If they weren't allowed to lock threads, that option would not appear.

Does that make sense? Just like the picture that I posted.

AKAbugeyes, thanks for all your hard work - don't make it any more complicated than it needs to be!

ScousePete


codenaught

ScousePete, I am sorry about the really long delay. I would like to let you know I have spent time on it today, and a mod should be available really soon.
Dev Consultant
Former SMF Doc Coordinator

MoreBloodWine

Quote from: akabugeyes on November 10, 2006, 05:01:19 PM
ScousePete, I am sorry about the really long delay. I would like to let you know I have spent time on it today, and a mod should be available really soon.
I'm actually gettin excited hehe... but I have to ask since it seems as your almost done you most likely have the overall look done... so lemme ask will it be modled to look like this... where it has a seperate permission from the lock topic as seen in this pic...

Want a sig like mine for your BTCGuild stats ? Then check this out: Spend-ur-Bits


codenaught

I decided against including it in the post page. Instead it is a mod button (next to other mod buttons such as Lock Topic/Move Topic), and the button won't show if the topic is currently locked.

As for the additional permission .... I think I will probably include an admin option to let the admin configure the permissions separate from the usual lock topic permission, but only if they want to. ;)
Dev Consultant
Former SMF Doc Coordinator

MoreBloodWine

#25
Quote from: akabugeyes on November 10, 2006, 05:21:32 PM
I decided against including it in the post page. Instead it is a mod button (next to other mod buttons such as Lock Topic/Move Topic), and the button won't show if the topic is currently locked.

As for the additional permission .... I think I will probably include an admin option to let the admin configure the permissions separate from the usual lock topic permission, but only if they want to. ;)
Guess that means I have to make another new button... can you please supply me with the text the buton will have so I can least get that much out of the way on my end ? Thx

Edit : What made you decide against it being on the post page... I kinda like the idea of havin it there ;-P
Want a sig like mine for your BTCGuild stats ? Then check this out: Spend-ur-Bits


codenaught

Maybe something like "Set Lock Time" or "Set Pending Lock"? I haven't really made a decision exactly what to call it, so I am open to suggestions.

I decided to do this because it is not that noticeable if it is just on the posting page. All moderation actions should be available where the other moderation buttons are. Maybe I can include it on the posting page as well, but it may not be until a future version of the mod.
Dev Consultant
Former SMF Doc Coordinator

MoreBloodWine

Well either way I'd be willing to pay for a version of this mod that has it on the posting page similar to the pics above... but naturally an agreed upon price would be required hehe... I mean the mod buton if you will is fine but like you said maybe you can make a version that has it on the posting page as well... so later on down the progression road you could maybe just have one version that has the mod button with the posting page option as well or just release two versions one with mod button one with posting page option , who knows hehe... that road can be crossed when its time to cross it ... either way I look forward to a production of this mod ;-)

Half the time I forget those buttons are there but I always look at posting options ;-P
Want a sig like mine for your BTCGuild stats ? Then check this out: Spend-ur-Bits


codenaught

#28
You will be happy to know that I am going to include the feature on the posting page under additional options as well as the button. :) The functionality on my test forum is nearly complete and soon I will be able to work on packaging it all up. ;)

Since both of you guys offered to help beta test, I think I will accept the offer and attach a package in this topic before I post it to the mod site to make sure everything works fine.

Edit: Would anyone like a feature where there is a box on the top of the topic saying something like This topic will be locked after X more replies are made?
Dev Consultant
Former SMF Doc Coordinator

MoreBloodWine

#29
Quote from: akabugeyes on November 11, 2006, 01:40:47 PM
Edit: Would anyone like a feature where there is a box on the top of the topic saying something like This topic will be locked after X more replies are made?
Actually that might not be a bad idea... I mean if it turns out to not be so good it can always be pulled out or something... but ive got my producton forum and my test forum so im open to beta test almost anything lol...

Edit : Not that im not grateful lol... bec i am but what made u decide to go with the post page as well...

Edit : On that note thing your considering maybe you could also add this... spamming a topic to lock it wil NOT be tolerated...

Edit : Something just hit me... the uote above like I said is a good idea but that number would have to have the functionality to be able to change as that number would minus one after each reply made... hope that can be worked out...
Want a sig like mine for your BTCGuild stats ? Then check this out: Spend-ur-Bits


ScousePete

Quote from: akabugeyes on November 11, 2006, 01:40:47 PM
You will be happy to know that I am going to include the feature on the posting page under additional options as well as the button. :) The functionality on my test forum is nearly complete and soon I will be able to work on packaging it all up. ;)

Since both of you guys offered to help beta test, I think I will accept the offer and attach a package in this topic before I post it to the mod site to make sure everything works fine.

Edit: Would anyone like a feature where there is a box on the top of the topic saying something like This topic will be locked after X more replies are made?

I would be happy to help in any way I can. The box at the top of the topic would be a nice touch!

MoreBloodWine

Want a sig like mine for your BTCGuild stats ? Then check this out: Spend-ur-Bits


codenaught

I got most of  the beta packaged, but as usual ran into some problems with it trying to install a particular file. Hopefully not too much longer though. ;)
Dev Consultant
Former SMF Doc Coordinator

MoreBloodWine

K , just wanted to check in... im all for beta testing it still... just wnated to make sure we didnt lose ya hehe...
Edit : Just out of curiosity what sort of peoblems we lookin at ?
Want a sig like mine for your BTCGuild stats ? Then check this out: Spend-ur-Bits


codenaught

#34
Attached is Beta 1 of the mod - Lock Topic After Certain Number of Replies

Known issues:
  • When changing the number of replies needed to lock a topic when editing a post, the number is unchanged.
  • Has not been optimized for compatibility with other mods. Expect it not to work with a number of mods.
  • Does not use a separate lock permission (as requested). An additional permission should be added by the final release of 1.0 of this mod.
  • Logic may be a bit confusing. If you make a reply and set the number to 30 (for example), after the post is submitted it will then be at 29.
    Feel free to test it. :) Preferably on a test forum until you are comfortable of how well it works.

    Notice: This release is now outdated. You should download and install this release instead.
Dev Consultant
Former SMF Doc Coordinator

MoreBloodWine

Woot... I'll give it a run through and post any errors if I find any...
Want a sig like mine for your BTCGuild stats ? Then check this out: Spend-ur-Bits


codenaught

#36
Set Pending Lock 1.0 Beta 2 has been released.

The changelog for this release is as follows:

Quote! Editing a post didn't update the number of replies to lock count when it was changed. (Subs-Post.php)
! The linktree when on the "Set Pending Lock" page now contains the current position. (LockTopic.php)
! Those with proper permission could adjust the pending lock number even when topic was locked on "Set Pendng Lock" page. (LockTopic.php)
+ A notice is now shown in a topic if a pending lock has been set, with number of replies shown. (Display.php, Display template)
! The name of this mod has been changed to "Set Pending Lock" to allow for future expansion of different pending locks. (install.xml, package-info.xml)
Dev Consultant
Former SMF Doc Coordinator

MoreBloodWine

Hey aka question for ya... most people like me have chosen not to upgrade to 1.1 final, but for me its bec I run three forums and dont wana hand code alot of mods back in... so can you keep a 1.1 RC3 version of this out for DL for those that choose not to go 1.1final ? Thx ;-)

Also I'll test the new version and post any errors ;-)
Want a sig like mine for your BTCGuild stats ? Then check this out: Spend-ur-Bits


codenaught

I will continue support for RC3 with all of mods for a certain amount of time, but eventually will stop once RC3 has been out for awhile. You really should upgrade sooner than later. Are you waiting for mod authors to update their mods? One idea is to set up a test forum using 1.1 final and see what mods work without any changes needed. I found every single mod of mine that is currently released is compatible with SMF 1.1 final already without any changes needed.

If you have a lot of custom code that doesn't come from a mod, you might want to look at making personal mod packages for them so it is easy to reapply the changes you made after an upgrade.
Dev Consultant
Former SMF Doc Coordinator

MoreBloodWine

Quote from: akabugeyes on December 03, 2006, 08:55:23 PM
I will continue support for RC3 with all of mods for a certain amount of time, but eventually will stop once RC3 has been out for awhile. You really should upgrade sooner than later. Are you waiting for mod authors to update their mods? One idea is to set up a test forum using 1.1 final and see what mods work without any changes needed. I found every single mod of mine that is currently released is compatible with SMF 1.1 final already without any changes needed.

If you have a lot of custom code that doesn't come from a mod, you might want to look at making personal mod packages for them so it is easy to reapply the changes you made after an upgrade.
Im holding back on upgrading bec I run three forums I dont wana have to hand code some mods into bec i use custom themes on every single one... I just dont like the fact that if I upgrade all my work gets wiped out... and its alot of damn work **sighs**
Want a sig like mine for your BTCGuild stats ? Then check this out: Spend-ur-Bits


Advertisement: