stitch626 wrote:Please don't tell Ed that my code isn't nested properly. He will bust my butt.
Anyway the mod that you linked too...Isn't that what your looking for? I f I am understanding this correctly, it will give the user the ability to use a bbcode in any CPF? NO?
Sniper_E wrote:I think being able to insert bbcode into it is right. I may want to add a smilie on my offline/away message in my sig.
It should be just like making a post.
// Dump vars into template
foreach ($cp_row['blockrow'] as $field_data)
$uid = $bitfield = $options = '';
$allowed_bbcode = $allowed_smilies = $allowed_urls = true;
generate_text_for_storage($field_data["PROFILE_FIELD_VALUE"], $uid, $bitfield, $options, $allowed_bbcode, $allowed_smilies, $allowed_urls);
$field_data["PROFILE_FIELD_VALUE"] = generate_text_for_display($field_data["PROFILE_FIELD_VALUE"], $uid, $bitfield, $options);
Sniper_E wrote:I'm not understanding why you wouldn't want a bbcode entered in the text part of your message in this.
stitch626 wrote:This is a bit above me also. I suppose if I had a few hours to sit behind my computer without my kids interrupting every 5 minutes I think I can figure out how to limit this mod. Have you asked the mod author if he could modify the code a bit to work in viewtopic only? I bet it would be easy for him.
Users browsing this forum: No registered users and 10 guests