user avatar in map field

WordPress Released
22 July, 2020 00:29:28
neil123
Topics: 3
Messages: 9
Hi i am trying to insert into my template a field that will show as the user avatar when i download my PDF.
unfortunately i cannot find somthing like that.
Please Help.

Neil
22 July, 2020 02:05:46
E2Pdf
Support
Topics: 7
Messages: 2592
Hi,

Is your WordPress installation use default functionality for profile pictures (gravatar)?

We remain at your service.
We would really appreciate your feedback at WordPress.org!
22 July, 2020 02:34:02
neil123
Topics: 3
Messages: 9
Hi,
I am using "WP User Avatar" Plugin to upload my avatar image
22 July, 2020 04:12:32
E2Pdf
Support
Topics: 7
Messages: 2592
We just released an update to RC Candidate Build (1.11.04.6) with supported feature to output user avatars.

It will be included on next release. You can also apply update now by turning on updates from "e2pdf.com". Option can be enabled at "E2Pdf" -> "Settings" -> "Release Candidate Builds" (screenshot attached).

After enabling this option you must be able check for updates at "Dashboard" -> "Updates" and update plugin as usual. Plugin must be updated to 1.11.04.6 version. It's recommended to turn off this option after update.

After plugin update you must use one of the following shortcodes to output user image:

[e2pdf-user key="user_avatar"]

* Shortcode must show any user avatar that is set to user (Gravatar or WP User Avatar user image)

OR

[e2pdf-user key="wp_user_avatar" attachment_image_url="true"]

* Shortcode will output only WP User Avatar if set and will work only if this plugin installed.

Let us know please if you will face any issues after update. Thank you.

We would really appreciate your feedback at WordPress.org!
22 July, 2020 05:03:26
neil123
Topics: 3
Messages: 9
Thanks so much! works great!
22 July, 2020 05:07:24
neil123
Topics: 3
Messages: 9
one more issue.
Whaat is the meta key to display the user nick name (or first name) on the pdf?
22 July, 2020 05:29:57
E2Pdf
Support
Topics: 7
Messages: 2592
This are the keys that can be used to output user "names" data:

[e2pdf-user key="user_login"]
[e2pdf-user key="user_nicename"]
[e2pdf-user key="display_name"]
[e2pdf-user key="first_name"]
[e2pdf-user key="last_name"]

We remain at your service.
We would really appreciate your feedback at WordPress.org!
23 July, 2020 04:23:00
neil123
Topics: 3
Messages: 9
Hi again,
the avatar indeed shows but the user that is online,
how can i show the post author avatar?

thank you
Neil
23 July, 2020 07:42:49
E2Pdf
Support
Topics: 7
Messages: 2592
Hi,

Please follow the update process with prevous post and update plugin to 1.11.04.7 version. After update you must be able to use such one of shortcodes below:

[post_author subkey="user_avatar"]

or

[post_author subkey="wp_user_avatar" attachment_image_url="true"]

P.S. It was included in previous update however we found issues with using it under 1.11.04.6 version so update is required to 1.11.04.7 to fix it. Sorry for inconvenience.

We remain at your service.
We would really appreciate your feedback at WordPress.org!
4 August, 2020 07:51:49
neil123
Topics: 3
Messages: 9
Hi again,
what is the shortkey to display the author "displayname"?

thank you
4 August, 2020 22:19:49
E2Pdf
Support
Topics: 7
Messages: 2592
Hi,

It must work such shortcode:

[post_author subkey="display_name"]

We remain at your service.
We would really appreciate your feedback at WordPress.org!