Great mod, but I have one more question. Does this mod work only when you have: Field validation: any character?
because I don't want people to be able to use IMG in every profile.
Code: Select all
Open:
includes/functions_profile_fields.php
Find:
if ($value === NULL)
{
continue;
}
Add after:
$uid = $bitfield = $options = '';
$allowed_bbcode = $allowed_smilies = $allowed_urls = true;
generate_text_for_storage($value, $uid, $bitfield, $options, $allowed_bbcode, $allowed_smilies, $allowed_urls);
$value = generate_text_for_display($value, $uid, $bitfield, $options);
Code: Select all
Includes/functions_profile_fields.php
Code: Select all
Open:
includes/functions_profile_fields.php
Find:
if ($value === NULL)
{
continue;
}
Add after:
$uid = $bitfield = $options = '';
$allowed_bbcode = $allowed_smilies = $allowed_urls = true;
generate_text_for_storage($value, $uid, $bitfield, $options, $allowed_bbcode, $allowed_smilies, $allowed_urls);
$value = generate_text_for_display($value, $uid, $bitfield, $options);