跳至主要內容
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?

4563博客

全新的繁體中文 WordPress 網站
  • 首頁
  • playtube開心版及中文漢化版整合~
未分類
2019 年 7 月 23 日

playtube開心版及中文漢化版整合~


簡介
[iv_act]playtube是一個短片源碼,可以給用戶上傳短片~自建個人視頻網[/iv_act]

演示
[iv_act]https://v.ly.tn/[/iv_act]

playtube開心版開心版
[iv_act]4563本地下載
PlayTube[/iv_act]

Nginx的伪静态文件:

# nginx configuration

location / {
  if (!-e $request_filename){
    rewrite ^/$ /index.php?link1=home;
  }
  if (!-e $request_filename){
    rewrite ^/aj/([^/.]+)/?$ /ajax.php?type=$1&first=$2;
  }
  rewrite ^/@([^\/]+)(\/|)$ /index.php?link1=timeline&id=$1;
  if (!-e $request_filename){
    rewrite ^/([^\/]+)(\/|)$ /index.php?link1=$1;
  }
}

location /reset {
  rewrite ^/reset-password/([^\/]+)(\/|)$ /index.php?link1=reset-password&code=$1;
}

location /confirm {
  rewrite ^/confirm/(.*)/(.*)$ /index.php?link1=confirm&code=$1&email=$2;
}

location /api {
  rewrite ^/api/v(([0-9])([.][0-9]+))(\/|)$ /api.php?v=$1;
}

location /admin {
  rewrite ^/admin-cp$ /admincp.php;
  rewrite ^/admin-cp/(.*)$ /admincp.php?page=$1;
}

location /admin-cdn/ {
  alias /admin-panel/;
}

location /videos {
  rewrite ^/videos/category/(.*)/rss(\/|)$ /index.php?link1=videos&page=category&id=$1&feed=rss;
  rewrite ^/videos/category/(.*)$ /index.php?link1=videos&page=category&id=$1;
  rewrite ^/videos/(.*)/rss(\/|)$ /index.php?link1=videos&page=$1&feed=rss;
  rewrite ^/videos/(.*)$ /index.php?link1=videos&page=$1;
}

location /articles {
  rewrite ^/articles(\/|)$ /index.php?link1=articles;
  rewrite ^/articles/category/(\d+)(\/|)$ /index.php?link1=articles&category_id=$1;
  rewrite ^/articles/read/(.*)(\/|)$ /index.php?link1=read&id=$1;
}

location /aj {
  rewrite ^/aj/([^/.]+)/([^/.]+)/?$ /ajax.php?type=$1&first=$2;
  rewrite ^/aj/([^/.]+)/([^/.]+)/([^/.]+)/?$ /ajax.php?type=$1&first=$2&second=$3;
}

location /edit {
  rewrite ^/edit-video/(.*)?$ /index.php?link1=edit-video&id=$1;
}

location /watch {
  rewrite ^/watch/([^\/]+)(\/|)?$ /index.php?link1=watch&id=$1;
  rewrite ^/watch/([^\/]+)/list/([^\/]+)(\/|)?$ /index.php?link1=watch&id=$1&list=$2;
}

location /embed {
  rewrite ^/embed/(.*)?$ /index.php?link1=embed&id=$1;
}

location /resend {
  rewrite ^/resend/(.*)/(.*)?$ /index.php?link1=resend&id=$1&u_id=$2;
}

location /redirect {
  rewrite ^/redirect/(.*)?$ /index.php?link1=redirect&id=$1;
}

location /settings {
  rewrite ^/settings/(.*)/(.*)$ /index.php?link1=settings&page=$1&user=$2;
  rewrite ^/settings/(.*)$ /index.php?link1=settings&page=$1;
}

location /terms {
  rewrite ^/terms/([^\/]+)(\/|)$ /index.php?link1=terms&type=$1;
}

location /go_pro {
  rewrite ^/go_pro(\/|)$ /index.php?link1=go_pro;
}

location /ads {
  rewrite ^/ads(\/|)$ /index.php?link1=ads;
  rewrite ^/ads/create(\/|)$ /index.php?link1=create_ads;
  rewrite ^/ads/edit/(\d+)(\/|)$ /index.php?link1=edit_ads&id=$1;
}

location /contact {
  rewrite ^/contact-us(\/|)$ /index.php?link1=contact;
}

Playtube 前台中文翻译文件
[iv_act]使用说明:

修改压缩包文件为langs.sql (langs.zip ==> langs.sql),导入数据库即可。

应该这样就可以了,没有实验过,自己试试可不可以用。后台language值:Chinese

测试站点:https://www.fransty.com/ [/iv_act]

中文漢化版文檔
[iv_act]4563本地下載
langs(20180210-18.30)[/iv_act]

來源:
cdseoo
cclylycc

文章導覽

上一篇文章
下一篇文章

AD

其他操作

  • 登入
  • 訂閱網站內容的資訊提供
  • 訂閱留言的資訊提供
  • WordPress.org 台灣繁體中文

51la

4563博客

全新的繁體中文 WordPress 網站
返回頂端
本站採用 WordPress 建置 | 佈景主題採用 GretaThemes 所設計的 Memory
4563博客
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?
在這裡新增小工具