MN Forum

Full Version: Change "# Registered Users" to "# total hits"
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I am trying out the demo and I would like to know if there is a way to change "# registered users" on the home page to "# total hits"?

Thanks!
Hello,

There isn't such a feature, but script is not encoed and what you need is easy to be done, so yes, is possible.

Regards!
Open header.php file;

Find <p class="user_count"> and change query "SELECT COUNT(*) AS total FROM `users`" to "SELECT SUM(`value`) AS `total` FROM `web_stats`"

Change <?=$lang['b_230']?> to total hits.

Good luck!
(08-05-2014, 01:02 PM)DyegoAV Wrote: [ -> ]Hidden content for guests

Thanks!