Ucenter Home page displays what specific conditions are called

Source: Internet
Author: User
Keywords Which specifically display content here name

Ucenter home is http://www.aliyun.com/zixun/aggregation/12899.html "> Sing (Comsenz) company released a SNS construction station system, Since the release of the domestic use of ucenter home to build local and vertical SNS has more than 130,000. Currently Ucenter home version of the development has entered the official testing phase, Ucenter home 2.0α test version has been on the official site.

In Ucenter home, a lot of webmaster want to know what the content of the first page of Ucenter is called out by which specific conditions, and according to what conditions, the following author will give you a detailed introduction of the first page of the call, and how to modify the call conditions.

The layout of the page is as follows

  

1, Slide

Here mainly call the latest uploaded pictures, if you do not have pictures in the album, here is not displayed, if there are pictures also show blank, you can refer to the description here:

Home call blank or slide picture blank analysis: http://faq.comsenz.com/viewnews-621-php-1

2, Hot Log

The call condition here is the most recently published 11 logs, if you want to increase the number of log calls, such as to call 15, you can modify the Ucenter home root directory index.php files, the detailed method of modification is:

Found it:

$query = $_sglobal[' db ']->query ("Select Blogid,subject,uid,username from". Tname (' blog '). " WHERE friend= ' 0 ' and

Dateline> ' $wheretime ' ORDER by Replynum DESC LIMIT 0,11 ");

Modified to:

$query = $_sglobal[' db ']->query ("Select Blogid,subject,uid,username from". Tname (' blog '). " WHERE friend= ' 0 ' and

Dateline> ' $wheretime ' ORDER by Replynum DESC LIMIT 0,15 ");

Log in to the background, update the cache to take effect.

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.