News:

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

Main Menu

Thread Closed stamp

Started by peterwaalker, January 27, 2014, 08:36:38 AM

Previous topic - Next topic

peterwaalker

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

Gary

A locked icon will appear against the topic when viewing all of the topics in the list. Wouldn't that be enough?
Gary M. Gadsdon
Do NOT PM me unless I say so
War of the Simpsons
Bongo Comics Fan Forum
Youtube Let's Plays

^ YT is changing monetisation policy, help reach 1000 sub threshold.

margarett

Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

peterwaalker

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 but it refused to show-up when the thread is locked.
Any other solution?
Thanks...


margarett

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.
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Advertisement: