Can someone help me out here?
I tried this but kept getting the error message "phrase xxx could not be found". Can I check I have tried to do this right:
Created a plugin:
Product=ibproarcade for vbulletin, title ibproarcade pay
code:
Code:
$amount = '50';
if (($vbulletin->userinfo[$vbulletin->options['money']] - $amount) < 0) {
eval(standard_error(fetch_error('ibproarcade_shortage')));
}
$vbulletin->db->query("update " . TABLE_PREFIX . "user set {$vbulletin->options['money']}={$vbulletin->options['money']}-'{$amount}' where userid='{$vbulletin->userinfo['userid']}'");
Phrase:
Created a phrase:
Product=ibproarcade for vbulletin, varname ibproarcade_shortage, Text You dont have enough to play this game
Am I missing something obvious?
Cheers.