Adjustments for XOOPS 2.5.x compatibility