miniBB ® 


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

Incorrect counting in bb_func_vforum

Author tom322
Active Member
#1 | Posted: 24 Dec 2018 20:39 
I think there is some potential problem in bb_func_vforum here:


-- because when $numTopics>1000 then the parse script would make it like 1,001 and then $numPosts gets warning or is inaccurate since it tries to substract values with comma. It's better to make it:


Author Paul
Lead Developer
#2 | Posted: 25 Dec 2018 12:29 
Thanks; yes, it appears to be an improper approach and will be fixed. Possibly left from an older code before parseStatsNum was introduced.

Bugs miniBB Support Forums / Bugs /
 Incorrect counting in bb_func_vforum
 Share Topic's Link

Your Reply Click this icon to move up to the quoted message

Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.

Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.


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
Check out the Captcha add-on: protect your miniBB-forums from the automated spam and flood.