VBulletin experience-improvements to two la S

Source: Internet
Author: User
Tags vbulletin
In fact, vBulletin leaves traces of the external wireframes of HTML tables, and also reserves "interfaces" in all tables-strictly speaking, this has nothing to do with PHP or databases, because it is a web design thing. However, by default, the HTML code of these wireframes is commented out without SyntaxHighlighter. all ();

Text box of tables
In fact, vBulletin leaves a trace of the external line boxes of HTML tables, and also reserves "interfaces" in all tables-strictly speaking, this is irrelevant to PHP or databases, because this is a web design thing. However, by default, the HTML code of these wireframes is commented out and will not be displayed, and not all templates are available. Strictly speaking, the process of adding wireframes is not a HACK, so we didn't share it with you in the form of HACK.
Although it seems that some people will find these wireframes nice, it is not easy to process them, especially those who have already created their own templates, they have to modify more than 20 templates, but there are not many changes, but it is very troublesome.
Basically, the default template table of vBulletin has a feature, such as:"
", The cellspacing (cell gap) of these tables is 1, and each cell has a specific background color according to the regular pattern, this ensures that a cell (table) with a specified background color can be set to a one-pixel-wide box. When cellpadding (blank in cells) is 4 and border (border) is 1, there is a gap between the text and the table, and the default border line of HTML is not displayed awkwardly.
Therefore, we only need to enclose a table with a specified background color on the outside of these tables to get a fine box. In order to make the color of this fine box configurable, I suggest using the "replace variable" vBulletin function. For example, add"

", Followed by"
"; Then add a variable {tablebordercolor} in the Control Panel> replace variable> add, with the value #000000. In this way, a black box can be added.
There are many templates to be modified, all of which are
Editpost, editprofile, editthread, forumdisplay, forumhome, getinfo, getip, lostpw,
Memnerlist, memberlistsearch, modifyprofile, move, newreply, newthread,
Openclosethread, postpreview, searchintro, searchresults, sendtofriend,


Settopthread (HACKed), showfav (HACKed), showthread, standarderror
Note the following points:
Prepare postbit should not be processed, because these fine wireframes will overlap, resulting in poor appearance;
The worker part has two or more parts to be processed, such as memberlist, newreply, and showthread;
If the template has a FORM, it is best to enclose it outside the table, but in any case, keep the nesting correct;
One suggestion: If you have not installed the vBulletin system, you 'd better change it in installtemplate, but note that ", $, and must be added. If you have already installed the tool, you may have to change the template on the existing system. Check if this is needed-I don't want to change it.
Example: http://www.charmaine.f2s.com/
Cursor Position
When we speak or reply, we should drag the scroll bar with the mouse, and then click the input position, so that the cursor stays there to start entering text. Is there a way to make the cursor automatically stay at the corresponding position?
Yes!
We can use the JavaScript Object method focus. Process several corresponding templates (mainly editpost, editthread, newreply, newthread), and add"

", Where the form is Corresponding value, and the object is The corresponding value depends on the actual situation of the template. if there is no value, add -- this is so simple.
Example: http://gogosoft.oso.com.cn/
VBulletin uses PHP and MySQL to implement dynamic and interactive Web programming. we can make full use of many aspects, such as webpage design, image production, and client programming, complete it.

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.