Discuz Post Layout Display error

Source: Internet
Author: User
With the XAMPP configuration of the Discuz forum, but post appeared after the post layout is not normal, the layout of the activity is not aligned, the user name, landlord and elevator, such as the words are blocked, how to solve it? Please, the great God help solve!


Reply to discussion (solution)

Update the cache or try a different browser
If not, you have to adjust the style.

Tried, do not know where to tune ...

Dz\template\default\forum\viewthread_node.htm

144 lines, with the following code
Style= "height:48px" >
Change into

Modify style= "height:48px" try, remember to change the original PHP code back

Dz\template\default\forum\viewthread_node.htm

144 lines, with the following code
Style= "height:48px" >
Change into

Modify style= "height:48px" try, remember to change the original PHP code back



I know the reason, is because I put the template file under the Common/header_common saved as Utf-8 caused, why this reason, so that my title is not able to become Chinese, I would like to ask whether there is a solution

It is better not to write Chinese directly on Header_common, you should use the language pack
And the title is the change $navtitle is based on the PHP page variables, each page is not the same
Really want to write directly, you have to transcode

It is better not to write Chinese directly on Header_common, you should use the language pack
And the title is the change $navtitle is based on the PHP page variables, each page is not the same
Really want to write directly, you have to transcode


I changed the height value of the viewthread_node.htm as you said, but it didn't work.
Do you mean to directly decorate the UTF-8 forum source file? But I did before a discuz utf-8 version of the configuration database when the garbled, do not know why, and change back to GBK.
There is also why I on other computers also so change the title of Header_common, save as Utf-8 file, there will be no layout error, is not with the computer Configuration environment also have a relationship?

Header_common code $navtitle- $_g[' setting ' [' Bbname ']- Powered by Discuz!--> Navtitle is not is the word "forum" the default in the Lang file in the title?

1, height value to small, more refresh several times, I have the effect of local
2, try to use utf-8 or there are many GBK coding problems, especially two times development time, as to the database garbled should be you configure wrong or insert data encoding wrong
3. This may be related to the charset you declared.

The Final Solution: it is recommended that you define the $navtitle on the PHP page, Header_common do not modify the title is changed with the $navtitle

1, height value to small, more refresh several times, I have the effect of local
2, try to use utf-8 or there are many GBK coding problems, especially two times development time, as to the database garbled should be you configure wrong or insert data encoding wrong
3. This may be related to the charset you declared.

The Final Solution: it is recommended that you define the $navtitle on the PHP page, Header_common do not modify the title is changed with the $navtitle



Thank you!
  • 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.