IPB
IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Showlog
huw ellis
post Feb 2 2010, 03:34 PM
Post #1


Member


Group: Members
Posts: 26
Joined: 10-October 07
From: North Wales
Member No.: 4,816



Dear all,

My home page ( http://www.achau.co.uk/index.php ) and extra pages (e.g. http://www.achau.co.uk/extrapgs/neuaddwen.php ) are not logged in the showlog facility.

Is there any way of ensuring that these logged?

Regards

Huw
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
arnold
post Feb 2 2010, 04:13 PM
Post #2


Advanced Member


Group: Members
Posts: 1,102
Joined: 23-August 05
From: Greeley, Colorado, USA
Member No.: 595



Huw,

Those are not TNG webpages.
Searches for individuals and reports, for example, will appear.
You may be able to find those pages via your CPanel, if your ISP/host provides it. I will check further and let you know about the CPanel and what it shows.
If you simply want to know how many times that they are hit, a counter will do that.

Arnold

P.S. Are you interested in the number of hits or what particular IP Addresses are looking at http://www.achau.co.uk/index.php and http://www.achau.co.uk/extrapgs/neuaddwen.php?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Ken Roy
post Feb 2 2010, 04:37 PM
Post #3


Advanced Member


Group: Members
Posts: 1,999
Joined: 12-October 05
From: Plano, TX
Member No.: 645



QUOTE(huw ellis @ Feb 2 2010, 03:34 PM) *

Dear all,

My home page ( http://www.achau.co.uk/index.php ) and extra pages (e.g. http://www.achau.co.uk/extrapgs/neuaddwen.php ) are not logged in the showlog facility.

Is there any way of ensuring that these logged?

Regards

Huw

Huw,

Take a look at the historytemplate.php lines 18-19 of the file as distributed by TNG includes the code you would need to add to your extrapgs if they are created using the historytemplate.php. For your index.php, you may also need to add the include of the log.php file in line 15.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
huw ellis
post Feb 5 2010, 03:15 PM
Post #4


Member


Group: Members
Posts: 26
Joined: 10-October 07
From: North Wales
Member No.: 4,816



QUOTE(Ken Roy @ Feb 2 2010, 10:37 PM) *

Huw,

Take a look at the historytemplate.php lines 18-19 of the file as distributed by TNG includes the code you would need to add to your extrapgs if they are created using the historytemplate.php. For your index.php, you may also need to add the include of the log.php file in line 15.


Dear Ken.

Many thanks, it works for the 'extrapgs' after inserting log.php file in line 15.

I've inputted the same code for the Home page, however, why does the following text appear on the top of the web page:

$logstring = "HOME PAGE"; writelog($logstring); preparebookmark($logstring);

How can I remove the above text from the actual page as it appears on the browser?

Best regards

Huw
(IMG:style_emoticons/default/icon_smile.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
huw ellis
post Feb 5 2010, 03:26 PM
Post #5


Member


Group: Members
Posts: 26
Joined: 10-October 07
From: North Wales
Member No.: 4,816



QUOTE(Ken Roy @ Feb 2 2010, 10:37 PM) *

Huw,

Take a look at the historytemplate.php lines 18-19 of the file as distributed by TNG includes the code you would need to add to your extrapgs if they are created using the historytemplate.php. For your index.php, you may also need to add the include of the log.php file in line 15.


Ken

I've sorted the index.php file. I had inadvertently placed the code outside of the <?php.............. ?> commands

Thanks for the help

Huw
(IMG:style_emoticons/default/icon_razz.gif)

User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 9th September 2010 - 05:17 AM