Support

  1. ruud
  2. Features Request
  3. Thursday, December 17 2015, 07:05 PM
Hi,

the content plugin currently provides a way to display e.g. a users avatar > {user avatar 453}

What would make a great addition is a way to display a users social media networks that he connected to his profile > eg {user socialconnect 453}

a use case could be:
On my blogwebsite I offer the bloggers the opportunity to provide 'about this author' text that (in my case) cjblog reads from easy-profile field and displays under each article.
Authors are asking me if there is an easy way of getting their connect with me on facebook, twitter, g+ etc. in that text.
Now they create their own hyperlinks and all do it on their own way so it looks 'crappy'
With this function they could be instructed to input {user socialconnect xyz) (where zyx = their userid) and this tag would get replaced with the social media networks they connected to their profile.

This is just one use case, could sum up some more where this would make life more easier (and maintenance when changing account a lot easier).

What do you think...
Accepted Answer
admin Accepted Answer
Admin
Hi,
do it :)

Try to re-download and re-install ;)
  1. more than a month ago
  2. Features Request
  3. # Permalink
admin Accepted Answer
Admin
Hi,
it is a good idea, we will add this to our todo list.

Also we can build some API to retrieve these buttons with PHP code, like $user->getField('socialconnect') in according with others user fields (http://docs.easy-profile.com/index.php/article/jsnuser-object).

Another good idea is to allow to add these buttons in users list and users table.

Unfortunately we can't add this in next release, it is ready and in testing.
  1. more than a month ago
  2. Features Request
  3. # 1
ruud Accepted Answer
Content Protected
  1. more than a month ago
  2. Features Request
  3. # 2
ruud Accepted Answer
Hi, still on the todo list?
  1. more than a month ago
  2. Features Request
  3. # 3
admin Accepted Answer
Admin
Ops, forgot to implement this. Sorry.

in next release will be available :)
  1. more than a month ago
  2. Features Request
  3. # 4
ruud Accepted Answer
Content Protected
  1. more than a month ago
  2. Features Request
  3. # 5
admin Accepted Answer
Admin
btw you cookie popup keeps popping up... normally it would hide for x days, but on this site it keeps coming back on every new page / refresh
Thx for report it :)
  1. more than a month ago
  2. Features Request
  3. # 6
admin Accepted Answer
Admin
Hi,
we have implemented this in latest version (1.3.18)

Via Content Plugin
{user socialconnect USERID}


Via API
require_once(JPATH_SITE.'/components/com_jsn/helpers/helper.php');
$user=JsnHelper::getUser($user_id);
$user->getField('socialconnect');


In the coming days we will update our documentation :)
  1. more than a month ago
  2. Features Request
  3. # 7
ruud Accepted Answer
Hi, Cool!
just installed new version, but cannot seem to get it to work.
content plugin is enabled
the following code is added:
<p>{user socialconnect 63}</p>


but it is displayed as {user socialconnect 63} and not replaced?
  1. more than a month ago
  2. Features Request
  3. # 8
admin Accepted Answer
Admin
If you see this code as output mean that content plugins are not triggered, can you check this?
  1. more than a month ago
  2. Features Request
  3. # 9
ruud Accepted Answer
I think you packed the 'old' plugins in the 1.3.18 package? in none of the content plugins I can find the function that does the replacement...
  1. more than a month ago
  2. Features Request
  3. # 10
admin Accepted Answer
Admin
I think you packed the 'old' plugins in the 1.3.18 package?

No, I have just tried on this site and works.

Have you copied the code from this forum? if yes try to delete and write by hand.

Content plugin are always replaced, for example {user non_exist_field 63} return empty value.
  1. more than a month ago
  2. Features Request
  3. # 11
ruud Accepted Answer
Content Protected
  1. more than a month ago
  2. Features Request
  3. # 12
admin Accepted Answer
Admin
content plugin is the same, it load API.

changes are into socialconnect plugin and file /components/com_jsn/helpers/helper.php

Can you please post me your site details to check this?
  1. more than a month ago
  2. Features Request
  3. # 13
ruud Accepted Answer
Content Protected
  1. more than a month ago
  2. Features Request
  3. # 14
admin Accepted Answer
Admin
mmmh, too strange...anyway I will do some investigation, I think cjblog use some output buffer. We will come back with fix in about one day.
  1. more than a month ago
  2. Features Request
  3. # 15
ruud Accepted Answer
Content Protected
  1. more than a month ago
  2. Features Request
  3. # 16
admin Accepted Answer
Admin
Hi,
yes I found a cause and tomorrow we will release a fix.

thanks

another thing:
you are a very good tester, have you tried new Ajax Userlist Plugin?
your opinion is important for us...anyway if you want to try then you can download from download area:p
  1. more than a month ago
  2. Features Request
  3. # 17
ruud Accepted Answer
Content Protected
  1. more than a month ago
  2. Features Request
  3. # 18
ruud Accepted Answer
Content Protected
  1. more than a month ago
  2. Features Request
  3. # 19
admin Accepted Answer
Admin
Hi,
yes, you have right, we will improve our docs.

Some tip for you:
1. to display user id you can write something like this: {user id raw}
raw is required because ID is not a Easy Profile field but it is in User Object

2. instead write {_user socialconnect.... you can put in HTML editor something like this:
<span>{</span>user socialconnect....


So you can put in your "Tip" field this:
<p>In order to insert in a very easy way links to your connected Social Media accounts (follow me functionality) you can add the following code (without _ before 'user' into your author profile):</p>
<p><b>{</b><b>user socialconnect {user id raw}}</b></p>


NOTE: I have used "b" tag instead a simple "span" because "span" without attributes was removed from the Tiny editor
  1. more than a month ago
  2. Features Request
  3. # 20
ruud Accepted Answer
Content Protected
  1. more than a month ago
  2. Features Request
  3. # 21
  • 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.