作者: James

  • WordPress无缝配合CloudFront实现CDN加速

    WordPress无缝配合CloudFront实现CDN加速

    Introduction

    AWS cloudfront or Amazon cloudfront is a content delivery network(CDN) service. It deliver data into end users up on request through secure, low latency, high speed network. The AWS CDN physical servers, are integrated to AWS global infrastructure and with other AWS services like Amazon EC2, Amazon S3, Load Balancing etc.

    Benefits

    • Amazon CloudFront is globally distributed with highly-resilient Amazon backbone network.
    • We don’t have to pay for any data transferred between AWS other services and with CloudFront.
    • Highly programmable using Lambda@Edge functions and can run our custom codes.
    • Amazon CloudFront supports API calls, WebSocket traffic. Also supports proxy methods like POST, PUT, OPTIONS, DELETE and PATCH.
    • CloudFront has the option of modifying the original Headers from client.

    Normal Work Flow of AWS CloudFront.

    • An End User access a website and request and image object to download through browser.
    • DNS service route the end user request to the nearest CloudFront edge location.
    • CloudFront edge location server checks its cache for the requested files and return the results to the end user.

    The pricing

    The Amazon CloudFront charges are mainly based on below areas. The details can be found from the AWS website and using AWS monthly calculator. There will be a slight change in price according to the Region.

    DATA TRANSFER OUT (INTERNET/ORIGIN)
    HTTP/HTTPS REQUESTS
    INVALIDATION REQUESTS
    FIELD LEVEL ENCRYPTION REQUESTS
    DEDICATED IP CUSTOM SSL CERTIFICATES ASSOCIATED WITH A CLOUDFRONT DISTRIBUTION

    Currently the aws cloudfront has 216 Points of Presence or edge locations available or called by the name amazon CDN locations. Each edge locations are inter connected and sync our data automatically. The updated list can be found from the Amazon website itself.

    Benefits of Using cloudfront In WordPress

    • WordPress holds 28% of the web market share but there is room for improvement. Here comes the picture of cloudfront in WordPress.
    • Cloundfront increase the performance of our website by reducing server load.
    • It reduces the cost of operating your WordPress infrastructure by reducing Resource Allocation.
    • Reduces the traffic towers to the origin server by serving cached results to the end users.
    • The DNS server will hit the CloudFront CDN first and serve a copy of the content to the end users from cache and from the closet aws cloudfront edge locations related to the end user Geo location. The Cloudfront will pull content from the behind application servers or any other integrated service as it becomes new or something changed.
    • We will have option for cloudfront gzip which can reduce the size of the data send to end users by 70 percent.
    • Have the option named cloudfront http2 which will also support http2 versions.

    Some CloudFront definitions.

    TerminologyDefinitions
    DistributionAn DNS endpoint name we can use to send traffic. Normally we point our domain name to the distribution via DNS
    OriginThis is where our applications hosted. An origin can be either an Amazon S3 bucket or an HTTP server.
    BehaviorA URL pattern and its associated caching behaviour.

    In our case we create multiple behaviors for the various WordPress URL requests and all that using single Origin and Distribution. Example Behavior are like WordPress admin pages should never be cached and other pages can be cached for a period of time.

    In the case of WordPress, we have the following files/folders to think about

    Folder Paths or FilesContent or Usage
    /wp-content/* and /wp-includes/*Most of the static assets and theme files will likely be here
    /wp-admin/* and /wp-login.php*The admin pages
    /wp-json/*The root URL for the REST API
    /contact/Replace this url with your own contact form url
    /wp-signup.phpUsed for visitor signups if your site supports it
    /wp-trackback.phpBlog post trackback functionality
    /xmlrpc.phpThe WordPress API
    /wp-cron.phpWordPress scheduled task functionality
    /.well-known/*This is a required route for Let’s Encrypt postbacks
    Everything elseHomepage, sub pages, blog posts, etc.

    So lets get started and see how we can setup Amazon CloudFront with WordPress.

    Section 1. Create Cache Policy

    Using this policy key settings we specify the values in viewer requests that CloudFront includes in the cache key. The values that we include in the cache key are automatically included in requests that CloudFront sends to the origin. For WordPress websites we need create cache policy like below.

    For that Log into the AWS management panel and go to the “CloudFront service” section.

    Under “Policy” option and under “Cache” tab click “Create cache policy” button

    A new window will open from there use below settings and hit create button.

    Give a Name for Policy we create, Like “Custom-Managed-Cache-Policy”.
    Minimum TTL 1
    Maximum TTL 31536000
    Default TTL 86400
    Whitelist the headers “Host,origin and Referer”
    Allow “All” for Cookies and Query Strings.
    Compression support gzip only

    Refer above screenshot so you will get an idea about how the cache policy will look like. Now lets move to the next section.

    Section 2. Create Origin Request Policy

    In this section we are creating our own origin request policy to customise the information from the viewer request that you want CloudFront to include in the origin request for proper working of our WordPress websites. We needed this because Some information from the viewer request, such as URL query strings, HTTP headers, and cookies, is not included in the origin request by default. So lets get started.

    From the AWS management panel itself and go to the “CloudFront service” section.

    Under “Policy” option and under “Origin Request” tab click “Create origin request policy” button

    A new window will open from there use below settings and hit create button.

    Give a name like “Custom-headers-passed”
    whitelist the headers “Host,origin, Referer , CloudFront-Is-Desktop-Viewer, CloudFront-Is-Mobile-Viewer and CloudFront-Is-Tablet-Viewer”
    WordPress makes extensive use of cookies, and we need forward at least below cookiescomment_author_*
    comment_author_email_*
    comment_author_url_*
    wordpress_logged_in_*
    wordpress_test_cookie
    wp-settings-*
    PHPSESSID
    wordpress_*
    wordpress_sec_*
    There are lots of places where WordPress will use query strings in the URL, so we need to instruct CloudFront how to handle those as well. So Choose “All”

    Now Again create Another Origin request Policy with name “Custom-Header-Passed-NoCache”. In that use below settings and hit create button.

    Headers – All viewer headers
    Cookies – All
    Query strings – All

    Okay, by creating above two origin request policy, using one policy  we define selected Headers pass to or forward to origin from Cloudfront as per the origin request policy. We Choose only minimum Host headers that we need to pass. This policy will later used for caching the client request types according to the behaviour under our Cloudfront distribution.

    Using the other origin policy  our CloudFront  distribution will not cache objects but will instead send all requests to your Origin for processing. This policy will be used for WordPress URL request types that we don’t wish to cache by Cloudfront.

    Suppose we use any policy with Headers, Cookies and query string values as “None” then CloudFront could serve the wrong content in certain circumstances, such as when you host content for multiple websites on the same server. So make sure you don’t use any such Origin policy for your Cloudfront distribution.

    So in short we will use these policy according to different type of Behaviour we create on our Cloudfront distribution. Below screenshots will show the settings of two origin request  policy we created.

    Okay, this completes the creation of Custom Origin policy section. Now lets move to the next section.

    Section 3. Issue SSL Certificate

    In this section we are issuing SSL certificate for our WordPress domain name using “AWS Certificate Manager”. The SSL issues through ACM is free of cost. Once we purchased it Normally it will be issued with in 15 Min.

    During the creation of Cloudfront distribution we normally input our websites name in the Alternate Domain Names (CNAMEs) filed. In such cases for those domain names SSL is must thing other wise we will get error like below during the creation of Cloudfront distribution.

    Error occurred
    Bad request.
    (InvalidChangeBatch 400: RRSet of type CNAME with DNS name example.com. is not permitted at apex in zone example.com.)

    So lets see how this can be implemented. We already discussed the steps for issuing SSL/TLS certificate using “AWS Certificate Manager” as a separate blog article. Refer below link if you are looking to issue SSL certificate other wise move to next section. I am not mentioning the steps in this article for avoiding the duplication.

    Section 4. Create Distribution

    In this section we are creating the Cloudfront distribution for our WordPress website. By default CloudFront distribution caches all requests to the origin specified by Origin definition. Means behaves as full page cache and we also have the option to implement custom origin-pull patterns. So lets get started.

    Log into the AWS management panel and go to the “CloudFront service” section.

    Under Distribution click on “Create Distribution”

    The create distribution window will open. In that the first section is origin.

    • In the “Origin Domain Name” field use our Public DNS host-name of EC2 instance where our WordPress Website Hosted because the ec2 instance is our HTTP server.
    • Choose the “Origin Protocol Policy” as “HTTPS Only”. This is how CloudFront communicates with our Origin WordPress EC2 instance server.
    • Choose “Minimum Origin SSL Protocol” as “TLSv1” even though Amazon suggest to use the latest supported one by the server. But the problem with that, is some time the end user having older version of browser will have an issue with loading our website over HTTPS.
    • Leave the filed “Origin path” as blank. By using this filed we can modify the header send by the end user and can insert our desired value.
    • The “Origin name” field will be auto filled and it will be our EC2 instance Public DNS host-name. So Leave it as it is.
    • Leave the “Add custom header” option as blank. We don’t want to insert any customer header value in the origin request.
    • Choose Enable Origin Shield option as “No”. The Origin Shield is is an additional caching layer that can help reduce the load on your origin and help protect its availability but right now we are not choosing this option.
    • Change the value for ” Keep-alive timeouts” into “60” if you website is having low traffic other wise leave it with the default value “5”.
    • Leave other timeout related settings as it is. Basically this time out settings deals with how CloudFront will handle requests to our origin server.
    • Choose the “Compress objects automatically” as yes. CloudFront will compress certain files when the requesting viewer
      or browser includes the header: “Accept-Encoding: gzip”. Delivering compressed objects will improve performance for your users.
    • Choose “Viewer Protocol Policy” as ” Redirect HTTP to HTTPS “. This controls how our end users connect to Cloudfront.
    • Choose ” Allowed HTTP Methods ” as ” GET, HEAD, OPTIONS, PUT, POST, PATCH, DELETE ” because, WordPress use POST methods.
    • Cached HTTP methods, leave it as it is.
    • Choose “Restrict Viewer Access(Use Signed URLs or Signed Cookies) as “No”
    • Choose “Cache policy and origin request policy” for Cache key and origin requests.
    • In “Cache Policy” choose our cache policy named “Custom-Cache-Policy” from the drop down menu available next to it.
    • In the “Origin Request Policy”  choose the origin policy as “Custom-headers-passed” from the drop down menu.
    • Leave the “Response Headers Policy” as blank.
    • Choose “Smooth Streaming” as No
    • Leave “Field Level Encryption” option  as blank.
    • Choose “Enable real-time logs” option as No. This only need to enable when we need to debug our cloudfront requests.
    • Leave the “Function associations ” option as blank.
    • In “Price Class” Choose ” Use All Edge Locations”
    • AWS WAF Web ACL as ” None “
    • Alternate Domain Names (CNAMEs)  field give our domain names, like example.com and www.example.com
    • Choose  our  website “SSL Certificate”  generated through AWS certificate manager  from drop down menu available for  ” Custom SSL certificate” option.
    • Leave the “Legacy Clients Support” option as it is. Don’t enable this option.
    • Security Policy as ” TLS1.2_2021″
    • Choose Supported HTTP Versions as  “HTTP/2, HTTP/1.1, HTTP/1.0”
    • Default Root Object , leave as blank, only needed when our website is hosted in S3 bucked
    • Choose Logging  option as  “Off”
    • Choose Enable IPv6  option as  “yes”

    Finally verify the setting again by referring above screenshots and Click Create Distribution. Initially we can see the Cloudfront in progress status and after few minutes we can see the status as “Deployed” and ready to use. This completes the Creation of CloudFront Distribution. Now lets move to the Next section.

    Section 5. Edit Distributions Behaviour.

    In this section we edit the default behaviour of our created distribution which is to cache all request types. But we also need not to cache some of the WordPress URL request pattern types which are give below. We don’t need our wp-admin area and other links mentioned above to be cached by Cloudfront because caching above URL patterns will cause issues to the proper working of a WordPress website. So lets see how these can be done.

    URL PatternUse CasesCaching Status
    /wp-login.phpThe admin pagesNo
    /wp-admin/*The admin pagesNo
    /wp-json/*The root URL for the REST APINo
    /contact/Our Web page contact form url.Replace this url with your own contact form urlNo
    /.well-known/*This is a required route for Let’s Encrypt postbacksNo
    /wp-cron.phpWordPress scheduled task functionalityNo
    /xmlrpc.phpThe WordPress APINo
    /wp-trackback.phpBlog post trackback functionalityNo
    /wp-signup.phpUsed for visitor signups if your site supports itNo

    For that from AWS Panel itself , under Cloudfront services, click on CloudFront Distributions

    click  on ID corresponding to our cloudfront distribution created.

    Click “Behaviour” tab >> Click create New behaviour and use below settings.

    We need to create  new behaviour for each of above listed WordPress URL from the “create behaviour” window. For each behaviour only Path pattern field changes according to the url request types but the rest of the settings will be same.

    • In Path pattern field Give our url like /wp-login.php
    • In Origin or Origin Group   Choose our EC2 instance name available.
    • Choose ” Compress Objects Automatically” as “Yes”.
    • In Viewer Protocol Policy  choose “Redirect HTTP to HTTPS”
    • In Allowed HTTP Methods  choose “GET, HEAD, OPTIONS, PUT, POST, PATCH, DELETE”
    • Cached HTTP methods Choose “Options” too
    • Choose “Restrict Viewer Access(Use Signed URLs or Signed Cookies) as “No”
    • Choose “Cache key and Origin Request policy ” as  “Cache policy and origin request policy”
    • Choose Cache Policy as “Custom-managed-Cache-Policy”, this is the cache policy we created in earlier section.
    • Now for the “origin Request Policy”  choose  policy named “Custom-header-Passed-NoCache”. Using this policy we are instructing our CloudFront distribution to not cache when the url request type is /wp-login.php.
    • Leave “Response Header policy” option as blank.
    • Leave “Field-level Encryption Config” as blank.
    • Choose “Smooth Streaming”  as No
    • Choose “Enable real time logs ” as No
    • Leave function associations  option as blank and Save it.

    Repeat the above steps for each URL path pattern. Once completed, the behaviour tab will look like below.

    Now we excluded above WordPress related URL from cached by CloudFront. We don’t need our wp-admin area and other links mentioned above to be cached by CloudFront because caching above URL patterns will cause issues to the proper working of a WordPress website. This completes the editing the behaviour of CloundFront distribution we created. Now lets move to the next section.

    Section 6. Change DNS.

    In this section we are changing our WordPress website DNS A record. For that go the DNS manager section of your own website and create a CNAME pointing www.example.com or example.com at your CloudFront Distribution DNS endpoint. Also don’t forget to delete the existing DNS A records from making conflicts.

    If you are using Route53 as your DNS zone manager. If try to change the record type as CNAME for existing DNS A record type and input the CloudFront Distribution DNS endpoint name. We will get below error.

    Error occurred
    Bad request.
    (InvalidChangeBatch 400: RRSet of type CNAME with DNS name example.com. is not permitted at apex in zone example.com.)

    In order to fix For that go back to AWS panel again
    From the services section choose Route 53 service
    click “Hosted zones” option from the left side
    Now click our website name and the existing DNS records will show up
    select our domain DNS A record and click edit from the right side options

    Choose the Record Type as ” Route traffic to an IPV4 address and somw AWS resources”
    and then enable the alias option
    and then in the route traffic to option, from the drop down menu choose ” alias to cloudfront distribution ”
    gave the CloudFront Distribution DNS endpoint name in the next drop down menu. We can also get the cloudfront distribution DNS endpoint name from the cloudfront services section too.

    Refer below screenshot for a reference.

    Wait for completing the DNS propagation and if we test the domain using curl, we can see “Server: CloudFront”. The Curl command output is given below for your reference.

     curl -v example.com
    * Rebuilt URL to: example.com/
    *   Trying 11.3.45.2...
    * TCP_NODELAY set
    * Connected to example.com (11.3.45.2) port 80 (#0)
    > GET / HTTP/1.1
    > Host: example.com
    > User-Agent: curl/7.58.0
    > Accept: */*
    > 
    < HTTP/1.1 301 Moved Permanently
    < Server: CloudFront
    < Date: Fri, 31 Jul 2020 04:50:10 GMT
    < Content-Type: text/html
    < Content-Length: 183
    < Connection: keep-alive
    < Location: https://example.com/
    < X-Cache: Redirect from cloudfront
    < Via: 1.1 7d2d57745dfgfdgf.cloudfront.net (CloudFront)
    < X-Amz-Cf-Pop: MAA50-C2
    < X-Amz-Cf-Id: zsF3xHc3KIJ-asC-PkWl3I8uw==
    
    <html>
    <head><title>301 Moved Permanently</title></head>
    <body bgcolor="white">
    <center><h1>301 Moved Permanently</h1></center>
    <hr><center>CloudFront</center>
    </body>
    </html>
    * Connection #0 to host example.com left intact
    * Connection #0 to host example.com left intact

    This Completes the DNS changes for our WordPress Website. Now lets move to the Next section.

    Section 7. Use WordPress Cache Plugin

    Now lets proceed with the Use of a Cache Plugin that support CloudFront. When we use WordPress plugin related to CloudFront for site acceleration, the plugin uses a subdomain, also known as an alternate domain name or CNAME, to send your website’s traffic through CloudFront.

    Without this plugin, all the traffic of your website’s viewers goes to the server that hosts your WordPress website. So lets get started. Lets use a Plugin named W3TC.

    Setting Up W3TC

    • Log in to the WordPress administration panel.
    • Browse to the “Plugins” menu page and ensure that the “W3 Total Cache” plugin is installed. If not install it.
    • Activate the plugin by clicking the “Activate” link.
    • Browse to the “Performance -> General Settings” page.
    • In the “CDN” section, enable “CDN” and set the “CDN Type” field to “Generic Mirron”. Click the “Save Settings and Purge Caches” button.
    • Browse to the “Performance -> CDN” page.
    • In the “Configuration: Objects” section
    • In the “Replace Sites Hostname” filed with your own domain name. Click On “Test Mirror” Button and Make sure we get Passed message. Save the settings.

    Okay, this completes setting up our WordPress Cache plugin W3TC for using our created CloudFront distribution.

    Conclusion.

    In this article we discussed about how to Setup CloudFront for our WordPress Website. Enabling CloudFront for our Website will usually improve response time. I hope this article is informative. Leave your thoughts at below comment box.

  • 【清渊冰雪】H5免授权版+多功能脚本+Linux

    【清渊冰雪】H5免授权版+多功能脚本+Linux

    清渊冰雪H5修复进服会没反应或者提示JS错误
    补丁直接解压到/www/wwwroot/web替换,然后清理一下缓存即可。

    清渊冰雪属于冰雪传奇二开的版本,玩法更多,但也不是最新的清渊版本

    清渊端一起放了
    补丁也内置了
    端:
    链接: https://pan.baidu.com/s/15vS-8lHbh7dfNClqIlpOkA?pwd=r7dr 提取码: r7dr
    补丁:
    链接: https://pan.baidu.com/s/1M25ANwcO6SkyQzxl2CXgKg?pwd=b6nv 提取码: b6nv

    彩蛋:
    喜欢改版本的,给你们提供配置表

  • 2023全新AI网址导航系统源码基于Thinkphp6框架开发的开源源码

    2023全新AI网址导航系统源码基于Thinkphp6框架开发的开源源码

    2023全新AI网址导航系统源码,基于Thinkphp6框架开发的开源源码,小编测试了一下运行正常,如有想要搭建网址导航网站的小伙伴可以拿去研究一下,市面上的网站收录网址导航系统太多了,具体功能就不多介绍了自行下载学习研究。

    最新的 thinkphp 6.1 开发的 AI 网址导航是一个十分适用的工具,它可以协助用户便当地阅读和管理本人喜欢的网站。相比于其他的 AI 网址导航,这个项目运用了愈加友好和易用的 ThinkPHP 框架停止搭建,使得开发者和用户都可以轻松上手。

    此次更新的 AI 网址导航,后台能够随意设置导航颜色,让用户能够自在选择本人喜欢的配色计划。同时,该项目还提供了十分简约的用户界面和灵敏的管理模块,让用户能够快速添加、编辑和删除网址信息。此外,该项目还提供了灵敏的分类和排序功用,可依据用户个性化需求停止自定义设置。

  • 源支付V6.99源码去授权版本带云端源码和搭建教程免签码支付源码

    源支付V6.99源码去授权版本带云端源码和搭建教程免签码支付源码

    源支付V6.99源码去授权版带云端和搭建教程,这是一款比较流行的码支付源码,由于官方已经重制了V7版本,目前该版本为V6的最终版本,该源码来源于网络收集,全套源码具体自行研究参考学习。

    源支付源码支持全网易支付接口,采用码支付通道方式,可以云端免挂机,也可以使用挂机软件,后台集成了15个插件通道用户可以自行选择,反正目前网上运营的码支付基本都是这个系统,有需要的小伙伴自行下载学习研究。

    前端演示:

    用户端演示:

    后端演示:

  • 彩虹易支付最新正版 第三方第四方支付系统平台 全开源原版源码无修改

    彩虹易支付最新正版 第三方第四方支付系统平台 全开源原版源码无修改

    官方原版无修改全开源版本,源码功能正常可用,自带11套首页模板,我自己也用这套做免签易支付用,我也在网上找好了好久,测试很多源码什么全破解的,都是假货不能用对接功能测试都不跳转支付,后来还是买了套原版无修改源码,功能都正常,需要的用到支付功能的拿走,由于易支付跑路的太多限制也大,还是自己搭建个比较方便,虚拟机就可以安装使用。

    彩虹易支付最新原装正版原包,看好这是原包并非那些什么二开改的乱七八糟的版本,此版本小编自用的,这不是免签系统需要自己对接官方接口转接使用。

    解压文件之后如打不开安装导向 请在域名后加/install即可

    本次更新比之前旧版新增了很多功能 也集成了很多主流接口 增加了很多实用功能
    新版本增加了很多功能,系统已经相当完善了,自带11套模版。

    和旧版易支付对比,增加了以下功能:

    支付通道改成插件形式,方便自行对接其他上游通道,
    增加了京东支付、银联支付、小微支付、码支付等。
    自带支付宝官方接口,当面付,手机付,app支付,H5支付,JS支付等全部集成接口通道无错版
    增加首页模版切换功能,自带11套模版,全网比较好看的模版基本都有了!
    完善手动提现,支持t0和t1两种提现方式
    完善企业付款,支持支付宝、微信、QQ钱包批量转账结算,支持手动打款结算。
    增加密码登陆模式,增加后台模拟用户登陆
    增加API退款、手动补单、删除订单
    增加用户组设置,可以无限添加不同用户组,设置不同费率
    增加多通道轮训,可以自定义轮训方式和权重设置
    增加风控记录、登陆日志、数据清理
    增加实名认证(对接支付宝API)
    增加网站公告配置、短信接口增加阿里云和腾讯云
    快捷登陆、网站监控、首页logo都可以在后台设置了,方便快捷

    易支付
  • 电影先生Mxone11.2魔改主题二开短视模板修正版自制更新苹果cms模板

    电影先生Mxone11.2魔改主题二开短视模板修正版自制更新苹果cms模板

    电影先生Mxone模板大家应该比较所熟悉了,模板出来已经有一段时间了,本站这套电影先生Mxone魔改主题修正版是由小编自制更新的苹果cms短视模板,经过多次升级优化目前功能比较完善了,大部分功能支持自定义带有完整的模板管理后台,主题不定期持续更新,有问题可以文章下面反馈,小编看到会尽量修复。

    功能介绍:

    电影先生Mxone魔改主题带有完整的后台管理,支持白昼切换、首页自定义、自定义幻灯片、导航自定义、侧边导航自定义、手机导航自定义、横向图展示、独立解析设置、明星页、专题页、资讯页、个人中心、下载页、直播页、详情页、手机自适应等苹果cms模板该有的功能基本都有。

    更新概述:

    11.2版本更新日志

    2023.7.15 此次为版本维护小更新,主要针对首页标题自定义更新优化,老用户升级请按照教程删除旧版文件重新安装,发现bug及时反馈,会在下个版本中修复。

    1、新增首页列表视频展示以时间,依据,顺序,和展示数量等功能,新增后台自定义管理

    2、新增首页热播推荐,最新视频,最新预告等标题自定功能,后台可自定义标题

    3、修复详情页的豆瓣图标失效等问题,重制部分图标,修复部分失效的素材图标问题

    4、优化首页标题排版样式,新版本观感更加的整齐

    5、该主题本站改版更新优化已经有些时间了,修复部分代码调用失效问题

    6、日常维护更新,如遇问题及时反馈,下个版本修复

    前端演示:

    详情页演示:

    播放页演示:

    手机端演示:

  • 电影先生MxPro4.3主题模板首途第二十九套模板苹果CMS影视模板

    电影先生MxPro4.3主题模板首途第二十九套模板苹果CMS影视模板

    这套源码为觅知改版的电影先生MxPro4.3主题模板,原名为mxone pro模板后来给了首途模板,又取名为首途第二十九套模板,网上还有流传的几个版本是有后门的,这套模板网上有很多个版本,小伙伴们在下载的时候注意甄别,这个模板小编测试了一下没啥问题,发现也有几个加密的文件,随手解密了两个js文件,还有两个可能是人家留的二开者默认信息文件,后台都可以修改的,电影先生原版的早就停更了,网上都是个人二开的,本站也有二开整合的版本,如果喜欢的话可以下载本站自制更新的版本,这个版本还不错大家可以自行下载学习研究哈。

    模板安装教程:

    苹果 cms 运行环境 PHP 版本 7.4 以下 数据库 mysql 5.6 无需 SG11

    将模板安装压缩包上传到苹果 cms 程序根目录下解压覆盖即可 【或者将 mxtheme 放置根目录然后将 mxpro 目录文件放置 template 文件中

    苹果 cms 后台-系统-网站参数配置-网站模板-选择 mxpro 模板目录填写 html

    网站模板选择好之后一定要先访问前台,然后再进入后台设置

    主题后台地址:mxpro 主题,/admin.php/admin/mxpro/mxproset

    admin.php 改成你登录后台的 xxx.php 名称

    首页幻灯片设置视频推荐 9 后台可自定义设置

    其余功能进入后台自行设置

    追剧周表在视频数据中,节目周期添加周一至周日自行添加,格式:一,二,三,四,五,六,日

    部分功能我设置的都是默认关闭的,根据自己喜好后台设置开启

    详细安装教程都在源码包中,自行查看学习研究

    前端演示图:

    手机前端演示

  • 全新切片云转码工具源码雪人切片源码附赠前后端搭建视频教程完整版

    全新切片云转码工具源码雪人切片源码附赠前后端搭建视频教程完整版


    新鲜出炉的悟净切片云转码工具源码搭配雪人切片后端,m3u8视频切片上传图床易语言前端源码,后端是雪人的后台。小编在深度测试的时候录制了前后端搭建视频教程,同时也修复后端首页显示,这套源码是小编团购来的本打算自用的,研究了几天还是挺模糊的,小白可以绕道了,如果实在想学习研究的下载后不退换哦,切片工具源码百分百可运行的。

    更新概述:

    1、新增远程公告,2、新增远程接口,3、新增远程更新,4、批量切片,5、新版雪人后端,6、新增自动登陆,7、TS加密,8、新增禁止重复运行,9、新增自定义接口(更新为远程,可无限添加接口),10、新增自定义上传表单头尾,11、新增识别接口后,用专用上传表单,12、新增自动踢出存在空格的视频,13、新增自动踢出重复影片,14、新增自动切片,分别为挂机检测和切完检测,15、修复老版本中多处BUG。

    使用说明:

    1、在后端注册账号、续费、绑定token、填写伪静态

    2、打开软件,填写账号、密码,下次再打开软件会自动登陆

    3、添加视频时,软件会自动判断视频是否存在空格,如果有则把该视频踢出上队伍。

    4、选择上传接口、切片秒数、执行线程后,就可以耐心等待视频上传完毕了。

    5、如果日志区上传时显示错误、上传区列表无视频地址,则需要退出软件,重新选择接口。

    6、上传完毕的视频地址,会在“输出区”里面更新显示

    平台内卖的那种黑色的那款,运行较慢,多处BUG,使用的是EXUI,很多电脑系统都不兼容,买了之后你授权给客户使用时,客户能不能打开完全靠运气。

    现在这款,在此基础上升级迭代,更新了一些功能,优化了很多细节,修复了诸多BUG。完全抛弃了极其难用的EXUI,使软件更流畅、简洁好用。

    切片软件要的就是简洁、太多花里胡哨的东西,反而会拖慢软件的运行速度,懂的都懂,最重要的是上传接口。

    首页演示:

    前端演示:

    软件演示:

  • 新电影先生MxoneV10.6觅知魔改版二开短视苹果cms电影模板

    新电影先生MxoneV10.6觅知魔改版二开短视苹果cms电影模板

    这套新电影先生MxoneV10.6是觅知魔改二开短视苹果cms电影模板,源码小编也测试了一下可以正常运行,电影先生模板的功能就不多介绍了,所有功能大家也基本都清楚,本站也有自己自制更新的版本,好与坏小编不好评价哈,相对比较本站的自制版本支持自定义的功能更多一些,根据自己需求下载,这个版本非本站更新的版本,源码来源于网络收集所以更新随缘,如果想要持续更新的可以下载本站自制更新的版本。

    模板更新介绍

    MxoneV10.6 更新记录,这个版本号定义跳跃的有点高,从5.2版本直接飞升v10版本,版本号大家可以忽略,小编已测是可以正常运行的。

    新增-全站添加简繁体切换按钮,可一键切换整站字体
    新增-正在热映右上角的角标,可后台自定样式设置已预设三种样式
    新增-详情页-取消之前单独的豆瓣跳转功能,添加豆瓣、抖音、快手、百度等查看功能
    新增-优化整站 SEO 代码核心优化,全局代码 SEO 首页详情,播放页等等
    修复手机端首页于幻灯片样式间隔过长的问题
    修复优化预告模块无法正在关闭的问题,且取消预设值,后台可自定义关闭收藏按钮及整个模板功能
    修复核心 jquery 引起的报错问题,目前无任何报错
    优化后台部分功能使用引导说明
    修复安全控制 f12 等功能引用文件失效的问题
    修复其他已知的小 bug

    模板演示

    详情页

    播放页

  • 新版海螺模板M003开源无后门版苹果cmsv10模板

    新版海螺模板M003开源无后门版苹果cmsv10模板

    这套是新版海螺模板M003版本,源码测试了一下开源的源码无后门,支持黑白背景切换、支持定义主题颜色、主题页面简洁各项功能都可以后台设置,有需要的自己下载研究。

    这是一款带“模板后台管理系统,功用最全的苹果cmsV10模板”,或许很多功用并不常用但等你用到的时分才干领会它的精妙,推翻以往的无管理界面、文件找不到、不会改代码的模板通病,有了这套模板完整能够自主配置简直你能用到的一切东西,一切位置菜单自在组合,可添加自定义菜单,多颜色选择,页面可黑白形式改换,后台seo自在填写,广告位随开随关,网站图标文件后台上传想换就换,首页模块自在搭配,幻灯片两款作风自主选择,二维码公众号开关自在,本模板附加功用 独立后台 独立直播页面 独立会员中心 有明星 角色 分剧情等多样化功用。

    前端演示

    手机前端