林叶展弟弟

phpSound v4.2.0 - 搭建私人音乐网站(汉化版)
  phpSound是一款社会化音乐分享平台代码,基于著名的SoundCloud,用户可以在线分享自己创作的歌曲或...
扫描右侧二维码阅读全文
12
2018/08

phpSound v4.2.0 - 搭建私人音乐网站(汉化版)

  phpSound是一款社会化音乐分享平台代码,基于著名的SoundCloud,用户可以在线分享自己创作的歌曲或者喜欢的歌曲!也可以本地上传和管理自己的音乐小样,
  任何注册的用户均可分享,所有访客可在线收听!
  程序自带收费会员,但支付渠道仅限PAYPAL

🖼️截图

5LI9RT8NFPV51.png

👍优点

 ✔️上传本地音乐
 ✔️可获取嵌入链接
 ✔️用户频道
 ✔️支付系统
 ✔️简洁

🌍环境

 🔓PHP 5.5 至 7.2版本.
 🔓Mysqli.
 🔓支持mod_rewrite、GD Library (cURL 和 OpenSSL是Facebook、PayPal、Amazon S3的开启条件).

🔧更新

 ✔️改进了帐户注册系统
 ✔️其他小改进

⚙️安装

 ⬛️下载源码
 ⬛️上传到网站根目录并解压
 ⬛️将文件夹里的phpSound.sql导入数据库
 ⬛️打开网站下的includes文件夹,对 config.php修改:

$CONF['user'] = 'YOURDBUSER';//数据库用户
    $CONF['pass'] = 'YOURDBPASS';//数据库密码
    $CONF['name'] = 'YOURDBNAME';//数据库名
    $CONF['url'] = 'http://yourdomain.com';//程序安装网址
    $CONF['email'] = 'notifications@yourdomain.com';//系统联系邮件

 ⬛️将下列文件或文件夹属性设置为777:

cache
uploads以及下属的avatars、covers、media、tracks文件夹
themes/theme-name/images

 ⬛️nginx规则

点击展开

location / {
  if (-e $request_filename){
    rewrite ^/(.*) /$1 break;
  }
  rewrite ^/(([^/]*)+)?$ /index.php?a=$1 break;
}

location /welcome {
  rewrite ^/welcome/?$ /index.php?a=welcome;
}

location /stream {
  rewrite ^/stream/?$ /index.php?a=stream;
  rewrite ^/stream/logout/([^/]+)/?$ /index.php?a=stream&logout=1&token_id=$1;
}

location /explore {
  rewrite ^/explore/?$ /index.php?a=explore;
  rewrite ^/explore/filter/([^/]+)/?$ /index.php?a=explore&filter=$1;
}

location /upload {
  rewrite ^/upload/?$ /index.php?a=upload;
}

location /pro {
  rewrite ^/pro/?$ /index.php?a=pro;
}

location /stats {
  rewrite ^/stats/?$ /index.php?a=stats;
  rewrite ^/stats/filter/([^/]+)/?$ /index.php?a=stats&filter=$1;
}

location /profile {
  rewrite ^/profile/([^/]+)/?$ /index.php?a=profile&u=$1;
  rewrite ^/profile/([^/]+)/([^/]+)/?$ /index.php?a=profile&u=$1&r=$2;
  rewrite ^/profile/([^/]+)/filter/([^/]+)/?$ /index.php?a=profile&u=$1&filter=$2;
}

location /notifications {
  rewrite ^/notifications/?$ /index.php?a=notifications;
  rewrite ^/notifications/filter/([^/]+)/?$ /index.php?a=notifications&filter=$1;
}

location /settings {
  rewrite ^/settings/?$ /index.php?a=settings;
  rewrite ^/settings/([^/]+)/?$ /index.php?a=settings&b=$1;
}

location /messages {
  rewrite ^/messages/?$ /index.php?a=messages;
  rewrite ^/messages/([^/]+)/([^/]+)/?$ /index.php?a=messages&u=$1&id=$2;
}

location /track {
  rewrite ^/track/([^/]+)/?$ /index.php?a=track&id=$1;
  rewrite ^/track/([^/]+)/edit/?$ /index.php?a=track&id=$1&type=edit;
  rewrite ^/track/([^/]+)/report/?$ /index.php?a=track&id=$1&type=report;
  rewrite ^/track/([^/]+)/stats/?$ /index.php?a=track&id=$1&type=stats;
  rewrite ^/track/([^/]+)/likes/?$ /index.php?a=track&id=$1&type=likes;
  rewrite ^/track/([^/]+)/stats/filter/([^/]+)/?$ /index.php?a=track&id=$1&type=stats&filter=$2;
  rewrite ^/track/([^/]+)/([^/]+)/?$ /index.php?a=track&id=$1&name=$2;
}

location /playlist {
  rewrite ^/playlist/([^/]+)/?$ /index.php?a=playlist&id=$1;
  rewrite ^/playlist/([^/]+)/edit/?$ /index.php?a=playlist&id=$1&edit=true;
  rewrite ^/playlist/([^/]+)/([^/]+)/?$ /index.php?a=playlist&id=$1&name=$2;
}

location /search {
  rewrite ^/search/filter/([^/]+)/([^/]+)/?$ /index.php?a=search&filter=$1&q=$2;
}

location /page {
  rewrite ^/page/([^/]+)/?$ /index.php?a=page&b=$1;
}

location /recover {
  rewrite ^/recover/?$ /index.php?a=recover;
  rewrite ^/recover/do/?$ /index.php?a=recover&r=1;
}

 ⬛️用户名admin,密码password

💵附加

 ⬛️后台地址

  你的网站地址/index.php?a=admin

 ⬛️升级版本

  ⬛️将文件覆盖进去
  ⬛️打开网站下的includes文件夹,对 config.php修改为之前的配置

📥资源下载

此处内容需要评论回复后(审核通过)方可阅读。

Last modification:April 8th, 2019 at 10:09 am
If you think my article is useful to you, please feel free to appreciate

52 comments

  1. 嘿嘿

    我也不说话

  2. 涌动的星辰

    密码是多少啊,还有怎么注册呢

  3. Catker

    慕名而来,感谢博主无私分享|´・ω・)ノ

  4. yanyu

    谢谢ヾ(≧∇≦*)ゝ

  5. 问天

    博主,4.3.0的解压密码是啥啊?

    1. 林叶展弟弟
      @问天

      文章有注明

      1. 问天
        @林叶展弟弟

        下载链接里有4.3.0 文章里没有4.3.0的解压密码

        1. 林叶展弟弟
          @问天

          另一篇文章

  6. 问天

    看上去很不错,谢谢博主分享!

  7. 992218196
    该评论仅登录用户及评论双方可见
  8. PG.二狗子

    (☆ω☆)

    1. alon
      @PG.二狗子

      拿个汉化补丁

  9. 哎哟喂

    有现成的,哈哈

  10. Lingki

    我来拿去玩玩୧(๑•̀⌄•́๑)૭

  11. asakiriri

    终于找到汉化版的了,感谢~~

  12. 寒冰cold

    找了好久,终于发现了

  13. tangspoon

    so good!

  14. 感谢,找了很久

  15. 豆腐

    wow。。超厉害的说OωO

  16. 我的

    找了好久,终于发现了

  17. 且道

    我就来看汉化。。。。

  18. 房东的猫

    感觉好棒啊。

  19. 小新

    找了好久的程序,终于找到了,感谢

  20. 小阳

    我就瞅瞅不吭声

Leave a Comment

(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-103579003-1', 'auto'); ga('send', 'pageview');