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.