Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Activty stream videos open in a popup that cannot be closed

11 years 3 weeks ago
  • nick's Avatar
    Topic Author
  • nick
  • Offline
  • Fresh Boarder
  • Posts: 35
  • Thank you received: 0
Licenses:
JomSocial Expired

Hi,
Activty stream videos open in a popup that cannot be closed. This only happens when videos are set to maximum size. I tested it on my laptop and a large-screen PC and the issue perseveres on both. Where is the setting for activity stream display for videos? I would like them not to show in a popup, if possible, but rather to link to the videos page.
Many thanks
Nick

11 years 2 weeks ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

Hi Nick,

I agree with you, the video should linked to the video detail page instead show as popup, but I am not sure this is can be improved in next package.

But, this is the temporary solution from me..

1. open this file components/com_community/templates/default/activities.stream.php
2. find this code :

$link = (!empty($attachment->id)) ? "javascript:joms.walls.showVideoWindow('{$attachment->id}')" : "#";

3. replace to :
$video  = JTable::getInstance( 'Video' , 'CTable' );
                    $video->load( $attachment->id );
                    $link = (!empty($attachment->id)) ? $video->getURL() : "#";

I hope it will help

11 years 2 weeks ago
  • nick's Avatar
    Topic Author
  • nick
  • Offline
  • Fresh Boarder
  • Posts: 35
  • Thank you received: 0
Licenses:
JomSocial Expired

Thanks a lot. It worked just fine.

11 years 2 weeks ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

you're welcome

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW