Thread
:
[FTS 1.1] userhits in profile
View Single Post
#
4
16th January 2010, 22:29
elvira
Senior Member
Join Date: Jan 2008
Posts: 172
And if you want old hits to be removed add this to cleanup.php:
Quote:
// Remove userprofile views
$days = 7;
$dt = sqlesc(get_date_time(gmtime() - ($days * 68400)));
mysql_query("DELETE FROM userhits WHERE added < $dt");
The Following User Says Thank You to elvira For This Useful Post:
Phogo
(18th January 2010)
elvira
View Public Profile
Find More Posts by elvira