I can put it in a little GitHub repo when I get a chance.
I don’t think that gives you access to the owner data, but maybe I am missing something.
Regarding your questions:
-
The theme component I linked to does something similar to make sure the ajax call only happens on
/latest
or the homepage. I would try to build off of that idea: discourse-featured-topics/common/head_tag.html at ddf3d7e003423e2e5f83446a80cab78d51f09e2d · awesomerobot/discourse-featured-topics · GitHubAlso if you haven’t already, definitely take a look at Beginner's guide to developing Discourse Themes
-
There is no built-in concept of custom group field like there is with custom user fields. I believe you would need to build a plugin that adds all the necessary bits and pieces for that to work.