Groups can't post Videos or Images? Is there any way around this?
<a href="<?php echo $file->getPreviewURI();?>" target="_blank">
<span class="discussion-embed-item discussion-embed-image">
<i class="ies-download-3"></i>
<span class="discussion-embed-caption">
<?php echo $file->name;?> (<?php echo $file->getSize();?><?php echo JText::_( 'COM_EASYSOCIAL_UNIT_KILOBYTES' );?>)
</span>
</span>
</a>
<img src="<?php echo $file->getPreviewURI();?>" />
public function onPrepareStream( SocialStreamItem &$item, $includePrivacy = true )
{
if ($item->context != SOCIAL_TYPE_FILES) {
return;
}
public function onPrepareStream( SocialStreamItem &$item, $includePrivacy = true )
{
return;
if ($item->context != SOCIAL_TYPE_FILES) {
return;
}
Mark wrote:
Hm, to be honest I am not really sure why but I could check for you on the site. I probably think the mime type isn't set for gif images when you uploaded it via file explorer.
public function onPrepareStream( SocialStreamItem &$item, $includePrivacy = true )
{
return;
if ($item->context != SOCIAL_TYPE_FILES) {
return;
}
return;