CariDotMy

 Forgot password?
 Register

ADVERTISEMENT

Author: polaris_girlz

Terjemahkan CSS ni tuk aku..plsss

[Copy link]
Post time 29-3-2008 12:33 PM | Show all posts

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

Use magic Report


ADVERTISEMENT


 Author| Post time 29-3-2008 08:35 PM | Show all posts
Parse error: syntax error, unexpected '<' in /home/pola/domains/dheartyizan.org/public_html/forum/index.php on line 82


dah tukau ke line 82 lak




Cop....

Originally posted by 0001 at 28-3-2008 11:36 PM
Codes atas tu tak diletakkan dalam css template. Kalau tak silap aku, letak dalam index.php. Also tengok kalau ada 'includes' kat dalam tu... kalau tempat ko nak tepek chat tu dari an 'included' file, then code utk placement chat tu kena letak dalam file tersebut.

AJAX_CHAT_URL = full address chat tu... "http://www.polaris_girlz.com/....."


AJAX_CHAT_URL = full address chat tu...

"http://polaris_girlz.com/....."

atau

"www.polaris_girlz.com/forum/chat....."

[ Last edited by  polaris_girlz at 29-3-2008 09:02 PM ]
Reply

Use magic Report

Post time 31-3-2008 07:56 PM | Show all posts

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

Use magic Report

 Author| Post time 31-3-2008 09:20 PM | Show all posts
Still got problem


Dload Here --> My Index.php
Reply

Use magic Report

Post time 31-3-2008 09:33 PM | Show all posts

Reply #104 polaris_girlz's post

Ada missing codes:

  1. }

  2. ?>
Copy the Code


Click sini to download fixed index.php.

Hopefully this will work. BTW, u letak URL link begini:

  1. 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

Use magic Report

 Author| Post time 31-3-2008 09:40 PM | Show all posts

Reply #105 0001's post

masalah sama gak la....

  1. 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
Reply

Use magic Report

Follow Us
 Author| Post time 31-3-2008 09:45 PM | Show all posts
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

Use magic Report

Post time 2-4-2008 08:09 PM | Show all posts

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

Use magic Report


ADVERTISEMENT


 Author| Post time 2-4-2008 09:22 PM | Show all posts

Reply #108 0001's post

ok xpe brooo   pelan2 kayuh...sambil2 tu sy cuba skit2 dl
Reply

Use magic Report

Post time 26-4-2008 02:46 AM | Show all posts
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

 

ADVERTISEMENT



 

ADVERTISEMENT


 


ADVERTISEMENT
Follow Us

ADVERTISEMENT


Mobile|Archiver|Mobile*default|About Us|CariDotMy

22-1-2025 03:53 PM GMT+8 , Processed in 0.255240 second(s), 20 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

Quick Reply To Top Return to the list