大大 sorry 又來打擾ETERNAL 寫:那是什麼外掛??我沒用過
造字面上的意思來看,是不是在首頁就可以看到個人頭像??
如果是這樣應該是改index.php
改法可以參考usercp_viewprofile.php的修改方式
裝了那個外掛後在index.php裡面應該會有case USER_AVATAR_GALLERY:這個東西
在break;後面放入跟usercp_viewprofile.php一樣的虛擬形象程式碼\r
只要把$profiledata改成$userdata就可以了
然後修改\r
index_body.tpl
在裡面放入\r
<script language="JavaScript" src="face_js.js"></script>
小弟在plus裡面更改portal.php 按照大大說的方式改\r
會出現以下錯誤 portal.php本身就是$userdata^^
Could not query week9_userdata
代碼: 選擇全部
DEBUG MODE
SQL Error : 1064 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 'and dafaultuse = '1' and (face_fitherd = '' or face_fitherd = '
SELECT * FROM week9_userdata where userid = and dafaultuse = '1' and (face_fitherd = '' or face_fitherd = 't')
Line : 402
代碼: 選擇全部
if( !($facecookie = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not query week9_userdata', '', __LINE__, __FILE__, $sql);
}
代碼: 選擇全部
<script language="JavaScript" src="face_js.js"></script>