DEDECMS Global Label memberinfos| user information
Source: Internet
Author: User
KeywordsUser information DEDECMS Global label Memberinfos
memberinfos|http://www.aliyun.com/zixun/aggregation/10619.html > User Information
Label name: Memberinfos Feature Description: Document connected user information Scope of application: content template article_*.htm only Basic syntax: {Dede:memberinfos mid = '/} Related functions: File \include\taglib\memberinfos.lib.php Line 6th Function Lib_memberinfos (& $ctag,& $REFOBJ) Parameter description: MID = ' User ID Underlying template fields: Dede_member all fields and spacename (space name), sign (user signature) Usages: This tag is used to invoke the specified membership information and we can view the Content page section of the default template:
We view the template file \templets\default\article_article.htm for the content page of the article to view 254 rows <div class= "Infos_userinfo" {dede: Memberinfos} <dl class= "Tbox" <dt><strong> publisher data </strong></dt> <dd <a href= "[Field:spaceurl/]" class= "Userface" ><img src= "[field:face/]" width= "" height= </a> <a href= ' [field:spaceurl/] ' class= username ' >[field:uname/]</a> <span class= ' Useract " <a href=" [Field:spaceurl/] "class=" Useract-vi "> View details </a> <a href=" [Field: Spaceurl/]&action=guestbook "class=" useract-pm > Send a message </a> <a href= "[Field:spaceurl/]& Action=newfriend "class=" Useract-af > Plus for friends </a> </span> <span class= "USERINFO-SP" >< Small> User level: </small>[field:rankname/]</span> <span class= "USERINFO-SP" ><small> Registration time : </small>[field:jointime function= "mydate (' y-m-d h:m ', @me)"/]</SPAN> <span class= "USERINFO-SP" & GT;<small> Last Login: </small>[field:logintime function= "mydate (' y-m-d h:m ', @me)"/]</SPAN> </dd </dl> {/dede:memberinfos} </div> This is where you call the user who is currently publishing the article, but you can also specify the mid property to invoke different user information.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.