• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.
  • Chevereto Support CLST

    Support response

    Support checklist

    • ⚠️ Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • ✅ Confirm that the server meets the System Requirements
    • 🔥 Check for any available Hotfix - your issue could be already reported/fixed
    • 📚 Read documentation - It will be required to Debug and understand Errors for a faster support response

Stats on footer ?

Hi, I have just tried a Stats site to create ,

The page displays :
Total images
entire albums
Total Users

A Review: https://www.img.ftanner.de/page/statstest

Because code can man in the footer Paste

Regards
I hope it helps
Florian Tanner

PHP:
Pictures: <?php echo CHV\DB::queryFetchSingle("SELECT COUNT(*) as total FROM " . CHV\DB::getTable('images'))['total']; ?><br/>
Albums: <?php echo CHV\DB::queryFetchSingle("SELECT COUNT(*) as total FROM " . CHV\DB::getTable('albums'))['total']; ?><br/>
Users: <?php echo CHV\DB::queryFetchSingle("SELECT COUNT(*) as total FROM " . CHV\DB::getTable('users'))['total']; ?><br/>
 
If it helps, for version 3.7.0 I'm adding a lot of triggers and automatic counters for almost everything (user likes, user content views, etc.) so I will add counts for the total images, albums and users so you won't need to perform that count query which could be slow if you host millions of images.
 
Back
Top