View Full Version : Power Toys 3.0
lvalics
3rd December 2004, 02:07 PM
We just finished Power Toys 3.0 (final beta).
Can be downloaded from http://www.grafxsoftware.com/util/installer.sh
- Will work only in PLESK 7.1.x (maybe in 7.0.x, not tested)
- We have tested under Fedora (I think same is for RedHat), we cannot guarantee under FreeBSD.
- Use it on your own risk, even if we tested here carefully, we cannot quarantee (yet) for all systems.
What is new.
From functionality point of view, no new features, except sending email with details.
BUT:
- is totally rewritten, based on templates system and language files, easy to translate.
- will work only under PLESK (ADMIN), easy to reach from NAVIGATION MENU.
- easy to install, but you need to install it from SSH (root privilege)
Any feedback, suggestions, please send it here, on forum.
nos4
4th December 2004, 08:51 PM
what features does powertoys supply . more or less what is it .
i cant find any info on the creators site .
thank you .
lvalics
5th December 2004, 12:32 AM
1. Password Revealer, show to ADMIN any password for a domain, like FTP, mail, DB, PLESK etc. and send it to customer if ADMIN want.
Also is based on a template, what need to change to fit for each ADMIN. This template must be edited (in this beta release) manually, in the future we will let ADMIn to edit from PLESK.
2. Custom DNS - you can add, change DNS setting
3. Email subject changer
4. Check Domains - you can check if domains are up or down.
5. MySQL Remote Admin User Manager - you can setup MySQL to accept from an IP/Domain external connections. Usefull in some case.
TO DO LIST:
1. Make mail templates editable from PLESK.
2. Add "Disable root login and root password change"
3. Install Turck MMCache or Ioncube in php.ini
4. Vhost.conf updates/edits by ADMIN
5. ETC.
You will not find on our webpage details about PLESK Power Toys, cause we support it here, it is made special for this forum users.
NightStorm
5th December 2004, 03:47 AM
Before I go ahead and install this on my server, is there any warnings of conflicts that I should be aware of? The features sound great, but at the same time, if it breaks my Plesk 7.1.6, I'm gonna be pretty pissed... ya know?
Is there an uninstall feature if it causes problems, or is it a one-way street?
lvalics
5th December 2004, 05:54 AM
All is do to copy some files under PSA and write a line in database, custom buttoms.
Teoretically cannot break everything on install, but you can ruin your server with some features, like COLOR=red]DNS settings[/COLOR] .
So anyone if install it, please read on each screen what is say, is important.
Many people will use it for password revealer and MySQL Admin feature, so is OK, but when you play with DNS be carefull.
Anyway I just like to prevent people, things are not so dark as I describe, but better be carefull and all is ok.
NightStorm
7th December 2004, 03:54 PM
Working well so far. I'm impressed... just one little thing (well, two).
1: Where do I look to change the text sent out on the password reminders? Right now it's referencing someone else's webhosting site, and has absolutely no reference to my site at all. I'd like to adjust that so that the people know where the message is actually coming from.
2: When you select the client name from the password reminder dropdown (not the domain dropdown), if the user has more than one domain, then the MAILBOX listings get a bit mixed up... boxes that do not belong to a certain domain will get listed as being from it anyway.
Other than that, very well done.
AcornWebs
7th December 2004, 07:31 PM
I'm getting a blank page when I click on the Power Toys link on the left nav.
Jason Lee
7th December 2004, 08:31 PM
Originally posted by AcornWebs
I'm getting a blank page when I click on the Power Toys link on the left nav.
Same Here
lvalics
8th December 2004, 12:59 AM
Is there a way to get from error_log and from access_log the message when you click on the icon in the menu?
If yes, please sent to webmaster@grafxsoftware.com
Thank you.
AcornWebs
8th December 2004, 10:53 AM
Not seeing any errors in the error log on this. In the access log I see it accessing /psapt3/index.php, which is the following:
<?php
include_once("config.inc.php");
include_once(LANGUAGE_PATH.$LANG.".inc.php");
include_once(INCLUDE_PATH."connection.php");
include_once(INCLUDE_PATH."connection.php");
include_once(INCLUDE_PATH."cls_fast_template.php");
include_once(INCLUDE_PATH."cls_string.php");
$stringutil = new String("s");
$all_url_vars = array();
$all_url_vars = $stringutil->parse_all();
$ft = new FastTemplate(TEMPLATE_PATH);
$ft->define(array("main"=>"template_index.html", "content"=>"template_main.html"));
$ft->multiple_assign_define("LANG_");
$ft->parse(BODY, array("content","main"));
$ft->showDebugInfo(ERROR_DEBUG);
$ft->FastPrint();
?>
Hope that helps.
Jason Lee
8th December 2004, 11:27 AM
Same here... no errors just a blank page showing up.
lvalics
8th December 2004, 11:37 AM
By default to write in error log is not enabled.
To enable, you can edit /usr/local/psa/admin/conf/httpsd.conf and lok for
LogFormat "%{User-agent}i" ssl
after this add ...
<IfModule mod_php4.c>
php_flag log_errors on
php_value error_log "/usr/local/psa/admin/logs/httpsd_error_log"
</IfModule>
Restart PSA, now you will see in /usr/local/psa/admin/logs/httpsd_error_log some lines what can help us to know why is get blank page.
Also help us to tell what kind of PLESK you use, OS ...
We tested in Plesk 7.1.x and with Fedora.
Jason Lee
8th December 2004, 11:45 AM
I've emailed the errors to webmaster@grafxsoftware.com
lvalics
8th December 2004, 11:47 AM
Thanx, I see what is the problem.
We will fix it.
Seems that we missed some PHP default settings.
NightStorm
10th December 2004, 04:59 AM
Is there any plan to update this plugin for PSA 7.5 Reloaded?
lvalics
10th December 2004, 05:01 AM
Today we will post an update ...
NightStorm
10th December 2004, 05:04 AM
WOOHOO! Cause there's all kinds of hurt code if you have it installed on 7.1.6, and update to 7.5 then try to view.
But it's an awesome script, so I'm missing it already.
lvalics
10th December 2004, 05:07 AM
Cause there's all kinds of hurt code if you have it installed on 7.1.6, and update to 7.5 then try to view
Explain please.
NightStorm
10th December 2004, 05:10 AM
Essentially, the entire script tosses up errors if you try to run it on 7.5 right now.
Hang on, I'll reinstall and grab the errors.
Notice: Undefined variable: db_user in /usr/local/psa/admin/htdocs/domains/databases/phpMyAdmin/config.inc.php on line 91
Notice: Undefined variable: db_pass in /usr/local/psa/admin/htdocs/domains/databases/phpMyAdmin/config.inc.php on line 92
Notice: Undefined variable: db_name in /usr/local/psa/admin/htdocs/domains/databases/phpMyAdmin/config.inc.php on line 94
Notice: Use of undefined constant LANGUAGE_PATH - assumed 'LANGUAGE_PATH' in /usr/local/psa/admin/htdocs/psapt3/index.php on line 3
Notice: Undefined variable: LANG in /usr/local/psa/admin/htdocs/psapt3/index.php on line 3
Warning: main(LANGUAGE_PATH.inc.php): failed to open stream: No such file or directory in /usr/local/psa/admin/htdocs/psapt3/index.php on line 3
Warning: main(): Failed opening 'LANGUAGE_PATH.inc.php' for inclusion (include_path='/usr/local/psa/admin/plib:/usr/local/psa/admin/javascripts:/usr/local/psa/admin/plib/locales:/usr/local/psa/admin/auto_prepend:/usr/local/psa/admin/htdocs/domains/databases/phpMyAdmin:/usr/local/psa/admin/htdocs/domains/databases/phpPgAdmin') in /usr/local/psa/admin/htdocs/psapt3/index.php on line 3
Notice: Use of undefined constant INCLUDE_PATH - assumed 'INCLUDE_PATH' in /usr/local/psa/admin/htdocs/psapt3/index.php on line 4
Warning: main(INCLUDE_PATHconnection.php): failed to open stream: No such file or directory in /usr/local/psa/admin/htdocs/psapt3/index.php on line 4
Warning: main(): Failed opening 'INCLUDE_PATHconnection.php' for inclusion (include_path='/usr/local/psa/admin/plib:/usr/local/psa/admin/javascripts:/usr/local/psa/admin/plib/locales:/usr/local/psa/admin/auto_prepend:/usr/local/psa/admin/htdocs/domains/databases/phpMyAdmin:/usr/local/psa/admin/htdocs/domains/databases/phpPgAdmin') in /usr/local/psa/admin/htdocs/psapt3/index.php on line 4
Notice: Use of undefined constant INCLUDE_PATH - assumed 'INCLUDE_PATH' in /usr/local/psa/admin/htdocs/psapt3/index.php on line 5
Warning: main(INCLUDE_PATHconnection.php): failed to open stream: No such file or directory in /usr/local/psa/admin/htdocs/psapt3/index.php on line 5
Warning: main(): Failed opening 'INCLUDE_PATHconnection.php' for inclusion (include_path='/usr/local/psa/admin/plib:/usr/local/psa/admin/javascripts:/usr/local/psa/admin/plib/locales:/usr/local/psa/admin/auto_prepend:/usr/local/psa/admin/htdocs/domains/databases/phpMyAdmin:/usr/local/psa/admin/htdocs/domains/databases/phpPgAdmin') in /usr/local/psa/admin/htdocs/psapt3/index.php on line 5
Notice: Use of undefined constant INCLUDE_PATH - assumed 'INCLUDE_PATH' in /usr/local/psa/admin/htdocs/psapt3/index.php on line 6
Warning: main(INCLUDE_PATHcls_fast_template.php): failed to open stream: No such file or directory in /usr/local/psa/admin/htdocs/psapt3/index.php on line 6
Warning: main(): Failed opening 'INCLUDE_PATHcls_fast_template.php' for inclusion (include_path='/usr/local/psa/admin/plib:/usr/local/psa/admin/javascripts:/usr/local/psa/admin/plib/locales:/usr/local/psa/admin/auto_prepend:/usr/local/psa/admin/htdocs/domains/databases/phpMyAdmin:/usr/local/psa/admin/htdocs/domains/databases/phpPgAdmin') in /usr/local/psa/admin/htdocs/psapt3/index.php on line 6
Notice: Use of undefined constant INCLUDE_PATH - assumed 'INCLUDE_PATH' in /usr/local/psa/admin/htdocs/psapt3/index.php on line 7
Warning: main(INCLUDE_PATHcls_string.php): failed to open stream: No such file or directory in /usr/local/psa/admin/htdocs/psapt3/index.php on line 7
Warning: main(): Failed opening 'INCLUDE_PATHcls_string.php' for inclusion (include_path='/usr/local/psa/admin/plib:/usr/local/psa/admin/javascripts:/usr/local/psa/admin/plib/locales:/usr/local/psa/admin/auto_prepend:/usr/local/psa/admin/htdocs/domains/databases/phpMyAdmin:/usr/local/psa/admin/htdocs/domains/databases/phpPgAdmin') in /usr/local/psa/admin/htdocs/psapt3/index.php on line 7
Fatal error: Cannot instantiate non-existent class: string in /usr/local/psa/admin/htdocs/psapt3/index.php on line 9
lvalics
10th December 2004, 05:18 AM
include_once("config.inc.php");
to
include_once("./config.inc.php");
This is the problem. Is strange why is getting that file from nowwhere.
We will release today a fix for this.
NightStorm
10th December 2004, 05:31 AM
That did it. Awesome!
lvalics
10th December 2004, 10:00 AM
http://www.grafxsoftware.com/util/installer.sh for installer and http://www.grafxsoftware.com/util/upgrade.sh for who already installed PSAPT3.
NightStorm
10th December 2004, 05:40 PM
I think I found some bugs. Using the updated version....
When sending passwords for a client to his/her mail (not domain, but client), if they have more than one domain, only one of them is actually sent.. for some reason now, the other domains are skipped.
Also, the mailbox listing on Client dropdown is somewhat messed up... the same mailboxes will display several times for different domains (like mailboxes for x.com will also display in y.com and z.com).
lvalics
11th December 2004, 03:13 AM
Yes, when sending mail, there is an error.
We will fix that.
ClayCulver
11th December 2004, 02:53 PM
Will this run on FreeBSD or only on Linux distrobutions?
lvalics
11th December 2004, 03:16 PM
Teoretically yes, now I don't know if path is the same on FreeBSD as on Redhard, /usr/local/psa/
ClayCulver
11th December 2004, 05:36 PM
Originally posted by lvalics
Teoretically yes, now I don't know if path is the same on FreeBSD as on Redhard, /usr/local/psa/
Yes the path is the same. Now does this integrate right with the application vault? Your screen shot on your website shows nothing other than fuzzy icons and not much else.
NightStorm
11th December 2004, 06:18 PM
It has nothing to do with the Application Vault. it's a "Custom Button", that shows on the left control panel, and loads into a page.
lvalics
12th December 2004, 02:38 AM
Is not an application vault.
Also you will not find anything on our webpage, we support this program only here, at least for the moment.
You can try to install it, it cannot break anything and let us know if work.
ClayCulver
12th December 2004, 01:10 PM
I have a few more questions.
1. Are the applications able to be turned on and off (something similar to the free/commercial option in the Application Vault)?
2. How does it uninstall?
lvalics
12th December 2004, 01:19 PM
This is not like applications.
Usually Power Toys are a few utilities, tools, functions (cal as yo want) who do some additional feature for mother applications. Like is Power Toys for Windows.
PT3 is help you to:
- Find passwords for your clients and if needed to send to them.
- change some DNS settings
- change some Notifications subject lines
- add Remote MySQL possibilities
- see if all domains are UP
That's all, everything is in database, but majority of Admins don't know how to read in database and this Toys help them to see more clear the server.
Uninstall for the moment is not avaible, will be soon.
ClayCulver
12th December 2004, 01:28 PM
I am getting your program mixed up with someone elses! My bad.
NightStorm
12th December 2004, 03:08 PM
Actually, Uninstal is available. When you go into "Custom Buttons" in the Server section of Plesk, you have the option to remove any custom button that you add in.
lvalics
12th December 2004, 03:26 PM
Will remove from database the line, but the folder will still remain there :-)
Is not count too much, but it can be considered a small mess.
I did not hear any wishes for next release.
Tomorrow we will update this version with that mail bugs problem.
AcornWebs
15th December 2004, 10:58 PM
Hey, I just did the upgrade and it now loads a page, but when I click on something, nothing happens... any ideas?
lvalics
16th December 2004, 12:54 AM
Nothing happen? Strange :-(
Which browser do you use?
AcornWebs
16th December 2004, 01:39 AM
FireFox 1.0
lvalics
16th December 2004, 01:42 AM
I just did tried and work fine.
Can you try if in other browser do the same?
If yes, can you try to install again over, but use upgrade, to not write into database again the informations.
NightStorm
16th December 2004, 01:47 AM
Sorry to cut in here, you two... but has the script been updated for 7.5 yet?
AcornWebs
16th December 2004, 01:48 AM
in Internet explorer I get a javascript error, line 55 in the index.php in psapt3 folder.
Also, nothing happens still when I click. Also tried it on severial pcs. I have used the upgrade script, no luck still.
lvalics
18th December 2004, 04:57 PM
Version 3.1 is on the site, http://www.grafxsoftware.com/util/installer.sh
Upgrade from http://www.grafxsoftware.com/util/upgrade.sh
CHANGE LOG:
- Several bugs fixed in mail sending in "Password Revealer"
- Settings added in Password revealer, for editing mail template.
- Fixed some rights on files, after install/upgrade
We can say now that is compatible with PLESK 7.5, so I will post there also a message in a new thread.
AcornWebs
18th December 2004, 10:01 PM
No luck still after upgrade. Anything I click on the power toys page doesnt' do anything..
lvalics
19th December 2004, 02:36 AM
Unfortunatelly until I not see a LOG message, I cannot even guess why not work.
Can you offer some messages from error_log?
NightStorm
19th December 2004, 03:24 AM
I'm getting script errors...
line 21 and 27 (Object expected)
Also, in the password reminder template, [DOMAIN] is coming across as the clients name, and not the (or any) domain.
lvalics
19th December 2004, 03:43 AM
Can you figure out what can that JS error means?
Also {DOMAIN} and not [DOMAIN], but this depend on which is selected, if client then will be client name, if user, then domain name, because a lot of people forget to add user details.
Also is annoying that on creating new domains in PLESK 7, the last step is not to let user access to control panel and fill up details. In this way, is hard to find and can be forgot to fill it up.
Triloxigen
19th December 2004, 05:46 PM
A nice feature would be the changing of the domain reseller owner.
This info is also in the database..
Table: domains
Cell: cl_id (it is the client id)
:)
midibach
21st December 2004, 08:16 PM
I'm getting JavaScript errors as well. Both on Mozilla and on IE on two different computers here.
When I click on "Password revealer", I get a JS error:
Object Expected, Line 55, Char 1.
Here's line 55 in the page source:
<div class="commonButton" id="gfx-email-subject-changer" title="Email Subject Changer" onMouseOver="mouse_move('Email Subject Changer. Usefull if you want to change some of mail subjects, sent out by PLESK.');" onMouseOut="mouse_move();" onClick="return go_to('email_subject_changer.php');; return false;" name="gfx-email-subject-changer">
lvalics
22nd December 2004, 01:26 AM
In local release this is fixed, will be online in a short period.
Is not about that line, is about index.html which contain some JS scripts, what we considered needed for PLESK 7.0, and there we did not saw error, but in PLESK 7.5 give error.
You can edit programtelmplates/template_index.html and get out onLoad and onUnLoad.
Also in PLESK 7.5 we observed that not work correct some setings in Password Reveal, especially Database.
We are working on it today to see what was modified.
lvalics
26th December 2004, 04:49 PM
Power Toys 3.2 was posted. URL is the same.
Please keep it for backup 3.1 or 3.0 installer, if you are on PLESK 7.1.x because it was changed Database in 7.5 so we tried to keep compatibility on 3.2 but we cannot test it because we upgradd all servers to 7.5.x. So if not work this version in 7.1.x replace old files from 3.1 or 3.0 upgrade. If you don't have it, mail to us for link.
What is new
- fixed javascript bug
- fixed in PLESK 7.5 database showing in password reveal
- other cosmetics was made
- WHOIS was added.
JLChafardet
2nd January 2005, 06:11 PM
Originally posted by lvalics
http://www.grafxsoftware.com/util/installer.sh for installer and http://www.grafxsoftware.com/util/upgrade.sh for who already installed PSAPT3.
what about an uninstall.sh? i was able to delete the custom button, but cant seem that i deleted the whole thingy.
lvalics
3rd January 2005, 02:12 AM
Uninstall will come in next release inside the software itself.
If you have deleted from DB, then you need to delete /usr/local/psa/admin/htdocs/psapt3 directory. That's all ...
Why you uninstalled, is not help you?
Pagemakers
22nd January 2005, 06:56 PM
When installing can I select which modules I want to install or do I have to install everything?
When will the next update be available with built in uninstall?
lvalics
23rd January 2005, 01:42 AM
No, you cannot selet what to install, this is more .sh programming and we are not best in that, if someone can help on this, then is OK or to make it RPM.
What will be in the next release, somewhere in next week.
- uninstall - from PLESK panel, will simply delete fromMySQL the button line and files from the server.
- whois more advanced, to search multiple domains like enter domain to search and will search in .com,.net, .info etc and return hich is avaible and which is not and will give whois on all if you want.
- newsletter sending to users (customers). This is a need module, I'm sick of export all the time from DB all mails and send mails when I have prolem. So we will add newsletter modul, you can send to all domain owners a mail (not to all mail users or not yet). The big advantage will be that if you have larger database like over 100 or 300 customers, mails will be sended with a refresh method in this way PHP will not die ater a time.
This will be in the next release for 3.3 ...
in the TODO:
- change client from one customer to another
- add an alias to a domain (parked domain)
- several other free modules (server usefull things) what we saw as GPL license and can be intereting to see it. FOr example a possibilities to read what spamassin module worked last week, statistics or some server details etc.
- a way to show Power Toys to customers as well with password revealer for own domain and whois.
- other things are in mind,but not yet in TODO.
lvalics
27th January 2005, 12:47 PM
For those who want to upgrade to 3.3, and also have Plesk 7.5.x, was posted new PowerToys. (more on earlier releases in signature)
Whois: Added a possibility to look for more domains in the same time.
Newsletter: This is a new features, will let PLESK Admin to send mails to all or selected clients (resellers) or to all domain owners, based on clients filter. This is very helpfull to comunicate with your clients or domain owners, for example if you have an upgrade or downtime etc. Any comments here are welcome.
Download:
http://www.grafxsoftware.com/util/upgrade.sh
http://www.grafxsoftware.com/util/installer.sh
saschahb
5th July 2005, 10:41 AM
Just installed PowerToys within my Plesk 7.53... it's a great tool!
What about adding IPv6 support for DNS records? (AAAA record type)
And also a creation of ipv6 vhosts (for existing domains) would be great...
Thx
Sascha
lvalics
5th July 2005, 12:31 PM
for the moment we do not rely on DNS too much, PLESK is doing some job on it.
we try to cover some wholes what will not be covered by PLESK team.
Pagemakers
6th August 2005, 02:27 PM
I would love just to have password revealer ans none of the other apps.
I guess that can't be done?
lvalics
6th August 2005, 03:15 PM
Then ignore the rest oif the icons :-)
Or edit templates files and get out icons.
vBulletin® v3.6.12, Copyright ©2000-2008, Jelsoft Enterprises Ltd.