PDA

View Full Version : Administrative and Maintenance Tools - View forum in AdminCP or new tab/window!


Luky
06-02-2007, 10:00 PM
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:
<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:
<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:

<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
Or you can replace it with:

<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
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
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 :|
* Shazz coughs

Luky
06-04-2007, 03:49 PM
Its one line extra :|
* Luky coughs
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
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