Helo,
Please i want to know whether there is any mod package that will give me what i want.
I want a picture of thread closed to show up whenever i lock a topic. thanks
See attachment below
A locked icon will appear against the topic when viewing all of the topics in the list. Wouldn't that be enough?
http://custom.simplemachines.org/mods/index.php?mod=1177
On the message body, put your image in.
Quote from: margarett on January 27, 2014, 10:13:57 AM
http://custom.simplemachines.org/mods/index.php?mod=1177
On the message body, put your image in.
I tried to put the image in the message field
e.g (http://www.xxxxxxxx.com/themes/xxxx/images/img/threadclosed.png) but it refused to show-up when the thread is locked.
Any other solution?
Thanks...
That's one of those "ask in the topic support topic" questions ;)
Anyway, since we're here already :P
I tried and it worked. I put the lock image in "Themes/default/images/thread_closed.jpg"
Look at the attachment, you'll see I put the BBC image code with my local URL for it. The image shows as expected.
You can even automate it more by editing Modifications.english.php and find:
$txt['topicLocked'] = 'Topic Locked!';
Replace with:
$txt['topicLocked'] = '[img]http://localhost/smf2/Themes/default/images/thread_closed.jpg[/img]';
(of course, adjust the image URL with your own)
And then it will show up automatically in the "reason" window.