Using Advanced Charts Docs

Developer Networks
Developer Networks
@developer-networks
8 years ago
566 posts
Can I use advanced charts on items other then jrAudio song plays?

I noticed none of the other modules have the datastore set for item_views

Can the Advanced Charts work with something like item_views from Blogs, forums, discussions or other jamroom items?

If so can you provide an example in the docs with jrCharts working with something other then jrAudio?

Thanks
updated by @developer-networks: 11/24/16 07:41:49AM
michael
@michael
8 years ago
7,715 posts
The docs for the "Advanced Charts" are here:

Docs: "Advanced Charts"
https://www.jamroom.net/the-jamroom-network/documentation/modules/274/advanced-charts

The "Available Chart Fields" is probably what your after, its found at:
ACP -> MODULES -> LISTING -> ADVANCED CHARTS -> TOOLS -> CHART FIELDS

It shows the fields you can use to chart, there are many more than just audio fields.
Developer Networks
Developer Networks
@developer-networks
8 years ago
566 posts
I have a suggestion, That item_views or something similar should have been included with certain modules. Like jrForum, jrDiscuss, JrBlog, jrFile, ect... it would be so easy to chart off the item views. paul suggested using:
{jrCore_counter module="jrBlog" item_id=$item._item_id name="blog_view"}
However my suggestion was to add the item_views to the datastore in the next module update so other future modules and functions can work with item_views in the standard system.

ACP -> MODULES -> LISTING -> ADVANCED CHARTS -> TOOLS -> CHART FIELDS
There is only:
jrForum_post_count
profile_jrGroupDiscuss_item_count
profile_jrBlog_item_count

There is only item_count in the data stores. By adding item_views to any correlating modules datastores would make a lot of sense to me.
updated by @developer-networks: 08/24/16 12:14:00AM
michael
@michael
8 years ago
7,715 posts
You can count whatever you want wherever you want. If you want to count a person looking at the audio player in a list of audio players as a 'view' then add the {jrCore_counter} to that template.

Docs: "{jrCore_counter}"
https://www.jamroom.net/the-jamroom-network/documentation/jamroom-developers-guide/779/jrcore-counter

What you consider a view might be different from what I consider a view, so how and what you want to count is left over to you.
Developer Networks
Developer Networks
@developer-networks
8 years ago
566 posts
A view is when an end user views the item content. Same as a profile view.

Yes it can be added in on my end and will here soon enough. But as I am adding this functionality I was thinking to myself why dosent any Jamroom module have item_views in the data stores already.

Honestly, It dosent make much sense to me to have to make a module that does this... In my opinion the basic module functionality in the system should just have it.

This system is a content Management system that dosent by default monitor a count of Item Views? This is an interesting concept...

Anyways these are just thoughts I had when I ran in to this discovery while working tonight. figured I would share in effort to make Jamroom better.
updated by @developer-networks: 08/24/16 01:23:36AM
SteveX
SteveX
@ultrajam
8 years ago
2,584 posts
The entry is created in the datastore when the first view happens.


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
Developer Networks
Developer Networks
@developer-networks
8 years ago
566 posts
But the system entry dosent ever log any views on any Jamroom items other then audio stream plays and profile views unless you add this in to the skin or module, correct?

I am suggesting this functionality is added in the core & existing modules.
updated by @developer-networks: 08/24/16 02:02:01AM

Tags