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 offline
It is currently off working hours and most of us aren't around

Rest assured that we will get back to you as soon as the day starts tomorrow!
  Support is offline

Docker : display the "Quickpost" button only for one profile type

Groupe Média Théapolis · ·
5:55 PM Friday, 26 July 2019
None
Hello,

In easysocial, it is possible to prevent certain types of profiles from publishing posts in the feed (img1).

However, the button "quickpost" Docker remains present. When you click on it, nothing happens (img2).

Is it possible to add a line in the php docker to reserve this button to users of a single type of profile ?

We did that, but without success :

<?php if ($this->my->getProfile()->get('Membre Premium')) { ?>

<div class="docker-popup-container has-separator has-separator--right">
<a class="btn btn-docker btn-quickpost" data-docker-quickpost title="<?php echo JText::_('COM_QUICKPOST_DOCKER_OPTION_PREMIUM');?>">
<i class="fa fa-plus-square"></i>
</a>

<div class="docker-popup-quickpost" data-docker-quickpost-wrapper>
<?php echo $this->html('html.loading'); ?>

<div data-docker-quickpost-form>
</div>
</div>
</div>

<?php } ?>


Best regards.
The replies under this section are restricted to logged in users or users with an active subscription with us