http://www.photopost.com/forum/showthread.php?t=121321
That is a mod to show a block of photos in the members profile if there are any. You would need to search the MOD CORNER which falls outside product support. Your question is on modifying the vbulletin templates. I can tell you how to formulate the proper url to link to a members gallery but you would need to figure out where you want it and what the vbuletin userid variable is
hphttp://www.domain.com/gallery/showgallery/php?cat=500&ppuser=VBUSERID HERE