It took some time today to upgrade the Zblog to 1.4 SP2, and the static patch plugin was upgraded to SP2 at the same time.
Static patch code part of the change or only modify the c_system_event.asp and c_system_lib.asp two files, while providing a new addition to the plugin features two files, a description of the file. Altogether is therefore five documents.
The use and installation of this patch is very simple, first download the Z-blog 1.4 SP2 official version, and then download Z-blog 1.4 SP2 The static version of the patch, note that this patch can only be used on this version, do not use on other versions. The two ASP files in the patch are covered in the original catalogue, and the Catbuild directory can be placed in the plugin directory.
A typical user can install a static patch using the following 3 actions:
1, download the original Z-blog 1.4 SP2.
2, download the Moon static patch 1.4 SP1. Overwrite the original file with 2 of the files. Install plugin at the same time.
3, re-file reconstruction operations, and then enter the "Plug-in management", click "Static classification Directory file generation."
At this point the Z-blog directory file is static.
Manual modification
If your zblog is a modified version of your own, you can use the following actions to manually perform static modifications. The operation is more complex and is not recommended for use.
c_system_event.asp File Modification:
651 Lines modified to:
Strarchives=strarchives & "<li><a href=" "& Zc_blog_host & Zc_static_directory &"/"& Year (DTMYM (i)) & "_" & Right ("&month" (DTMYM (i)), 2 & ". & Zc_static_type &" ">" & Year (DTM YM (i)) & "" & Zva_month (Month (DTMYM (i)) & "(" & objRS (0) & ")" + </a></li> "
1646-1649 Lines modified to:
S=zc_static_directory & "/" &y& "_" &right ("& (M-1), 2) &". "& Zc_static_type
T=zc_static_directory & "/" &y& "_" &right ("& (M+1), 2) &". "& Zc_static_type
If m=1 Then s=zc_static_directory & "/" & (y-1) & "_12" & "." & Zc_static_type
If m=12 Then t=zc_static_directory & "/" & (y+1) & "_01" & "." & Zc_static_type
1652 Lines modified to:
Strcalendar=strcalendar & "<p class=" "Y" "><a href=" "" &zc_blog_host &s& "" "><<</ a> <a href= "" "& Zc_blog_host &zc_static_directory &"/"&y&" _ "&right (" &m,2) & "." & zc_static_type& "" > "&y&" · " &m& "</a> <a href=" "&zc_blog_host &t&" ">>></a></p>"
C_system_lib.asp Modification:
110 Lines modified to:
URL = zc_blog_host & zc_static_directory & "&" Cat_ "& ID &". "& Zc_static_type
1355 Lines modified to:
S=zc_blog_host & "Catalog.asp?" & T & "Page=1"
1374 lines modified to:
S=zc_blog_host & "Catalog.asp?" & T & "page=" & I
1376 Lines modified to:
S=zc_blog_host & "Catalog.asp?" & T & "Page=" & Intallpage
If you do not want to manually modify, directly download the following file overlay on it.