View Full Version : How do I allow vB code in new User Profile Field?
Marcel Lee
05-13-2006, 11:01 PM
Nevermind. I figured it out. Now can somebody please delete this thread for me? Thanks.
Hellcat
05-13-2006, 11:27 PM
You'd need a plugin for that.
I'm not sure about the exact hook - that also depends on where you want to use the field's info, but the code for the plugin would be something like this:require_once( "./includes/class_bbcode.php" );
$vbulletin->cdbbcode_parse =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
$vbulletin>userinfo["fieldX"] = $vbulletin->cdbbcode_parse->parse(convert_url_to_bbcode( $vbulletin>userinfo["fieldX"] ), 'nonforum');
futuredood
06-22-2006, 06:14 AM
hey hellcat, can you give a for sure code? i'd like to implement code in my members profiles.. thanks
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.