------------------------------------------------------------------------------------------------
(C)2008 - prosign.HM - http://www.prosign.hm
Plesk Application Wizard

History:

0.5        (03.03.2008) - First public release
0.5.1      (03.03.2008) - Bugfix editing and deleting packages
0.7        (05.03.2008) - APSStandard.com SAAS particiular added.
0.8        (31.03.2008) - APSStandard.com package list fix.
0.9        (09.06.2008) - APSStandard.com package format update
0.9.6      (18.02.2009) - APSStandard.com package format update 
                          visual update of APS-packages.
0.9.8      (16.07.2009) - Fix for Plesk 9 header view and App-install.
                          Info of size before installing app from APSStandard.com
------------------------------------------------------------------------------------------------


Install Instructions:

1)
-Change into you Plesk Admin htdocs directory (e.g. /opt/psa/admin/htdocs)
-Make a directory for the Plesk Application Wizard (e.g. "mkdir appwizard")
-Set chown of the directory you made above to root:psaadm ("chown root:psaadm appwizard") 
-Set chmod of the directory you made above to 755 ("chmod 755 appwizard")
-Extract all files of the ZIP into that directory
-Set chown of all files to root:psaadm ("chown -R root:psaadm *")
-Set chown of the file "wrapper" to root:root ("chown -R root:root wrapper") [on freebsd to root:wheel]
-Set chmod of "wizardwriter.sh" to 755 ("chmod 755 wizardwriter.sh")
-Set chmod of "wrapper" to 4755 ("chmod 4755 wrapper") (Very imoportant!! 4755)
-Set chmod of "appdata.txt" and the directories "apps saasdata" to 777 ("chmod 777 *.txt apps/ saasdata/")

============================================================================================================
IMPORTANT IF THE APW DON'T WORK ON PLESK 8.x (WHITE SCREEN), SET ALL FILES EXEPT THE "wrapper" TO CHMOD 755
INCLUDING THE LANG DIRECTORY!!!
============================================================================================================

-make your settings in file config.inc.php

2)
-Login to your Plesk as admin
-Make a new Custom Button with the following settings:

Button label: Just choose a name ;-)
Location: Domain administration page
Priority: 100
Background image: choose the logo.gif of the ZIP
URL: your directory you made above an the index file (e.g. "/appwizard/index.php")
Include domain id: yes
Include domain name: yes
Include FTP Login: no
Include FTP password: no
Include client id: yes
Include client's company name: no
Include client's contact name: no
Include client's e-mail: no
Context help tip contents: whatever you want
Open URL in the Control Panel: yes
Visible to all sub-logins: yes (if your clients are allowed to manager their applications)


If you want a seperate Admin-Link in the navigationmenu  just do this:
-Create another Custom Button with the follwing settings:
Button label: App Wizard Admin
Location: navigationmenu
Priority: 100
Background image: choose the logo.gif of the ZIP
URL: your directory you made above an the index file (e.g. "/appwizard/index.php?admin=do&onlyadm=1")
Include domain id: NO
Include domain name: NO
Include FTP Login: NO
Include FTP password: NO
Include client id: NO
Include client's company name: NO
Include client's contact name: NO
Include client's e-mail: NO
Context help tip contents: whatever you want
Open URL in the Control Panel: YES
Visible to all sub-logins: NO (if your clients are allowed to manager their applications)


IF YOU'RE USING THE ADDONS WITH PLESK 10.x A SPECIAL CONTROLLER IS NEEDED!
DOWNLOAD THE CONTROLLER AND INSTALL WITH THE INSTRUCTIONS FROM THE INSTALL.txt
Download -> http://haggybear.de/download/psa10_controller.zip 


Thats it!

Have Fun!

03.03.08 Haggy (ich@haggybear.de)

