The Arcive of vBulletin Modifications Site. |
|
Open Admincp/Modcp in a New Tab Details »»
|
|||||||||||||||||||||||||
I don't know if this has been done or not if so sorry. This will open Admincp/Modcp in a new tab.
Go to admincp->Styles and Templates->Style Manager->Yourstyle->Edit Templates->footer For Admincp find: Code:
<if condition="$show['admincplink']"><a href="$admincpdir/index.php$session[sessionurl_q]">$vbphrase[admin]</a> -</if> Code:
<if condition="$show['admincplink']"><a href="$admincpdir/index.php$session[sessionurl_q]" target="_blank">$vbphrase[admin]</a> -</if> Code:
<if condition="$show['modcplink']"><a href="$modcpdir/index.php$session[sessionurl_q]">$vbphrase[mod]</a> -</if> Code:
<if condition="$show['modcplink']"><a href="$modcpdir/index.php$session[sessionurl_q]" target="_blank">$vbphrase[mod]</a> -</if> Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
That will open in a new window rather than a new tab depending on your browser settings.
It's far easier to do this with a right mouse click on the link, giving you the choice of a new tab or a new window. And then you don't have to modify any vBulletin code at all or change it after every upgrade.
|
|
#3
|
||||
|
||||
|
It is the default to open in new tab I think !
|
|
#4
|
|||
|
|||
|
Nah it's not, I posted it because it aggravated me because it would always open in the same tab. So i added target="_blank" so it opens in a new tab for me. I didn't think about the browser settings really this just worked for me. Figured someone might use it too.
|
|
#5
|
||||
|
||||
|
Browser settings too people
|
|
#6
|
|||
|
|||
|
You can open new tab by clicking the wheel or use Ctrl + left click without browser setting ^_^.
|
![]() |
|
|