Topic Locked Message

Started by vbgamer45, May 06, 2008, 06:40:10 PM

Previous topic - Next topic

Marcus Forsberg

Very nice and useful, but, as Eliana said, It would be great if you could write a custom message for each locked topic.

Swedish translation
$txt['enableTopicLockedMessage'] = 'Ämnet låst meddelande aktiverat?';
$txt['TopicLockedMessagebody'] = 'Meddelande som visas vid låst ämne:';
$txt['topicLocked'] = 'Ämnet är låst!';


Marcus Forsberg

BTW, will the message disappear if the topic is unlocked?

karlbenson

No.

technically its just a normal post thats added to a thread when the topic is locked.

Marcus Forsberg

Would it be possbile to fix?

Chachafance

Works pefectly, thank you this saves me a lot of time! =)

[SiNaN]

Quote from: MTF95 on May 10, 2008, 12:55:11 PM
Would it be possbile to fix?

No, it couldn't be fixed because it is not a bug. ;)

But will try to add this feature.
Former SMF Core Developer | My Mods | SimplePortal

Marcus Forsberg

I ment add the feature...

Ur_Irish_Rose

i added this mod and its not working for me when i lock a topic

i have activated it in the admin panel too

http://www.boards-express-forum.com/BE/index.php
Irish And Proud SMF Charter Member

jossanaijr

Quote from: Ur_Irish_Rose on May 19, 2008, 03:54:21 PM
i added this mod and its not working for me when i lock a topic

i have activated it in the admin panel too


Quote from: jossanaijr on May 08, 2008, 08:31:26 AM
ok, now I understood what is happening.
When you choose lock topic in tab button it is ok but if you choose to modify a topic and then lock it clicking in the lock sign it does not work.
Also if you have those lock sing enabled as admin and just click in it does not work also.

Ur_Irish_Rose

i tried that :| :( it still didnt work

http://www.boards-express-forum.com/BE/index.php
Irish And Proud SMF Charter Member

[SiNaN]

A new version is out. With the idea of my mod advisor, the feature is made to work like the move topic action.

And the surprise is that; now the mod supports SMF 2.0 Beta 3.1.

See the chanlog written in the first message of the topic.

Ur_Irish_Rose, uninstall the version 1.0 and install the new version.
Former SMF Core Developer | My Mods | SimplePortal

Eliana Tamerin

SiNaN, did you keep the default topic message option in 2.0? Because there are no edits in ModSettings.php to enter the option in.
Do NOT PM me for support.

SimplePortal 2.3.6 is OUT!
SimplePortal Project Manager
Download | Docs
SimplePortal: Power of Simplicity!

[SiNaN]

Quote from: Eliana Tamerin on May 20, 2008, 12:42:42 PM
SiNaN, did you keep the default topic message option in 2.0? Because there are no edits in ModSettings.php to enter the option in.

You can not define a default topic locked message in this version. I thought that it would be useless. Because generally lock actions would have specific reasons. Also adding a setting in ModSettings.php makes the mod a bit difficult to install.

Quote from: [SiNaN] on May 06, 2008, 06:40:10 PM
Version 2.0
!*+- Final Release
+ 2.0 Beta Support
+ Delete reason on unlock if wanted
+ Define the message body on lock
+ Setting whether to post or not on lock
- Default topic locked message
- Activate/Deactivate feature

But if you will say, "It should be there." I can add it. :)
Former SMF Core Developer | My Mods | SimplePortal

Eliana Tamerin

When you mass-lock topics, just as mass-move, there is no dialog for reasons. That's one place where the default might come in handy.
Do NOT PM me for support.

SimplePortal 2.3.6 is OUT!
SimplePortal Project Manager
Download | Docs
SimplePortal: Power of Simplicity!

[SiNaN]

Quote from: Eliana Tamerin on May 20, 2008, 03:28:52 PM
When you mass-lock topics, just as mass-move, there is no dialog for reasons. That's one place where the default might come in handy.

I don't think mass-move action has a post-a-reason feature, does it?

//Opps, okay. I thought that; if the move topic doesn't have it, no need to add for lock topic too. :D
Former SMF Core Developer | My Mods | SimplePortal

Ur_Irish_Rose

Quote from: [SiNaN] on May 07, 2008, 09:25:23 AM
Eliana, again I will add that in next update.

Thanks for you all. ;)

jossanaijr, you should turn it on from Admin CP >> Features and Options >> Topic Locked Message enabled? option.

I dont get this option to enable it :(
http://www.boards-express-forum.com/BE/index.php
Irish And Proud SMF Charter Member

[SiNaN]

Quote from: Ur_Irish_Rose on May 23, 2008, 04:48:00 AM
I dont get this option to enable it :(

The version doesn't include any options. Just lock the topic as you move a topic and it will redirect you to post a reason.
Former SMF Core Developer | My Mods | SimplePortal

Ur_Irish_Rose

Still wont work for me. Guess I did something wrong. Aw well :(
http://www.boards-express-forum.com/BE/index.php
Irish And Proud SMF Charter Member

_Anthony_


[SiNaN]

Quote from: Ur_Irish_Rose on May 24, 2008, 03:21:41 AM
Still wont work for me. Guess I did something wrong. Aw well :(

How do you lock the topic?
Former SMF Core Developer | My Mods | SimplePortal

Advertisement: