The calling method for displaying member avatars in comments on the Empire CMS content page

888u

Last update at :2024-03-16,Edit by888u

Empire’s comments do not display avatars or comment content by default. Fortunately, the official provides such a plug-in, but it only displays member names and comment content. How can I display member avatars?

It's very simple, just use the following code where you want to display the avatar:

fetch1("select userpic from phome_enewsmemberadd where userid='$r[userid]'"); ?> The calling method for displaying member avatars in comments on the Empire CMS content page-第1张-Technical-888u

The Imperial CMS member center and control panel call member field information, for example, directly call member field information on the modify information page.

Member avatar:

Real name:

Mobile phone number:

The calling method for other member fields is the same, just modify the field name.

Recommended site searches: domain name query, how to rent a server, website domain name IP address query, website registration information, Chinese domain name Guangdong server rental, Hong Kong server, IP address search, large bandwidth server rental, PHP virtual space,

The calling method for displaying member avatars in comments on the Empire CMS content page

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码