Add MyBB 1.8 compatibility.
Merge pull request #3 from Sama34/development

Add MyBB 1.8 compatibility.