QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 603|回复: 1

关于 bbclone,有人使用过吗?

[复制链接]
发表于 2003-4-30 19:12:01 | 显示全部楼层 |阅读模式
原来是用webalizer来分析apache log,看了gugong的网站,发现原来用bbclone似乎很方便,于是就自己装了个,可是,安装完后,不能正常显示状态
http://reneliu.3322.org/log/bbcclone/show_global.php

目前怀疑是在安装过程中,没有按照install.txt上说的去作
7 - Include mark_page.php in the php page of your website where the
counter should be placed.

Example: append to the chosen file the following code :

    <?
    DEFINE ("_BBCLONE_DIR", "mybbclone/");
    DEFINE ("_NEW_COUNTER", _BBCLONE_DIR . "mark_page.php");

    if(file_exists(_NEW_COUNTER))
    {
    include (_NEW_COUNTER);
    }

    ?>



Notice that _BBCLONE_DIR is not only used for the beauty of this include.
This macro is useful for mark_page.php itself.
So, don't forget to define it.

Remark:
In case you have several marked page, you can name each page for the BBClone page statistics.
For that, add the line
define("_BBC_PAGE_NAME","My special page name");
before the mark_page.php including.

8 - The Test:
If all is well installed, the message
<!-- BBClone v x.xx OK -->
will be displayed in the html output source of all the php files where you have included mark_page.php.

If not, this message will be instead
<!-- BBClone v x.xx KO -->

这里不太明白。
我修改了mark_page.php但是依然没有用。
请问,是不是我在设置上出现问题?
希望gugong 可以贴一个安装过程出来。
 楼主| 发表于 2003-5-1 11:14:21 | 显示全部楼层
重新 看了一下,原来是要把
<?
DEFINE ("_BBCLONE_DIR", "mybbclone/");
DEFINE ("_NEW_COUNTER", _BBCLONE_DIR . "mark_page.php");

if(file_exists(_NEW_COUNTER))
{
include (_NEW_COUNTER);
}

?>
加入到chosen file里面,这样的话,是不是每个文件都要加呢?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-16 23:37 , Processed in 0.053560 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表