搜索
SR網頁設計工作室 - 購物網站/企業官網專業開發 Discuz 使用教程 Discuz 個人資料欄位獨立調用 (Discuz X系列) ...
byadmin 發表於 2014-1-21 19:36:13 , 2640人已閱讀 , 0人回應
Discuz 的個人資料頁面,因為是採用循環輸出,若今天只想要獨立呼叫某幾個資料欄位輸出,就不適用於循環呼叫的指定了。這時候可以使用 getuserprofile 這個函數來指定想要呼叫的欄位,詳細使用方式如下:

調用程式語法:
  1. <!--{eval echo(getuserprofile('欄位名稱'));}-->
複製代碼
《欄位名稱》
  • 真實姓名 realname
  • 性別 gender
  • 出生日期 birthday
  • 星座 constellation
  • 生肖 zodiac
  • 固定電話 telephone
  • 手機 mobile
  • 證件號類型 idcardtype
  • 證件號 idcard
  • 郵寄地址 address
  • 郵編 zipcode
  • 出生城市 birthcity
  • 居住城市 residecity
  • 畢業學校 graduateschool
  • 學歷 education
  • 公司 company
  • 職業 occupation
  • 職位 position
  • 年收入 revenue
  • 情感狀態 affectivestatus
  • 交友目的 lookingfor
  • 血型 bloodtype
  • 支付寶帳號 alipay
  • QQ號 qq
  • MSN帳號 msn
  • 阿里旺旺帳號 taobao
  • 個人主頁 site
  • 自我介紹 bio
  • 興趣愛好 interest
  • 國籍 nationality
  • 房間 residesuite
  • 身高 height
  • 體重 weight
  • ICQ號 icq
  • YAHOO帳號 yahoo
  • 自定義字段1 field1
  • 自定義字段2 field2
  • 自定義字段3 field3
  • 自定義字段4 field4
  • 自定義字段5 field5
  • 自定義字段6 field6
  • 自定義字段7 field7
  • 自定義字段8 field8
Traffic Exchange Site
您需要登錄後才可以回帖 登錄 | 立即註冊

作者資訊

文章分類

SR數位設計工作室

  • 服務專線:03-3555-069


ECSHOP購物網站開發|接案說明|線上洽詢|隱私權政策|SR數位設計(CMS)

信箱:sr.design2011@gmail.com

, Processed in 0.160545 second(s), 51 queries , Gzip On.

Copyright © 2011-2014 Template By SR網頁設計清新部落風格

Core - DZ2.5 GMT+8, 2024-4-18 23:44

回頂部