How to add ads to discuz!7.0 Sidebar

Source: Internet
Author: User

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

discuz!7.0 is Sing (Comsenz) company released in December 2008, a forum BBS construction station products. In this article, I teach you to add your own ads in the sidebar of discuz!7.0.

1, open the sidebar

Enter the background => tool => data Call: Click the Global in the sidebar dropdown box, and select Select in the Enable sidebar: Yes

  

  

2. Add Module

Click "Module Script" on the current page and find "free Code" in the module listed below, click on the Add later

  

Fill in the Parameters on the page, the module name must be filled out, then the following two items can not fill. In the code format, you can select the HTML code or the discuz! Code, if you understand HTML code, you can copy the written HTML code directly to it, or paste the advertising code from someone else here, such as Google's advertising code. If you don't understand HTML code, you can also use the discuz! Code is the same as posting on the forum.

It is recommended that you use HTML code as much as possible, while using HTML code to maintain the following format:

Custom Banner

{HTML code}

For example, here I set up:

Custom Ads

  

  

Then click the preview at the bottom of the page to see how the code actually works

  

The above code can be used in a different place instead of a pipe. In addition, if the use of the Forum is Utf-8 code, and add ads after the ads appear garbled, please select "Force character conversion" as:

  

3. Add to Sidebar

Select the sidebar in the background => tool => data call => Home

  

Locate the newly added module at the bottom of the list of listed modules, then select the checkbox below and click Submit.

  

The following can be filled in the order of the display, if not filled out the default will be shown in the sequence number 0 of the module, of course, before the submission can also use the preview to see the effect. Finally, look at the results after the successful Add.

Background:

  

Home effect:

  

Of course, if you want to display the sidebar on the topic List page, do the same in the sidebar settings of the topic list. This is no longer described here.

Related Article

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.