By tylr23 on Sunday, 06 September 2020
Posted in General Issues
Replies 1
Likes 0
Views 622
Votes 0
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.




<?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"
Hi there,

Thanks for the suggestion but I believe this is not something that all of our EasyBlog's users want as a feature. You might want to voice this up into our Voices section instead and see how it goes .

In the meantime, you can just apply a template override so that the code will not get override for each next update of EasyBlog.
·
Monday, 07 September 2020 10:52
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post