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
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. # 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
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. # 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.