1) In product-icash.xml:
From:
<phrase name="error_icash_sendmsomthing"><![CDATA[You must donate somthing!]]></phrase>
To:
<phrase name="error_icash_sendmsomthing"><![CDATA[You must donate something!]]></phrase>
1.5) You need to change the amount to be a fload, not an int.
2) In donate.php:
Find:
$db->query("insert into " . TABLE_PREFIX . "icash_donations (`id` ,`from`, `to`, `amount`, `time`) VALUES ('', '{$vbulletin->userinfo['username']}', '{$doname}', '{$amount}', '{time()}')");
Change:
$db->query("insert into " . TABLE_PREFIX . "icash_donations (`id` ,`from`, `to`, `amount`, `time`) VALUES ('', '{$vbulletin->userinfo['username']}', '{$doname}', '{$amount}', now())");
|