vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Open "Forum Links" in New Window? (https://vborg.vbsupport.ru/showthread.php?t=104702)

AFCassidy 01-07-2006 07:58 AM

Open "Forum Links" in New Window?
 
Hi all, I have a chat program that doesn't integrate with vBulletin... but I'd like to add a link on my forums. So, I was going to use a forum link (where it looks like a forum but is an external URL).

But... I need it to open in a new window and open without a toolbar. Is there any way to do this?

Marky 01-07-2006 08:03 AM

So you want a link to your forum and when it's clicked you want it to open in a new window without a toolbar right?

Blackbeard 01-07-2006 05:51 PM

I think what he's getting at is when you set up a new forum in admincp you can make it a link by putting in the url of the page, i have for my flashchat. When you are on your forum the links are showed as forums but with no new post etc and when you click them it takes you to that page, but it will take you away from the forum, what he' is after is someone to make it possible to add an option when making this kind of link so it will open in a new window so his members can still browse his forum.

AFCassidy 01-08-2006 06:57 AM

Quote:

Originally Posted by Blackbeard
I think what he's getting at is when you set up a new forum in admincp you can make it a link by putting in the url of the page, i have for my flashchat. When you are on your forum the links are showed as forums but with no new post etc and when you click them it takes you to that page, but it will take you away from the forum, what he' is after is someone to make it possible to add an option when making this kind of link so it will open in a new window so his members can still browse his forum.

Exactly. And, if possible, an option to remove the toolbars from the new window that opens.

Blackbeard 01-08-2006 11:42 AM

i have wanted this myself was told at vb.com it would talk an hack from here to do this, as i have tried to insert the code into the link window in admincp and it dont work.

So please can someone have a go at this

Borgs8472 01-08-2006 01:43 PM

Something like:
Code:

onclick="window.open('index.php','SITE CHAT NAME','width=786,height=600,left='+((screen.width-786)/2)+',top='+((screen.height - 600)/2)+',toolbar=no,menubar=no,scrollbars=yes, status=no,resizable=no');"
?

Add that as a filed to a image or button that launches to your chat I think. Um, I'm in the right area, I've lost my resource now...

AFCassidy 01-09-2006 03:08 AM

That's probably the right code, but it doesn't work if you put that in the field in the admin panel.

AFCassidy 01-17-2006 03:55 AM

Anyone?

Blackbeard 01-17-2006 08:57 AM

Please can someone come up with a answer to this one


All times are GMT. The time now is 06:37 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.01521 seconds
  • Memory Usage 1,725KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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