Support

  1. zuotoski
  2. Support
  3. Wednesday, May 28 2014, 05:42 PM
Hi!

I am thinking about to do something that I am not sure if it will be possible with Easy Profile without code changes, but here we go:

- I would like to add 12 fields, where 6 would be pictures and 6 would be links. Each link would be "connected" to a picture. So the user could upload images and set links to them.
- In View profile, thoses images would be clickable (like banners for example).

Is there a way to do it?

A last resource that I've considered, if not possible the way described above, would be to be able to use Modules Anywhere, by Nonumber Extensions, but how can I make it execute the tag instead of showing it as raw?

Thanks.
admin Accepted Answer
Admin
Hi,
yes, with delimeters and content plugin (no change code)

Create the fields (hidden on profile):
- img1
- link1
- img2
- link2
.....

Create a Delimeter field (hidden in edit and registration pages but visible on profile) with this html code
<a href="/{user link1 displayed raw}">{user img1 displayed}</a>
<a href="/{user link2 displayed raw}">{user img2 displayed}</a>


with {user link1 displayed raw} the system render the raw value of field link1 for current displayed user
with {user img1 displayed} the system render the image 1 field for current displayed user

More info for Content Plugin at: https://www.easy-profile.com/docs/26-plugin-content.html
  1. more than a month ago
  2. Support
  3. # 1
admin Accepted Answer
Admin
Remove "/" char before {user link1 displayed raw}. it is displayed by this forum
  1. more than a month ago
  2. Support
  3. # 2
zuotoski Accepted Answer
Hi!
I am having a problem to upload images, it doesn't matter if it is crop/webcam or normal upload images, it is not changing images in profiles. So, I could not validate the suggestion.

As soon as the images upload problem is resolved, I'll give it a try again and let you know.

Thanks.
  1. more than a month ago
  2. Support
  3. # 3
admin Accepted Answer
Admin
Hi,
Today we have tried to find the problem for 1 hour but nothing.
Now it's night for us, tomorrow we will resume debug on your site.
It's possible to have FTP access? Debug with extexplorer is very slowly...
  1. more than a month ago
  2. Support
  3. # 4
zuotoski Accepted Answer
Content Protected
  1. more than a month ago
  2. Support
  3. # 5
zuotoski Accepted Answer
Hi!
Images are now working great! But I have a question about your solution for images with links. Does the system grabs images from the current logged in user or does it grab images from the current profile viewed, using the syntax you've sent me?

I have Easy Profile - Content plugin (jsn_content) enabled but it is not showing pictures, actually it does not show anything.

Here's the HTML code that I've used (without "/" char before {user link...:


<a href="/{user link_patrocinador_1 displayed raw}">{user patrocinador1 displayed}</a>
<a href="/{user link_patrocinador_2 displayed raw}">{user patrocinador2 displayed}</a>
<a href="/{user link_patrocinador_3 displayed raw}">{user patrocinador3 displayed}</a>
<a href="/{user link_patrocinador_4 displayed raw}">{user patrocinador4 displayed}</a>
<a href="/{user link_patrocinador_5 displayed raw}">{user patrocinador5 displayed}</a>
<a href="/{user link_patrocinador_6 displayed raw}">{user patrocinador6 displayed}</a>


Testing...
<a href="/{user link1 displayed raw}">{user img1 displayed}</a>
<a href="/{user link2 displayed raw}">{user img2 displayed}</a>


PS.: I don't understand why the code above in this forum is converted even when into code brackets. "Testing..." above is a copy of your own input 5 posts behind, and even hers it removes the html code.

To do it, I've switched off the editor and inserted as code, so when the editor is switched back on, it just displays links instead of the code (I hope it is the correct way).

Thanks.
  1. more than a month ago
  2. Support
  3. # 6
admin Accepted Answer
Admin
Try to see now, we have fixed this in the lastest beta.

Now I have fixed manually but I recommend you to download and installing it.;)
  1. more than a month ago
  2. Support
  3. # 7
admin Accepted Answer
Admin
current logged in user or does it grab images from the current profile viewed

with "displayed" grab the current profile viewed. docs at https://www.easy-profile.com/docs/26-plugin-content.html
  1. more than a month ago
  2. Support
  3. # 8
zuotoski Accepted Answer
Content Protected
  1. more than a month ago
  2. Support
  3. # 9
admin Accepted Answer
Admin
Hi,
the problem is that image fields are not may be evaluate with normal conditions (equal,contain,not equal....).
we will try to fix this in next release.

For now some suggestion:

You can create these fields:

RADIO1
Title: Have you a sponsor?
Type: Radio
Options:
no|JNO
yes|JYES
Default value: no
Condition: if equal to yes show img1 and link1 and maybe radio2

RADIO2
Title: Have you a another sponsor?
Type: Radio
Options:
no|JNO
yes|JYES
Default value: no
Condition: if equal to yes show img2 and link2 and maybe radio3

......
......

I think this is more elegant, now you have a list of image on edit profile.;)
With this only one understandable radio.
  1. more than a month ago
  2. Support
  3. # 10
admin Accepted Answer
Admin
Also, with this you can set more condition even for delimeters.

You can create delimeter fields for each sponsor group and add in radio conditions the visibility of delimeter correspondent.

Now your delimeter display empty link of the img2/link2/img3/link3/.... are not filled!!!

Another Thing: you can set various img1/link1/img2/link2/.... to required. With this the user is not allow to leave blank values and declare to have for example sponsor2. If user choose to have another sponsor,is required that the img and link fields are filled
  1. more than a month ago
  2. Support
  3. # 11
zuotoski Accepted Answer
Content Protected
  1. more than a month ago
  2. Support
  3. # 12
zuotoski Accepted Answer
Easy Profile Support wrote:

Also, with this you can set more condition even for delimeters.

You can create delimeter fields for each sponsor group and add in radio conditions the visibility of delimeter correspondent.

Now your delimeter display empty link of the img2/link2/img3/link3/.... are not filled!!!

Another Thing: you can set various img1/link1/img2/link2/.... to required. With this the user is not allow to leave blank values and declare to have for example sponsor2. If user choose to have another sponsor,is required that the img and link fields are filled


I don't exactly follow you on this... Why would I need a delimiter field if the condition itself already tells to display or not the image and link fields?

Another problem is if I set the image to required, when I try to save the profile and fields are not filled with images, it doesn't allow me to save it - (I didn't set set link fields to required because some sponsors may not have a link).

EDIT: I think that I understood what you mean by delimiters. I would have to create a delimiter for each group of "Have you a sponsor?" field that would show or not the image with link. The way it is now, it is fetching all images and links, having or not content.
But the required thing is still messing with me.

Regards.
  1. more than a month ago
  2. Support
  3. # 13
admin Accepted Answer
Admin
Hi, the problem of required image is a bug, we will fix in next release.
Attached to this post there a patch, update this plugin from Joomla Installer
Attachments (1)
  1. more than a month ago
  2. Support
  3. # 14
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.

Request Support

Support is currently Offline

Support Availability

Working days: Monday to Friday. The support staff is not available on weekends; in the most of cases tickets will not be answered during that time.

Reply time: Depending on the complexity of your support issue it's usually between a few minutes and 24 hours for paid members and about one week for free members. When we expect longer delays we will notify you.

Guidelines

Before you post: read the documentation and search the forums for an answer to your question.

When you post: include Site Details if you request a support (you can use the form below the reply in Site Details tab).

Auto Solved Question: If after a week the author of the post does not reply to a request by moderator, the question will be marked as resolved.

Language: only English

Search Users

Easy Profile® is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla is Free Software released under the GNU/GPL License.