Teach you to remove discuz!7.0 there are no new posts in the icon

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. I see some stationmaster in ask, how to remove have no new post plate icon, and for the section set their favorite personalized icon, in this deliberately write the method, hope can help to have the webmaster.

Take discuz!7.0 as an example:

First, remove discuz! default has no new posts icon

Before removal, discuz! The default display has no new posts icon:

  

Open the template file css_common.htm and locate the following code:

. list th {background:url ({imgdir}/forum.gif) 5px 10px no-repeat; padding-left:45px!important;}

. narrowlist th {Vertical-align:top}

. List Th.new {background-image:url ({imgdir}/forum_new.gif);}

Copy Code

Modified to:

. list th {background: #FFF; padding-left:5px!important}/* Remove the no new post icon and set the width of the blank on the left side of the plate icon * *

. narrowlist th {Vertical-align:top}

. List Th.new {background-image: #FFF}/* Remove new post icon/*

Copy Code

When you have finished modifying, save the file.

After the cache is updated to the background, the foreground is refreshed, and you can see that there is no new post icon in the default:

  

Second, the background to add a new forum icon

First put the plate to add to the directory can be accessed, such as in the forum root images under the new folder, named Forums, to add the forum icon to the directory.

Second, the Forum Backstage => plate => section Management => Edit:

  

Add Forum Icon:

  

Click "Submit".

III. Update Cache

In the background => tool => Update cache, after execution, to the foreground refresh can see:

  

Note: If the background update cache is not available temporarily, you may try to delete the following files from the forum root:

/forumdata/cache/all documents;

/forumdata/templates/all other documents except index.htm;

Then the foreground is refreshed.

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.