Adding a new thread icon on only the the post would add add
some sparkel to a dull forum. I have found the way thanks to
a fellow coder and a bit of searching in templates.This makes the new image a link to the new post for that thread. By default every newly created thread has a new post as well so this will show on new threads and posts.Make sure if you use this mod exactly as shown here to add the icon to the images/button dirctory or the button directory of the skin your doing this template mod for. If not make sure to add it to the images/misc or that styles misc directory and change the $stylevar[imgdir_misc]
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Open the template named: threadbit
find:
Add after:
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Theres more then one way to skin this cat and it really depends on your personal taste. You can always add this to the beginning to replace the icon that shows when theres a new post.
Open the template named: threadbit
Find:
In there find:
change:
firstnew.gif
To:
what ever image you wont to show instead of the default image.
If you dont wont a link simply delete this from the above code.
Find:
Delete this
Find:
</if>
Delete the </a> before this tag.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
If you like this idea and wont to change the image for the last posted as well if you havent saved the template add this else open the template named: threadbit
Find:
Find in:
Change the lastpost.gif to your desired image and save the template.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
If your really feeling this idea or just wont to change the icon for last posted on the index.php page this is how you would do that.
Open the template named: forumhome_lastpostedby
Findshould be near the end)
Find:
If its easier search for two instances of this:
$stylevar[imgdir_button]/lastpost.gif
find all the instances(all the times you see) lastpost.gif and change this to the image you would like to be shown there instead. Remember to check the directory this follows the same rules as I stated at the top of the doc.
Those are all the variants of this template edit post in the thread any questions and non-insatlled questions are low priority so show your support and click installed.
UPDATE:::::::revision by alexD)
inorder to get the image to appear infront of the extra info from a thread you must follow this program it shows you how to get the results of the image: new_thing
open your threadbit template and delete the info you added to which ever add on you did or leve it if you wont two images showing.
Find:
Add before the last
(at the end of the code to add)
there you go that fixes the issue of it showing before the has extra post stuff.
some sparkel to a dull forum. I have found the way thanks to
a fellow coder and a bit of searching in templates.This makes the new image a link to the new post for that thread. By default every newly created thread has a new post as well so this will show on new threads and posts.Make sure if you use this mod exactly as shown here to add the icon to the images/button dirctory or the button directory of the skin your doing this template mod for. If not make sure to add it to the images/misc or that styles misc directory and change the $stylevar[imgdir_misc]
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Open the template named: threadbit
find:
PHP:
<if condition="$show['gotonewpost']"><a href="showthread.php?$session[sessionurl]goto=newpost&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>
$thread[movedprefix]
$thread[typeprefix]
$thread[moderatedprefix]
$thread[prefix_rich]
<a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]"<if condition="$show['gotonewpost']"> style="font-weight:bold"</if>>$thread[threadtitle]</a>
Add after:
PHP:
<!-- start new post/thread icon set up -->
<!-- add or subtract a code to add spacing just how you wont it to be -->
<if condition="$show['gotonewpost']"><img src="<!-- add your own directory and delete this comment before you save this template -->$stylevar[imgdir_misc]/new_thread.gif" alt="" border="0" /></if>
<!-- /start new post/thread icon set up -->
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Theres more then one way to skin this cat and it really depends on your personal taste. You can always add this to the beginning to replace the icon that shows when theres a new post.
Open the template named: threadbit
Find:
PHP:
<if condition="$show['gotonewpost']"><a href="showthread.php?$session[sessionurl]goto=newpost&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>
In there find:
PHP:
<img class="inlineimg" src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[go_to_first_new_post]" border="0" />
change:
firstnew.gif
To:
what ever image you wont to show instead of the default image.
If you dont wont a link simply delete this from the above code.
Find:
PHP:
<a href="showthread.php?$session[sessionurl]goto=newpost&t=$thread[threadid]" id="thread_gotonew_$thread[realthreadid]">
Delete this
Find:
</if>
Delete the </a> before this tag.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
If you like this idea and wont to change the image for the last posted as well if you havent saved the template add this else open the template named: threadbit
Find:
PHP:
<a href="showthread.php?$session[sessionurl]p=$thread[lastpostid]$thread[highlight]#post$thread[lastpostid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a>
Find in:
PHP:
src="$stylevar[imgdir_button]/lastpost.gif"
Change the lastpost.gif to your desired image and save the template.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
If your really feeling this idea or just wont to change the icon for last posted on the index.php page this is how you would do that.
Open the template named: forumhome_lastpostedby
Findshould be near the end)
PHP:
<div align="$stylevar[align=right]" style="white-space:nowrap">
$lastpostinfo[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$lastpostinfo[lastposttime]</span></if>
<a href="showthread.php?$session[sessionurl]p=$lastpostinfo[lastpostid]#post$lastpostinfo[lastpostid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a>
</div>
</div>
<else />
<div class="smallfont" align="$stylevar[align=right]">
$lastpostinfo[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$lastpostinfo[lastposttime]</span></if>
<a href="showthread.php?$session[sessionurl]p=$lastpostinfo[lastpostid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a>
</div>
If its easier search for two instances of this:
$stylevar[imgdir_button]/lastpost.gif
find all the instances(all the times you see) lastpost.gif and change this to the image you would like to be shown there instead. Remember to check the directory this follows the same rules as I stated at the top of the doc.
Those are all the variants of this template edit post in the thread any questions and non-insatlled questions are low priority so show your support and click installed.
UPDATE:::::::revision by alexD)
inorder to get the image to appear infront of the extra info from a thread you must follow this program it shows you how to get the results of the image: new_thing
open your threadbit template and delete the info you added to which ever add on you did or leve it if you wont two images showing.
Find:
PHP:
<if condition="$thread['pagenav']">$stylevar[dirmark]<span class="smallfont" style="white-space:nowrap">(<img class="inlineimg" src="$stylevar[imgdir_misc]/multipage.gif" alt="$vbphrase[multipage_thread]" border="0" /> $thread[pagenav]<if condition="$show[pagenavmore]"> ... <a href="showthread.php?$session[sessionurl]t=$thread[threadid]&page=$thread[totalpages]$thread[highlight]">$vbphrase[last_page]</a></if>)</span></if>
</div>
Add before the last
PHP:
</div>
PHP:
<!-- start new post/thread icon set up -->
<!-- add or subtract a code to add spacing just how you wont it to be -->
<if condition="$show['gotonewpost']"><img src="<!-- add your director or path and delete this comment -->$styleva[imgdir_misc]new_thread.gif" alt="" border="0" /></if>
<!-- /start new post/thread icon set up -->
there you go that fixes the issue of it showing before the has extra post stuff.