elicip


disconnected
主题工具

头像展示的机制是什么?

... 发表于 2008-4-13 14:24  ... 11037 次点击

我更新了r46后似乎首页没能显示出头像来,但是背景什么的都显示出来了.
谢谢!

本主题共有 4 条回复 | 回到顶部
#1 - 2008-4-13 14:29
Sai 桂林
个人页面点击超过100就可以展示

想去掉这个限制的话在ParasyCore.php里搜索
AND mf.hits >100

去掉即可
#2 - 2008-6-28 01:51
aquino Sputnik 1
我去掉了AND mf.hits >100 這段代碼,老是是出現
====================================================
Time: 2008-6-28 1:47am
Script: /bbs/index.php

SQL: SELECT m.uid,m.username,m.usr_geo,mf.nickname,mf.avatar from [Table]members m LEFT JOIN [Table]memberfields mf ON m.uid=mf.uid WHERE mf.avatar != >'100. ORDER BY rand() LIMIT 20
Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '>'100. ORDER BY rand() LIMIT 20' at line 1
Errno.: 1064

Similar error report has beed dispatched to administrator before.
#3 - 2008-6-28 10:22
Sai 桂林
WHERE mf.avatar != >'100 怎麽改成這樣了?

需要修改的完整查詢
$query_avatar = $db->query("SELECT m.uid,m.username,m.usr_geo,mf.nickname,mf.avatar from {$tablepre}members m LEFT JOIN {$tablepre}memberfields mf ON m.uid=mf.uid WHERE mf.avatar !='' ORDER BY rand() LIMIT 20");

#4 - 2008-6-28 10:54
aquino Sputnik 1
就少拿掉".AVATAR_SHOW_HITS."這句,正確應該要拿掉
AND mf.hits >'".AVATAR_SHOW_HITS."這一段。
感謝SAI的提示,頭像已經可以正確顯示。
看完之后有话想说?那就帮楼主加盖一层吧!

在回复之前你需要先进行登录
用户名 / UID
密码
Project Parasynthesis | Based on Discuz! 5.5.0 | Thanks to Livid
About | Help | Developer | N2Design
清除 Cookies - 联系我们 - 无名杂志 - Archiver - Mobile
Processed in 0.034894 second(s), 6 queries, Gzip enabled