Posted: May 25, 2016 at 2:51 am
|
I’d like to add an avatar not gravatar to my custom ticket designs. Is this possible? If so how? |
Hi there, So that I understand what you are trying to achieve better, could you provide some details of where would the avatar image be hosted? |
|
|
The avatar is a wordpress hosted image on our server. It is the imag the member uploads from their drive using the upload feature. |
|
Hust to be extra specific: we’re hoping to use the personal avatar of a registered member to input on a custom ticket design. Is here a shortcode or tag we can implement? |
Do you have the PHP code needed to pull that image from the user account? I imagine that you have a plugin or something that adds the image upload feature to the user profile page. If that’s the case, you can check the documentation for the code to get that image. Once you have that code, you can add the PHP to the EE3 ticket template. You copy your custom ticket template to and EE3 will load the custom ticket template from there. |
|
|
Is there a particular wordpress plugin you could recommend that can offer this? I’m sure someone else has asked for this type of modification before. Any help in that direction would be appreciated. |
It sounds like you already have a plugin that adds the image upload feature to the Member profile page. Is that the case? If so, what’s the plugin’s name? |
|
|
Hi Josh, We’re using WP User Avatar. I’ve tried to utilize the php code but have only been successful in having the default avatar display on the ticket. Thanks in Advance |
Chi Bear, You’ll find this in the ticket template code:
You can change where it has
|
|
|
Josh, Thanks so much!!! that did the trick… 🙂 |
The support post ‘Adding photo to custom ticket – EE3’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.