Support

  1. Shadowpat
  2. Support
  3. Wednesday, May 18 2016, 10:01 PM
I created some delimiters to show Facebook and Linkedin images (instead of links) along with adding a custom field in the Edit Profile for the User to enter their FB or Linkedin profile ID.
The images show on the User's List and link directly to the person's Facebook or Linkedin page.
Due to way I had to code these the images always show.
Is there anyway to get the images to not show if the person hasn't entered in their profile ID?
The code for the delimiters is:
<a href="/https://linkedin.com/{user linkedin displayed raw}"><img src="/images/linkedin.jpg" alt="" width="30" height="30" /></a>
I tried doing this using Conditions in the Parameters but couldn't quite figure it out.
Shadowpat Accepted Answer
Content Protected
  1. more than a month ago
  2. Support
  3. # 1
admin Accepted Answer
Admin
Hi,
sorry I have not understand your question, have you problem with conditions? if yes, can you please tell me how to set the condition and on which field?
  1. more than a month ago
  2. Support
  3. # 2
Shadowpat Accepted Answer
The problem isn't with conditions.
I created the delimiters to show icons instead of links. In the Edit Profile area the User can enter in their Facebook Id or Linkedin ID. The delimiter pulls that information and creates a clickable link to the User's Facebook or Linkedin page.
Since I created social network icons using these delimiters, the icons always show in the User's List, even when the User has not entered in a profile id for the corresponding social network.
I do not want the icons to appear if there is no information entered in and I can't quite figure out how to do that.
The site is members only so I can only give you a screenshot of what I mean
  1. more than a month ago
  2. Support
  3. # 3
admin Accepted Answer
Admin
Hi,
The problem isn't with conditions.
Yes this is a problem with condition, if field become hidden by a condition then it will be hidden also in user list page.

can you please tell me how to set the condition and on which field?
  1. more than a month ago
  2. Support
  3. # 4
admin Accepted Answer
Admin
ah ok, maybe I have understand.

the icons always show in the User's List, even when the User has not entered in a profile id for the corresponding social network.
This is normal, linkedin field is empty, but HTML delimiter not.

In Linkedin ID field set condition like this
Operator: Equal
Compare With: Custom Value
Custom Value: leave empty
Target Field: HTML delimiter for linkedin link
Target Action: Hide

With this if linkedin field is empty then HTML delimiter with linkedin link disappear.

Same way for Facebook ID field.
  1. more than a month ago
  2. Support
  3. # 5
Shadowpat Accepted Answer
Thank you, tried that and it still isn't working, still shows in User List.
Attached screenshot are current settings per your instructions for the parameters for Linkedin Text Field.
Did I miss something?
  1. more than a month ago
  2. Support
  3. # 6
admin Accepted Answer
Admin
Hi,
just tried on my test environment and works.

Have you some other condition (for example in HTML delimeter) that create conflict?

Can you please post me your site details to check your configuration? if yes you can use the form below the reply in "Site Details" tab
  1. more than a month ago
  2. Support
  3. # 7
Shadowpat Accepted Answer
No other conditions. You can check it out.
  1. more than a month ago
  2. Support
  3. # 8
admin Accepted Answer
Admin
Hi,
confirmed this is a bug solved from version 1.3.12 (I think).

On your site you using a very very old version of Easy Profile.

We recommend you to update to latest version.

TIP before upgrade
Version 1.3.11 is very old, it was released about 11 months ago (june 2015), in the meantime we have made many updates. So we recommend to make a backup before update (this step is always recommended).
Still, from version 1.3.x to version 1.4.x we have introduced a feature to skip template override for registration/edit profile pages, read here for more info: http://docs.easy-profile.com/index.php/article/upgrade-140
  1. more than a month ago
  2. Support
  3. # 9
Shadowpat Accepted Answer
Thank you. I set up another test environment and upgraded the version. This now works but now when you do a search in the User's List and click on any of the users it no longer links to their profile page. Did I miss a setting?
New site details below.
  1. more than a month ago
  2. Support
  3. # 10
admin Accepted Answer
Admin
Hi,
this problem is due to your template overrides, I have renamed following files and now work:
- templates/yoo_master2/html/com_jsn/list/default.php -> templates/yoo_master2/html/com_jsn/list/default-old.php
- templates/yoo_master2/html/com_jsn/list/default_user.php -> templates/yoo_master2/html/com_jsn/list/default_user-old.php

Now all seems ok :) ,but we recommend you to remove all overrides (you can rename folder templates/yoo_master2/html/com_jsn), to avoid unexpected behavior. I'm sorry but your release is too old and I do not remember all changes :(
  1. more than a month ago
  2. Support
  3. # 11
Shadowpat Accepted Answer
Content Protected
  1. more than a month ago
  2. Support
  3. # 12
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

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.