2020-11-04, 01:40 PM
(This post was last modified: 2020-11-04, 01:55 PM by Laird. Edited 3 times in total.)
(2020-11-04, 01:24 PM)vk_knight Wrote: Okay now it's fine. Thanks..
No worries. I've created an issue about this on GitHub: https://github.com/mybbgroup/Thank-you-l...issues/272
(2020-11-04, 01:24 PM)vk_knight Wrote: One more query. Can it be make like this "Likes: **" instead of which is now "Likes Received: ** in ** posts" ??
Without making changes to the plugin, you could simply switch to the variable {$post['tyl_unumrcvtyls']} (remember the "cv"!) [ETA: actually, a better choice of variables is
{$post['tyl_unumrcvtyls_self_rem']}
, since that accounts for any removal of self-likes from the count if you have set the relevant plugin setting (otherwise it is identical to {$post['tyl_unumrcvtyls']}
], however, there would be two drawbacks to that:- It wouldn't format the number with commas for thousands, e.g., 1234 would display like that, rather than as 1,234.
- It wouldn't format the number according to the new setting we've added, "Received likes styling ranges".
Otherwise, we'd need to modify the plugin again to provide formatting for that variable for you.