GithubHelp home page GithubHelp logo

heyzg / weibofile Goto Github PK

View Code? Open in Web Editor NEW

This project forked from muzishanshi/weibofile

0.0 1.0 0.0 80 KB

将 Typecho 的附件上传至新浪微博云存储中,无需申请appid,不占用服务器大小,可永久保存,只需一个不会登录的微博小号即可。

PHP 100.00%

weibofile's Introduction

Typecho-WeiboFile新浪微博图片上传插件

Typecho-WeiboFile新浪(优酷)微博图片(视频)上传插件


1、将 Typecho 的附件上传至新浪(优酷)微博云存储中,无需申请appid,不占用服务器大小,可永久保存,只需一个不会登录的微博小号即可。
2、在图床的基础上新增上传视频和视频解析的功能。
3、新增前台微博图床上传。

程序有可能会遇到bug不改版本号直接修改代码的时候,所以扫描以下二维码关注公众号“同乐儿”,可直接与作者二呆产生联系,不再为bug烦恼,随时随地解决问题。

使用方法:

第一步:下载本插件,放在 usr/plugins/ 目录中(插件文件夹名必须为WeiboFile);
第二步:激活插件;
第三步:填写微博小号等等配置;
第四步:完成。

版本推荐:php5.6+mysql5.0.11+Typecho正式版,其他版本也可能支持,若不支持联系作者。

与我联系:

作者:二呆
网站:http://www.tongleer.com/
Github:https://github.com/muzishanshi/WeiboFile 1元入群:http://joke.tongleer.com/327.html

更新记录:

2019-03-22 1.0.11

因网站换https,更换了上传视频时的api接口链接。

2019-03-22 1.0.10

修复了因cdn.bootcss.com中JS静态资源不可访问导致的js失效的问题。

2018-12-30 1.0.9

修复了因少做判断导致的后台页面出现404情况:
if(strpos($_SERVER['PHP_SELF'],"write-page")){
	Typecho_Widget::widget('Widget_Contents_Page_Edit')->to($post);
}else{
	Typecho_Widget::widget('Widget_Contents_Post_Edit')->to($post);
}

2018-12-29 1.0.8

后台新增多图片上传,然后发现如果域名是主机屋的免费空间且未备案,则会限制一些权限,导致上传失败,请知悉。

2018-11-30 1.0.7
1、新增其他格式文件的上传
2、新增前台微博图床上传
3、优化修复代码、及对优酷视频上传及其他的说明进行解释

2018-07-25 去掉大视频上传页面里失误的打印结果函数,以便解决问题,最主要是结交人生中的有缘之人。
2018-07-11 新增大多数视频格式上传、管理,网站登录用户也可上传视频,但存在上传视频超时的问题。
2018-07-10 新增解析秒拍、抖音视频功能
2018-07-09 新增上传视频功能
2018-07-02 增加了使用备注信息和上传后的图片增加后缀可成为一个完整的图片路径
2018-05-02 第一版本实现

weibofile's People

Contributors

muzishanshi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.