Fix #1318

Finish the typecast conversion - (float) and (string).
https://github.com/mybb/mybb/issues/1318
Use `$mybb->get_input('imagehash')`.