RELEASE EasySocial 3.2.18 Released! Seamless mobile experience and more! 📲 🔍

Helpdesk

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.

https://imgur.com/a/BNdhUld


<?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"

This section can only be seen by users with a valid subscription.
If you have a valid subscription, please login now

Your time
Stack Ideas HQ
Support is
Offline

It is currently a weekend from where we are at. Some answers may already be available on our documentation

Rest assured that we will get back to your posts as soon as the week starts!

Buy Us Coffee

Are you happy with our support and would like to buy us a cup of coffee?

$
Enjoy the Coffee!
Service via PayPal
Subscribe for product updates & promotions