Hello.
I would like to suggest "Related Videos block" at single video page.
Hi.
Thank you for your suggestion, we cant promise this feature will be implemented soon... for time being maybe you can hire 3rd party developer to create the module.
cheers!
There are 3 places that generate url in that module.
line 166: for video with thumbnail - 'index.php?option=com_community&task=video&view=videos&groupid='.$data->groupid.'&videoid='.$data->id).'"><img width="'.$thumbwidth.'" src="'.$data->thumb.'" alt="'.$data->title.'
line 175: when there is no thumbnail - 'index.php?option=com_community&task=video&view=videos&groupid='.$data->groupid.'&videoid='.$data->id).'">'.$data->title.'
line 184: for creator profile - 'index.php?option=com_community&userid='.$creator->id.'&view=profile').'">'.$creator->username.'
Change in mod_jomsocialrelatedvideos.php to match new JomSocial video url formats and you are good to go.
$data->groupid: video groupid
$data->id: video id
$data->title: video title
$data->thumb: thumbnail something
$creator->id: is userid
$creator->username: is username
Parts between ' .... ' are parts that are static like - index.php?option=com_community&task=video&view=videos&groupid=
After that $data->something is inserted dynamically.
Tricky part is to notice where is ' and where is ". All data is there just need few changes.
Thanks for help. Seems links should looks like:
"'.CRoute::_('index.php?option=com_community&task=video&view=videos&userid='.$creator->id.'&videoid='.$data->id).'"><img width="'.$thumbwidth.'" src="'.$data->thumb.'" alt="'.$data->title.'
Also before line $str .= ' line, need to add this line:
$creator = JFactory::getUser($data->creator);
Now we got this :)
Awesome! It works :)
Bear in mind that in file class_keywords.php there is in line 68:
$this->common=array(...)
array of common words in English that will not be used when searching for similarities between videos. You should enter Russian words or words of any other language that your site is based on. This array will be used when option to scan description is enabled in module settings. This operation will be CPU/Memory intensive. Much better solution is to use meta keywords/hashtags.
Also you could change line 68 to use language override string like:
$this->common=array(JText::_('MOD_JOMSOCIALRELATEDVIDEOS_WORDFILTER'));
and define words for each language. Pay attention on format of that string that needs to look like the one replaced in original php:
'word1' , 'word2' , .... , 'last_word'
MOD_JOMSOCIALRELATEDVIDEOS_WORDFILTER = " 'word1' , 'word2' , .... , 'last_word' "
Makes adding and changing new words slightly less painful.
For any new idea request and wanna be as core jomsocial function, please post into this group www.jomsocial.com/community/groups/viewg...stions-for-the-staff
Hello, support team. Can you please discuss this feature?
I installed this "seohowto's" module on my site, edited it a little bit and videos get more views, site more popular - after wathing video users can (and want) to watch more similar videos (related by keyword).
EasySocial has similar blick "More videos", but it just display latest videos (not by keywords) ;(