closed Datastore items?

johnchansa
@johnchansa
10 years ago
195 posts
Whats the difference between audio_file_stream_count and audio_file_stream_count_count?
Which one is required for jrCharts function and the number of plays?
updated by @johnchansa: 07/31/14 05:26:32AM
michael
@michael
10 years ago
7,718 posts
audio_file_stream_count is the one you want. never seen audio_file_stream_count_count before.

What skin are you using?
johnchansa
@johnchansa
10 years ago
195 posts
Nova skin....
In fact in the earlier versions of the Nova skin the count_count datastore item was used in the code for audio and soundcloud.I had to make modifications.

You can check the datastore and you will find the count_count items.Check the nova skin templates as well.
michael
@michael
10 years ago
7,718 posts
I can see the issue and will get it fixed up. Thanks.

Use the single _count version. The other is a mistake.

anything with a _count is something that has been recorded with the jrCore_counter() function.

You will see it sometimes in the templates. It will look like this:
{jrCore_counter module="jrProfile" item_id=$_profile_id name="profile_view"}

Each time that marker is hit it will increment
"profile_view_count"

but if that code was to read:
{jrCore_counter module="jrProfile" item_id=$_profile_id name="profile_view_count"}
then it would create
profile_view_count_count

Thats what your seeing.

It needs fixing up in a couple of locations.

Thanks.

Tags