You are creating the template memberinfo_block_photos in both plugins. In the first one you simply want to preregister the variables for use in that template, not create it also.
I would change $albumbits to $albumbits2 throughout.
Change the id of the tab from photos to photos2 throughout (both plugin and template).
I got it to work with those changes, although it will need some formatting to be done.
|