PDA

View Full Version : Open New post in seperate window


attroll
January 12th, 2004, 03:24 AM
Here is a request I would like to see. When you click on the "New Post" link it brings up all your new post. I think it would be awesome to have it so that when you click on the down arrow, the one that brings you to the first new post that it would open up in a new window. That would keep me from left clicking on the arrow and opening an new window on my own.

JoergZ
January 15th, 2004, 11:31 PM
Open template threadbit and search for

<if condition="$show['gotonewpost']"><a href="showthread.php?$session[sessionurl]goto=newpost&amp;t=$thread[threadid]"><img src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[go_to_first_new_post]" border="0" /></a></if>

replace it with

<if condition="$show['gotonewpost']"><a href="showthread.php?$session[sessionurl]goto=newpost&amp;t=$thread[threadid]" target="_blank"><img src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[go_to_first_new_post]" border="0" /></a></if>

Note: This is the template-code of vB3 Gamma. Sorry, haven't upgraded to RC2 yet, but I think it should not have changed.


Jörg