The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Attachments Open In New Window?
Hello gang,
This is probably an easy fix but I can't figure it out. I want attachments when clicked, to open in a new window. Right now they are opening in the same window as the post and it's kind of a pain in the rear. Any help would be greatly appreciated. Thanks in advance. |
#2
|
||||
|
||||
You must edit some templates:
postbit_attachmentmoderated Code:
<a href="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]" target="_blank">$attachment[filename]</a> Code:
<a href="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]" target="_blank">$attachment[filename]</a> Code:
<a href="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]" target="_blank"><img class="thumbnail" src="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&stc=1&thumb=1" border="0" alt="<phrase 1="$attachment[filename]" 2="$attachment[counter]" 3="$attachment[filesize]">$vbphrase[image_larger_version_x_y_z]</phrase>" /></a> |
#3
|
|||
|
|||
Thank you!
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|