Version: 1.00, by ericgtr
Developer Last Online: Feb 2022
Version: 3.5.1
Rating:
Released: 12-17-2005
Last Update: Never
Installs: 27
Template Edits
No support by the author.
This is something my users really enjoy. Appended to the end of each thread title in the forumdisplay is an image that they can click on to open it in a new window.
Just an addition -it needs done for both a new post (strong) thread and a read thread.
This may be a longer way around (I am no expert but this worked for me)
Thank you to the original poster and the others.
Mine turned out like this
Code:
<if condition="$show['gotonewpost']"><a href="showthread.php?$session[sessionurl]goto=newpost&t=$thread[threadid]"><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]
<if condition="$show['gotonewpost']">
<strong><a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]">$thread[threadtitle]</a></strong>
<!-- 1st entry for post in new window -->
<a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" target="_blank"><img src="$stylevar[imgdir_misc]/new_window.gif" alt="open this thread in a new window" width="16" height="16" border="0"></a>
<!-- end 1st -->
<else />
<a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]">$thread[threadtitle]</a>
<!-- 2nd entry for post in new window -->
<a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" target="_blank"><img src="$stylevar[imgdir_misc]/new_window.gif" alt="open this thread in a new window" width="16" height="16" border="0"></a>
<!-- end 2nd -->
</if>
I have added the start of the if so you can see how it falls in.
I realise that I am no expert so be gentle.
I could not make it work with the instructions so here is what worked for me on the latest version of vb. Find the line bellow in the same place the original instructions say to in the threadbit template but instead look for the line bellow and add the code above or bellow it. If you add above it the icon will be to the left if you add bellow it the icon will be to the right. I have attached my threadbit for admin or anyone else to see.
Admin/Mod ... Please edit my post accordingly I know you want it your way so please make changes as you see fit. I hope this helps anyone else with problems.
Thank You very much ,this works for my forum which is version 3.5.4
Just an addition -it needs done for both a new post (strong) thread and a read thread.
This may be a longer way around (I am no expert but this worked for me)
Thank you to the original poster and the others.
Mine turned out like this
...snip...
I have added the start of the if so you can see how it falls in.
I realise that I am no expert so be gentle.
Since you want it to appear which ever condition is met by the IF statement just put the code either above or below the IF ELSE section code depending whether you want it to display to the right or left of the thread title.
________________
I found the original icon a bit too vibrant on my board so I toned it down, I also cut the original icon down to make it very small (but it's not now as clear as the original icon as to what it does.) If anyone wants to use these versions feel free to do so.