[3.2.2] Active Posts differ

Status
Not open for further replies.

Golden Falcon

Active Member
867
2008
16
0
Hey guys,

I have a spam section where incrementation of posts are off.

The overal count of the a user's posts are right everywhere but their profile view, in which it's much higher because it's counting their overall posts.

Although both sections say active posts.

Example:

RB6CX.png


Not same as:

rYIfS.png


Any idea?
 
2 comments
Since it is a custom skin you will have to look at the templates and find the fields it is using.
Then see if they are calculations in the skin. If not you will need to look at the code that creates the input to the skin.
 
Since it is a custom skin you will have to look at the templates and find the fields it is using.
Then see if they are calculations in the skin. If not you will need to look at the code that creates the input to the skin.

Code:
<dd title='{$member['_posts_day']} {$this->lang->words['posts_per_day']}'>{parse format_number="$member['posts']"}</dd>


Code:
<span class='row_data'>{parse format_number="$member['posts']"} ({$member['_posts_day']} {$this->lang->words['posts_per_day']})</span>

These are the two different codes. One from the showCard template under Profiles. One from profileModern template under Profiles as well.

This is the code that generates a profile's posts:

Code:
{parse format_number="$member['posts']"}

They are the same in both clauses yet provide different numbers. Anyone know why? I haven't messed with IP.Board in a while.
 
Status
Not open for further replies.
Back
Top