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.

Feature Request: Similar or related videos module

6 years 10 months ago
Licenses:
JomSocial Active

Hello.

I would like to suggest "Related Videos block" at single video page.



And may be extra "Related Videos module/plugin" would be great. It should search video for page title. If I publish module at the article with title "Titanic" it must display videos with word "Titanic" in it.

There is old free module: seohowto.net/?view=product&id=15
It too old and display wrong links: "/videos/video/30743-video-alias?groupid=0" without user id and video id. Think, this is not good for SEO? Can't thansform link it to "$video->getURL()".

Thanks.


Sorry for my English
Attachments:
6 years 10 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

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!

6 years 6 months ago
Licenses:
JomSocial Active

Hi. Do you plan to discuss this improvement (feature) suggestion for future major release (JS 4.5 or 4.6 may be)? Thanks :)


Sorry for my English
6 years 6 months ago
Licenses:
JomSocial Active

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.

6 years 6 months ago
Licenses:
JomSocial Active

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 :)


Sorry for my English
Attachments:
6 years 6 months ago
Licenses:
JomSocial Active

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.

6 years 6 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

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

6 years 2 months ago
Licenses:
JomSocial Active

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) ;(


Sorry for my English
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