1. zuotoski
  2. Support
  3. Thursday, July 17 2014, 06:56 AM
Hi!
Some weeks ago I already asked this question but at the end I was told that it would be so simple, all I had to do was a little search and change a couple of CSS lines. So, since then, I've been trying to make it work, with no success - finally I surrender.

I am not a programmer nor webdesigner, I try to learn and do my best, but sometimes it is not enough and most of the time I give it up. The problem is that this time I really need to make it work.

So, I'll ask again if you can help me out: How can I grab the Joomla Contact link related to the user's profile in Social Network plugin?

I'll understand if decide not to tell me, once it is beyond your support limits...

Thanks.
admin Accepted Answer
Admin
Hi alex,
no problem, try to add this to your CSS file to see email button
.jsn_profile .btn-toolbar,.jsn_profile .btn-group{display:block !important;}
Attachments (1)
  1. more than a month ago
  2. Support
  3. # 1
zuotoski Accepted Answer
Content Protected
  1. more than a month ago
  2. Support
  3. # 2
admin Accepted Answer
Admin
Hi,
yes this is a bug...thanks for report it

at line 50 in /components/com_jsn/views/profile/tmpl/default.php replace this:
$query=$db->getQuery(true)->select($db->quoteName('id'))->from('#__contact_details as c')->where($db->quoteName('user_id').'='.$this->data->id);

with this:
$query=$db->getQuery(true)->select($db->quoteName('id'))->from('#__contact_details as c')->where($db->quoteName('user_id').'='.$this->data->id)->where($db->quoteName('published').'=1');
  1. more than a month ago
  2. Support
  3. # 3
zuotoski Accepted Answer
Hi!
The patch should work, but the button is still showing up.

Thanks.
  1. more than a month ago
  2. Support
  3. # 4
admin Accepted Answer
Admin
Hi Alex,
now works,

You have an override for profile default.php file. So I have fixed even on file /templates/gk_musicstate/html/com_jsn/profile/default.php ;)
  1. more than a month ago
  2. Support
  3. # 5
zuotoski Accepted Answer
Content Protected
  1. more than a month ago
  2. Support
  3. # 6
  • 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.