You must not be following what I am saying here. The inc_features.php is a self photo block that was written years ago to include on the vbulletin 3 forum not for use in xenforo or wordpress both of which did not exist 7 years ago when that file was released.
You can check the mod corner to see if there are any random photo blocks you can use in wordpress. I have no knowledge of what blocks there are to use in your situation since the mod forums are outside support and we do not follow what ineractions users have with other users and what mods they care to post.
You could probally modify the file your talking about to work with wordpress and that is probally what you should do.