TinyPortal

Development => Support => Topic started by: Skb on December 22, 2016, 06:33:02 AM

Title: Problem with Stats Block
Post by: Skb on December 22, 2016, 06:33:02 AM
We're a diabetes forum. We recently got a Mod developed where users can post their BG (Blood Glucose) readings and then the data is displayed as a Chart with several options for display. These entries are not displayed as posts (in the normal SMF way) but go directly to a new table. However, each entry adds to the user posts & total forum posts (stats) . SMF Stats are going up with each post, but the TP Block does not add these entries to the total forum post count. I tried adding the action in the Block from the Admin controls, but still no luck. Any way around this ?   
Title: Re: Problem with Stats Block
Post by: illori on December 22, 2016, 10:14:49 AM
since TP uses SMF functions to show those, it sounds like your mod is not updating everything that it should.
Title: Re: Problem with Stats Block
Post by: Skb on December 23, 2016, 03:55:17 AM
Quote from: illori on December 22, 2016, 10:14:49 AM
since TP uses SMF functions to show those, it sounds like your mod is not updating everything that it should.
Exactly. Since the developer is not familiar with TP, which of the Mod file would need to edited, and what piece of code added, so that I can either ask him or attempt it myself.
Title: Re: Problem with Stats Block
Post by: illori on December 23, 2016, 10:12:58 AM
the author should be using SMF functions to update those, if they are used then TP would show them correctly. there is nothing in TP that should need to be changed etc.