RevCMS template wont update!

linuslind

New Member
Oct 15, 2011
4
0
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?
 

ButtLord420

Please delete my devbest account.
Dec 11, 2010
463
32
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?
Do you reload the page?
 

Sledmore

Chaturbate Livestreamer
Staff member
FindRetros Moderator
Jul 24, 2010
5,199
3,934
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?

Because on RevCMS it saves the coins in a SESSION, so use a query instead, or modify it.
 

Gajeel

Well-Known Member
Oct 4, 2011
2,411
413
Can you explain a bit more? I've been trying to do a query but it does not work :( I'm bad xD
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).
 

Gajeel

Well-Known Member
Oct 4, 2011
2,411
413
Clear your Cache.
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.
 

linuslind

New Member
Oct 15, 2011
4
0
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).

$information = "SELECT * FROM users WHERE id = '" . $_SESSION['user']['id'] . "' LIMIT 1";$q = mysql_query($information) or die(mysql_error());$row = mysql_fetch_assoc($q);

echo
$row['credits'];
echo
$row['activity_points'];
 

Sab

I love milfs.
Jun 25, 2011
1,212
136
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.
Ah sorry bro.
 

Users who are viewing this thread

Top