4images Forum & Community
4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: dmitrijjuy on December 03, 2013, 07:26:39 PM
-
Hello. I want to disable sessions statistics at least for non-registered users.
Please tell me how to do it?
The main goal - to minimize database queries to the table "4images_sessions".
If it is possible to completely disable this function - it will be very good! :)
-
In ACP - Setings - Session and User Settings you can show the Whos-online-List only to admins if you want to.
To disable whos-online on index.php, open templates/your-template/home.html, find:
{whos_online}
and replace with:
<!--
{whos_online}
-->
-
Thank you for "index.php", but I want to disable sessions statistics , and not just to show or not to show this for all visitors. In ACP I see only "Only visible for admins when deactivated" and Display admins bold in "Who's online". I want to totally disable it for all.
Tell me, please, where it can be turned off in the file? Maybe need to remove or change some code?
I do not need this. How can I "disable" it? (picture below):
-
Hi!
... I want to totally disable it for all.
Tell me, please, where it can be turned off in the file? Maybe need to remove or change some code?
search in index.php:
define('GET_USER_ONLINE', 1);
and replace:
//define('GET_USER_ONLINE', 1);
mfg Andi
-
Statistics still works! I need to disable it for all users, for my, for all pages, to minimize database queries (see picture above). My database (mysql) is still used for this! :cry:
-
Sure, the first step was for the Frontend...
now for the backend:
search in admin/home.php:
require('admin_global.php');
insert below:
define('USER_INTEGRATION',1);
-
Thanks, that's cool!
But I want to remove the database queries.
In the picture below you can see that I want to remove: