vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Opening admincp in new window (https://vborg.vbsupport.ru/showthread.php?t=288687)

Hawk7173 10-05-2012 02:07 PM

Opening admincp in new window
 
How would one go about doing this?

Thanks in advance!

Brandon Sheley 10-05-2012 02:37 PM

right click, open in new tab?
or add target="_blank" to your admincp link if you want it automated

Hawk7173 10-05-2012 02:57 PM

How would I add it to the link? I would like it to be automated?

navbar template?

Brandon Sheley 10-05-2012 03:17 PM

likely footer

Hawk7173 10-05-2012 04:25 PM

I have this in my footer.....

Quote:

<vb:if condition="$show['modcplink']"><li><a href="{vb:raw admincpdir}/index.php{vb:raw session.sessionurl_q}">{vb:rawphrase mod}</a></li></vb:if>
Where would I insert the target="_blank" ?

TheSupportForum 10-05-2012 04:41 PM

Quote:

Originally Posted by Hawk7173 (Post 2370999)
I have this in my footer.....



Where would I insert the target="_blank" ?

Code:


<vb:if condition="$show['modcplink']">
  <li><a href="{vb:raw admincpdir}/index.php{vb:raw session.sessionurl_q}" target="_blank">{vb:rawphrase mod}</a></li></vb:if>


Hawk7173 10-05-2012 05:14 PM

Here is what I have and it draws a 500 error when I try the link

Code:

<vb:if condition="$show['admincplink']"><li><a href="{vb:raw admincpdir}/index.php{{vb:raw session.sessionurl_q}" target="_blank">{vb:rawphrase admin}</a></li></vb:if>

TheSupportForum 10-05-2012 05:23 PM

Quote:

Originally Posted by Hawk7173 (Post 2371017)
Here is what I have and it draws a 500 error when I try the link

Code:

<vb:if condition="$show['admincplink']"><li><a href="{vb:raw admincpdir}/index.php{{vb:raw session.sessionurl_q}" target="_blank">{vb:rawphrase admin}</a></li></vb:if>


you have this

Code:

/index.php{{
change to

Code:

/index.php{

Hawk7173 10-05-2012 05:49 PM

OOOPS! All fixed. Thanks for the help!


All times are GMT. The time now is 12:22 AM.

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.00983 seconds
  • Memory Usage 1,726KB
  • 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
  • (5)bbcode_code_printable
  • (3)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