|
Reply #100 polaris_girlz's post
software tu takkan tunjuk error apa... kita yg kena tengok sendiri kalau ada error kat code tu... cuba ko tepek line #133 tu kat sini.
Aku nak kuar dah ni... nanti later aku masuk balik aku tengokkan. |
|
|
|
|
|
|
|
Reply #102 polaris_girlz's post
Sorry lambat sket reply... sibuk kerja sket.
Kalau URL kena ada 'http://' etc tu.
Kalau ko dah edit tu and still ada problem, cuba upload the entire php file tu supaya aku leh download and tengok kan. |
|
|
|
|
|
|
|
Reply #104 polaris_girlz's post
Ada missing codes:
Click sini to download fixed index.php.
Hopefully this will work. BTW, u letak URL link begini:
- http://dheartyizan.org/...
Copy the Code
yg "..." tu u nak 'hide' yr actual location ke? Kalau iye, then baik u betulkan tu before u test.
Good luck |
|
|
|
|
|
|
|
Reply #105 0001's post
masalah sama gak la....
- http://dheartyizan.org/...
Copy the Code
yg ni, u nyer cth soh buat camni...jadi kite ikut je lah
kalo nak betul kan, nak edit pe
yg missing code tu dah di perbetulkan ek?
adehhh....problem tang mana lagi ni ek |
|
|
|
|
|
|
|
ni struktur sbox yg sy wat dr mula2 pembelajaran...
sekdar nak refresh balik...kot2 ada yg Ter'miss ke
Sbox Step :-
Shoutbox:
=========
AJAX Chat is also usable as shoutbox - this is a short guide on how to set it up:
1. Shoutbox stylesheet
----------------------
Add the following line to the stylesheet (CSS) of all pages displaying the shoutbox:
@import url("http://example.org/path/to/chat/css/shoutbox.css";
Replace http://example.org/path/to/chat/ with the URL to the chat.
Modify css/shoutbox.css to your liking.
sy edit kat themes css sy (phpbb)
----> @import url("http://dheartyizan.org/forum/chat/css/shoutbox.css");
2. Shoutbox function
--------------------
Add the following function to your PHP code:
<?php
function getShoutBoxContent() {
// URL to the chat directory:
if(!defined('AJAX_CHAT_URL')) {
define('AJAX_CHAT_URL', './chat/');
}
// Path to the chat directory:
if(!defined('AJAX_CHAT_PATH')) {
define('AJAX_CHAT_PATH', realpath(dirname($_SERVER['SCRIPT_FILENAME']).'/chat').'/');
}
// Validate the path to the chat:
if(@is_file(AJAX_CHAT_PATH.'lib/classes.php')) {
// Include Class libraries:
require_once(AJAX_CHAT_PATH.'lib/classes.php');
// Initialize the shoutbox:
$ajaxChat = new CustomAJAXChatShoutBox();
// Parse and return the shoutbox template content:
return $ajaxChat->getShoutBoxContent();
}
return null;
}
?>
Make sure AJAX_CHAT_URL and AJAX_CHAT_PATH point to the chat directory.
AJAX_CHAT_URL = full address chat tu... "http://dheartyizan.org/....."
AJAX_CHAT_PATH = ../chat/
2. Shoutbox output
------------------
Display the shoutbox content using the shoutbox function:
<div style="width:200px;"><?php echo getShoutBoxContent(); ?></div>
code ni sy letak kat CSS Themes sy (phpbb)
sbox output tu, code dia cam code html je...
[ Last edited by polaris_girlz at 1-4-2008 06:19 PM ] |
|
|
|
|
|
|
|
Reply #107 polaris_girlz's post
Sorry, aku tengah sangkut ngan kerja sket... aku dah download file ko tu and will tolong editkan bila aku free sket. |
|
|
|
|
|
|
|
Reply #108 0001's post
ok xpe brooo pelan2 kayuh...sambil2 tu sy cuba skit2 dl |
|
|
|
|
|
|
| |
|