FAQ of z-blogphp (updated 2022 / 04)

 talklee

Last update time: April 15, 2022 Has exceeded one hundred and seventy Days have not been updated.

It's the latest zblog The idea of the program, the past encountered zbloghp problems, are some common or some netizens do not understand, for your reference only, the old driver please detour.

 FAQ of z-blogphp (updated 2022 / 04) sheet 1

The topic cannot be opened or displayed as "illegal authorization document" The solution of "illegal authorization file" displayed by zblog theme or plug-in

Frequently asked questions about zbloghp

Q: how to generate pseudo static?   

A: go to the home page of the background, go to "plug-in management" on the left side of the background, start "static management center", enter "setting management" on the upper right side of the background, enter "static management center", select or write corresponding rules and save them, and finally generate or add rewrite rules** The system will automatically determine what your web server is. For specific rules, please refer to the following "pseudo static problems".

Q: how to enable gzip compression through zblogphp?

A: go to the home page of the background, go to "settings management" on the upper right side of the background, enter "global settings", open "gzip compression", and save it** If gzip can be enabled on the server side, many control panels can be enabled. It is recommended to use gzip;

How does zblog PHP manage files online?

A: Download "KOD file management" in the application center and enable it;

Q: why didn't the theme document come into effect after it was modified?

A: go to the background home page, find "update cache and compile template" and click it** If it fails to take effect, please ask questions in the official forum;

Q: why does the parent category page not display sub category articles?

A: go to the home page of the background, go to "settings management" on the upper right side of the background, and then go to "page settings" - > open "list the articles of all sub categories under the category"

Q: why can't UE upload pictures?

A: Method 1: whether to enable domain name solidification. If domain name solidification is enabled, then the JS of UE cannot obtain content across domains, which will lead to errors; After the background domain name is fixed, the solution is to use the domain name after login.

Method 2, check whether the unreasonable anti-theft chain is opened, which causes the JS file cannot be read normally;

Method 3: enter ZBP forum, speak for help, and upload the screenshot of console in F12;

Q: how to change the head picture?

A: go to the background and find the left application center, search for "modify Avatar" to download and enable it. Find the user management menu on the left and modify the avatar.

8 ask: forget backstage account password how to do?

A: refer to this article What should zblog do if you forget your background account and password?

Q: how to upload the theme file in ZBA format?

A: after purchasing the theme, you can download the theme package file, which is usually ZBA. Go to the background to find the theme / plug-in management, browse and upload, and enable it.

Q: what happened to the theme update failure after purchase?

A: except for the online purchase of the application center, you can't update it online. You need to download the latest version in this website, then enter the background theme management, upload the latest version, clear the cache and compile the background home page, and force the foreground refresh (Ctrl + F5) to complete the update.

New icon on the right side of the theme category name:

 ul. nav-pills>li:nth-of-type(3) a:after {content: '';background: url(/zb_users/theme/quietlee/style/images/icon_new.png) no-repeat;width: 26px;height: 14px;background-size: contain;display: inline-block;vertical-align: middle;margin-left: 5px;}

Copy the above code, paste in theme settings global settings, custom CSS, where (3) refers to the third from the left.

Background code of quiet Zhiyuan theme navigation stripe:

 .new-header {background-color:#ffffff;position:relative;background-image:url(/zb_users/theme/quietlee/style/images/nva_bg.png);background-position:center right;background-size:auto 100%;}

Copy the above code, paste it in the theme settings, and customize the CSS interface.

You want the background color of the theme template article:

 .single-entry {     width: 100%;     max-width: 100%;     position: relative;     background-image: linear-gradient( 90deg,rgba(255,0,0,0.05) 5%,rgba(72,42,10,0) 0),linear-gradient( 1turn,rgba(0,0,0,0.05) 5%,rgba(255,153,44,0) 0);     background-size: 20px 20px;     box-sizing: border-box;     border-top: 1px solid #fff2f2;     margin-top: -5px;     padding-bottom: 16px; }

single-entry For the article class name, modify according to the actual situation, hope that the topic template can be used directly.

Category page

First of all, some children's shoes reflect that no matter which page you click on to open the home page, some think it's a program error, or even clear the data directly, and the result is the same. This problem lies in the classification page template. Xiaobai generally doesn't read the topic introduction after buying the theme, but goes to the developer if he has any problems. This is a very bad habit, Although I don't like reading such articles, I can't help it. There's really a problem. The solution is:

Open the background home page, find the "classification management" in the left menu, and then find the classification of the corresponding website. Click the Edit button on the right to find the template and select "catalog", as shown in the figure below:

 Z-blogphp FAQ (updated 2022 / 04) sheet 2

If you open the first page, it is easy to distinguish the form of each topic from that of the first page.

 FAQ of z-blogphp (updated 2022 / 04) page 3

Theme compatible plug-ins are attached:

 FAQ of z-blogphp (updated 2022 / 04) sheet 4

Comment on user agent plug-in: You can display the reviewer's browser and other information in the comment area.

Copy code: When editing an article, use the code box to display the copy button in the upper right corner.

The article likes the development board: Enable the plug-in to display the like function in the article page.

Gravatar head: Call the comment profile plug-in.

Image SEO: As the name suggests, not much explanation.

Baidu Push lazy people version: New Baidu plug-in auto Submit search engine.

Text label automatic inner chain: In the article associated with the corresponding tag, give the tag link function.

Image watermark: Add watermarks, optional text or image watermarks when uploading images.

Baijia No When publishing an article, it will automatically synchronize to the plug-ins of the 100 family number. If you have some, you can install it yourself.

The above plug-ins are free plug-ins, and the application center can search and download them by themselves. Generally, there are no special requirements, and the default configuration is good.

Common mistakes

After the updated version of zbloghp, you may all know that the random code "rand ()" is prohibited. I wrote an article before, and I am interested in the following: Zbloghp random display article tutorial New randomization enabled Show the code of the article, but some children's shoes may encounter the prompt as shown in the figure“ array_ rand():Second areument...

 FAQ of z-blogphp (updated 2022 / 04) sheet 5

This problem is also very easy. The reason is that the number of articles on your website is too small, which is less than the articles that need to be displayed. Of course, this is not only for my topic, but also for those who use the code of displaying articles immediately. Because the parameter setting randomly displays 9 articles, but the database is not enough, this prompt appears, Of course, I can't understand the meaning of this article until I change the code randomly.

The latest solution:

Since the recommended form of pictures and texts has been updated in the later stage, the above problems are set in the background, appearance settings, and the number of pictures and texts in the sidebar. For example, pictures:

 FAQ of z-blogphp (updated 2022 / 04) page 6

After setting, update the cache.

Pseudo static problem

Some new children's shoes don't understand the pseudo static of the program itself. Why do some websites open and display you: "http: / / other people's domain name / guestbook /", while your article: "http: / / your domain name / guestbook /", the reason for solving the problem lies in the alias of the article itself, opening page management, editing page, You can set the "alias" below the content of the article, as shown in the following figure:

 FAQ of z-blogphp (updated 2022 / 04) page 7

There are also some other types of pseudo static, here I put my own as pseudo static rules share First, open the plug-in, find the pseudo static center, click manage, and select the "pseudo static" option. The code is as follows:

·URL configuration of articles

 {%host%}blog/{%id%}.html

·URL configuration of page

 {%host%}{%alias%}/

·Home page URL configuration

 {%host%}page_ {%page%}.html

·URL configuration of category page

 {%host%}{%alias%}/{%page%}/

·URL configuration of tab

 {%host%}tags-{%id%}_ {%page%}.html

·URL configuration of date page

 {%host%}date-{%date%}_ {%page%}.html

·URL configuration of author page

 {%host%}author-{%id%}_ {%page%}.html

Just copy the code into the text box.

Secondary drop down menu

If you use the "link module management" plug-in, you can ignore the manual addition of the secondary menu, and go straight to... If the plug-in is not enabled, continue to view: The pull-down menu of zbloghp program needs to be implemented by code. At present, this operation habit may not be very good, but there is no way but to manually modify it. Developers of each topic will definitely tell the code when writing the topic introduction. Some of them don't know how to use it. Take my topic as an example, set the next level menu:

For example, dreamer menu code:

 <li class="menu-item-has-children"> < a ﹣ A-level menu</a>     <ul class="sub-menu dropdown-menu"> < li > < a</a></li> < li > < a</a></li>     </ul> </li>

Then go back to the background, find the module management on the left, and click the navigation bar above, as shown in the figure:

 FAQ of z-blogphp (updated 2022 / 04) sheet 8

Then at the end of the text, add the code, click Submit, open the home page to view, and you can see it. You can modify it by connecting to it. Pay attention to backup the original content of the navigation bar, so as not to make mistakes and lead to website errors.

Secondary modification and use

Themes are made according to the public's aesthetic taste or from the perspective of developers. Some experiences are not so good. If you want to delete a piece or modify a piece, the specific modification varies from person to person. The problem is that after the theme is modified, there is no change in the opening of the website, so the modification is still ineffective, The setting of the program itself is that each time you modify the theme template, you have to go back to the background home page and find "empty cache and recompile template" (as shown in the figure). Of course, the core files of some templates need to be re enabled to achieve this.

 FAQ of z-blogphp (updated 2022 / 04) page 9

The problem comes again. Some themes have been modified and their original styles will be restored in the next update. There is no way to solve this problem for the time being. However, if the theme style is designed, it can be solved. Even if the template is updated, it will not be changed. The solution is that some themes have custom CSS style interfaces during development, For example, if you want to change the theme, you can still use the interface style to change the theme. For example, if you want to change the theme, you can only use the interface settings.

 FAQ of z-blogphp (updated 2022 / 04) page 10

Orson Icon

I'm here again. Today I'm going to teach you how to use the Orson icon

 FAQ of z-blogphp (updated 2022 / 04) page 11

First, open the website background, find the left menu module management, and then click the navigation bar above to enter the navigation bar.

 FAQ of z-blogphp (updated 2022 / 04) page 12

Add in the body of the figure, find the corresponding category name, such as the front page, and then copy and paste the code

 <i class="fa fa-home"></i>

Where FA is fixed, we only need to modify the "Fa home" at the back, and refer to the following links for other codes;

 FAQ of z-blogphp (updated 2022 / 04) page 13

"The home page of this website is not allowed to use the icon of my own theme, so that I can only use the icon of my own theme to update the theme file of my own, so that I can only use the icon of my own theme to update the website.

Attached using the "link module management" plug-in course

First, make sure that you have enabled the plug-in, then find the module management, and click the navigation bar, as shown in the figure:

 FAQ of z-blogphp (updated 2022 / 04) page 14

Open the navigation bar and add "code of Orson icon" in "icon (class attribute value)", as shown in the following figure:

 FAQ of z-blogphp (updated 2022 / 04) page 15

OK, so far, the tutorial of adding navigation icon is finished. It is very simple, including setting the secondary menu. As long as you open the "level 2" in the above figure (purple box), you can complete the secondary menu setting.

Website with Orson logo: Icon portal

About project introduction module setup tutorial:

First find the left menu, module management, and click new module

 Z-blogphp FAQ (updated 2022 / 04) page 16

Set name (customizable) file name and ID divproject It cannot be changed. The setting is as shown in the figure:

 FAQ of z-blogphp (updated 2022 / 04) page 17

Select "UL" as the type, and the content of the text is as follows (some names and links can be modified by yourself)

 <li class="divproject-ebox divproject-01"> <h4> Website construction </h4> <p>Provide brand official website solutions</p> <a class="btn btn-default btn-sm" rel="nofollow" target="_blank" href=" tencent://message/?uin=229693666&Site=Senlon.Net&Menu=yes "> contact us</a> </li> <li class="divproject-ebox divproject-02"> < H4 > template making <p>Copy station / effect drawing to template</p> <a class="btn btn-default btn-sm" rel="nofollow" target="_blank" href=" tencent://message/?uin=229693666&Site=Senlon.Net&Menu=yes "> contact us</a> </li> <li class="divproject-ebox divproject-03"> < H4 > CSS layout adjustment <p>Modifying the web layout</p> <a class="btn btn-default btn-sm" rel="nofollow" target="_blank" href=" tencent://message/?uin=229693666&Site=Senlon.Net&Menu=yes "> contact us</a> </li> <li class="divproject-ebox divproject-04"> < H4 > other problem solving <p>Solve the problems encountered in the construction of the station</p> <a class="btn btn-default btn-sm" rel="nofollow" target="_blank" href=" tencent://message/?uin=229693666&Site=Senlon.Net&Menu=yes "> contact us</a> </li> <li class="divproject-ebox divproject-100"> < H4 > customized development process <p>Business consulting | submitting requirements | starting implementation | confirmation | after sales service</p> <a class="btn btn-default btn-sm" rel="nofollow" target="_blank" href=" tencent://message/?uin=229693666&Site=Senlon.Net&Menu=yes "> contact us</a> </li>

PS: you can only modify the text and links, other formats do not move, or there may be confusion.

How to set up advertisement pictures

There are a lot of advertising spaces on the theme, which are actually targeted at alliance advertising, but some Xiaobai want to put some simple picture links. The code is as follows:

 You can fill in / "title =" description "> for the target link or no jump < img SRC = image URL "ALT = picture description" > </a>

It's easy!

Compatibility description of laycenter collection button:

User center background, global configuration - general configuration, as shown in the figure: Based on the element ". DS reward STL", select the front in the front“ prepend ”。 Set the custom CSS and ID to "shoucang".

 FAQ of z-blogphp (updated 2022 / 04) page 18

Article sales custom CSS code, global configuration - Sales configuration, the bottom custom style:

 .lcphidebox{border:solid 1px #e4393c;text-align:center;}. entry-content .lcphidebox .lcp-title{background:url(//static.360buyimg.com/item/unite/1.0.81/components/default/pingou/i/activity-banner.png) right top no-repeat #e4393c;font-family:"Microsoft YaHei" ; overflow:hidden; zoom:1; color:#ffe134; font-size:16px; background-size:cover; background-color:#e4393c! important; display:block; margin:0 auto; line-height:30px; padding:10px 0; border-radius:0;}. entry p.price{color:#bf8e56;margin:0 auto;font-weight:bold;} p.price span{color:#E4393C;font-family:"microsoft yahei";}. entry .lcp-body p{margin:0 auto;}. lcphidebox .lcp-body{background:linear-gradient(to bottom,#fff3e0 0,#ececec 100%);}. lcphidebox .lcp-header{background:#f3f3f3;padding:10px 5px 5px;} ul.lcp-download-field{text-align:left;}. lcp-body p.buy a,p.lcp-download-subinfo span. download a{background:#d5b682;padding:5px 10px;margin:0 5px;color:#ffffff;border-radius:2px;-moz-transition:ease-in-out 0.3s;-webkit-transition:ease-in-out 0.3s;-o-transition:ease-in-out 0.3s;-ms-transition:ease-in-out 0.3s;transition:ease-in-out 0.3s;}. lcp-body p.buy a:hover,p.lcp-download-subinfo span.download a:hover{background:#777;color:#fff;}

Hidden part classification:

 a#cate-5 {     display: none; } Multiple categories hidden: a#cate-5, a#cate-6 {     display: none; }

Note: enabling the number "5" and "6" is the classification ID. in the background, the classification management view ID.

 Z-blogphp FAQ (updated 2022 / 04) page 19

Hide all top-level categories:

 ul.filter-tag {     display: none; }

effect:

 Z-blogphp FAQ (updated 2022 / 04) page 20

Well, let's call it a day. I'll keep up with new problems.

Copyright notice: unless otherwise specified Li Yang's personal blog Original article, reprint or copy, please in the form of hyperlinks and indicate the source.

Comment

Quick reply: expression:
Comment list (yes ninety-seven Comments, forty-one thousand three hundred and eighty-five People watching)
 Netizen's nickname: Auto_ 6kjx1ufe
auto_ 6kjx1ufe V tourist  Google Chrome 103.0.0.0  Windows 10 x64 48th floor
07-24 From Indonesia reply
That's great. Give me a compliment
 Nickname: talklee
talklee V Blogger  Sogou Explorer  Windows 10 x64
07-25 From Liaoning reply
@auto_ 6kjx1ufe Thank you for your support from Indonesia!
 Net friend's nickname: electric net
Electrical network V tourist  Google Chrome 86.0.4240.198  Windows 7 x64 47th floor
07-23 From Guangxi reply
Thanks for sharing and learning
 Nickname: talklee
talklee V Blogger  Sogou Explorer  Windows 10 x64
07-25 From Liaoning reply
@Electrical network You are welcome. I can help you!
 Netizen's nickname: Anonymous
nameless V tourist  Google Chrome 75.0.3770.100  Windows 10 x64 46th floor
2021-12-18 From Tianjin reply
Come around and like it.
 Nickname: talklee
talklee V Blogger  Sogou Explorer  Windows 7 x64
2021-12-18 From Shanghai reply
@Anonymous Thank you for your support!
 Netizen's nickname: cjwlove
cjwlove V tourist  Google Chrome 86.0.4240.198  Windows 10 x64 45th floor
2021-12-17 From Guangdong reply
What you want can be found here in Lao Li, very good!! But I found a problem, I use the navigation theme, install the copy code plug-in, why do not display the copy button in the upper right corner! Project introduction module is not suitable for navigation theme!!!
 Nickname: talklee
talklee V Blogger  Sogou Explorer  Windows 7 x64
2021-12-18 From Shanghai reply
@cjwlove See if it is caused by JS or CSS conflicts.
 Netizen's nickname: We Media Operation
We media operation V tourist  Google Chrome 92.0.4515.107  Windows 10 x64 44th floor
2021-12-08 From Shanghai reply
Yes, I have to do it!
 Nickname: talklee
talklee V Blogger  Sogou Explorer  Windows 10 x64
2021-12-08 From Tianjin reply
@We media operation Thank you for your support!
 Netizen's nickname: Uncle Latte
Uncle Latte V tourist  Google Chrome 96.0.4664.55  Windows 10 x64 43rd floor
2021-12-07 From Shanghai reply
Ma Dou media is good
 Nickname: talklee
talklee V Blogger  Sogou Explorer  Windows 10 x64
2021-12-08 From Shanghai reply
@Uncle Latte Emmmm what?
 Netizen's nickname: a baibianpengzai
A hundred changes V tourist  Google Chrome 96.0.4664.45  Windows 10 x64 42nd floor
2021-12-07 From Guangdong reply
Come around! [Fabulous]
 Nickname: talklee
talklee V Blogger  Sogou Explorer  Windows 10 x64
2021-12-08 From Tianjin reply
 Netizen's nickname: We Media Operation
We media operation V tourist  Google Chrome 92.0.4515.107  Windows 10 x64 41st floor
2021-12-06 From Shanghai reply
Yes, I have to do it!
 Nickname: talklee
talklee V Blogger  Sogou Explorer  Windows 10 x64
2021-12-07 From Tianjin reply
@We media operation Thank you for your support
 Nickname: Auto_ ft5k1kid
auto_ ft5k1kid V tourist  Sogou Explorer  Windows 10 x64 40th floor
2021-11-18 From Shanghai reply
How to add or modify background image
 Nickname: talklee
talklee V Blogger  Sogou Explorer  Windows 10 x64
2021-11-23 From Shanghai reply
@auto_ ft5k1kid Which theme?

Contents [+]