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.

Shazz 06-04-2007 02:19 PM

Quote:

Originally Posted by Luky (Post 1260832)
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

Its one line extra :|
[high]* Shazz coughs[/high]

Luky 06-04-2007 03:49 PM

Quote:

Originally Posted by Shazz (Post 1261025)
Its one line extra :|
[high]* Luky coughs

[/high]
Still a line bigger then yours! Ehehe, i told you i wanted to release this as my own because i had the idea in my head, so i figured i needed to add something more, and this is it ^^

@gforce, that person is wrong as the board is called Template modifications and this isn't a template modification, its a file modification! :) My will to be a smart-ass has yet again succeeded.

FreshFroot 06-05-2007 09:48 PM

Good job Luky, I like this one better :D

Luky 06-06-2007 05:54 AM

You should click install then :|

AzaDiyaR 08-22-2007 12:57 PM

waooww this working :D thanks for this hack

Roughnek29 10-27-2007 04:54 PM

Im new at this, where do you open the index.php file?

bazzup 10-27-2007 04:57 PM

Quote:

Originally Posted by J155A0A8DCD5 (Post 1369859)
Im new at this, where do you open the index.php file?

Its in your vbulletin files you uploaded to your server, locate it through ftp and open it with a text editor

Roughnek29 10-27-2007 04:58 PM

will publisher work?

bazzup 10-27-2007 05:06 PM

any text editor it will even open in notepad

Roughnek29 10-27-2007 05:36 PM

Thanks got it. It works.

evilthoutz 11-22-2007 10:52 PM

ahaha love it man :) Now i can just stay in admin panel and watch my site


All times are GMT. The time now is 04:59 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.01264 seconds
  • Memory Usage 1,773KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (21)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