The method of calling member profile Picture by phpcms v9 template
How do phpcms v9 templates call member avatars? This problem may be often seen in our daily study or work. I hope you can gain a lot from this question. The following is the reference content that the editor brings to you, let's take a look at it!
How do phpcms v9 templates call member avatars?
Call the phpcms member avatar:
This is the code: {get_memberavatar ($r ['userid'], 1meme45)}
As long as you can call userid, then this code can be used anywhere: home page, column page, article page.
Here I will use get to call the userid field in the member table.
{pc:get sql= "select * from v9_member order by regdate desc" num= "6"} / * the userid can be obtained here and the installation registration order is arranged * / {loop $data $r}
/ * you can design the display style according to your own requirements. * / {/ loop} {/ pc} Thank you for reading! After reading the above, do you have a general understanding of the method of calling member avatars on phpcms v9 template? I hope the content of the article will be helpful to all of you. If you want to know more about the relevant articles, you are welcome to follow the industry information channel.