Store
Community Documentation

v3 Knowledgebase

Site Stats - Add Videos

This will add a new stat to your sites stats block to show total videos in your video section. Goto ACP Tools/Site Stats/Add New StatProduct: phpFox
Module: Video
Title: Videos
link: video
Image: video.png
PHP Code:
$this->database()
->select('COUNT(*)')
->from(Phpfox::getT('video'))
->where('view_id = 0')
->execute('getSlaveField');
Active: YesNotes: Upload your new image here /theme/frontend/default/style/default/image/stat/video.png - If you don't add one, by default one will be added for you. You will find image attached to this post.