Fixed functions not comparing on ip's in hex format

edited functions:
UpdateMyBBDB_To0 and UpdateMyBBDB_To1
Moved translation of ip to hex to config file in stead of every function
on its own.
Rename $ip to $mybb_ip which in hex.