Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
phpFlashMyAdmin integrated with the ACP Details »»
phpFlashMyAdmin integrated with the ACP
Version: 1.00, by yoyoyoyo yoyoyoyo is offline
Developer Last Online: Sep 2008 Show Printable Version Email this Page

Version: 3.0.8 Rating:
Released: 02-06-2005 Last Update: Never Installs: 10
 
No support by the author.

This hack is really more of a mini mod since there is only 1 file edit, and it really isn't much, but I thought one or two people might like it.

I found phpFlashMyAdmin to be a very helpful tool and much easier to use than the phpMyAdmin provided in cPanel, and I decided to write a quick hack so I could use it from inside the Admin Control Panel.

First upload the 'phpflashmyadmin' folder to your forum home directory (the same folder where the 'includes,' and 'admincp' folder are located), and then make the following edit:

in admincp/index.php find:
PHP Code:
        $printhr false;
    if (
can_administer('canadminmaintain'))
    {
        
$printhr true;
        
construct_nav_option($vbphrase['database_backup'], 'backup.php?do=choose''<br />');
        
construct_nav_option($vbphrase['repair_optimize_tables'], 'repair.php?do=list''<br />');
        
construct_nav_option($vbphrase['update_counters'], 'misc.php?do=chooser''|');
        
construct_nav_option($vbphrase['diagnostics'], 'diagnostic.php?do=list''<br />'); 
add below:
PHP Code:
        construct_nav_option('phpMyAdmin''../phpflashmyadmin/index.html''<br />'); 
save and upload the file.

Then, log in to your Admin Control Panel and go to "Import & Maintenance" and you will see the 'phpMyAdmin' option you just added. Click on the option and enter your login info and start editing your database or running sql queries (without that annoying page refresh you get in the cPanel version of phpMyAdmin). Browsing through your database is much easier with phpFlashMyAdmin.

NOTE: I tried placing the phpFlashMyAdmin folder inside my ACP to make it more secure, but the app kept giving me errors, so if anyone can figure out how to make it work with the folder inside the ACP I would appreciate it.

If you find this helpful please click install (it's my first hack)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 02-15-2005, 06:44 PM
TomerK TomerK is offline
 
Join Date: Feb 2005
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

its look good!
but you said this: "First upload the 'phpflashmyadmin' folder to your forum home directory "

so where i can to fund this folder?!
Reply With Quote
  #13  
Old 02-15-2005, 09:27 PM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TomerK
its look good!
but you said this: "First upload the 'phpflashmyadmin' folder to your forum home directory "

so where i can to fund this folder?!
you need to buy phpFlashMyAdmin, and install it, and then put the folder in your forum home directory.
Reply With Quote
  #14  
Old 09-01-2005, 02:16 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice ever thought of integrating the acp with phpMyAdmin this time?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:32 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06937 seconds
  • Memory Usage 2,240KB
  • Queries Executed 18 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (3)postbit
  • (4)postbit_onlinestatus
  • (4)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete