I'm trying to set Online total users to any X amount at certain date via a MySQL query as described here:
We ran this query (with our 512 total users and May 15 2008, 08:51 PM date):
And got a 1 row affected result message. However, the forum doesn't show the new setting and simply resets to whatever the current total users as the most users online. We tried running various Update Counters after the query. What are we missing?
What Update Counters (if any) should we run after this MySQL query?
Run Query to Reset Count to *
Online total users to any X amount at certain date
# replace vbb_ with your vB table prefix Example: [vbb_datastore] if non leave blank
# replace X with new total
# replace date with Unix timestamp Example: 1167991932 = 01-05-2007 10:12:12
Online total users to any X amount at certain date
# replace vbb_ with your vB table prefix Example: [vbb_datastore] if non leave blank
# replace X with new total
# replace date with Unix timestamp Example: 1167991932 = 01-05-2007 10:12:12
Code:
UPDATE datastore SET data = 'a:2:{s:9:\"maxonline\";s:2:\"X\";s:13:\"maxonlinedate\";s10::\"date\";}' WHERE title = 'maxloggedin';
Code:
UPDATE datastore SET data = 'a:2:{s:9:\"maxonline\";s:2:\"540\";s:13:\"maxonlinedate\";s10::\"1210841460\";}' WHERE title = 'maxloggedin';
What Update Counters (if any) should we run after this MySQL query?
Comment