How to obtain the number of articles published by zblog website in the past 24 hours

How to obtain the number of articles published by zblog website in the past 24 hours

On the zblog forum, I saw a user asking how to count zblog The number of updates in 24 hours. If there is no misunderstanding, the user should want to get the number of articles published by the zblog website in 24 hours. In fact, it can be achieved through a few basic SQL queries, but zblog PHP is evil. The database is queried through linked SQL. I'm not used to it all the time, so I directly use the Z-wiki example to change it to count the number of 24-hour updates to zblog. Note: The following code is only applicable to zblog php version 1.5. x. 1. Add the following code to the theme's include.php file:
media coverage three hundred and thirty
 Method code for realizing delayed loading of website images to improve website opening speed

Method code for realizing delayed loading of website images to improve website opening speed

Generally speaking, the delayed loading of web page images means that when the web page is loaded, the images that should be loaded together are temporarily replaced with small images to reduce the loading volume. When the user browses to the image area, the original image is loaded back (roughly this meaning)! The delayed loading of images is very helpful to improve the loading speed of web pages. At the same time, it is not tedious to implement the delayed loading of website images. Therefore, predecessors have prepared all the work for us. Common web page: Download the required jquery.lazyload.js file (there is a download address at the end of the article), and then add the following code before the</head>page: <script type=...
media coverage two hundred and sixty-two
 Solution to the problem of error returned by the zblog php upload image display server

Solution to the problem of error returned by the zblog php upload image display server

Zblog php uses the UEditor editor. When uploading an image, the image is uploaded successfully but cannot be inserted into the content. The display server returns an error. The solution told by the zblog administrator is to clean the BOM header. The zblog application center provides a plug-in for checking the BOM header, through which you can check and remove the BOM header of website files. 1. Enter the website background, search for "BOM File Header Check" in the Application Center and install the application; 2. Enter Plug in Management to enable the plug-in, and click the wrench icon behind the plug-in to enter the BOM file header check page; 3. Just leave the extension as default, and click Submit
media coverage two hundred and ten
 Solution to zti file upload failure during background theme installation

Solution to zti file upload failure during background theme installation

When the blog bar browses the z-blog forum or other bloggers' z-blog blogs, it occasionally finds that the theme zti file upload fails when the blogger indicates that the theme is installed in the background of the z-blog. The failure to upload zti theme files may be due to the server used by the blogger does not support uploading. zti format files or the size of zti theme files exceeds the limit of the space provider where the z-blog blog is located. The following is the corresponding solution. To install the z-blog theme, do not upload the zti file: If the server restricts the uploading of. zti files, you have to contact the space provider to set the allowed format for uploading files in the space (your own independent server, just your own
media coverage two hundred and ninety-three
 A complete list of commonly used ping centers and reference notification sender addresses on websites

A complete list of commonly used ping centers and reference notification sender addresses on websites

After the installation is completed, a ping plug-in named Ping Center and Notice of Reference Sender comes with it by default. The function of this plug-in is to send a ping notification to the network update service provider in XML-RPC protocol after Z-Log updates the article through the ping search engine address entered in advance, so that the content can be included more quickly. The following blog collects the main available ping addresses as follows: Baidu auto ping service address: http://ping.baidu.com/ping/RPC2 Update notification service for Google blog search: http://...
media coverage two hundred and nineteen
 Method code to realize the statistical effect of running days of Z-Blog blog

Method code to realize the statistical effect of running days of Z-Blog blog

By default, the z-blog system carries statistics on the total number of articles, comments, references, browses, and messages, but there is no statistics on the running days of z-blog blogs since they were installed to the present day. Therefore, to implement the statistics on the running days of z-blog, you need to manually add code. The implementation method is also very simple, just add a few javascript statements. Here are the steps of adding javascript introduced by Blogbar. Statistics of active running days of z-blog blog: In the default.html, catalog.html, search.html, tags.html, single.html files</head&
media coverage two hundred and two
 The blog comment content cannot be empty or too long

The blog comment content cannot be empty or too long

I finished v5 two days ago_ The boke8 topic was uploaded to the zblog blog for installation test. During the comment test, the error prompt "Error reason: the comment content cannot be empty or too long" was tragically displayed when the comment was submitted. Fortunately, after all, several topics were imitated for ZBlog, and the reason for the problem was that the comment related JS calls were not added, As long as it is added, there is no problem. Content cannot be empty or too long Solution: Enter the background of ZBlog blog, click "File Management", then enter the THEMES directory, and select topics where comments cannot be submitted normally For single.htm under the TEMPLATE directory
media coverage two hundred and fourteen
 Theme.xml format specification of Z-Blog theme production specification

Theme.xml format specification of Z-Blog theme production specification

The Theme.xml file of the Z-Blog theme contains some information about the theme. The following describes the content information contained in the Theme.xml file, so that users who want to create themes can easily create themes and Theme.xml files. (ThemeSapper The (TS) plug-in provides an editor for the Theme.xml document. Users who do not know much about XML can generate standard topic information documents through this editor   TS also provides a packager that matches the online installation package version in case of demand.) Sample Document <? xml version="...
media coverage two hundred and twenty-eight