![]() |
Quote:
Try this, see if it makes a difference... Open up spiders.php, find this block of code: Code:
$formatted_time = vbdate($vbulletin->options['timeformat'], strtotime(date("g:i A", mktime ($hour, $minute, $second, $month, $day, $year))), true); Code:
return ($datestring); In either case, post your results here. |
Well, that made a big difference. Now it returns a date and time of last visit, such as "2006-01-16 03:59:17 6", instead of "x hours ago"
Just for your information, today, one day after I installed this (?), it went from "20 hours ago" to "19 hours ago". As if it's confusing the days for hours. I'll keep an eye on this and see what happens tomw. |
Quote:
|
I am assuming so. The last spider that came through was at 2006-01-16 18:58:53, which was an 21 minutes ago. I do not know the exact time it actually visited me however.
Looks like you fixed it. |
I would just like to chime in with the 'me too' on the problem of it showing Yesterday when it should say Today. I dont know if it might be interfering, but we also have this hack installed.
On another note, is there any easy way to get it to not log the unknown spiders? It seems to be picking up regular users that are using non-standard user-agent strings and filling up the database to the point of making us hit php's execution time limit when trying to view the page. |
Hello..
here is a idea.. spider watcher now listing spider in two section 1.Search Spider 2.Unknown spider. Els that there are Forum Spider.... like boardreader www.boardreader.com Its been listed in unknown spider tho its listed in list.xml any way that list will show in 3 section Seach spider,Forum Spider , Unknwon Spider.. while spider have its address in the list..so if it possble the spider's name is Klik Able .. Thanks |
Quote:
|
For those who are having the problem with the dates & times... What is your setting for "Format for Time" and "Format for Date" in the "Date and Time Options" in your admin control panel? Also, what setting do you have for "Datestamp Display Option"?
I believe if you change these lines of code in spiders.php: Code:
$formatted_time = vbdate($vbulletin->options['timeformat'], strtotime(date("g:i A", mktime ($hour, $minute, $second, $month, $day, $year))), true); Code:
$formatted_time = vbdate($vbulletin->options['timeformat'], strtotime(date("g:i A", mktime ($hour, $minute, $second, $month, $day, $year)))); |
Just curious, what's the problem? Mine seems to be working correctly with that little fix from yesterday. http://www.russbo.org/vb/spiders.php?
rich |
works on 3.5.2 patched to 3.5.3
[high]* Brandon Sheley clicks install [/high] http://locoforum.com/forums/spiders.php |
All times are GMT. The time now is 10:53 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|