PDA

View Full Version : phpFlashMyAdmin integrated with the ACP


yoyoyoyo
02-06-2005, 10:00 PM
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:
$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:
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)

Delphiprogrammi
02-07-2005, 09:35 PM
phpflashmyadmin isn't a free script so this could be seen as advertising of a commercial product .... $5 cheap but money is money if you ask me however ontopic now this can be usefull for people new to php & MySQL but i use phpMyAdmin for years now and i have never head a problem with it

yoyoyoyo
02-07-2005, 09:37 PM
it's not an ad- I can remove the link so people can just find it on their own- it is like flashchat (even the same author), so I didn't think there would be a problem..

edit: link removed. sorry if it offended anyone.

GoTTi
02-07-2005, 10:46 PM
dont remove the link. put it back.

that site has alot of good addon's for sites. i use the flash chat from there, and also some other things i get from darren.

yoyoyoyo
02-07-2005, 11:09 PM
I think if anyone goes to google and types in phpFlashMyAdmin or "Darren phpFlashMyAdmin" there is only one place they can go to buy it. I don't want to offend anyone, so I think that is steering enuff :)

I think it is an amazing tool, and not just for "newbies." I think that $5 is a deal and a half, and being able to access the database from the ACP is pretty cool, IMO

SmEdD
02-08-2005, 05:24 AM
Just baught Flash Chat and phpflashmyadmin cause they look AMAZING, and thanks for this hack!

sensimilla
02-08-2005, 06:55 AM
thants a handy hack, thanks

Sweet Evil
02-08-2005, 07:14 AM
Looks great , Im going to install this, Thanks!

yoyoyoyo
02-08-2005, 04:00 PM
I am glad to see that at least a few folks are enjoying this :) As I said it isn't much and I can't take credit for Darren's great code - it's just a link in the ACP, but when I saw phpFlashMyAdmin on his site while looking at FlashChat, the first thing I thought of was the ACP in vb and how easy it would make my life as an admin. Since I have installed this I must say I am very happy with the phpFlashMyAdmin script, and tasks like sql queries are much snappier with the flash interface.

Dennis Olson
02-15-2005, 06:33 PM
I am glad to see that at least a few folks are enjoying this :) As I said it isn't much and I can't take credit for Darren's great code - it's just a link in the ACP, but when I saw phpFlashMyAdmin on his site while looking at FlashChat, the first thing I thought of was the ACP in vb and how easy it would make my life as an admin. Since I have installed this I must say I am very happy with the phpFlashMyAdmin script, and tasks like sql queries are much snappier with the flash interface.
Installed. Bought the flashadmin app for $5. I LOVE IT!

TomerK
02-15-2005, 06:44 PM
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?!

yoyoyoyo
02-15-2005, 09:27 PM
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.

Snake
09-01-2005, 02:16 PM
Nice ever thought of integrating the acp with phpMyAdmin this time?