miniBB Support Forums | 15 years on The Web
miniBB ®


 | Forums | Register | Reply | Search | Statistics | Manual |
Specific miniBB Support Forums / Specific /   

not updating viewed Posts correctly

Author joesp
#1 | Posted: 10 Jun 2007 06:14 | Edited by: joesp 
I am wondering why it isn't working.

setup_options.php has


and the code in bb_func_vthread.php which looks like

if($page==0 and isset($enableViews) and $enableViews) updateArray(array('topic_views'),$Tt,'topic_id',$topic);

the "if" is returning false.
This code works:

if($page==0 ) updateArray(array('topic_views'),$Tt,'topic_id',$topic);

I can't figure out why the code is failing.

it's academic, but please help me....

Author Paul
Lead Developer
#2 | Posted: 11 Jun 2007 04:08 
Be sure this setting is not commented.

Specific miniBB Support Forums / Specific /
 not updating viewed Posts correctly
 Share Topic's Link

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

You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums account, you can also sign in from this page without posting a message, or sign in and post at once.

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 ® 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.