Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
1 registered (StewartMyduedate), 60 Guests and 15 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/23/06
Posts: 827
Top Posters (30 Days)
Ruben 51
Gizmo 24
DennyP 24
Dunny 15
SteveS 14
AllenAyres 12
SD 10
dbremer 10
drkknght00 9
doug 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Page 1 of 3 1 2 3 >
Topic Options
#190800 - 07/11/07 09:51 PM Access to Admin log data
teamzr1 Offline
enthusiast
Registered: 06/19/07
Posts: 249
I assume in V7.25b there is no method to export the admin logs ?

If not where are these files located and are they just ascii files I can copy to my PC to make use of ?

Thanks
_________________________
JR
Team ZR-1 Corvette Racer's
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#190805 - 07/11/07 09:57 PM Re: Access to Admin log data [Re: teamzr1]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
7.2 stores the access logs in the MySQL database; you can use a tool such as PHPMyAdmin to export data.
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#190806 - 07/11/07 10:03 PM Re: Access to Admin log data [Re: Gizmo]
SD Offline
Registered: 04/19/07
Posts: 4056
Loc: SoCal, USA
or just paste:

SELECT *
FROM `ubbt_admin_log`

into your SQL textarea and execute, then copy to clipboard

*replace 'ubbt_' with your boards' prefix
_________________________

Threads tutorials . Threads & Wordpress experts . UBB resume

If I you, click this link as to why
Top
#190807 - 07/11/07 10:07 PM Re: Access to Admin log data [Re: SD]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
or you could take his route ;)... mine would actually ask you if youw anted to save it to a file, and if you wanted that file compressed (which could be useful for some users)
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#190808 - 07/11/07 10:08 PM Re: Access to Admin log data [Re: SD]
teamzr1 Offline
enthusiast
Registered: 06/19/07
Posts: 249
When I copied and pasted your content I get

SELECT * FROM ubbt_admin_log

Table 'teamzron_zc1.ubbt_admin_log' doesn't exist


I did this from the datebase SQL command window

-----------
 Originally Posted By: Sirdude
or just paste:

SELECT *
FROM `ubbt_admin_log
`

into your SQL textarea and execute, then copy to clipboard

*replace 'ubbt_' with your boards' prefix
_________________________
JR
Team ZR-1 Corvette Racer's
Top
#190809 - 07/11/07 10:10 PM Re: Access to Admin log data [Re: Gizmo]
teamzr1 Offline
enthusiast
Registered: 06/19/07
Posts: 249
Where do I get this tool ?

Thanks

 Originally Posted By: Gizmo
7.2 stores the access logs in the MySQL database; you can use a tool such as PHPMyAdmin to export data.
_________________________
JR
Team ZR-1 Corvette Racer's
Top
#190810 - 07/11/07 10:13 PM Re: Access to Admin log data [Re: SD]
teamzr1 Offline
enthusiast
Registered: 06/19/07
Posts: 249
I figured it out, you used lowercase and it has to be ADMIN_LOG
but I found I needed was SELECT * FROM ubbt_REFERER_LOG
was the data I wanted but, kinda a pain since as mentioned I would have to copy paste that data to my PC

Also I notice important is the time/date is missing in the data

 Originally Posted By: Sirdude
or just paste:

SELECT *
FROM `ubbt_admin_log`

into your SQL textarea and execute, then copy to clipboard

*replace 'ubbt_' with your boards' prefix


Edited by teamzr1 (07/11/07 10:19 PM)
_________________________
JR
Team ZR-1 Corvette Racer's
Top
#190811 - 07/11/07 10:16 PM Re: Access to Admin log data [Re: teamzr1]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
PHPMyAdmin comes with many webhosts pre-installed, generally mentioned as "MySQL Admin"; you can also install it from their site here.
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#190812 - 07/11/07 10:31 PM Re: Access to Admin log data [Re: Gizmo]
teamzr1 Offline
enthusiast
Registered: 06/19/07
Posts: 249
That is an app supplied by the host provider, has
phpMyAdmin - 2.9.0.2

I got it functional but I do not see date/time here either
such as example one in referer_log
1,"1183780091","http://www.ls1tech.com/forums/showthread.php?t=743763"


 Originally Posted By: Gizmo
PHPMyAdmin comes with many webhosts pre-installed, generally mentioned as "MySQL Admin"; you can also install it from their site here.
_________________________
JR
Team ZR-1 Corvette Racer's
Top
#190813 - 07/11/07 10:39 PM Re: Access to Admin log data [Re: teamzr1]
SD Offline
Registered: 04/19/07
Posts: 4056
Loc: SoCal, USA
 Originally Posted By: teamzr1
I figured it out, you used lowercase and it has to be ADMIN_LOG
but I found I needed was SELECT * FROM ubbt_REFERER_LOG
was the data I wanted but, kinda a pain since as mentioned I would have to copy paste that data to my PC


my bad, i have a doze box (local wamp) that i didn't maintain upper case on.. glad you caught that.

 Originally Posted By: teamzr1

1,"1183780091","http://www.ls1tech.com/forums/showthread.php?t=743763"


1st field is date/time...

use: FROM_UNIXTIME(REFERRER_DATE ,'%M %e, %Y - %h:%i %p') AS Time

for that field ;\)

 Code:
SELECT FROM_UNIXTIME(REFERER_DATE ,'%M %e, %Y - %h:%i %p')
 AS Time, REFERER_URL 
FROM `ubbt_REFERER_LOG`
_________________________

Threads tutorials . Threads & Wordpress experts . UBB resume

If I you, click this link as to why
Top
#190814 - 07/11/07 10:42 PM Re: Access to Admin log data [Re: SD]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
Dates are stored in the database as "Seconds Since the Unix Epoch" clicky clicky

This allows for dates to be offset for timezone differentials, different formats, etc clicky
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#190816 - 07/11/07 10:52 PM Re: Access to Admin log data [Re: Gizmo]
teamzr1 Offline
enthusiast
Registered: 06/19/07
Posts: 249
Sheesh, why cannot they just give a simple formula so I could convert the values on another column in Excel to get the human time/date \:\(
_________________________
JR
Team ZR-1 Corvette Racer's
Top
#190817 - 07/11/07 11:00 PM Re: Access to Admin log data [Re: teamzr1]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
Because the data in the backend database isn't meant for humans? That's what the php frontend is for, to convert the time into your timezone/specified format...
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#190818 - 07/11/07 11:44 PM Re: Access to Admin log data [Re: teamzr1]
SD Offline
Registered: 04/19/07
Posts: 4056
Loc: SoCal, USA
 Originally Posted By: teamzr1
Sheesh, why cannot they just give a simple formula so I could convert the values on another column in Excel to get the human time/date \:\(


simple:

assume A1 contains that funky number:

paste '=A1/86400+"1/1/70"' into B1 and format the cell for date/time.. ;\)

thus: 1183780091 becomes 7/7/07 3:48 AM

*poof* done
_________________________

Threads tutorials . Threads & Wordpress experts . UBB resume

If I you, click this link as to why
Top
#190819 - 07/11/07 11:58 PM Re: Access to Admin log data [Re: SD]
ntdoc Offline
Registered: 11/09/06
Posts: 3384
You're too quick SD - Was going to say that Excel Excels at that sort of stuff ;\)
Top
#190820 - 07/11/07 11:58 PM Re: Access to Admin log data [Re: SD]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
Yeh, what he said...
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#190824 - 07/12/07 12:37 AM Re: Access to Admin log data [Re: SD]
teamzr1 Offline
enthusiast
Registered: 06/19/07
Posts: 249
Hmm,
Excel allows for a date or time format but not both so if I take the unix value and use that formula get this at date only format

1183780091 7/5/1937

I found a date time format but then get
1183780091 7/5/37 4:08 AM

day/month right but year wrong

 Originally Posted By: Sirdude
 Originally Posted By: teamzr1
Sheesh, why cannot they just give a simple formula so I could convert the values on another column in Excel to get the human time/date \:\(


simple:

assume A1 contains that funky number:

paste '=A1/86400+"1/1/70"' into B1 and format the cell for date/time.. ;\)

thus: 1183780091 becomes 7/7/07 3:48 AM

*poof* done
_________________________
JR
Team ZR-1 Corvette Racer's
Top
#190827 - 07/12/07 12:45 AM Re: Access to Admin log data [Re: teamzr1]
SD Offline
Registered: 04/19/07
Posts: 4056
Loc: SoCal, USA


you sure you pasted it exactly ?

:shrug:

ps: i'm using m/d/y .. usa-ite .. dunno..
_________________________

Threads tutorials . Threads & Wordpress experts . UBB resume

If I you, click this link as to why
Top
#190828 - 07/12/07 12:49 AM Re: Access to Admin log data [Re: SD]
teamzr1 Offline
enthusiast
Registered: 06/19/07
Posts: 249
Yes it was a cut and paste

with excel that I am using and US date/time format
I used your timestamp as a test and also get 1937

here is cut and paste from excel =B1/86400+"1"/1/70
B1 is where the raw data is
_________________________
JR
Team ZR-1 Corvette Racer's
Top
#190829 - 07/12/07 12:52 AM Re: Access to Admin log data [Re: teamzr1]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
Don't set the cell type to be a date, set it to be a standard cell (no set format) then you can dump any set of data there.
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#190831 - 07/12/07 12:59 AM Re: Access to Admin log data [Re: Gizmo]
teamzr1 Offline
enthusiast
Registered: 06/19/07
Posts: 249
Gizmo do not understand that for if cell is formatted the answer becomes 13701.17275
_________________________
JR
Team ZR-1 Corvette Racer's
Top
#190832 - 07/12/07 01:04 AM Re: Access to Admin log data [Re: teamzr1]
SD Offline
Registered: 04/19/07
Posts: 4056
Loc: SoCal, USA
 Originally Posted By: teamzr1
=B1/86400+"1"/1/70
B1 is where the raw data is



your quotes are wrong ... use "1/1/70" and not "1"/1/70



^^ see my formula and where the quotes are ;\)
_________________________

Threads tutorials . Threads & Wordpress experts . UBB resume

If I you, click this link as to why
Top
#190833 - 07/12/07 01:07 AM Re: Access to Admin log data [Re: SD]
teamzr1 Offline
enthusiast
Registered: 06/19/07
Posts: 249
That was the fix for now get

1183780091 7/7/07 3:48 AM
1183782164 7/7/07 4:22 AM
1183782270 7/7/07 4:24 AM
1183790397 7/7/07 6:39 AM
1183800199 7/7/07 9:23 AM
1183801869 7/7/07 9:51 AM
1183802583 7/7/07 10:03 AM
1183804040 7/7/07 10:27 AM
1183806865 7/7/07 11:14 AM
1183808433 7/7/07 11:40 AM

Not sure how excel did that as I pasted your's directly in
maybe when a format was done excel assumed something ?
In any case thanks that what I needed

_________________________
JR
Team ZR-1 Corvette Racer's
Top
Page 1 of 3 1 2 3 >



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Due Date Calculator-Calculate When Your Baby is Due
by StewartMyduedate
Temporary Password email not being received
by
05/24/12 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
Forum Stats
10491 Members
36 Forums
33842 Topics
181709 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image