Previous Thread
Next Thread
Print Thread
Hop To
#235737 03/24/2010 3:23 PM
Joined: Mar 2007
Posts: 522
Addict
Addict
Joined: Mar 2007
Posts: 522
How do I force attachments to open in a new window?

7.2.2 if it matters.


Steve

UBB.classic from 2000-2003
UBB.threads from 2003-present!
SteveS #235747 03/25/2010 2:11 AM
Joined: Jan 2010
Posts: 34
newbie
newbie
Joined: Jan 2010
Posts: 34
I don't have a copy of 7.2.2 at the moment to check the exact location or change, but what you're looking for is in scripts/showflat.inc.php

Search for filelink and you should see where it's created for each attachment and you can modify the <a href, adding a target='_blank'


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
2 members (DennyP, 1 invisible), 969 guests, and 171 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)