Hi:
Im strying to put the url of an image as a custom field but when I use the {postrow.PROFILE_PERSONALIMAGE_VALUE} the forum dump something like this:
<!-- m --><a class="postlink" href="http://image_url...">http://image_url...</a><!-- m -->
Then is hard to put a <img> tag because it add all these tags that I don't want, I just want to specific content, not all that extra data.
How can I do this? Thanks.
Custom field being a image url
Re: Custom field being a image url
Well I solved it changing a little bit the PHP code of the forum, I changed the function get_profile_value in includes/functions_profile_fields.php
Code: Select all
case 'string':
case 'text':
if (!$value)
{
return NULL;
}
/* tamat removed this to enhace CPF with urls
$value = make_clickable($value);
$value = censor_text($value);
$value = bbcode_nl2br($value);
*/
return $value;