The script already can see the NonCGI directory path via the UBB's config.inc.php (Line 7: include("$varspath/vars_config.inc.php");) so it shouldn't take much to get the path to the images. I've been swamped with other development so I haven't had a chance to look at the known issues lately. I have injected some code in my dev version to try to squash the list/code/quote problems but I haven't even touched that in a couple weeks.
Another alternative is to drop the ubbnews.php into your UBB's noncgi directory.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.