2
I'm sorry, but I don't understand the question.
XOOPS is written in PHP... no conversion is necessary.
How do those e-wards get assigned? There is a module called userpoints, which awards people points for news and forum posts etc.
Basically, if you just need a block with some PHP coding in it, make a custom block (administration menu -> System admin -> blocks) with the required PHP code and off you go

GL with your project.