Please Log in to join the conversation.
Please Log in to join the conversation.
<?php
global $_CB_framework;
$cbUser = CBuser::getInstance( $_CB_framework->displayedUser() );
$cb_videolink1 = $cbUser->getField( "cb_videolink1" ); ?>
<iframe title="YouTube video player" width="607" height="370" src="http://www.youtube.com/embed/<?php echo $cb_videolink1; ?>" frameborder="0" allowfullscreen></iframe>
<?php
global $_CB_framework;
$cbUser = CBuser::getInstance( $_CB_framework->displayedUser() );
$cb_videolink1 = $cbUser->getField( "cb_videolink1" ); ?>
<?php echo $cb_videolink1; ?>
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
userbk wrote: I don't mind using a delimiter field, but my users will not just have a box where they would copy paste the embed code and hit update to have the video appear on their profile. They will need to go and figure something out and that is never a very good thing.
I just want them to have a box with no editor capabilities (I cannot get rid of all the smilies, charachters control etc without affecting all the editor fields on the site.), where they could add that embed code.
If I'm mistaken, please let me know what I should do with that delimiter to make it work. I tried to show it on the edit profile section, but it doesn't appear to be an editable field.
This is a little frustrating, given the enormous strength of CB, such a simple copy paste function has no solution.
Please Log in to join the conversation.