FeiFeiCMS2.X采集时强制更新备注
编辑 /Lib/Lib/Model/XmlModel.class.php
文件第116行,找到
//if($vod['vod_title']){ $edit['vod_title'] = $vod['vod_title']; }
去掉前面的注释符号 //
即可
编辑 /Lib/Lib/Model/XmlModel.class.php
文件第116行,找到
//if($vod['vod_title']){ $edit['vod_title'] = $vod['vod_title']; }
去掉前面的注释符号 //
即可
<span class="ratbar">
<span style="width:{$ppvod['vod_gold']*10}%;" class="ratbar-item"> </span>
</span>
<strong class="ratbar-num">{$ppvod.vod_gold}</strong>
CSS
.ratbar{width:60px;height:12px;overflow:hidden;display:block;text-indent:-999px;float:left;margin:4px 5px 0 0;background:url(star-min.gif) 0 -20px no-repeat}
.ratbar-item{width:60px;height:12px;overflow:hidden;display:block;text-indent:-999px;float:left;background:url(star-min.gif) 0 0 no-repeat}
.ratbar-num{color:#f30;font-weight:normal}
编辑 /Lib/Lib/Action/Admin/AdminAction.class.php
文件
找到
$pp_play.= 'var ff_bdhd="'.$config['play_bdhd'].'";';
在后面添加
$pp_play.= 'var ff_xigua="'.$config['play_xigua'].'";';
$pp_play.= 'var ff_xfplay="'.$config['play_xfplay'].'";';
$pp_play.= 'var ff_jjvod="'.$config['play_jjvod'].'";';
然后清空缓存,点击系统管理--网站信息配置--提交--搞定
1、找到 /Lib/Lib/Action/Admin/CreateAction.class.php
第361行
//路径替换与生成
$player_dir_ji = preg_replace('/play-([0-9]+)-([0-9]+)-([0-9]+)/i','play-$1-'.$arr_sid[1].'-'.($pid+1).'',$player_dir);
修改为:
//路径替换与生成
$player_dir_ji = preg_replace('/([0-9]+)-([0-9]+)/i',$arr_sid[1].'-'.($pid+1).'',$player_dir);
2、找到 /Lib/Common/common.php
第777行
//播放页静态生成结构
function ff_play_url_dir($id,$sid,$pid,$cid,$name){
$playdir = str_replace_dir(C('url_play'),$id,$cid,$name);
if(C('url_html_play') == 2){
$playdir .= '-'.$id.'-'.$sid.'-'.$pid;
}
return $playdir;
}
修改为:
编辑 /Lib/Conf/config.php
文件,找到
'play_player' =>array (
在最后一行插入:
'jwplayer'=> array('01','jwplayer')
然后在 /Public/player2.9
目录下新建 jwplayer.js
内容如下:
function $Showhtml(){
return '<iframe width="100%" height="'+Player.Height+'" src="/Public/player2.9/jwplayer.html" frameborder="0" border="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>';
}
Player.Show();
if(Player.Second){
$('buffer').style.height = Player.Height-28;
$("buffer").style.display = "block";
setTimeout("Player.BufferHide();",Player.Second*1000);
}