After working with saint_seiya, we figured out the problem. If you are getting the error message
Parse error: parse error, unexpected T_CHARACTER, expecting ']' in /usr/local/psa/home/vhosts/vgcity.com/httpdocs/forum/admin/functions.php(452) : eval()'d code on line 32
or a slight variation of it (the exact line numbers may be different), then open your postbit template, and find:
<a href="battle.php?action=showuserstats&userid=$post[userid">Battle Record</a>
and replace it with
<a href="battle.php?action=showuserstats&userid=$post[userid]">Battle Record</a>
If you can't find this code, then you are probably getting some other error that may or may not be related to this hack.
Quote:
Originally posted by vdinh
Hi Bitsys,
Is there an easy way to let others bet on each battle with each other, not with the server?
For example, user A bet that Fighter 1 will win battle X; User B bets the other Fighter, Fighter 2 will win that battle ... so he took that bet. At the end of the battle, if Fighter 1 wins, user A was given the money he bets, and user B's money was taken away automatically.
Also, can we post the battle result in one post instead of separating each comment? Thanks.
|
Currently, there is not an easy way to do this. Some of the problems with doing it: When would people get to bet on the battle? When would betting stop? What kinds of bets could be made? Ex: bets on retreats, draws, wins, etc.
The battle results can be made into one post. This is a battleupdate.php edit.