vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=229)
-   -   Miscellaneous Hacks - AdminCP & ModCP open in new window/tab (https://vborg.vbsupport.ru/showthread.php?t=170708)

lordtopcat 02-16-2008 10:00 PM

AdminCP & ModCP open in new window/tab
 
Hi Guys,

This small modification will make your Administration Control Panel & Moderator Control Panel open up in a new window/tab when you click on the link. I find this useful especially when I am editing templates and can quickly switch between the two links.

Very simple instructions, just two edits.

FIND in footer template
Code:

<a href="$admincpdir/index.php$session[sessionurl_q]">
REPLACE with
Code:

<a href="$admincpdir/index.php$session[sessionurl_q]" target="_blank">
FIND in footer template
Code:

<a href="$modcpdir/index.php$session[sessionurl_q]">
REPLACE with
Code:

<a href="$modcpdir/index.php$session[sessionurl_q]" target="_blank">
I know the mod isn't much, but it is very helpful at times :)

Internet Explorer 7 users: If you want it to open up in a new tab instead of window, do the following:
Go to 'Tools' -> 'Internet Options' -> 'Settings' under 'Tabs'
Change 'When a Pop up is encountered' from 'Open in a new window' to 'open in a new tab'.

Regards
LTC

lordtopcat 02-17-2008 12:41 AM

First Post Reserved

bokmade 02-17-2008 01:01 AM

Open A tab ?

It just Open new windows in IE ..!!

lordtopcat 02-17-2008 01:14 AM

I am sorry you are experiencing problems.

This problem is actually a problem with your options in Internet Explorer 7, and not my modification.

Go to 'Tools' -> 'Internet Options' -> 'Settings' under 'Tabs'

Change 'When a Pop up is encountered' from 'Open in a new window' to 'open in a new tab'.

Please click install if you like my modification :)
Cheers
LTC

iogames 02-17-2008 05:33 AM

Maybe u can help me... :(
Do you remember or do you know how to show 'Forum Home Page' within/frame of AdminCP? does anybody remember the mod? searching for months :confused:

Straightupimp 02-17-2008 10:32 AM

thanks alot i always have to right click and open in new tab really helpful thanks

bokmade 02-17-2008 01:36 PM

Thanks ..

Install ..

iogames 02-17-2008 03:40 PM

Quote:

Originally Posted by Straightupimp (Post 1445062)
thanks alot i always have to right click and open in new tab really helpful thanks

Ctrl+T ?

lordtopcat 02-17-2008 07:41 PM

Yes that works too iogames, but isn't just clicking the link once much easier ?

howard30 02-17-2008 07:51 PM

Quote:

Originally Posted by iogames (Post 1444952)
Maybe u can help me... :(
Do you remember or do you know how to show 'Forum Home Page' within/frame of AdminCP? does anybody remember the mod? searching for months :confused:

Thats default and should be there all the time...

Bl4z3 02-26-2008 11:11 AM

Quote:

Originally Posted by lordtopcat (Post 1445437)
Yes that works too iogames, but isn't just clicking the link once much easier ?


Ctrl + Click

Easiest thing in the world.

thenutthouse 03-30-2008 02:55 PM

I am using Firefox 3 beta 4 and all it does is open new windows, not tabs. :(

Boofo 03-30-2008 03:02 PM

This messes up the little contacts and attachment upload windows, by the way. Not a real good solution.

Quote:

Internet Explorer 7 users: If you want it to open up in a new tab instead of window, do the following:
Go to 'Tools' -> 'Internet Options' -> 'Settings' under 'Tabs'
Change 'When a Pop up is encountered' from 'Open in a new window' to 'open in a new tab'.

bennac40 04-12-2008 05:43 PM

Love It "Installed"

JadedSouls 05-11-2008 01:18 PM

works like a charm!

theparentpack 05-12-2008 08:54 AM

Thanks for the shortcut. I was recently diagnosed with Carpal Tunnel syndrome. One less click for me! Installed! Thanks so much!

Conner85 08-16-2008 07:08 AM

worked great thanks..vb3.7.2

PHILLYFAN 08-19-2008 02:07 AM

thank you

gsmlover4u 01-17-2011 08:55 AM

it will work with vb 4

UweS 07-14-2011 05:59 PM

Is it possible to modify it, to work again on VB4.1.x?! Thanks!


All times are GMT. The time now is 04:54 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.01203 seconds
  • Memory Usage 1,748KB
  • 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
  • (4)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (20)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