soaivu / clipbucket

Automatically exported from code.google.com/p/clipbucket
0 stars 0 forks source link

Related videos dosent work #385

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.I have ClipBucket 2.5.1 and the video reated dosent work 
2. www.darliztube.com

<!-- Related Videos based on category, please remove * and also above smarty 
function -->
{*get_videos category=$vid_cat nonuser=$vdo.userid exclude=$vdo.videoid 
limit=$videos_items_columns order="date_added ASC" assign=related_vids 
show_related=yes title=$vdo.title*}

{if $related_vids}
<span class="watch_vids_head" 
onclick='$(this).toggleClass("watch_vids_head_clos 
ed");$("#related_vids").slideToggle("fast")'>Related Videos</span>
<div class="watch_vids_cont" id="related_vids">
{section name=uvlist loop=$related_vids}
{include file="$style_dir/blocks/watch_video/video_box.html" 
video=$related_vids[uvlist]}
{/section}
<div class="clearfix"></div>
</div>
{else}
{get_videos assign=ran_vids limit=6 exclude=$vdo.videoid order=RAND()}
<span class="watch_vids_head" 
onclick='$(this).toggleClass("watch_vids_head_clos 
ed");$("#random_videos").slideToggle("fast")'>Random Videos</span>
<div class="watch_vids_cont" id="random_videos">
{section name=rvlist loop=$ran_vids}
{include file="$style_dir/blocks/watch_video/video_box.html" 
video=$ran_vids[rvlist]}
{/section}
<div class="clearfix"></div>
</div>
{/if}
<!-- Getting Related videos -->

Original issue reported on code.google.com by edy_xcen...@hotmail.com on 13 Feb 2013 at 7:33

GoogleCodeExporter commented 8 years ago

Original comment by zomail...@gmail.com on 7 May 2013 at 10:01