and yes i did find something. i don't know about you guys, but i allow my users to enter their video embed codes into a textbox. There are basically 2 ways of doing this:
First, go to comprofiler.class.php and search for "$badHtmlFilter->tagBlacklist". You will get results from 2 chunks of codes, both of which are CASE statements. You will also realise that both CASE statements are for 'editorta', which represents input through your WYSIWYG editor (eg JCE,TinyMCE). You will need to copy the codes from the 'editorta' CASE and replace the codes inside the 'textarea' CASE. Remember to use the codes from the respective chunks of codes, ie replace the 'textarea' at line 1500+ with the 'editorta' codes at 1500+, and similar for the one at line 4200+ with the editorta at line 4200+
The second method involves hacking the database. First, go to your database and view the table jos_comprofiler_fields. Edit the field you have created to let your users enter the embed codes. eg cb_youtube. Change the field "type" to a unique value, eg "youtube". (the original value of type should be textarea or text or whatever you chose to use)
Then, go to comprofiler.class.php. This time, instead of replacing any codes, simply add 'youtube' into the cases. Search for CASE 'editorta': and you will get 4 results. add the line CASE 'youtube': above the CASE 'editorta': on lines 640+, 1580+, and 4250+. The lines will look like this:
[code:1]
CASE 'youtube':
CASE 'editorta':
[/code:1]
Now, move on to the CASE 'editorta': on line 2170+. You will see a CASE 'textarea': above it. Add the line CASE 'youtube': Just above it so it looks like
[code:1] CASE 'youtube':
CASE 'textarea':
$oReturn = "<textarea class=\"inputbox\" $pReadOnly mosReq=\"".$oReq."\" oriReq=\"".$oReq."\" $pMax mosLabel=\"".getLangDefinition($oLabel)."\" $pCols $pRows name=\"".$oName."\">".htmlspecialchars($oValue)."</textarea>";
break;[/code:1]
Remember to re-save your fields for both methods. Personally I prefer the second method, even though it's slightly more complicated, but it's for obvious reasons. With the second method, users can only enter embed in the field specifically specified by you to be "youtube" in the database, whereas with the first method, your users can enter embed codes on ALL textareas, which is probably not a good idea.
Hope this helps.
Regards, Mike