I did the upgrade, but now my current events display:
You may not bet on this event. You have placed 0 bet(s) on this Event.
Edit: Seems $allowbetting is set to 1 and then set to 0 in several places if they meet conditions that they cannot bet. But then you check:
if ($allowbetting)
which I think you want !$allowbetting, no?
Edit 2: Well, I thought so, but changing this produced:
You may bet on this event. You have 0 cash and have placed 0 bet(s) on this Event. You may bet more than once on this Event.
And 0 cash seems to be an issue.
Edit 3: Okay, found the problem, in functions_vbookie.php (change in bold):
Code:
switch ($vbulletin->options['vbookiecash'])
{
case 'vcash':
$cash = (int)$vbulletin->userinfo['vbookie_cash'];