epi_san
Super Active Member
- Messages
- 5,370
- Joined
- Aug 28, 2007
- Messages
- 5,370
- Reaction score
- 26
- Points
- 70
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;
cam ne nak install kat wordpress eh ??
setahu aku wordpress xde html kot...
bantu please....~X(~X(