vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Phpinfo and MySQL info (Admin cp integration) (https://vborg.vbsupport.ru/showthread.php?t=43943)

Brad 09-25-2002 09:00 PM

Phpinfo and MySQL info (Admin cp integration)
 
This is a very simple hack, heck i wouldent even call it a hack, more like a mini tip ;)

This hack provides two new links in the admin cp, one to your phpinfo, the second to mySQL info.

i made this for myself sometime ago so i would always have a quick link to my phpinfo/mySQL info if i ever needed it :)


To install:

in admin/index.php

replace:

PHP Code:

makenavoption("vBulletin Options","options.php?t=0","<br>"); 

by:

PHP Code:

makenavoption("vBulletin Options","options.php?t=0","<br>");
makenavoption("Your MySQL info","mysql.php?","<br />");
makenavoption("Your PHP info","index.php?action=phpinfo","<br />"); 


Upload the attached file to your root/admin and your done. (note: this is the mysqlinfo.php file from the extra's folder int he vB zip. i only made it look like the cp, all code credit gose to the vBulletin team :) )

Brad 09-26-2002 06:11 AM

:confused: heres the file

Silenced Soul 09-26-2002 11:33 AM

Very nice, may come in useful sometime.

Allowee 09-26-2002 01:56 PM

hmm, why can't i download the file?
i only see the placeholder for a image
i use ie6.0 thats the prob?

Xenon 09-26-2002 02:00 PM

you should be able to download the file

try to reload

Goldknight 09-26-2002 03:35 PM

Useful hack

/me install since this hack is support

kennethj 09-30-2002 05:46 PM

tnks .. its nice to see whats going on inside the minde of a machine ;)

Intex 03-31-2003 12:22 PM

Nice and simple but could come in handy.

[high]* Intex clicks install :cool:.[/high]

mforster 03-31-2003 12:40 PM

Installed - very nice :)

wooolF[RM] 03-31-2003 12:45 PM

]nice one, little and usefull :)

Mr. X 04-04-2003 05:26 AM

Yep, nice little addition to the cp.

/installs

Rids 04-27-2003 12:19 PM

anything that makes life easier is fine by me - installed :)

jw00dy 01-04-2005 08:04 AM

Anyone know if this will work in vB 3.0.4 still?


All times are GMT. The time now is 01:47 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.02499 seconds
  • Memory Usage 1,727KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (13)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