Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall
Recently classified information sites are more popular, many webmasters are considering the establishment of a local classification information station! The network classification information procedures are diverse, there are fees and charges are free, there are APS also have PHP, how to choose nature is also tastes, to see the development planning and affordability of the webmaster! Here, let me say a little bit. Use the Discuz program to build a simple classification information site! First of all, to make it clear that the classification information does not have to be like the 58 or the market format, must be the area of the real estate, recruitment to pay, etc., as long as the layout is reasonable, so that visitors can understand the entire information at a glance, Our purpose is achieved! Discuz was originally a forum program, but if we change slightly, we can easily achieve the functions we need!
Required procedure: Discuz7.2
Case demonstration: http://www.akeyi.net
Matching Program: Icenter
Brief introduction:
Discuz is the most widely used forum community program, mature and stable, powerful, flexible call, is the webmaster know! Icenter is a strong third-party community extension program, its Ishare application can automatically add quality content to the site, without manual update! OK, here we go, step by step to build a and sample site to touch the same classification information station!
First install the program, add categories! These should not say more, download Dz+ucenter integration package, one-click installation, add common information Classification section, set classification information options, models, categories! can refer to the well-known classification site, according to their own needs to make trade-offs! These DZ officials have very detailed tutorials , here no longer repeat!
Here is the most important is DZ background plate set in the classification information model settings! DZ program with the classification of information options and models have been more mature, covering the common classification categories, you can use directly. But we said here is a simple classification information site, so many options we do not need, such as the example site only retained the name, QQ, mailbox, telephone these options! So the tourist release is very simple, only need to fill in these items can, as for other details, such as area, price and so on, Users can express directly in the content!
We also want to add a few commonly used sections, used in conjunction with Icenter, to carry out Automatic updates of the website content! After the configuration is complete, we will begin to install icenter! Icenter installation comparison around the mouth, we should look carefully! A lot of people wonder why they're pretending to be icenter. Simply put, the new site is no one knows, must have fresh content every day to attract tourists, but the strength of one person is difficult to achieve, or you do not have much time to manage, We need icenter to help us automatically update the site, add included, improve rankings!
We go to Icenter official website registration account, and then download the latest version (currently 2.09), the code into the site directory, address bar input install directory for installation. At this point, the operation of the end of their own website, the rest of the operation in Icenter official website! We use just registered account login to the Icenter website, into the personal management backstage, click to install a new site, follow the instructions to operate it! Configure the interactive wizard after the installation completes, On the above we set aside the several common sections for content configuration! After the configuration is completed, the Icenter affiliate posts will be automatically shared to your site, and the posts you post will be automatically shared with other affiliate sites to achieve the function of Automatic Updates!
Next, is also the most important thing: need is a home page, that is, the homepage! Of course, if you use Discuz's default home page, you don't have to look at it! Here we need to make a homepage of our own, call the latest information, the specific style we can view from the case demo site!
First of DZ from the index.php file renamed, here to Bbs.php, and then redo a index.php, the code directly from the original index file copy, but need to modify a place:
Source:
Require_once Discuz_root. /include/index_classics.inc.php ';
To
Require_once Discuz_root. /include/index_akeyi_classics.inc.php ';
(Note: Here's the akeyi you write, but to correspond with the following) and then enter the Include folder, the index_classics.inc.php copy, named index_akeyi_classics.inc.php, and modify Index_ At the end of the akeyi_classics.inc.php file,
Include template (' Discuz ');
To
Include template (' akeyi ');(Note: The akeyi here is the name of the template to define the first page!)
OK, now the last step to work, do akeyi.htm template! The template here is not as complex as DZ template, complete a simple HTM page, as long as using DW, original or imitation of your favorite classification site page can be, the key is to add data calls! The example site only uses a first page call, simple! We have to DZ backstage, add a home page call, the classification of the latest posts to call the forum! And then the code generated by the call code, such as "{eval request (' Akeyihome ');}" Copy to akeyi.htm in the appropriate place on it! Then upload the file to the template folder!
Finished, a home, Automatic Updates, simple and convenient classification information site is completed! What are you waiting for?