inicio mail me! sindicaci;ón

PHP builds forum: Discuz! Forum is fast erect guideline

Setting: As the domain name depreciate, the price of mandatory server is cheaper and cheaper also, a lot of netizens hope can erect each personal website, what the user that among them 70% is control chooses above all is erect oneself forum, here so erect of forum of our put up with undertakes introductory.

Discuz! , home’s most popular PHP forum program, pursue free strategy in its especially hind, more a Discuz was lifted between the network! Build the upsurge of forum. Commendable is, although Discuz! The function is powerful, but its doorsill is quite low however, whole installation / set a process, all change in the graph finish in the interface, and need not the user executes any complex operations. Let us know Discuz in the round next! , use it to build finish the forum that belongs to oneself.

One, Discuz! Of moving environment build

Discuz! install / environment of moving need LAMP (Linux Apache PHP MySQL) , nevertheless, at present major user place uses all be Windows operating system, because this is in what what introduce in the article,will be Discuz is built below Windows environment! Environmental method (Windows Apache PHP MySQL) .

Popularly, we can install the program such as Apache, PHP alone, undertake debugging next, so that can move normally. Nevertheless, whole debug a process relatively complex, it is a difficult problem to abecedarian not only, even if is ” of veteran of a few “ , make mistake more easily also in debugging a process. Accordingly, the author suggests to use a few compositive good PHP installs a program, for example PhpStudy, run an environment in order to simplify build.

PhpStudy downloads an address: Http://61.151.255.99/phpStudy_phpshao.zip

Solution presses those who download to compress a file, doubleclick executive PhpStudy130.exe, the process will complete the installation of Apache PHP MySQL ZendOptimizer automatically, whole installation process will need not the user undertakes any intervention.

Clew: 1, in installing guide, will enquire PHP program installs method, this installation method debugs method for this locality namely (here author chooses C:\WWW) .

2, in installing a process, if have firewall open, when registering the service that start, whether does meeting clew trust Httpd, Mysqld-nt moves, and port 80, 3306 wait, choose to allow please.

After the installation that finish, service of the “phpStudy that start runs ” program, will can examine Apache and MySQL to run state (the 1) that be like a graph. What need points out is, if the installation in the system has IIS, and be in start condition, so 80 port will be held, bring about Apache to cannot be started thereby. Want to start Apache, need to shut IIS first, perhaps be not the port instead of IIS 80 port.

So far, discuz! Installation / moving environment installation ends, next, will begin Discuz! install an operation.

2, Discuz! Install brief introduction

Discuz! Used the installation pattern that the graph changes, according to page guiding, the program of the forum that finish that can go to the lavatory is installed. Of course, installing Discuz formally! Before, still need to undertake a few necessary preparation work.

The first pace: Download Discuz! Install a program, after solution is pressed Upload catalog all medium files duplicate PHP root catalog, namely C:\In WWW, call to go to the lavatory, also can install a subdirectory again, for example Bbs.

Discuz! Download address: Http://www.discuz.net/download/download.html

The 2nd pace: Open Config.inc.php file with notebook, all set the value of $dbuser, $dbpw be like graph 2) for Root(.

Clew: PhpStudy installation program all installs name of MySQL database user and password for Root, user also but according to demand, oneself build a database, define relevant data value oneself.

After finishing afore-mentioned settings, “http://127.0.0.1/bbs/install.php” is inputted in the browser, by carriage return type of key solicit comments started Discuz! Install a program.

The first pace: The Discuz that start! After installing a program, will appear installation agreement, I agree with the “ that needs to click page bottom ” pushbutton just can continue.

The 2nd pace: It is the setting to the database next, general, besides “ system Email” beyond, the item that does not need pair of other undertakes modification (the 3) that be like a graph.

The 3rd pace: Then need sets an administrator account, can install according to your demand random.

After a few settings of overfulfil, click “ next ” pushbutton, can carry out Discuz! install an operation, just a minute hind, program installation is finished, the “ that clicks page bottom congratulations your forum installation is finished, click enter pushbutton of ” of forum home page, can end installation program, open the forum home page with new successful setup immediately.

Can see, discuz! installation process is to comparative “ is goofy change ” , need to be indicated mediumly according to the page only, can finish inside several minutes. Of course, stem from debug convenient reason, the author’s operation all is finished in this locality computer. To carrying out the friend of the operation in fictitious lead plane directly, what produce change exclusively is need in uploading installation program fictitious lead plane, the database information that uses dimensional operation business to offer next carries out installation, the operation of other is identical entirely.

3, Discuz! Forum is installed basically

So far, we just still finished Discuz! program installation, whole forum still is an empty shell only, nonexistent any edition piece, and content. Next the job, making is through adjusting forum parameter, make its change is a forum that can use for the netizen.

The administrator account that uses the setting in installing a process logs onto forum, the “ system in clicking navigation column next installs ” link, after playing a page to input administrator password again, can log onto forum tiring-room to run a page, in order to execute relevant setting operation.

If not be very familiar to the setting of forum, can use Discuz so! Offerred setting guide, will finish a few the mainest settings simply.

The first pace: Select forum kind

Attributive of ” of “ forum dimensions, “ includes to control ” of preference of function of ” , “ in the setting of forum type 3 big. Be aimed at home is at present fictitious the circumstance of lead plane, author proposal is setting of ” of “ forum dimensions attributive of “ small-sized ”;“ to control ” setting to be ” of preference of function of “ general ”;“ to be installed for “ general ” , so that what build forum can move with groove (the 4) that be like a graph.

The 2nd pace: Setting forum is basic information

The project that wants a setting here includes URL” of website of ” of name of website of ” of “ forum name, “ , “ 3, these 3 setting does not have any difficulty but character, need to fill in according to actual condition only can.

The 3rd pace: Forum classifies initialization

Here will be right the edition of forum piece undertake installing, the method is very simple, in “ classified 1” , “ classifies 2” , “ classifies what fill in in 3” will be forum kinds of big name of edition piece, and 2” of forum of the “ forum 1” below every classification, “ , it is specific forum edition piece name.

For example, we fill in in place of “ classification 1” “ edition Wu handles ” , fill in respectively in 2” of forum of “ forum 1” , “ ” of “ forum regulation, “ violates compasses processing ” , after affirming an operation, again refresh forum home page, can see appeared classification of ” of processing of “ edition Wu, and ” of “ forum regulation and “ violate compasses processing ” is two below this classification specific edition piece (the 5) that be like a graph.

Overfulfil after the setting of 3 paces, guide program will give out one affirms a page, embedded all projects that had set, affirm without after clicking “ to decide ” pushbutton by accident, the setting of above will instantly become effective. Right now again refresh forum home page, can see corresponding change instantly.

4, thorough Discuz! Forum setting

Adopt guide program, we finished the simple setting of forum, but its limitation is very apparent also, cannot revise forum LOGO, forum for example of edition piece can set an amount finite etc, in a lot of moment, can not satisfy our use requirement. Accordingly, still be necessary more thorough adjustment forum parameter.

1, adjust forum edition piece

As bear the weight of the main body of forum content, the setting of edition piece is having crucial effect to forum person rises angrily. Nevertheless, in Discuz! in installing guide, can add 3 classification only, and most 9 edition piece, this is apparent cannot the use demand with effective byelaw. Accordingly, still be necessary to forum edition piece has more detailed setting.

The “ forum in clicking column of tiring-room coping navigation runs ” option check, the functional page that switch installs to edition piece. Click each functional pushbutton in left function column, can execute corresponding operation.

Add forum: Here outside, differ through be in a medium setting, can add “ forum to classify ” , “ forum ” , and “ child forum ” . And if add, is “ forum ” or “ child forum ” , still need an user to be in next pulling so ” of classification of superior of “ of the choice in menu or ” of “ superior forum.

Editor forum: The user can classify ” and “ forum ” to carry out “ to edit ” , “ to delete the operation such as ” to the “ forum that has added, because be in this function interface, each forum cultivates a form to reveal with catalog, because this is very intuitionistic on the operation.

2, setting user attributive

The friend that forum having bubble experiences knows, in forum, every user can have corresponding level, the user of different level, has operation limits of authority is endless also and identical. The most elementary register a member, often have the fundamental limits of authority that browse only, and the ” of “ mottled bamboo that stand high above the masses, it is the boy or girl friend that everybody admires. So, these member level, in Discuz! How should be installed again in?

In coping navigation column switch runs ” option check to “ user, the “ in clicking left function column edits user ” . Right now, occurrence “ of window lieutenant general searchs user ” page on the right side of, if know the user cuts ID really, that can be in if need pair of some,“ user name inputs; directly in ” column kind the attributive of the user undertakes modification (for example integral has user) under the place of 100, that needs to tick off choose ” of “ more option, set search requirement again next.

After getting searching a result, it is in each user place in travel, can offer ” of integral of ” of “ user group, “ attributive ” , “ wait for setting link, click these links, the attributive that can carry out a correspondence sets an operation. Click link of “ attributive ” for example, can browse the attributive such as ” , “ reply ” to undertake installing to the “ of this user.

In addition, if want to be some user promotion some forum the edition of edition piece advocate, in the interface of function of ” of “ editor forum that needs switch to be mentioned to above paragraphs then, the “ edition that clicks “ forum to classify correspondence of ” or place of “ forum ” directly advocate ” link, add the user name that this user fills in directly in ” column newly in “ next can.

3, modification forum style

Discuz! Acquiesce used blue style, although very relaxed, but the demand that can not get used to all forum however. To make forum match colors can more get used to content style, still be necessary to undertake modification to the interface of forum, roughly the process is as follows:

The first pace: Download or make a Discuz! Pattern plate, the style of “ copy NTGBK” that with the author download gets is exemple, catalog of Imagse, Scripts, Templates medium file uploads Discuz respectively! In corresponding catalog, the whole code in file of duplicate Txt.

Clew: Discuz! Of pattern plate make relatively complex (specific consult Http://www.discuz.net/thread-459941-1-1.html) , because this mights as well,choose a pattern plate that oneself like in government-owned net.

The 2nd pace: Enter Discuz! Tiring-room, in coping navigation column switch runs ” option check to “ forum, ” of “ interface style is clicked in left function column, the code that will duplicate next is all and stickup guide to “ interfacial plan, the file content that will derive please is stickup in following ” casing, click “ to refer ” pushbutton, finished the accretion of new style. Right now, new style also will appear in style list.

The 3rd pace: In coping navigation column switch installs ” option check basically to “ , the “ interface in clicking left function column and indication means ” , can acquiesce in “ the style with the new option in menu is being pulled below forum style ” , after affirming, the style of whole forum will produce change. And if need to revise a certain edition only piece indication style, that but switch runs ” option check to “ forum, hit next open system the setting interface of edition piece, can fall in ” of “ color scheme in pulling menu, undertake modification.

In addition, if need to revise forum LOGO, so join great master a kind of the simplest method. Right on forum former LOGO attack, choose “ attribute ” , in order to examine its method and file name, change the file name of new LOGO to agree with former LOGO next, upload same way and enclothe, refresh forum, finished LOGO change.

Summary: The article is right Discuz! use had simple introduction, can say, use Discuz! It is not difficult to build forum, but want to let forum be full of individual character, that is indispensible the modification that has a few development, setting. Of course, length of be confined to, the article is impossible reach every aspect of a matter, and can choose only a few have representative problem to undertake demonstrative, more thorough application, remain to fumbled at netizen friend.

Bookmark:Digg Del.icio.us Reddit

Leave a Comment