I guess I'm not familiar with vBP codeblocks enough to offer how to fix that. The inc_features.php script is itself a framework that can be used in any integration - all that changes is the HTML code which is used to display the featured photos. In the case of the included inc_features.php, it's formatted for
vB. There's a .threads version posted in several areas.
It's difficult to support every possible integration without a better understanding of the underlying use - in this case vBPortal. Since inc_features.php is a self contained script, the only thing that would change is the HTML.