i need to add shout box to my site i got code from
http://www.flashdevs.com/shout_box/features/
i made mysql database also but others very complicated
i dont have php knowledge
this is instalation help
Installation:
STEP 1: Install server side scripts to your server
1. Copy server and js folders to the web server where you are going to install shoutbox;
2. Execute dump.sql script in your database admin panel in order to create necessary databases for shoutbox;
3. Change login and password in server/php/settings.php file for accessing to your database.
Open this file and find the code:
define('CONFIG_SQL_DBUSER', login);
define('CONFIG_SQL_DBPASSWORD', password);
In the code:
login (String, required) specifies login to your database;
password (String, required) specifies password to your database;
STEP 2: Include the SWFObject JavaScript library in the head of your HTML page
<head>
<title>Your Page Title</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src=swjobjectUrl></script>
</head>
In the code:
swjobjectUrl (String, required) specifies the URL of swfobject.js file.
STEP 3: Shoutbox is embedded in HTML page using SWFObject with the following code:
<script type="text/javascript">
swfobject.embedSWF(swfURL, id, width, height, version, bgColor);
so.addVariable("serverURL", serverURL);
so.addVariable("refreshTime", refreshTime);
so.write("id");
</script>
In the code:
swfUrl (String, required) specifies the URL of shoutbox SWF file;
id (String, required) specifies the id of the HTML element (containing your alternative content) you would like to have replaced by shoutbox;
width (String, required) specifies width in pixels of shoutbox;
height (String, required) specifies height in pixels of shoutbox;
version (String, required) specifies the Flash player version your SWF is published for (format is: "major.minor.release");
bgColor (String, required) specifies HEX color of shoutbox background;
serverURL parameter – relative to path to shoutbox.php server file;
refreshTime specifies time in seconds for refreshing shoutbox;
Edit:
3. Change login and password in server/php/settings.php file for accessing to your database.
Open this file and find the code:
define('CONFIG_SQL_DBUSER', login);
define('CONFIG_SQL_DBPASSWORD', password);
In the code:
login (String, required) specifies login to your database; (what is string,required ? )
password (String, required) specifies password to your database;
I chage that
define('CONFIG_SQL_DBUSER', database user name);
define('CONFIG_SQL_DBPASSWORD', password database password);
STEP 2: Include the SWFObject JavaScript library in the head of your HTML page
<head>
<title>Your Page Title</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src=swjobjectUrl></script>
</head>
In the code:
swjobjectUrl (String, required) specifies the URL of swfobject.js file.
I change this
create new html file
<script src="shoutbox/js/swfobject.js" type="text/javascript"></script>
STEP 3: Shoutbox is embedded in HTML page using SWFObject with the following code:
<script type="text/javascript">
swfobject.embedSWF(swfURL, id, width, height, version, bgColor);
so.addVariable("serverURL", serverURL);
so.addVariable("refreshTime", refreshTime);
so.write("id");
</script>
Ichange this
<script type="text/javascript">
swfobject.embedSWF("shoutbox/shoutbox.swf");
width=300
height=500
bgcolor='#FF5400'
so.addVariable("shoutbox/server/php/shoutbox.php");
so.addVariable("2");
so.write("id");
</script>
but my shout box not working
pls help me
thank you