PDA

View Full Version : Add image to thread title if there a new post


pein87
02-19-2009, 07:13 PM
I was wondering whats the conditional I would use to add a new image if theres a new thread to a forum and for posts. I`m not sure what it would be myself so i thought i`d ask and and see if someone here knows it. Please and thank you.

DragonBlade
02-19-2009, 07:26 PM
In the threadbit template, there is this:<if condition="$show['gotonewpost']"><a href="showthread.php?$session[sessionurl]goto=newpost&amp;t=$thread[threadid]" id="thread_gotonew_$thread[realthreadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[go_to_first_new_post]" border="0" /></a></if>
So, to determine if there is a new post, I suppose $show['gotonewpost'] is what you are looking for.\

EDIT: My bad, I assumed this is what you were looking for--after re-reading your post, I don't think it is.

pein87
02-19-2009, 07:33 PM
I see thanks for the suggestion I`ll have to test it when I get off work.

DragonBlade
02-19-2009, 07:38 PM
Oh, that was what you were looking for? ^_^ Great, hope you can do whatever it is you're wanting to do. :)

pein87
02-19-2009, 11:41 PM
Sorry if I confused you its more or less like this image here.

DragonBlade
02-20-2009, 01:53 AM
lol, Kon thread icon rocks. ;)

And yeah, you're talking about the orange image with the white arrow, correct?

wAnBoA
02-20-2009, 02:14 AM
Nope. I think he meant the "new" image at the end of the thread.