PEAK XOOPS - Re: backend.php & EMLH & string cut description 125byte in englishin japanese

Re: backend.php & EMLH & string cut description 125byte

List posts in the topic

normal Re: backend.php & EMLH & string cut description 125byte

msg# 1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.2.1.1.1.1.1.1
depth:
24
Previous post - Next post | Parent - Children.1 | Posted on 2005/4/21 9:15
FutureSpy  伍長 From: 世界のどっかで  Posts: 70
domifaraさん、ご返答ありがとうございます。

//HACK for each lang $description 125 byte strings hack by domifara 2005/4/18 
//$article = $article->hometext();
if (function_exists('easiestml') && isset($easiestml_lang)) {
$article = easiestml($article);
}
$article = preg_replace("/\[.*?\]/","",$article);//strip tags by Yuji
$article = xoops_substr($article, 0 ,124+4);

Let me try to explain better. For some reason, the line with "hometext" is causing a blank page. But if I comment it out, then it works fine again. Is it really important?

もっと詳しく説明してみます。原因は分からないんですが、「hometext」があるこの一行目で真っ白なページが出ているんです。でも、コメントすると、正常に動作します。本当に必要なんですか?
Votes:0 Average:0.00

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!