So I've (mostly) got this working for vB 4.1.1, but there's a few problems:
1: The tab's styling is a little messed up (see picture)
2: The contents of the block appear at the bottom of the screen upon loading the member's profile page.
Other than changing the hook_location value, it's pretty much a copy of this how-to. I've seen a how-to for adding tabs in 4.0.8, but it looks really messy compared to this, so I'd really rather get this working. Anyone have any ideas?
[edit]
So I've got the answer to part 2:
There is a function called wrap() that you have can override. This function takes the html and wraps it in a div, but the class of this div is wrong.
So we need to fix this.
Put this code inside the class declaration for vB_ProfileBlock_MyModification (or whatever you're calling it):
PHP Code:
function wrap($title, $id='', $html=''){
$wrap = "<div id=\"view-".$id."\" class=\"view_section\">".$html."</div>";
return $wrap;
}