![]() |
Automatically Post an Image When Thread Closed?
Is there a way that I can get VB to automatically post and image when a thread is closed?
IE: Either have it auto post [the closed thread image] in a post after any mod or admin close the topic or have the mod or admin post [closed1] or something in the last post and then close it so the image shows? |
You can create a simple bbcode to use.
|
Or you could edit the postbit template and add this in below where the message is inserted:
Code:
<vb:if condition="$show['closethread']"><img src="images/myimage.png" alt="Closed Thread"/></vb:if> |
Except Michael, I think that would add the image to every single post. So, you'd want to add in "AND $post['islastshown']" into the condition.
Alternately, do something similar in the SHOWTHREAD template. |
Quote:
|
If you put it in the postbit, then you would use something like:
HTML Code:
<vb:if condition="$show['closethread'] AND $post['islastshown']"><img src="images/myimage.png" alt="Closed Thread"/></vb:if> |
All times are GMT. The time now is 07:11 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|