August 28, 2008

Installing the ShoutBox for Pro Flash Template #1

Installation is quite simple, first you download the zip file from here. Then extract to the directory containing the template, the default extraction will create a separate directory called ShoutBox, so it would look like this(TemplateDirectory/ShoutBox/) after installation, simply copy the files back a directory if you do not wish to have them in a new directory.

Next you need to make changes to the ProFlash1Init.txt file, all you need to do is find an Add-On Variable which does not contain any text, such as &Extra4=& and replace with &Extra4=ShoutBox/ShoutBox.swf& If the file is in the main directory then it would show &Extra4=ShoutBox.swf&

Then add these variables, you can copy and paste directly if you wish:

&ShoutBoxFile=ShoutBox/ShoutBoxUpdate.php&
&ShoutBoxText=ShoutBox.txt&
&ShoutBoxFontSize=10&

ShoutBoxUpdate.php contains the script needed to update the text in the ShoutBox.txt file. Again this variable needs to point directly to the file, currently shown as being in the new directory SHoutBox.

ShoutBoxText variable should have the name of the text file which will contain the text but as long as the file is in the same directory as ShoutBoxUpdate.php, do not put the directory name in this variable, it will not work properly.

The recommended file size for the text is from 10-12, it's defaulted at 10.

Uploading and changing permissions

Next you will need to upload the files to your webspace, after doing so you will need to change the permissions for the ShoutBox.txt file, which is recommended to be 666. If you do not know how to change permissions to a file see your documentation for whichever program you're using. IF you are using Windows XP you can login via FTP to your server by typing your domain in the address field, which will bring up the login dialog box:

Enter your login information, then browse to the directory you uploaded the files to, right click the ShoutBox.txt file and then click Properties. You will get the Properties dialog box shown below. Read and Write are allowed for each category.

This should be everything, the ShoutBox should work now as long as your server supports PHP.