vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Viewing your forum in admincp (https://vborg.vbsupport.ru/showthread.php?t=147721)

Shazz 05-19-2007 10:00 PM

Viewing your forum in admincp
 
/*================================================= =====================*\
|| Viewing your forum in admincp
||
|| ================================================== =====
|| Brought to you by:
|| vBCoderz.com
||
|| ================================================== =====
||
|| Author : Shawn
|| Works on : vBulletin 3.5 / 3.6
|| Released : 05. May 2007
||
|| Time required to install: ~1 minute
|| Difficulty: easy
\*================================================ ======================*/

View screen shot for preview

Description: This views your Forum Home Page in your admincp when you click Forum Home Page in your admincp in the right hand corner

This is a simple tweak, it really bugs me when I have to have two windows open on my site to do work.

Open your admincp/index.php file
Find:
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>
Replace with:
Code:

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


flup 05-20-2007 09:20 PM

Hehe quiet a good idea, perhaps make it a second link so you can choose wether it's gonna be a popup or an inscreen link ;D

Shazz 05-20-2007 09:33 PM

Quote:

Originally Posted by flup (Post 1251699)
Hehe quiet a good idea, perhaps make it a second link so you can choose wether it's gonna be a popup or an inscreen link ;D

I don't see the difference in the pop up with the inscreen :erm:

Barakat 05-21-2007 03:53 AM

cool ,,,,

IBBY 05-21-2007 10:11 AM

very cool
i like it
its better than two windows
thx :D

flup 05-21-2007 01:54 PM

Quote:

Originally Posted by Shazz (Post 1251709)
I don't see the difference in the pop up with the inscreen :erm:

with inscreen I meant it to load in the frame you loaded it in, in your modification.

Shazz 05-21-2007 07:49 PM

Quote:

Originally Posted by flup (Post 1252072)
with inscreen I meant it to load in the frame you loaded it in, in your modification.

Like it loads default into admincp?

flup 05-21-2007 10:04 PM

No, you misunderstand me.

Just the same link as you created, but placed next to the current link like:

Goto forumhome | Load Forumhome in adminCP | Log Off

theFAILURE 05-21-2007 10:10 PM

Same thing?

https://vborg.vbsupport.ru/showthread.php?t=137698

I use this quite often, if so good work!

ahmednadir 05-22-2007 01:19 PM

I don't understand??
this has come up before

Anyway, you can view it without this hack
forum manager, then click any forum you like , why edit when you can do it anyway

thanks anyway for your work


All times are GMT. The time now is 03:44 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.01008 seconds
  • Memory Usage 1,731KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete