Support

  1. Zephyrinus
  2. Features Request
  3. Sunday, February 16 2014, 09:09 PM
Is it possible to create a text field... let's name it "youtube" (where i ask for the code only after v=)

So of this link:
http://www.youtube.com/watch?v=wBmZAg8HxfY

People would answer with:
wBmZAg8HxfY

Now i want a link on their profile that off course named: "youtube"
and when you link it will build:

<a data-lightbox="width:640;height:480;" href="http://www.youtube.com/watch?v=!PLACEENTRYHERE!">youtube</a>


* lightbox is shortcode for a lightbox

Can i use this?

$user=new JsnUser(<id_of_user>;);
echo $user->getValue(<field_alias>;);
Accepted Answer
admin Accepted Answer
Admin
Hi,
you can create a text field called Youtube (alias youtube) not visible at profile.
After you can create a field of type delimiter with params "Hide on Edit Profile (frontend)" set to yes with this description*:
<a data-lightbox="width:640;height:480;" href="/http://www.youtube.com/watch?v={user youtube}">youtube</a>;

{user youtube} is replaced by a field value (this is our Content Plugin, see docs at http://www.easy-profile.com/docs/26-plugin-content.html). Not need to use PHP code.

*attention to the conversion of the HTML editor, you should disable the editor
  1. more than a month ago
  2. Features Request
  3. # Permalink
admin Accepted Answer
Admin
I forgot!
When the field 'youtube' is empty the delimiter field must be hidden.
So you can set a condition in youtube field:
Condition on 'Equal'
Field to compare on 'Custom Value'
Custom Value on '' (leave empty)
In Fields to hide select delimeter field
  1. more than a month ago
  2. Features Request
  3. # 1
admin Accepted Answer
Admin
Thank you very much. This is the best Joomla plugin ever!

Very thanks, this project is just beginning!

see screenshot of our coming soon plugin:
http://www.easy-profile.com/del/social1.png
http://www.easy-profile.com/del/social2.png
http://www.easy-profile.com/del/social3.png
  1. more than a month ago
  2. Features Request
  3. # 2
Zephyrinus Accepted Answer
Pro
Thank you very much. This is the best Joomla plugin ever!
  1. more than a month ago
  2. Features Request
  3. # 3
  • 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.