问题描述
最后一个问题是: 在phpfox中自动创建页面
Followed by my last question: Automatically create pages in phpfox
现在,我正在尝试将预先上传的图像列表分配给某些页面作为phpfox中的个人资料图片.
Now I'm trying to assign a list of pre-uploaded images to some pages as their profile picture in phpfox.
在检查了数据库中的数据更改之后,我仅意识到了这两个字段中的更改:
After checking data changes in the database, I only realized changes in these two fields:
user_image
(带有字符串"user_id +%s" .file_extension)
user_image
in table of phpfox_user
(which take a string of "user_id+%s".file_extension)
但是通过在具有默认配置文件图片的页面的记录的这两个字段中插入数据,其配置文件图片不会更改.
But by inserting data in these two fields in records for a page that has a default profile pic, it's profile pic would not change.
还有其他我应该更改的字段或选项吗?
Is there any other fields or options that I should change?
推荐答案
查看phpfox_photo
表,您会发现is_profile_photo
属性(对于个人资料图片始终为1)
look phpfox_photo
table in that you will find is_profile_photo
attribute that is always 1 for the profile picture
这篇关于自动将个人资料图片分配给phpfox中的页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!