EN:
Hi, guys!
I've been trying to fix this sql function at my personal server, but wasn't successfully.
The problem is: the VIP SYSTEM change account group id to 1 when I use the VIP Item, and date this account normally.
But after a few minutes after using this VIP Item the account group id return to 0, and the system still reading this account like a VIP account...
So... I use this item, change group id temporarily to 1, still dated account with "VIP", and return to group id 0 a few minutes later...
Can anyone help me with this trouble?
PTBR:
Oi, pessoal!
Eu estive há um bom tempo tentando entender e consertar esse sistema SQL, que apresenta defeitos em meu servidor. Entretanto, eu não entendo muito bem ainda de SQL...
O problema é que, quando eu uso o Cartão VIP para adicionar VIP na minha conta, ele funciona normalmente...
Só que após alguns minutos, o group_id da conta volta a ser 0, e eu não entendo o porquê.
A data da conta VIP continua setada normalmente; quando eu entro na conta, mostra o dia do vencimento do vip e tudo mais, só que o group_id volta a ser 0 do nada...
Quando eu uso o Cartão, ele muda a conta para VIP, mas depois de alguns minutos, torna a ser group_id 0...
Alguém poderia me ajudar com esse problema?
This is my function addvip:
Essa é minha function addvip:
Sorry for bad english!
Example:
This is the System saying that my account expires at 19/06/2020.
So when I use any vip command, the system says I'm not VIP.
(But I'm really VIP temporarily when I use this VIP Item)
-- EDIT --
How can I change date vip to hours?