vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=68535

Attachment in new browser
by NuclioN
19 Aug 2004 21:12

I've looked for it but didn't find such a hack so here's a question/request. Is it possible to open attachments in a new browser window? I've noticed in vb 303 that when users use the back button in explorer after looking at an attachment they are looking at a page full strange code.

Chen 20 Aug 2004 10:42

Edit the following templates:
- postbit_attachment
- postbit_attachmentmoderated
- postbit_attachmentthumbnail
And add target="_blank" to the attachment links. For example, in the first template you would change this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Into this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.



All times are GMT. The time now is 02:49.

Powered by vBulletin® Version 3.8.14
Copyright © 2020, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.