First, the Log reply box in the expression line of the number, how to modify?
The standard is 8, I would like to modify to 5 per line, because I uploaded a little bit of expression size, resulting in page expansion, a little confusing
Method: Open the Ubbconfig.asp file/--in the common directory with Notepad to find the following code:
Program code
If Smiliecount=8 then smiliehtml=smiliehtml+ "</tr>": smiliecount=0
Did you see 8? Change it to 5.
Second, why the background to add a friendship connection, but not the home page display?
Enter Backstage--[Friendship Connection management]--See you add the connection behind this icon? , click, hint your friendship connection, become the icon, then you add the Friendship link on the home page show.
In a word, the top link is displayed on the home page, the friendship connection is only displayed on the [more connections] Pages
Third, how to add a record number and statistics code at the bottom of the homepage or edit the bottom of some information?
Open the foot.asp file in the root directory with Notepad/Locate the following code:
Program code
<a href= "http://www.miibeian.gov.cn" style= "font-size:12px" ><b><%=blogabout%></b></a >
<%=blogabout%> replaced with your record number on it, in fact, there is a very simple method, what method? Haha, the backstage can add! I started to get mixed up, didn't notice ... Enter the background--[site basic information]--see? I fainted when I didn't see you, ha ~!.
How does the statistic code add? Dizzy, just find a place to add your statistics code on it, but to find a suitable place to add ...
To see what information at the bottom doesn't want to appear, just remove the code from the file ...
Copyright information can also be removed, but I hope that you respect shun and other people's work, please retain the copyright information!!!!!!!!! Adding a copyright message doesn't matter!
Copyright Information Code:
Program code
<p>powered by <a href= "http://www.pjhome.net" target= "_blank" ><strong>pjblog2 v<%=blog_version %></strong></a> CopyRight, <strong><%=SiteName%></strong>
Style Information Code:
Program code
<%=SkinInfo%>
Other oneself casually change, see this which does not want to appear to remove which code on it ...
How to change the time of construction station?
In the background to modify the--[interface and plug-in]--[settings module] Find the module tag [bloginfo]--[Visual editing], I casually modified on the line, you can not need to remove the statistics, I removed the [reference] and [online members], I entered is [HTML editor], All the same changes, nothing.
Five, use the message book?
Enter the background--[interface and plug-in]--[install module plug-in], and then select the plug-in to install, point [install this plugin] on the line.
Pjblog with three plug-ins, have a message this plug-in and the latest article Plug-ins, personal file plug-ins.
I used two plug-ins, feel more useless, if you need more plug-ins, go to the official forum to download it, install a new plugin I have not installed, temporarily will not install ...
Vi. How to modify the number of words displayed in each log of the homepage?
At first I was very stupid ah, is not found to limit the number of words to show the place, on the background to change. That's so pathetic.
If you want to edit the first page of each log to display the number of words, you can enter the background--[site basic information]--[log Save Settings], you can modify the display number of words or lines--[two choice of]
By the way, in [site basic information] You can arbitrarily modify the settings you want, I register the member to GUANLA, hehe ...
All right, tell me how to correct it. How to modify the number of words displayed in each log of the first page, when publishing the log, in the edit box below see [content summary]? --Select [Edit Content summary], OK, this log want to appear in the first page of content copied into the inside bar ...
Words? Go to count yourself, haha, you can select those content on the home page, in fact, this can be compared to the number of words to display better use AH.
Seven, modify const.asp inside the database path and cookie name, to ensure that your site security
Don't say that, and neither will you. This hint is a note file with the program.
To the root directory to find the const.asp file, open with Notepad, look for the following code (in fact, there are text prompts, found on the find):
Program code
' Define the database link file, modify it according to your own situation
Const accessfile= "Blogdb/pblog2.asp"
Define the cookie,application domain, you must modify it, otherwise it may not work properly
Const cookiename= "XXX"
Const cookienamesetting= "Xxxsetting"
Const ipviewurl= "http://www.dheart.net/ip/index.php?ip=" IP query website address
Response.Cookies (cookienamesetting). expires=date+365
Pblog2.asp modified into a complex name, to complicate Ah, oh, the province of the database is easily lost, modified, and then open the Blogdb directory, to pblog2.asp file, and then renamed, what name? You just changed the name Ah! The cookie name is modified by itself.
Eight, how to install skin (style)?
First ask, will the default style be set? Dizzy, won't it? Hurry into the background--[module and plug-in]--[set appearance], select a style, point [set to the current theme], set a good default style
To the official forum to download a style, unzip the download folder, the folder xxxxx (which contains UBB folders and other files) uploaded to the Skins folder can be, then the background--[module and plug-in]--[set appearance] automatically added a style, hurriedly to try new style!
After the editing of the log, the bottom of the article appears "[This log by So-and-so when edit]" words
PJBLOG2 v2.5 version: Open the blogedit.asp file in the root directory with Notepad, and locate and delete the following code:
Program code
If Weblog ("Log_isdraft") =false then Weblog ("log_modify") = "[This log is" &memName& "to" &datetostr "(Now ()," y-m-d H : I A ") &" edit "
PJBLOG2 v2.6 version: Use Notepad to open the cls_logaction.asp file in the class directory and find and delete the following code:
Program code
If Logisdraft=false then weblog ("log_modify") = "[This log is" &memName& "to" &datetostr "(Now ()," y-m-d h:i A ") &" edit "
Ten, remove the underline of the hyperlink in the style
Open the Link.css file for each style in the Skins folder, open with Notepad, the underlined parameter is "Text-decoration:underline", and the argument without an underscore is "Text-decoration:none". If you do not use the "text-decoration" attribute, the default is underlined. You can replace the "underline" with "none" where you don't want to underline, or simply replace all of them. I ah, is all to make no underline, haha have the underline is really difficult to see ah ...
Xi. PJBLOG2 Plugin: Site Focus-Web Spotlight Plugin Author: Jerry (06-05-22)
Plugin Description: Site focus, sites focused.
Like many large portal sites, rotate some pictures on the home page to link to the corresponding address. Especially suitable for website focus and some ads. This plug-in can set 5 focus in the background, each focus has its own corresponding picture, link address, description text, you can set the foreground display size, in the foreground through a variety of transition styles to change the link picture, so as to achieve "focus" purposes.
Installation method: Upload the Sitefocus folder under the Plugins folder in the space, and then install it in the background.
12: PJBlog2 Plugin: timecounter Author: Jerry (06-05-22)
Plug-in Description: Countdown Plug-ins, in the background can be set 4 options: Timing title, target date (form such as YYYY-MM-DD), Target time (24 hours, form such as HH:MM:SS), the timing card style, from the target time is less than 3 days will automatically become red reminders, Exceeding the target time indicates expiration. This plugin also supports IE, Firefox.
Installation method: Upload the Timecounter folder under the Plugins folder in the space, and then install it in the background.
13, search the keyword can not less than 3 words how to modify?
In the background [interface plugin]--[search Module] There [edit HTML], instead:
<form style= "margin:0px" onsubmit= "if" (this. SEARCHCONTENT.VALUE.LENGTH<2) {alert (' keyword cannot be less than 2 children '); Searchcontent.focus (); return false} "action=" Search.asp >
14, backstage "View visitor record" A blank, is what reason?
Background--Site basic settings-the maximum number of visitors record "fill in the numbers" ... 100000000, how much love fills. If you can't fill in the 0 visitor records, you can't see anything.
The size of the thumbnail image displayed on the first page is modified
Find the folder common, open the inside of the Common.js file, modify the following code (in fact, I do not know what the difference between 500 and 400, I put 500 and 400 all changed to 550, the province of trouble. )
Program code
Find pictures that are too wide in the page to zoom and PNG correct
function Reimgsize () {
for (i=0;i<document.images.length;i++)
{
if (document.all) {
if (document.images[i].width>500)
{
Document.images[i].width= "500"
Document.images[i].outerhtml= ' <a href= ' +document.images[i].src+ '
target= "_blank" title= "open picture in New Window" > ' +document.images
[i].outerhtml+ ' </a> '
}
}
else{
if (document.images[i].width>400) {
document.images[i].title= "Open a picture in a new window"
Document.images[i].style.cursor= "Pointer"
Document.images[i].onclick=function (e) {window.open (THIS.SRC)}
}
}
}
}
16, Skin conversion plug-in (2006-06-05)
Plugin Name: Skin switcher
Plugin Version: 1.0
Plugin Author: Shun son
Plug-in description: To give PJBLOG2 a quick switch skin function, install plug-ins backstage, to plug-in advanced settings to choose to allow visitors to change their skin.
Reference content
<div class= "Content-body" >
<%if Len (Log_viewarr (16,0)) >0 Then Response.Write (Log_viewarr (16,0) & "<br/>")%>
Google AdSense Advertising Code
<BR/><strong>
3, Save the modified file, upload to the FTP space, and then into the background, "site basic Settings"-"initialization data" can be.
4, if you want to put Google AdSense ads at the top of the article the latter side of the sidebar, the establishment of a "content module" in the background, and then add advertising code in the module can be.
23, solve the Pjblog expression box can not be paged out in Firefox 2.0 browser
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.