count

beebee
edited March 2013 in Customizations
How can I count also the embed views?

Comments

  • This is very easy to do. In the file /cc-core/system/embed.php, find this line: $video = new Video ($_GET['vid']); Add this line immediately following:

    $video->Update(array('views' => $video->views+1));

  • yes!
    you are the best
    thank you!
This discussion has been closed.