WordPoints / dynamic-points

Award users points dynamically calculated based on the specifics of the event
GNU General Public License v3.0
0 stars 1 forks source link

Integrate with HTGP shortcode #1

Closed JDGrimes closed 7 years ago

JDGrimes commented 7 years ago

See https://github.com/WordPoints/wordpoints/issues/248.

JDGrimes commented 7 years ago

I thought to myself that maybe we could get away with just leaving the Points field entirely empty in this case, but I think that it looks funny:

wordpoints_how_to_get_points _ _wordpress_develop_-_2017-03-02_08 53 17

Here is what it looks like with the args in the points field:

wordpoints_how_to_get_points _ _wordpress_develop_-_2017-03-02_08 52 50

JDGrimes commented 7 years ago

While working on this I was thinking that there should really be a function in core to get a list of arg titles or even generate a string from an arg hierarchy. Because right now we only have that in JS. And it isn't as straightforward as it might seem, because relationships require special handling (the related entity needs to be skipped or you end up with "author » user", "post » post", etc.).

JDGrimes commented 7 years ago

Maybe there is a better term to use here than "based on" though. What about "calculated from"?