Hi,
Only a few line of code will show points and badges for comment authors.(code below)
Is it possible to add this to the next update?
I am posting it here because this is a solution and not really a feature request.
Kind regards,
P.S: I have no idea why the copy and paste of this code here give "oints" instead of points"
Only a few line of code will show points and badges for comment authors.(code below)
Is it possible to add this to the next update?
I am posting it here because this is a solution and not really a feature request.
<?php if (EB::points()->hasIntegrations()) { ?>
<div class="eb-points">
<?php echo EB::points()->html($comment->author); ?>
</div>
<?php } ?>
<?php if (EB::achievements()->hasIntegrations()) { ?>
<div class="eb-achievements mt-10">
<?php echo EB::achievements()->html($comment->author); ?>
</div>
<?php } ?>
Kind regards,
P.S: I have no idea why the copy and paste of this code here give "oints" instead of points"