Simple Machines Community Forum

Customizing SMF => Tips and Tricks => Topic started by: andrea on December 31, 2004, 07:04:41 AM

Title: Enhanced Who - HowTo see spiders online
Post by: andrea on December 31, 2004, 07:04:41 AM
Quote from: dschwab9 on October 02, 2004, 01:03:50 PM
Try the attached template file to be able to see the bots.

This is for RC1, don't know if it will work for other versions or not.

Who.template.php (http://www.simplemachines.org/community/index.php?action=dlattach;topic=1567.0;id=2596)

A 2nd version you find here:
http://www.simplemachines.org/community/index.php?topic=19243.0


Edit: 2nd version added, with more known agents.
Title: Re: Enhanced Who - HowTo see spiders online
Post by: Foden on January 08, 2005, 08:15:47 PM
Is there an enhanced version for 1.0 Final that was based off the 1.0 Final code?
Title: Re: Enhanced Who - HowTo see spiders online
Post by: andrea on January 08, 2005, 11:08:10 PM
Why do you ask? I suppose the who template hasn't changed for final.
Title: Re: Enhanced Who - HowTo see spiders online
Post by: Foden on January 09, 2005, 12:00:39 AM
I ask because I don't know if the template has changed for the final, as I am only new to the SMF scene.

So I was wondering if it was changed or not.
Title: Re: Enhanced Who - HowTo see spiders online
Post by: andrea on January 09, 2005, 12:09:17 AM
Why don't you simply try it? Just copy the file into your custom theme directory.
Title: Re: Enhanced Who - HowTo see spiders online
Post by: Alisha on January 24, 2005, 11:07:29 PM
Quote from: andrea on January 09, 2005, 12:09:17 AM
Why don't you simply try it? Just copy the file into your custom theme directory.

Installed & Works in defualt & All themes in version 1.0.1 ... 
Title: Re: Enhanced Who - HowTo see spiders online
Post by: [darksteel] on February 08, 2005, 06:12:08 PM
Thanks for this file :P
Title: Re: Enhanced Who - HowTo see spiders online
Post by: Owdy on February 09, 2005, 02:04:50 AM
Quote from: aBsTrAcTo on February 09, 2005, 01:56:43 AM
andrea..
and SMF 1.0.1.???

Quote from: Alisha on January 24, 2005, 11:07:29 PM
Installed & Works in defualt & All themes in version 1.0.1 ... 
Title: Re: Enhanced Who - HowTo see spiders online
Post by: aBsTrAcTo on February 09, 2005, 02:08:36 AM
sorry :)


all good
Title: Re: Enhanced Who - HowTo see spiders online
Post by: [darksteel] on February 09, 2005, 06:12:01 PM
it possible create Hooglebt user and show Googlebot like User not guest ??

130 Guest and 3 Users:
[darksteel], Googlebot (not link), muku.

it is possible.?
Title: Re: Enhanced Who - HowTo see spiders online
Post by: Adin on February 11, 2005, 01:17:13 PM
Thanks, Andrea.
Title: Re: Enhanced Who - HowTo see spiders online
Post by: SalemKayaker on March 01, 2005, 10:51:59 AM
Hello,

I am a total newbie to SMF. I installed version 1.0.2 yesterday and I have been poking around in the Admin page configuring things. (So far I am very impressed with the app.)

In any case, I am interested in seeing when Spiders or Crawlers are visiting.  I downloaded the modified Who.template.php file that an earlier poster in this thread provided. I created a new custom theme (a copy of the default theme) and uploaded the Who.template.php file to that directory and then used chmod 755 to set the same permissions that I saw on the template in the default theme directory.

But I do not see any difference when I visit the stats page. Where should the Spider stats show up? Or do the Spiders show up as "members"? Given that my installation is only about 30 hours old, I doubt I have been visited yet..

TIA

--SalemKayaker
Title: Re: Enhanced Who - HowTo see spiders online
Post by: andrea on March 01, 2005, 10:55:28 AM
You must be logged in as an administrator to see the spider information. If you still don't see spiders then either there are currently no spiders active in your forum or you uploaded the file into the wrong location.
Title: Re: Enhanced Who - HowTo see spiders online
Post by: SalemKayaker on March 01, 2005, 08:55:55 PM
OK, I don't see the spiders... Even though I do see them with my regular site stats....

So either I am looking in the wrong place within SMF or I didn't upload your Who.template.php to the correct location.

I logged in as Admin and I click on the stats link... I can see information about users, guests, etc. but nothing indicating spiders (even though I know that msnbot and a couple of others have crawled by recently).

When I uploaded the revised Who.template.php file. I put it in the following directory:

bbs/Themes/mytheme1/

Where bbs is the top level where I installed SMF and mytheme1 is the "Current Theme" and was made from the default theme.

I did a chmod 755 on the Who.template.php file so that it is executable by everybody.

Any idea what I am doing wrong?

--SalemKayaker
Title: Re: Enhanced Who - HowTo see spiders online
Post by: suren on March 21, 2005, 12:23:33 AM
maybe you should put it in the default theme directory
Title: Re: Enhanced Who - HowTo see spiders online
Post by: autorobot.it on March 22, 2005, 08:54:27 AM
Quote
it possible create Hooglebt user and show Googlebot like User not guest ??

130 Guest and 3 Users:
[darksteel], Googlebot (not link), muku.

it is possible.?

it is possible.? like phpbb or IPB2
Title: Re: Enhanced Who - HowTo see spiders online
Post by: andrea on March 22, 2005, 11:47:50 AM
Quote from: vegetagt on March 22, 2005, 08:54:27 AM
Quote
it possible create Hooglebt user and show Googlebot like User not guest ??

130 Guest and 3 Users:
[darksteel], Googlebot (not link), muku.

it is possible.?

it is possible.? like phpbb or IPB2

Of course you could alter the template file like this.
Title: Re: Enhanced Who - HowTo see spiders online
Post by: autorobot.it on March 22, 2005, 01:27:10 PM
hum how ? i add in who.template this $known_agents = array('Firebird', 'Opera', 'Safari', 'Googlebot', 'Googlebot-Image', 'Netscape', 'MyIE2', 'Konqueror', 'Galeon', 'Inktomi', 'Ask Jeeves', 'ia_archiver', 'Scooter', 'FAST-WebCrawler', 'Yahoo! Slurp', 'MSNBot');

but when googlebot visit my forum i view it only in visitors detail and not here:

(http://www.autorobot.it/images/smf.jpg)

only me
Title: Re: Enhanced Who - HowTo see spiders online
Post by: andrea on March 22, 2005, 01:35:42 PM
If you want it to have like this then you have to add the googlebots yourself to the users total (and subtract them from the guests total).
Title: Re: Enhanced Who - HowTo see spiders online
Post by: autorobot.it on March 22, 2005, 01:48:36 PM
its ok but how :P in the file who.template.php
Title: Re: Enhanced Who - HowTo see spiders online
Post by: ^Raven^ on March 29, 2005, 11:10:48 PM
Ahh here this is.  I've been wondering about this for awhile.  I have a question, well a few actually, about this feature.

Is there any other way to do this besides downloading that file and uploading it into my directory?  David remotely hosts my forum for me and any of this sort of stuff has to go through him.  I don't really like bothering him so if I could do this on my own that'd be awesome.

If I could do this via the Admin Center or something that'd  be great.  If not, are there any certain instructions for me to give David regarding this or would he just know?

Oh yeah, just realized saying "David" may not be too clear.  David is SMF Project Manager David.  He's my boss, and a friend, from Boardnation and he does the forum hosting for me.
Title: Re: Enhanced Who - HowTo see spiders online
Post by: IchBin™ on March 29, 2005, 11:33:17 PM
You could create your own package and then install it through the package manager in the admin section. :)
If you don't know how, just take a look at any of the other mods to see how they work.
Title: Re: Enhanced Who - HowTo see spiders online
Post by: ^Raven^ on March 30, 2005, 12:15:00 AM
Quote from: IchBin on March 29, 2005, 11:33:17 PM
You could create your own package and then install it through the package manager in the admin section. :)
If you don't know how, just take a look at any of the other mods to see how they work.

So, I take it that you're saying what I wish to do cannot be done.  Is that correct?

Does anyone else have a thought or answer to my question?
Title: Re: Enhanced Who - HowTo see spiders online
Post by: 1948Pal on March 31, 2005, 05:32:58 PM
Hi.
What if one has the location mod installed, this mod also adds stuff to the who.template.php. Is it possible to have both the location mod and this nifty little thing work at the same time?
Thanks
Title: Re: Enhanced Who - HowTo see spiders online
Post by: ^Raven^ on March 31, 2005, 06:31:17 PM
That's a good question and I wish I had thought of that since I have the location mod installed.  Guess we have to wait for someone in the know to provide answers.  :(
Title: Re: Enhanced Who - HowTo see spiders online
Post by: IchBin™ on March 31, 2005, 06:51:57 PM
Raven, if you have access to the admin center and can figure out how to make a package. (Not hard IMO) then all you have to do is intall the mod via the package manager in the admin center. As for the location mod, I don't know.
Title: Re: Enhanced Who - HowTo see spiders online
Post by: ^Raven^ on March 31, 2005, 08:30:52 PM
Quote from: IchBin on March 31, 2005, 06:51:57 PM
Raven, if you have access to the admin center and can figure out how to make a package. (Not hard IMO) then all you have to do is intall the mod via the package manager in the admin center. As for the location mod, I don't know.

Yes I do have Admin Center acces, I own the forum, no I don't know how to make a package, and I wish I could install a mod but I don't rightly know how to do the package bit.
Title: Re: Enhanced Who - HowTo see spiders online
Post by: b0b on March 31, 2005, 08:40:28 PM
Silly question but what are spiders in this context?
Title: Re: Enhanced Who - HowTo see spiders online
Post by: andrea on March 31, 2005, 08:57:00 PM
Quote from: b0b on March 31, 2005, 08:40:28 PM
what are spiders in this context?

Spiders are search engines which index your website. They show up as online users (resp. guests).
Title: Re: Enhanced Who - HowTo see spiders online
Post by: Zenigata on April 06, 2005, 09:02:41 AM
Quote from: andrea on December 31, 2004, 07:04:41 AM
Quote from: dschwab9 on October 02, 2004, 01:03:50 PM
Try the attached template file to be able to see the bots.

This is for RC1, don't know if it will work for other versions or not.

Who.template.php (http://www.simplemachines.org/community/index.php?action=dlattach;topic=1567.0;id=2596)

I suppose it also works for RC2 and final.

Hi, how can I see if a member uses Firefox? This who.template shows only "Mozilla".

Thanks.
Title: Re: Enhanced Who - HowTo see spiders online
Post by: andrea on April 06, 2005, 01:20:38 PM
Quote from: Zenigata on April 06, 2005, 09:02:41 AM
Quote from: andrea on December 31, 2004, 07:04:41 AM
Quote from: dschwab9 on October 02, 2004, 01:03:50 PM
Try the attached template file to be able to see the bots.

This is for RC1, don't know if it will work for other versions or not.

Who.template.php (http://www.simplemachines.org/community/index.php?action=dlattach;topic=1567.0;id=2596)

I suppose it also works for RC2 and final.

Hi, how can I see if a member uses Firefox? This who.template shows only "Mozilla".

Thanks.

I guess I use the same and for me it shows "Firefox".
Title: Re: Enhanced Who - HowTo see spiders online
Post by: Zenigata on April 06, 2005, 02:46:53 PM
Quote from: andrea on April 06, 2005, 01:20:38 PM

I guess I use the same and for me it shows "Firefox".

Yes, I use the file you attached in this forum but I see my Firefox in Who is online as Mozilla.

Look here:

(http://img56.exs.cx/img56/2622/whois2iz.jpg)
Title: Re: Enhanced Who - HowTo see spiders online
Post by: Owdy on April 06, 2005, 02:49:33 PM
Quote from: Zenigata on April 06, 2005, 02:46:53 PM
Quote from: andrea on April 06, 2005, 01:20:38 PM

I guess I use the same and for me it shows "Firefox".

Yes, I use the file you attached in this forum but I see my Firefox in Who is online as Mozilla.

Look here:

(http://img56.exs.cx/img56/2622/whois2iz.jpg)

Look:
$known_agents = array('Firebird', 'Opera', 'Safari', 'Googlebot', 'Googlebot-Image', 'Netscape', 'MyIE2', 'Konqueror', 'Galeon', 'Inktomi', 'Ask Jeeves', 'ia_archiver', 'Scooter', 'FAST-WebCrawler', 'Yahoo! Slurp', 'MSNBot');
There isnt firefox. Ad it in there. You could try this also: http://www.simplemachines.org/community/index.php?topic=19243.0
Title: Re: Enhanced Who - HowTo see spiders online
Post by: andrea on April 06, 2005, 08:11:37 PM
Thx Owdy, added this link into the 1st post.
Title: Re: Enhanced Who - HowTo see spiders online
Post by: autorobot.it on April 12, 2005, 05:45:52 AM
i used Apollo Skin but dont have the file Who.template.php if i copy this file inside the skin dir it work ?

edit yes it work :P
Title: Re: Enhanced Who - HowTo see spiders online
Post by: Omar Bazavilvazo on May 03, 2005, 03:07:38 PM
Just did the modifications, and works great :)

Tnx!
Title: Re: Enhanced Who - HowTo see spiders online
Post by: mforum on January 28, 2006, 11:55:36 AM
works fine on 1.0.5, problem is that global moderators dont have the ip next to name as they had, can be done something about that?
Title: Re: Enhanced Who - HowTo see spiders online
Post by: pjn on July 25, 2010, 01:04:13 AM
it's work on theme core?