nophoto_n.png

9 years 10 months ago #245386 by fabioweb90
Replied by fabioweb90 on topic nophoto_n.png
Ok good.
I'ive insert <img src="percorso_immagine" /> in the description box.
Now how can a user update that image?

Please Log in to join the conversation.

9 years 10 months ago - 9 years 10 months ago #245542 by krileon
Replied by krileon on topic nophoto_n.png
Don't understand what you're asking. The below in a delimiter field will show or not show the avatar dependent on if the user uploaded anything or not.

[cb:if avatar!~"/(nophoto_n|tnnophoto_n)\.png$/"]Show if there is an Avatar[/cb:if]
[cb:if avatar~"/(nophoto_n|tnnophoto_n)\.png$/"]Show if there is not an Avatar[/cb:if]

Image fields are updated from profile edit.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

9 years 9 months ago #246421 by fabioweb90
Replied by fabioweb90 on topic nophoto_n.png
Ok thank you,
In the attachments you can see my "upload profile" with custom no_photo delimiter field.
The photo can be changed by a user? I can't see any upload new photo with field delimiter

Thank you
Attachments:

Please Log in to join the conversation.

9 years 9 months ago #246481 by krileon
Replied by krileon on topic nophoto_n.png
You're wanting ajax uploading from a delimiter field display? Normally you upload a new image from profile edit. Sorry, I don't understand what you're wanting. The substitutions I've provided above will allow you to output based off there being an actual image or not.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

9 years 9 months ago #246624 by fabioweb90
Replied by fabioweb90 on topic nophoto_n.png
i'll try to explain better
in user profile i have: Avatar1 (image) and Avatar2 (field delimiter)

Avatar1 and Avatar2 MUST have two different images nophoto profile and actually it is with nophotoa (avatar1) nophotob(avatar2)

If i want to upload Avatar 1 is not a problem (see attach uploadAvatar1)
If i want to upload Avatar 2 is a problem (see attach HowUploadAvatar2)

what can i do?

Thank you
Attachments:

Please Log in to join the conversation.

9 years 9 months ago #246641 by krileon
Replied by krileon on topic nophoto_n.png
So the issue is that your second image field has the wrong no photo, correct? You need to replace the default avatar images within your CB template files. Location as follows for CBs default template.

components/com_comprofiler/plugin/templates/default/images/avatar/


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.245 seconds

Facebook Twitter LinkedIn