Do you reload the page?I use revCMS habbo theme. On me.php it says how much coin you have, but as soon as I buy something or give me some coins in the database is not updated on the website. So I have to log out and log in to it to be updated on the website. How do I fix this?
I use revCMS habbo theme. On me.php it says how much coin you have, but as soon as I buy something or give me some coins in the database is not updated on the website. So I have to log out and log in to it to be updated on the website. How do I fix this?
Can you explain a bit more? I've been trying to do a query but it does not work I'm bad xDBecause on RevCMS it saves the coins in a SESSION, so use a query instead, or modify it.
He mean... instead of using {coins} to show the coins of the user, use a query that will fetch the 'updated' coin amount of the user in the database. I'm not pretty sure how the code will look like, but you could try asking someone to generate a SQL query for you (for PHP).Can you explain a bit more? I've been trying to do a query but it does not work I'm bad xD
If you would clearly read the original post, it is stated that the coin amounts on the website doesn't update when it is changed on the client (like when buying items/receiving interval coins). So, caching has nothing to do with this.Clear your Cache.
He mean... instead of using {coins} to show the coins of the user, use a query that will fetch the 'updated' coin amount of the user in the database. I'm not pretty sure how the code will look like, but you could try asking someone to generate a SQL query for you (for PHP).
Ah sorry bro.If you would clearly read the original post, it is stated that the coin amounts on the website doesn't update when it is changed on the client (like when buying items/receiving interval coins). So, caching has nothing to do with this.