Added a hook in the forumhome_complete
And inside this code
PHP Code:
$getviewstoday=$db->query_first("SELECT SUM(views) AS threadviews FROM thread WHERE dateline>='$vbs_today'");
$viewstoday=number_format($getviewstoday['threadviews']);
I have added a phrase viewstoday
Went to the template FORUMHOME
I added this
PHP Code:
<dt>{vb:rawphrase viewstoday}</dt
><dd>{vb:raw viewstoday,}</dd>
But does not count the number of visitors
Can you help me ?