Note: In addition to a few minor changes in the following content, most of them are the results and experiences of netizens' research. I just did some collections and sorting them out here. Finally, I would like to express my gratitude to Shunzi, the developer of PJBLOG for providing such a good program for us to share, and also thank the blogger that has been constantly improving for PJBLOG.
01. Change the default "Cookie, Application Domain"
======================================================================
If multiple PJBlogs with the same Cookies domain exist on a server, then these Bolgs will not be able to run. Modify method: Open "const.asp" in the root directory of the Blog and modify the values of ConstCookieName="" and ConstCookieNameSetting="" in the 15 and 16 lines.
02. Change the database suffix name to eliminate the error prompt of "database connection error" =================================================================================
In some spaces, Access databases with the suffix name ".asp" are not supported. An error message will appear: "The database connection error occurs, please check the connection string!". Modify method: First, change the database file in the blogDB directory from *.asp to *.mdb, and then change the database path and file name of "ConstAccessFile" line 37 of "const.asp".
03.1. Modify the verification code so that only four "0s" will appear forever
======================================================================
There is no point in using verification codes in personal blogs, and there is no option to turn off verification codes in the PJBlog background, so the best way is to make it only display the simplest symbols. This site changes all verification codes to 4 "0":
Find common/GetCode.asp and modify the following paragraph of "Dimi,ii,iii" as:
Program code
ConstcOdds=0'No miscellaneous points appear
ConstcAmount=1' takes a symbol, the default is 0
ConstcCode="0123456789"'The line does not need to be changed
03.2. Make the system automatically fill in the verification code
======================================================================
Create a new "*.asp" file in the root directory of the Blog and fill in the following code:
Program code
<script>if(parent.document.all.validate)parent.document.all.validate.value="<%=Session("GetCode")%>";</script>
Then insert a sentence at the top of footer.asp:
Program code
<iframeframeborder="no"height=0width=0src="*.asp"></iframe>
03.3. Remove the capital English letters in the verification code
======================================================================
Modify lines 16~18 in common/GetCode.asp, constcode="0123456789" in 18 lines. These 10 numbers will appear in the verification code. If you want to add lowercase or uppercase letters, add them in quotes only.
04. Modify the entry name of the sidebar "User Panel" in common/library.asp
======================================================================
The default project names in the user panel of the sidebar are long and short, which looks very unsightly. Change the content below line 83 of library.asp. This site changes them all to four words, namely "System Management", "Publish Log", "Edit Draft", "Modify Information", and "Exit System".