BTC USD 63,928.5 Gold USD 4,469.33
Time now: Jun 1, 12:00 AM

cam mane nak install script ni ??

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(
 
cam ne nak install kat wordpress eh ??
setahu aku wordpress xde html kot...
bantu please....~X(~X(

Ada, try ikut step ini

Memula buka ftp anda

blogAnda >> wp-content >> themes >> NamaThemeAnda >> header.php

Then masuk kan <script type="text/javascript" src=swjobjectUrl></script> antara <head> dgn </head>

Nak lagi senang, buka editor dalam admin wordpress tu, tp kena pastikan file tersebut writeble terlebih dahulu.

Hope membantu.
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<script type="text/javascript" src=url(shout/js/swfobject.js)></script>
<title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>

boleh begitu ???

*nek nye aku bleh tak perasan head kat header.. haha
 
hish.... xnak kuar gak lak flashnye....
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<script type="text/javascript" src=url(shout/js/swfobject.js)></script>
<title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>

boleh begitu ???

*nek nye aku bleh tak perasan head kat header.. haha

Betol dah tu.. :D:D:D
Cuma pastikan url src tu betul.. kat mane bro letak file tu, ikut url tu..
 
alamak.. xnak kuar gak la... knape ehh..
 
Cuba paste code dari head ke /head kat sini

Guna wrap html tu (icon <>) ya.. Ehe
 
dah malas sey nak buat...
bro tolong masokkan bleh ?? hehehehe
 
Back
Top
Log in Register