AL8 Forum
   登錄註冊幫助


標題: [D4.0 & 4.1] AL8 首頁四格顯示 (2007.01.07 最後更新)
 y2kabchk
 0000965
Rank: 5Rank: 5Rank: 5Rank: 5Rank: 5
點擊查看 y2kabchk 的詳細資料

頭銜: King

帖子: 796

精華: 0

積分: 9779 點

現金: 2167 元

存款: 3614 元

閱讀權限: 30

註冊: 2004-3-28

狀態: 離線
 
發表於 2006-10-21 19:55  資料  個人空間  主頁 短消息  加為好友  添加 y2kabchk 為MSN好友 通過MSN和 y2kabchk 交談 ICQ 狀態
咩野叫fid




 AL8 Forum © All rights reserved.
頂部
 seahiuck
 0045290
Rank: 3Rank: 3Rank: 3
點擊查看 seahiuck 的詳細資料

頭銜: Conqueror

帖子: 174

精華: 0

積分: 2100 點

現金: 100 元

存款: 0 元

閱讀權限: 20

註冊: 2006-5-19

狀態: 離線
 
發表於 2006-10-27 18:41  資料  個人空間  短消息  加為好友 
Fatal error: Cannot redeclare arrayeval() (previously declared in /home/uthinkcome/domains/u-think.com/public_html/forum/include/cache.func.php:21) in /home/uthinkcome/domains/u-think.com/public_html/forum/include/cache.func.php on line 21




 AL8 Forum © All rights reserved.
頂部
 fpower
 0046783
Rank: 1

頭銜: Newbie

帖子: 7

精華: 0

積分: 110 點

現金: 100 元

存款: 0 元

閱讀權限: 10

註冊: 2006-6-18

狀態: 離線
 
發表於 2006-10-30 16:02  資料  個人空間  短消息  加為好友 
插完之後,,唔知點解有部分圖片不能顯示,,
而且圖片網址錯左..{例:本來 - http://...discuz/images/... , 之後變了http://...discuz4/images/...}
                                                       ↑file name                                  ↑第2個file name
唔止圖片,,連d link都係咁,,
點搞??係咪set錯左野??

[ 本帖最後由 fpower 於 2006-10-31 00:49 編輯 ]




 AL8 Forum © All rights reserved.
頂部
 mds
 0050909
Rank: 1

頭銜: Newbie

帖子: 2

精華: 0

積分: 20 點

現金: 100 元

存款: 0 元

閱讀權限: 10

註冊: 2006-8-27

狀態: 離線
 
發表於 2007-5-5 14:26  資料  個人空間  短消息  加為好友 
我改了index.php的
//-----------hack AL8 Info
require_once DISCUZ_ROOT.'./include/counter.inc.php';
require_once DISCUZ_ROOT.'./include/misc.func.php';
$mem_home = convertip($onlineip, $datadir = "./");
require_once DISCUZ_ROOT.'./forumdata/cache/cache_todayvisit.php';
$todayvisit=$_DCACHE['todayvisit']['0']['COUNT(*)'] ;
$hack_cut_str = 26;
$new_post_threadlist = array();
$nthread = array();
$colorarray = array('', 'red', 'orange', 'yellow', 'green', 'cyan', 'blue', 'purple', 'gray');
require_once './forumdata/cache/cache_newtopic.php';
foreach($_DCACHE['newtopic'] as $nthread) {
        $nthread['forumname'] = $nthread['name'];
        $nthread['view_subject'] = cutstr($nthread['subject'],$hack_cut_str);
        $nthread['subject'] = cutstr($nthread['subject'],46);
$nthread['date']= gmdate("$dateformat $timeformat", $nthread['dateline'] + $timeoffset * 3600);
        $nthread['lastreplytime']= gmdate("$dateformat $timeformat", $nthread[lastpost] + ($timeoffset * 3600));
if($nthread['highlight']) {
        $string = sprintf('%02d', $nthread['highlight']);
        $stylestr = sprintf('%03b', $string[0]);
        $nthread['highlight'] = 'style="';
        $nthread['highlight'] .= $stylestr[0] ? 'font-weight: bold;' : '';
        $nthread['highlight'] .= $stylestr[1] ? 'font-style: italic;' : '';
        $nthread['highlight'] .= $stylestr[2] ? 'text-decoration: underline;' : '';
        $nthread['highlight'] .= $string[1] ? 'color: '.$colorarray[$string[1]] : '';
        $nthread['highlight'] .= '"';
    } else {
        $nthread['highlight'] = '';
    }
        $new_post_threadlist[] = $nthread;
}
        unset($_DCACHE['newtopic']);


$hack_cut_str = 26;
$new_reply_threadlist = array();
$rthread = array();
$colorarray = array('', 'red', 'orange', 'yellow', 'green', 'cyan', 'blue', 'purple', 'gray');

require_once './forumdata/cache/cache_newreply.php';
foreach($_DCACHE['newreply'] as $rthread) {
        $rthread['forumname'] = $rthread['name'];
        $rthread['view_subject'] = cutstr($rthread['subject'],$hack_cut_str);
        $rthread['subject'] = cutstr($rthread['subject'],46);
$rthread['date']= gmdate("$dateformat $timeformat", $rthread['dateline'] + $timeoffset * 3600);
        $rthread['lastreplytime']= gmdate("$dateformat $timeformat", $rthread[lastpost] + ($timeoffset * 3600));
if($rthread['highlight']) {
        $string = sprintf('%02d', $rthread['highlight']);
        $stylestr = sprintf('%03b', $string[0]);
        $rthread['highlight'] = 'style="';
        $rthread['highlight'] .= $stylestr[0] ? 'font-weight: bold;' : '';
        $rthread['highlight'] .= $stylestr[1] ? 'font-style: italic;' : '';
        $rthread['highlight'] .= $stylestr[2] ? 'text-decoration: underline;' : '';
        $rthread['highlight'] .= $string[1] ? 'color: '.$colorarray[$string[1]] : '';
        $rthread['highlight'] .= '"';
    } else {
        $rthread['highlight'] = '';
    }
        $new_reply_threadlist[] = $rthread;
}
        unset($_DCACHE['newreply']);
//-----------hack AL8 Info End

之後,
就會出現錯誤

而且

更新緩存也不能用了,怎麼辦?




 AL8 Forum © All rights reserved.
頂部
 Purple_Sea
 0083238
Rank: 2Rank: 2
點擊查看 Purple_Sea 的詳細資料

頭銜: Member

帖子: 90

精華: 0

積分: 1000 點

現金: -50 元

存款: 0 元

閱讀權限: 15

註冊: 2007-7-31

狀態: 離線
 
發表於 2007-8-28 12:41  資料  個人空間  短消息  加為好友 
想請教各位大大,以下問題應點解決?
來自:- 未知地區




 AL8 Forum © All rights reserved.
頂部
 patrickho
 0044259
Rank: 6Rank: 6Rank: 6Rank: 6Rank: 6Rank: 6

頭銜: Forum Legend

自述: 特派潛水員

帖子: 1965

精華: 0

積分: 160 點

現金: 0 元

存款: 9417 元

閱讀權限: 70

註冊: 2006-4-29

狀態: 離線
 
發表於 2007-8-28 12:43  資料  個人空間  主頁 短消息  加為好友  添加 patrickho 為MSN好友 通過MSN和 patrickho 交談
回覆 #545 Purple_Sea 的帖子

ipdata問題
與本貼無關




 AL8 Forum © All rights reserved.
頂部
 patrickho
 0044259
Rank: 6Rank: 6Rank: 6Rank: 6Rank: 6Rank: 6

頭銜: Forum Legend

自述: 特派潛水員

帖子: 1965

精華: 0

積分: 160 點

現金: 0 元

存款: 9417 元

閱讀權限: 70

註冊: 2006-4-29

狀態: 離線
 
發表於 2007-8-28 12:44  資料  個人空間  主頁 短消息  加為好友  添加 patrickho 為MSN好友 通過MSN和 patrickho 交談
回覆 #541 y2kabchk 的帖子

論壇的編號
頭銜: King




 AL8 Forum © All rights reserved.
頂部
 Purple_Sea
 0083238
Rank: 2Rank: 2
點擊查看 Purple_Sea 的詳細資料

頭銜: Member

帖子: 90

精華: 0

積分: 1000 點

現金: -50 元

存款: 0 元

閱讀權限: 15

註冊: 2007-7-31

狀態: 離線
 
發表於 2007-8-28 19:33  資料  個人空間  短消息  加為好友 
QUOTE:
原帖由 patrickho 於 2007-8-28 12:43 發表
ipdata問題
與本貼無關


sorry, post 錯區, anyway thanks!




 AL8 Forum © All rights reserved.
頂部
 頑皮阿
 0049463
Rank: 1

頭銜: Newbie

帖子: 31

精華: 0

積分: 370 點

現金: 10 元

存款: 80 元

閱讀權限: 10

註冊: 2006-8-7

狀態: 離線
 
發表於 2008-4-28 19:49  資料  個人空間  短消息  加為好友 
完成首頁4格.試了發新文章一下.看首頁四格裡的第3格
最新發表文章有無新增文章出現.結果都沒有
但首頁模板裡有出現新的文章.但四格裡都沒新增出來
請問是哪裡出錯了呢
拜託指導  謝謝




 AL8 Forum © All rights reserved.
頂部
聯繫我們 - AL8 Forum - 網頁空間由 I-SERVICES 提供 - Archiver - WAP
清除 Cookies, 當前時區 GMT+8, 現在時間是 2008-11-23 07:02
Processed in 0.059358 second(s), 7 queries , Gzip enabled
Powered by Discuz! 5.5.0  © 2001-2007 Comsenz Inc.