vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Administrative and Maintenance Tools - View forum in AdminCP or new tab/window! (https://vborg.vbsupport.ru/showthread.php?t=148806)

Luky 06-02-2007 10:00 PM

View forum in AdminCP or new tab/window!
 
Hey,

Its really simple to do!

This mod will let you view your forum in either a new window/tab (depending on your browser) or you can view it in the window that content is displayed in your AdminCP!

At the top where it shows 'Forum Home | Log Out' It will now show 'Forum Home (New Tab) | Log Out'

In /admincp/index.php find:
PHP Code:

<a href="../<?php echo $vbulletin->options['forumhome']; ?>.php<?php echo $vbulletin->session->vars['sessionurl_q']; ?>" target="_blank"><?php echo $vbphrase['forum_home_page']; ?></a>

And replace it with:
PHP Code:

            <a href="../<?php echo $vbulletin->options['forumhome']; ?>.php<?php echo $vbulletin->session->vars['sessionurl_q']; ?>" target=""><?php echo $vbphrase['forum_home_page']; ?></a>
            (
            <a href="../<?php echo $vbulletin->options['forumhome']; ?>.php<?php echo $vbulletin->session->vars['sessionurl_q']; ?>" target="new">New Tab</a>
            )

Thank you!
Please Install

Regards, Jay

Luky 06-03-2007 03:04 PM

Or you can replace it with:
Code:

            <a href="http://www.vbulletin.org/" target="">vBulletin.org</a>
|
            <a href="../<?php echo $vbulletin->options['forumhome']; ?>.php<?php echo $vbulletin->session->vars['sessionurl_q']; ?>" target=""><?php echo $vbphrase['forum_home_page']; ?></a>
            (
            <a href="../<?php echo $vbulletin->options['forumhome']; ?>.php<?php echo $vbulletin->session->vars['sessionurl_q']; ?>" target="new">New Tab</a>
            )

And you can see vBulletin.org in your adminCP too! :)

EnIgMa1234 06-03-2007 08:07 PM

whats differant in yours than this one
https://vborg.vbsupport.ru/showthread.php?t=147720

Hornstar 06-03-2007 08:52 PM

Didnt you release this only a couple of weeks ago o_O

rjmjr69 06-03-2007 08:56 PM

The difference is that you have the option to open in a new window or tab. But its basically the same thing if you ask me. I'll try this one out though...

rjmjr69 06-03-2007 09:09 PM

Quote:

Originally Posted by Luky (Post 1260374)
Or you can replace it with:
Code:

            <a href="http://www.vbulletin.org/" target="">vBulletin.org</a>
|
            <a href="../<?php echo $vbulletin->options['forumhome']; ?>.php<?php echo $vbulletin->session->vars['sessionurl_q']; ?>" target=""><?php echo $vbphrase['forum_home_page']; ?></a>
            (
            <a href="../<?php echo $vbulletin->options['forumhome']; ?>.php<?php echo $vbulletin->session->vars['sessionurl_q']; ?>" target="new">New Tab</a>
            )

And you can see vBulletin.org in your adminCP too! :)

WoW thank you so very much awesome addition

iogames 06-03-2007 09:19 PM

Quote:

Originally Posted by EnIgMa1234 (Post 1260558)
whats differant in yours than this one
https://vborg.vbsupport.ru/showthread.php?t=147720

Yeah, you're right! Shazz's good ;)

Luky 06-04-2007 06:03 AM

My one is the same as Shazz's basically, except mine has the option to open in a new tab/new window or the adminCP, where as Shazz's you have no choice but to open it in the adminCP

projectego 06-04-2007 12:29 PM

Looks pretty good to me! Thanks for sharing. ;)

gforce75 06-04-2007 02:02 PM

Ya, it was released a few weeks ago and I recall somone complaining that it should be in the mod/template change section rather than hacks.


All times are GMT. The time now is 01:21 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.01087 seconds
  • Memory Usage 1,749KB
  • 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_code_printable
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete