Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: comment問題  (Read 25215 times)

0 Members and 1 Guest are viewing this topic.

danRyan

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 35
comment問題
« on: May 24, 2005, 02:12:42 pm »

大家有否發現,在comment輸入繁體中文時,有時出來會變了(...)。似乎是某些中文字才會這樣,但是哪些中文字,有原因嗎?
Logged

CapriSkye

  • Moderator
  • Coppermine frequent poster
  • ****
  • Offline Offline
  • Posts: 126
    • 森林之原
Re: comment問題
« Reply #1 on: May 25, 2005, 12:39:09 am »

我記的好像是留言過長才會這樣, 可以改看看下面這些, 改大一點看還會不會出現 ....
留言的最大行數     
留言的最大長度
Logged

danRyan

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 35
Re: comment問題
« Reply #2 on: May 25, 2005, 06:25:00 am »

我的留言最大行數已是10,留這最大長數也已經是512,但我留10多20字的留言也變成(...)啊!
Logged

CapriSkye

  • Moderator
  • Coppermine frequent poster
  • ****
  • Offline Offline
  • Posts: 126
    • 森林之原
Re: comment問題
« Reply #3 on: May 25, 2005, 07:00:32 am »

網址給一下吧
Logged

danRyan

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 35
Re: comment問題
« Reply #4 on: May 31, 2005, 06:36:37 am »

我的cpg是http://www.yiklung.net/gallery ,你在任何一幅留言便可,謝謝你的幫忙啊!
Logged

CapriSkye

  • Moderator
  • Coppermine frequent poster
  • ****
  • Offline Offline
  • Posts: 126
    • 森林之原
Re: comment問題
« Reply #5 on: May 31, 2005, 08:48:17 am »

測了沒問題, 你的 last comments 裡面也沒有問題.
我輸入衝碼字也可以, 是不是因為你之前用big5編碼才會這樣?
如果是的話, 還是用utf-8會比較好, big5有很多問題.
Logged

danRyan

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 35
Re: comment問題
« Reply #6 on: May 31, 2005, 12:14:55 pm »

你試試打長的句子才會發生的,last comment沒有(...)是因為我用phpAdmin改好了。
我也有想過是編碼的問題,但我一直都用utf-8啊!
Logged

danRyan

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 35
Re: comment問題
« Reply #7 on: May 31, 2005, 06:30:16 pm »

我一直認為是某些字令留言變成(...),可能你的留言還不到這些字。看我最新的留言,只是把這幅相的description抄到留言便不行了。
Logged

CapriSkye

  • Moderator
  • Coppermine frequent poster
  • ****
  • Offline Offline
  • Posts: 126
    • 森林之原
Re: comment問題
« Reply #8 on: June 01, 2005, 07:24:55 am »

我也搞不清楚為什麼
通常是設定裡面的太短才會出現 ...
你可以試著改程式檔, 應該是沒什麼問題因為只是改成不用cpg裡面的變數而已.

打開 db_input.php 找:
Code: [Select]
    if (strlen($str) > $CONFIG['max_com_size']) $str = substr($str, 0, ($CONFIG['max_com_size'] -3)) . '...';
    $str = preg_replace($ercp, '(...)', $str);

把第一個 $CONFIG['max_com_size'] 改成你要的文字大小, 512應該夠了吧?
Logged

danRyan

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 35
Re: comment問題
« Reply #9 on: June 02, 2005, 04:59:02 am »

其實我在config中已改了512,但好像不行,讓我試試這個方法再告訴你,多謝你啊!
Logged

danRyan

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 35
Re: comment問題
« Reply #10 on: June 03, 2005, 05:48:00 am »

似乎還是不行,看看這個留言,被吃了一半......
http://www.yiklung.net/gallery/displayimage.php?album=lastcom&cat=-42&pos=0
Logged

danRyan

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 35
Re: comment問題
« Reply #11 on: June 04, 2005, 07:43:40 am »

Andrew你的留言可以看到啊!有時看到有時看不到,真奇怪!
Logged

danRyan

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 35
Re: comment問題
« Reply #12 on: June 15, 2005, 03:26:33 am »

問題仍在,想知道是否1.32的bug?應該向哪裏report?
Logged

CapriSkye

  • Moderator
  • Coppermine frequent poster
  • ****
  • Offline Offline
  • Posts: 126
    • 森林之原
Re: comment問題
« Reply #13 on: June 17, 2005, 07:57:40 pm »

如果說是1.32的bug, 不如說是中文的問題.
官方應該是不會花時間解決只有中文才有的問題吧.
很抱歉幫不上忙, 如果我上面說的沒辦法解決, 就真的不知道了....
Logged

danRyan

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 35
Re: comment問題
« Reply #14 on: November 08, 2005, 05:01:50 am »

多謝CapriSkye的解答,問題仍然存在,唯有寄望1.4的CPG可解決.
另外想問,CPG可以把相簿中某些相定為private,不給人觀看或login才能看但又不刪除該相嗎?
Logged

CapriSkye

  • Moderator
  • Coppermine frequent poster
  • ****
  • Offline Offline
  • Posts: 126
    • 森林之原
Re: comment問題
« Reply #15 on: November 08, 2005, 05:14:45 am »

可以有私人相簿
但是好像不能登入後才能看的私人相簿, 1.4好像有加入密碼的功能
這樣有密碼就能看了

又不刪除該相嗎 是什麼意思?
Logged
Pages: [1]   Go Up
 

Page created in 0.029 seconds with 18 queries.