当前位置:网站首页>A tutorial on how the zblog system obtains user related information based on user ID
A tutorial on how the zblog system obtains user related information based on user ID
2022-06-24 16:48:00 【Shell house railing - Wenxi】
In the production Zblog Template or modify personalization ZBlog Template function , Sometimes it is necessary to display the relevant information of the current user , For example, you want to display the current article The author's name 、 Avatar and other relevant information , We can use zblog The built-in function of the program calls the relevant information of the user .
reminder : modify Zblog Please keep a copy of the template , Click clear on the background home page after modification cache And recompile the template , Here is zblog According to the user ID Method code for obtaining user related information .
notes :$userID For the user ID Variable , Change to the user you currently use ID Variable .
// User page links
{$zbp->GetMemberByID($userID)->Url}
// user name
{$zbp->GetMemberByID($userID)->Name}
// User alias
{$zbp->GetMemberByID($userID)->Alias}
// User level
{$zbp->GetMemberByID($userID)->Level}
// User mailbox
{$zbp->GetMemberByID($userID)->Email}
// User home page
{$zbp->GetMemberByID($userID)->HomePage}
// User summary
{$zbp->GetMemberByID($userID)->Intro}
// The avatars
{$zbp->GetMemberByID($userID)->Avatar}
// Number of articles published by users
{$zbp->GetMemberByID($userID)->Articles}
// Number of user comments
{$zbp->GetMemberByID($userID)->Comments}边栏推荐
- One article combs multi task learning (mmoe/ple/dupn/essm, etc.)
- Popular explanation [redirection] and its practice
- Release! Tencent IOA and Tencent sky screen were selected into the first batch of certified products of domestic digital trusted services
- 问题有多大,中台就有多大
- A very good educational man and resource center planning scheme, with word file download
- 未来银行需要用明天的思维,来思考今天架构
- ClassNotFoundException v/s NoClassDefFoundError
- Tencent on the other hand, I was puzzled by the "horse race" problem
- Applet wxss
- How FEA and FEM work together
猜你喜欢

Ui- first lesson

Problems encountered in the work of product manager

Cognition and difference of service number, subscription number, applet and enterprise number (enterprise wechat)

Applet wxss

Daily algorithm & interview questions, 28 days of special training in large factories - the 15th day (string)

A survey on dynamic neural networks for natural language processing, University of California

A survey of training on graphs: taxonomy, methods, and Applications
![[go] concurrent programming channel](/img/6a/d62678467bbc6dfb6a50ae42bacc96.jpg)
[go] concurrent programming channel
![[leetcode108] convert an ordered array into a binary search tree (medium order traversal)](/img/e1/0fac59a531040d74fd7531e2840eb5.jpg)
[leetcode108] convert an ordered array into a binary search tree (medium order traversal)

A survey on model compression for natural language processing (NLP model compression overview)
随机推荐
What is the difference between get and post? After reading it, you won't be confused and forced, and you won't have to fight with your friends anymore
How to collect and define project requirements in the early stage of EDI project implementation?
Abstract factory pattern
Introduction of thread pool and sharing of practice cases
Enterprise service growth path (7): what key factors will affect SaaS' sales performance?
zblog系统实现前台调用当天发布文章数量的教程
Don't let [mana] destroy your code!
A troubleshooting of golang memory leak
构建跨公链平台解决DApp开发问题
Introduction to koa (IV) koa operation database
During JMeter pressure measurement, time_ The number of requests does not go up due to many waits. The problem is solved
Coding's first closed door meeting on financial technology exchange was successfully held
A solution for building live video based on open source real-time audio and video webrtc architecture
It may be a good idea to use simulation software in the cloud for simulation
[go] concurrent programming channel
TVP experts talk about geese factory middleware: innovating forward and meeting the future
Druid architecture and Implementation
Ui- first lesson
What is a reptile
[web] what happens after entering the URL from the address bar?