I'm loving this module and am trying to get my head around how it works.

I'm making two views. One that lists the latest nodes in reverse chrono order.

And then one that lists the Hottest nodes in reverse radioactive order.

For this second view, I'd like the view to consider all methods of getting energy, voting for a node or comment, clicking on the node or commenting on the node.

Is this possible? It appears that the filter options are "node energy" and "comment energy". I want to filter by "node energy + comment energy," i.e. overall radioactivity.

The same goes for the sort options. I see one for node energy and one for comment energy. Is there one for overall energy?

And what's the deal with the option dropdown for the sort options? "Radioactivity" and "All".....? What does that mean?

Comments

skiminki’s picture

Ok, you'd probably want to forget the filtering, and use sorting only. Filtering is used to include only nodes with certain level of radioactivity for the view, for instance. Intended for advanced optimizations etc.

To get nodes in reverse radioactive order, just add sorting criteria. Nothing else is needed for radioactivity. The 'All' drop-down selection will include nodes with no energy information (i.e. no row in the radioactivity table), and 'Radioactive only' will include only nodes with a row in the radioactivity table. You probably want to have 'Radioactive only' if you have any activity on your site. 'Radioactive only' is faster (creates INNER JOIN instead of LEFT JOIN).

Node energy + comment energy style total energy is a bit awkward concept. You'd probably want to use node energy only. You can make voting for node's comments to increase the node energy, if I remember correctly. That way your node energy is already the total energy. This is how I would implement this.

The comment energy is intended to rank comments if you enabled fivestar or other voting module that allows you to vote comments. Comment energy is intended to make 'hottest comments' views.

I know, I should write (or encourage some other people to write) simple usages and FAQs, but so much to do and so little time...

Hope this helps!

(Edited some typos)

bflora’s picture

It does indeed. Thanks so much. The "radioactive" vs. "all" had me stumped but now it makes total sense. Perhaps changing it to "radioactive nodes" and "all nodes" would work better?

skiminki’s picture

Status: Active » Closed (fixed)