Jump to content
TNG Community
Sign in to follow this  
lastejas

Access Logs

Recommended Posts

lastejas

I've just noticed that when you select the "Show Crawlers" page there is no Header Title or Header image shown on the page. It's fine for "Show Visitors" and "Show Users".

I have edited the "showbotlog.php" file  as follows to bring it in line with the "Showuserlog.php" and that seems to work. Can any of you more "Tech Savvy" people see any problems with what I have done.

Original

<?php
include("begin.php");
if($cms['events']){include('cmsevents.php'); cms_logs();}
require($subroot . "logconfig.php");
include($cms['tngpath'] . "genlib.php");
include($cms['tngpath'] . $extspath . '/clconfig.php');
$textpart = "showlog";
include($cms['tngpath'] . "getlang.php");
include($cms['tngpath'] . "$mylanguage/text.php");
tng_db_connect($database_host,$database_name,$database_username,$database_password) or exit;
include($cms['tngpath'] . "checklogin.php");
if($cl_adminrestr == '1'){

Changes shown in Bold

<?php
$textpart = "showlog";
include("tng_begin.php");

if($cms['events']){include('cmsevents.php'); cms_logs();}
require($subroot . "logconfig.php");
//include($cms['tngpath'] . "genlib.php");
include($cms['tngpath'] . $extspath . '/clconfig.php');
//include($cms['tngpath'] . "getlang.php");
//include($cms['tngpath'] . "$mylanguage/text.php");

tng_db_connect($database_host,$database_name,$database_username,$database_password) or exit;
include($cms['tngpath'] . "checklogin.php");
if($cl_adminrestr == '1'){

Thanks

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×