4
You could use the phpadsnew module, which is a pro-standard open source banner module, you can also use it as standalone.
It generates html code for the banners you set up. So you can use generated code in the XOOPS banners facility, and also create a custom block and use generated html code in the block, bypassing the XOOPS banner. Categories can also be set up in phpadsnew
https://xoops.org/modules/mydownloads/singlefile.php?cid=12&lid=123