UPDATES EasyBlog 6.0.14 Released! Joomla 5.x and PHP 8.x compatible now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is online
Our support specialists is available now. We will attend to you as soon as we can.
  Support is online

simple code

Jan Kovač · ·
8:09 AM Thursday, 10 March 2016
None
Please help me with this simple thing (for you).

in this file components/com_easysocial/themes/wireframe/points/default.php

for this tag

<ul class="fd-reset-list points-list">...</ul>


add a condition that allows to display only points items that have a specific value. Like as one "ul- tag" for point rules with value 5points.

<div data-dashboard>
<div class="view-heading" data-dashboard-heading>
<h3 data-heading-title><?php echo JText::_( 'COM_EASYSOCIAL_POINTS_HEADING' );?></h3>
<p data-heading-desc><?php echo JText::_( 'COM_EASYSOCIAL_POINTS_HEADING_DESC' ); ?></p>
</div>

<div class="es-container pt-20">
<ul class="fd-reset-list points-list">
<?php foreach( $points as $point ){ ?>
<li class="es-widget es-point<?php echo $point->points < 0 ? ' es-point-red' : '';?><?php echo $point->points > 10 ? ' es-point-green' : '';?>">
<div class="es-widget-head">
<a href="/<?php echo $point->getPermalink();?>">
<h5><?php echo JText::_( $point->title );?></h5>
</a>
</div>

<div class="es-widget-body">

<div class="point-result">
<div class="point-result-inner">
<?php echo $point->points; ?>
</div>
</div>
<div class="point-desp"><?php echo $point->get( 'description' ); ?></div>
</div>

<div class="es-widget-foot">
<h6><?php echo JText::_( 'COM_EASYSOCIAL_POINTS_ACHIEVERS' );?>:</h6>
<span><?php echo $point->getTotalAchievers();?></span>
</div>
</li>
<?php } ?>
</ul>
<div class="mt-20 pagination-wrapper text-center">
<?php echo $pagination->getListFooter( 'site' ); ?>
</div>
</div>
</div>
The replies under this section are restricted to logged in users or users with an active subscription with us