Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

分类信息字段无法关联真实姓名

[复制链接]
林嘉 发表于 2012-10-22 12:28:57 | 显示全部楼层 |阅读模式
在分类信息的字段设定里
关联用户栏目初始值不能够关联“真实姓名”
改了一下/source/admincp/admincp_threadtype.php第348行

原代码:
  1. foreach(C::t('common_member_profile_setting')->fetch_all_by_available_formtype(1, 'text') as $result) {
  2.                         $threadtype_profile = !$threadtype_profile ? "<select id='rules[text][profile]' name='rules[text][profile]'><option value=''></option>" : $threadtype_profile."<option value='{$result[fieldid]}' ".($option['rules']['profile'] == $result['fieldid'] ? "selected='selected'" : '').">{$result[title]}</option>";
  3.                 }
复制代码
改为:
  1. foreach(C::t('common_member_profile_setting')->fetch_all_by_available_formtype(1, 'text') as $result) {
  2.                         $threadtype_profile = !$threadtype_profile ? "<select id='rules[text][profile]' name='rules[text][profile]'><option value=''></option><option value='{$result[fieldid]}' ".($option['rules']['profile'] == $result['fieldid'] ? "selected='selected'" : '').">{$result[title]}</option>" : $threadtype_profile."<option value='{$result[fieldid]}' ".($option['rules']['profile'] == $result['fieldid'] ? "selected='selected'" : '').">{$result[title]}</option>";
  3.                 }
复制代码
后“真实姓名”显示出来了
请开发组看看这么改对不对吧
谢谢


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
m.king 发表于 2012-10-24 16:29:37 | 显示全部楼层
稍后我们核查下。
回复

使用道具 举报

m.king 发表于 2012-10-24 16:31:24 | 显示全部楼层
你这问题 为什么要关联真实姓名呢????
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-3-1 08:28 , Processed in 0.027563 second(s), 5 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表