As of version 1.8.2 Andromeda works great in conjunction with PHP-Nuke, PostNuke, Myphpnuke, and phpWebSite.
Andromeda as a Module
Andromeda works as a module to PHP-Nuke and PostNuke as of version 1.8.2 (Myphpnuke and phpWebSite users should skip down to 'Add-on'). All you have to do is:
- Download the PHP version of Andromeda
- Rename the script to index.php and place it into a /modules/Andromeda/ folder. Please note that the folder containing Andromeda can have a different name.
- By default, Andromeda will look in that folder for media files.
- If you want to serve media files from elsewhere on your box, you'll also need to set up an andromedaPrefs.php file (see the prefs guide) and put it in the same folder.
a sample andromedaPrefs.php file for Windows:
<?php | | |
#mediaWebPath[tab] | /mp3s |
#mediaPhysicalPath[tab] | c:\inetpub\wwwroot\mp3s |
?> | | | |
Note: the leading # is required. It prevents your preferences from being read by a web browser.
a sample andromedaPrefs.php file for Unix:
<?php | | |
#mediaWebPath[tab] | /mp3s |
#mediaPhysicalPath[tab] | /root/docs/webroot/mp3s |
?> | | | |
Note: the leading # is required. It prevents your preferences from being read by a web browser.
- If the play button doesn't work, you might need to set the hostAddress preference (see the prefs guide) to something like: 172.16.0.4 or mp3.mysite.com or mp3.mysite.com:8080
- If you want to prevent standalone access, set the moduleOnly preference to true
- If you want to use Nuke's authentication, set the useExtLogon preference to true (make sure to also set moduleOnly to true)
- Unleash the power of Andromeda by upgrading to to Personal, Community, or Professional Edition.
Andromeda as an Add-on
Andromeda works as a Add-on to PHP-Nuke, PostNuke, Myphpnuke, and phpWebSite as of version 1.8.2. All you have to do is:
- Put the Andromeda script in the same folder as mainfile.php
- Create a prefs file with the following settings (see the prefs guide) and put it in the same folder.
a sample andromedaPrefs.php file:
<?php | | |
#coreInclude[tab] | mainfile.php |
#disableHTMLheaders[tab] | true |
#includeHeader[tab] | header.php |
#includeFooter[tab] | footer.php |
?> | | | |
Note: the leading # is required. It prevents your preferences from being read by a web browser.
- Optionally add mediaWebPath and mediaPhysicalPath as discussed above in the Module section
- If the play button doesn't work, you might need to set the hostAddress preference (see the prefs guide) to something like: 172.16.0.4 or mp3.mysite.com or mp3.mysite.com:8080
- If you want to use Nuke's/phpWebSite's authentication, set the useExtLogon preference to true
- Unleash the power of Andromeda by upgrading to to Personal, Small Business, or Enterprise Edition.
|