vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   REQ: User Option: Attachment in window/new window (https://vborg.vbsupport.ru/showthread.php?t=89793)

imported_aceman 09-14-2004 08:31 PM

REQ: User Option: Attachment in window/new window
 
I'd like to know if there is an easy way to give USERS the OPTION that when they click on an attachment it either opens in a "_blank" or IN the current window. Some of my members like it in a NEW window.. while others like it in the current window they are using. I'd like to give them the option.

I have searched here and vb.org for something like this but found nothing. If I missed it, please direct me.

Thanks
Aceman
www.scifi-meshes.com / www.military-meshes.com

imported_aceman 09-15-2004 06:35 PM

no one? Just give me a clue and I'll do it. :)

Aceman

KW802 09-15-2004 06:45 PM

Quote:

Originally Posted by aceman
no one? Just give me a clue and I'll do it. :)

Aceman

My vote would be a new custom profile file that the user can turn off & on themselves. Then in your postbit_attachment template insert a conditional inside of the href tag to put a target="blank" inside of the tag if the condition is true.

:)

imported_aceman 09-16-2004 12:06 PM

I have gotten this working and will post it in the aproperiate forum.

KW802 09-16-2004 12:16 PM

Quote:

Originally Posted by aceman
I have gotten this working and will post it in the aproperiate forum.

:cool:


All times are GMT. The time now is 11:08 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00933 seconds
  • Memory Usage 1,724KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete