Use Ultimate Affiliate Pro profile Picture in e2Pdf template

WordPress
31 July, 2022 09:15:18
fabuni
Topics: 1
Messages: 3
Hi Team.

I am using ultimate affiliate pro and e2pdf. I want to show the profile picture of the logged in affiliate but unable to do so using visual mappers. Can you please help me add the profile picture to one of the templates?
31 July, 2022 10:27:58
E2Pdf
Support
Topics: 7
Messages: 3156
Hi,

Unfortunately, we need to have access to "ultimate affiliate pro" to see how it stores the profile picture. If it's acceptable for you, submit please support ticket with access details: https://e2pdf.com/support/request. If you do not wish to provide us access - attach please the plugin to the next message. You can mark the message as "private" so only we can see the message.

P.S. After making some search it looks like can be some user meta key as "uap_avatar", so you can try to use something as [e2pdf-user key="uap_avatar" meta="true"]. If it outputs Image ID or you will find any other key which outputs Profile Picture ID - let us know please so we can provide you with an extended shortcode to convert it to "Image URL".

We remain at your service.
We would really appreciate your feedback at WordPress.org!
1 August, 2022 23:16:14
fabuni
Topics: 1
Messages: 3
I am getting 337 when I use [e2pdf-user key="uap_avatar" meta="true"] in image properties and textarea. Both shows 337. Is that Profile Picture?
2 August, 2022 00:55:49
E2Pdf
Support
Topics: 7
Messages: 3156
Hi,

Yes, It looks like so. Try to update the shortcode please to:

[e2pdf-user key="uap_avatar" meta="true" attachment_image_url="true" size="thumbnail"]

It must convert the Image ID to the Image URL.

We remain at your service.
We would really appreciate your feedback at WordPress.org!
2 August, 2022 02:04:39
fabuni
Topics: 1
Messages: 3
[e2pdf-user key="uap_avatar" meta="true" attachment_image_url="true" size="thumbnail"]


worked... thanks a lot