miniBB ® 

miniBB

®
Support Forums
  
 | Start | Register | Search | Statistics | File Bank | Manual |
Bugs miniBB Support Forums / Bugs /  
 

Bug in rss2.php ?

 
Author shlaf
Partaker
#1 | Posted: 17 Apr 2005 11:55 
The test, line 65, doesn't work very well; there is always '...' at the end of the text.
I don't know why.
Line 65:
<code>
if(strlen($res[1])>strlen($topics[$tid]['post_text']))
</code>

if I replace the test by:
<code>
if (strlen($res[1]) > $maxTxtLength)
</code>
It works very well.

Author Team
8-)
#2 | Posted: 18 Apr 2005 10:50 
Which version do you have?

/* Updated 2005-03-18, by Paul */ - when the file lists that, there shouldn't be such code at all.

Author shlaf
Partaker
#3 | Posted: 18 Apr 2005 14:36 
Oups! Mistake:
Line 65:
if(strlen($res[1])!=strlen($topics[$tid]['post_text']))

I don't have the last version (/* Updated 2005-03-09, by Paul */).

I will test the last version.

Author Anonymous
Guest
#4 | Posted: 18 Apr 2005 15:34 
There is the same problem with the last version.

To resolve the problem, I replace the test:
if(strlen($res[1])!=strlen($topics[$tid]['post_text']))
by:
if (strlen($res[1]) > $maxTxtLength)

Thus, if the length of the text is inferior to $maxTxtLength, I don't have '...' at the end of the text.

Author shlaf
Partaker
#5 | Posted: 18 Apr 2005 15:37 
The last "Anonymous" is me.
I forgot the login. :-)

Author Fritzek
Partaker
#6 | Posted: 20 Apr 2005 10:19 
I was not thinking about it before, but shlaf is right - there is always a "..." at the end of text. But on the other hand, shlaf, what is your problem with that? It only persuades that there comes a lot more. So what... ;-)

Author Team
8-)
#7 | Posted: 20 Apr 2005 10:32 
shlaf
That's ok, thanks. We have also updated this in official package.

Fritzek
Let it be ;-)

Author Aine
Partaker
#8 | Posted: 26 May 2005 22:19 
feed won't validate due to date/time format

Author Ivan
Advanced Member
#9 | Posted: 18 Jul 2005 18:02 
I think that there MUST be "..." after the initial quotation. In the software area of our life (and not only there :) this means that it's not all and there is more behind. Fritzek says the same.

Bugs miniBB Support Forums / Bugs /
 Bug in rss2.php ?
 Share Topic's Link

This topic is closed. New replies are not allowed.

 

 
miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Get the File and Picture Attachments add-on: extend your miniBB-forums, attaching images and files.


  ⇑