The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#212
|
||||
|
||||
Make sure you don't have errors in the the following lines:
PHP Code:
BTW I'm running 2.2.9 and haven't had any errors other than choosing from only those who have bought a ticket and the fact he hardcoded the colors and bullet images in which were all rectified... |
#213
|
||||
|
||||
Anyone feel like telling me the meaning of "kutje"? I tried translating it to no avail....
|
#214
|
|||
|
|||
everything worked fine until i picked a winner
Database error in vBulletin Control Panel 2.3.0: Invalid SQL: UPDATE user SET storep=storep+ WHERE userid='1' mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE userid='1'' at line 1 mysql error number: 1064 hmmmhhhhhhhhhhhhhh |
#215
|
||||
|
||||
Mine's ok on 2.3.0 but I want to change the userid of the winner/loser PM sender (I use Admin-Bot for jobs like this. ).
|
#216
|
||||
|
||||
Quote:
PHP Code:
|
#217
|
||||
|
||||
Yeah, I knew that had to be the key. I just wasn't sure if you just stick the userid on its own or whatnot.
Right, I've now replaced '$bbuserinfo[userid]' with '192' and done the same for the loser PM. I'll see how that goes when the next lottery ends in a week. Thanks a lot! On another note, with the last lottery the jackpot was over 30000 but the lottery awarded little over 1000. Maybe the jackpot just went over the maximum at the last minute? I've made the jackpot for the current lottery less to see if this one goes better. |
#218
|
||||
|
||||
There's a fix mentioned earlier in the thread regarding award issues... You might wanna doublecheck that problem if you haven't already corrected it. I've got my lottery to award over $10,000,000...
|
#219
|
|||
|
|||
http://www.myfootballforum.com/myfoo...action=lottery
When i try to buy a ticket i click on the buy button BUT it does nothing.. Below is the code for it which i'm using. template: store_lottery Code:
<html> <head> <title>$storename - Buy A Lottery Ticket</title> $headinclude </head> <body> $header <table cellpadding="2" cellspacing="0" border="0" width="95%" align="center"> <tr> <td width="100%"><img src="https://vborg.vbsupport.ru/images/vb_bullet.gif" alt="" border="0" align="absmiddle"> <normalfont><b><a href="index.php?s=$session[sessionhash]">$bbtitle</a> > <a href="store.php?s=$session[sessionhash]">$storename</a> > Buy A Lottery Ticket</b></normalfont></td> </tr> </table> <br> <p><form action="store.php" name="name" method="post"> <input type="hidden" name="action" value="lotteryupdate"> <input type="hidden" name="cost" value="$cost"> <input type="hidden" name="storeid" value="$storeid"> <br> <table cellpadding="0" align=center cellspacing="0" border="0" width="90%"><tr><td> <table cellpadding="0" align=center cellspacing="1" border="0" bgcolor="#0A293E" width="90%"> <tr> <td colspan="2" bgcolor="#1D6AA0"><normalfont color="#EEEEFF"><b>Verify:</b></normalfont></td> </tr> <tr bgcolor="#13486D" valign='top'> <td><p><normalfont color="#000000">Buying a lottery ticket costs:</p></td> <td><p><normalfont color="#000000">$cost</p></td> </tr> <tr bgcolor="#13486D" valign='top'> <td><p><normalfont color="#000000">$pointname you have:</p></td> <td><p><normalfont color="#000000">$points</p></td> </tr> <tr bgcolor="#13486D" valign='top'> <td><p><normalfont color="#000000">$pointname after buying the lottery ticket:</p></td> <td><p><normalfont color="#000000">$need</p></td></tr> <tr> <td bgcolor="#1D6AA0" colspan='2' align='center'><p id='submitrow'><input type="submit" value="Ok, Buy The Lottery Ticket"> </p></td> </tr> </table> </form> </td></tr> </table> $footer </body> </html> |
#220
|
|||
|
|||
getting problem.. well dunno if its a problem or not, but the lotto insert is appearing twice in admin
check attached gif |
#221
|
||||
|
||||
Nur1 I also have that problem. It doesn't seem to mess anything up, just shows everything twice though. I just ignore it.
I also have the same problem as you vurton. Members still get their money, but I get your error along with a nice vbulletin error email. I hate those LOL! But yeah I get this too in 2.2.9. Anyone know what could be wrong? Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|