miniBB ®

miniBB

®
Support Forums
  
 · Start · Sign in · Register · Search · Statistics · File Bank · Manual ·
Specific miniBB Support Forums / Specific /  
 

not updating viewed Posts correctly

 
Author joesp
Partaker
#1 · Posted: 10 Jun 2007 06:14Reply Quote
I am wondering why it isn't working.

setup_options.php has

$enableViews=TRUE;

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 Lead Developer
#2 · Posted: 11 Jun 2007 04:08Reply Quote
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

BB code for the Bold StyleBB code for the Italic StyleBB Code for the PictureBB code for the URLUpload a File

  ?
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 forum rules; otherwise it could be locked or removed 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
Try the File and Picture Attachments add-on: extend your miniBB-forums, attaching images and files.