I don't know much about PhotoPost, but I'd assume that when you're viewing a specific members images, you're given a URL like: http://yoursite.com/forums/photopost.php?do=viewimages&userid=99.
If this is the case, then you would replace the "linktogallery.php" in my original example with "./photopost.php?do=viewimages&userid=$post[userid]". That way the UserID in the link would change for each user's post.
|