View Single Post
Old 06 Feb 2011, 16:48
Bobred Bobred is offline
Join Date: Feb 2011
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?


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):

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Attached Images
File Type: jpg vb_example.jpg (25.3 KB, 40 views)

Last edited by Bobred; 08 Feb 2011 at 18:47.
Reply With Quote