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 - Viewing your forum in Control Panel (https://vborg.vbsupport.ru/showthread.php?t=147720)

Shazz 05-19-2007 10:00 PM

Viewing your forum in Control Panel
 
/*================================================= =====================*\
|| Viewing your forum in Control Panel
||
|| ================================================== =====
|| 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 or you can click New which will do the default.

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 and modcp/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>
                        |
                        <a href="index.php?<?php echo $vbulletin->session->vars['sessionurl']; ?>do=cplogout" onclick="return confirm('<?php echo $vbphrase['sure_you_want_to_log_out_of_cp']; ?>');"  target="_top"><?php echo $vbphrase['log_out']; ?></a>

Replace with:
Code:

                        <a href="../<?php echo $vbulletin->options['forumhome']; ?>.php<?php echo $vbulletin->session->vars['sessionurl_q']; ?>" target="_blank"><?php echo $vbphrase["new"]; ?></a>
                        |
                        <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!


Shazz 05-20-2007 07:07 PM

Err too easy, should have done more

kall 05-20-2007 07:26 PM

Moved this and the other one to Addons.

No template modifications means Not Template Modifications.

Shazz 05-20-2007 07:32 PM

Thanks kall

Naxon 05-21-2007 08:31 AM

Very usefull, Installed :)

Terrasoft 05-21-2007 08:40 AM

Very useful, that always bothered me as well. Thanks.

Luky 05-21-2007 12:06 PM

Don't take offence, but i hate you? I really really doo! Last night i was trying to figure out how to change that little link at the top to show in the main frame, this mod was my idea!! Curse you theif! CURSEE!!!!

Owell, guess i will save my time and just use yours? Also i will see how you did it :| I cant belive how hard it is to edit the admin cp, the forums are so easy, then the admin cp is like not even in english programming >_>

Thanks theif, i mean shazz ^^ Installed

redlabour 05-21-2007 12:55 PM

Very usefull - waiting for a Product!

Luky 05-21-2007 01:06 PM

Are you that lazy to make one file change?

Tanabe 05-21-2007 03:36 PM

Well I edited my index.php file in my admin folder like it says to do so but It still doesn't work. I just get taked to the forum like it did when I didn't edit the file.

Edit: Nevermind, get out of my admincp then go back in for it to work. ^^

Thanks!

Installed :)


All times are GMT. The time now is 06:37 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.01115 seconds
  • Memory Usage 1,738KB
  • 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
  • (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