Simple Machines Community Forum

Customizing SMF => Tips and Tricks => Thema gestartet von: andrea in Dezember 31, 2004, 07:04:41 VORMITTAG

Titel: Enhanced Who - HowTo see spiders online
Beitrag von: andrea in Dezember 31, 2004, 07:04:41 VORMITTAG
Zitat von: dschwab9 in Oktober 02, 2004, 01:03:50 NACHMITTAGS
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.
Titel: Re: Enhanced Who - HowTo see spiders online
Beitrag von: Foden in Januar 08, 2005, 08:15:47 NACHMITTAGS
Is there an enhanced version for 1.0 Final that was based off the 1.0 Final code?
Titel: Re: Enhanced Who - HowTo see spiders online
Beitrag von: andrea in Januar 08, 2005, 11:08:10 NACHMITTAGS
Why do you ask? I suppose the who template hasn't changed for final.
Titel: Re: Enhanced Who - HowTo see spiders online
Beitrag von: Foden in Januar 09, 2005, 12:00:39 VORMITTAG
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.
Titel: Re: Enhanced Who - HowTo see spiders online
Beitrag von: andrea in Januar 09, 2005, 12:09:17 VORMITTAG
Why don't you simply try it? Just copy the file into your custom theme directory.
Titel: Re: Enhanced Who - HowTo see spiders online
Beitrag von: Alisha in Januar 24, 2005, 11:07:29 NACHMITTAGS
Zitat von: andrea in Januar 09, 2005, 12:09:17 VORMITTAG
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 ... 
Titel: Re: Enhanced Who - HowTo see spiders online
Beitrag von: [darksteel] in Februar 08, 2005, 06:12:08 NACHMITTAGS
Thanks for this file :P
Titel: Re: Enhanced Who - HowTo see spiders online
Beitrag von: Owdy in Februar 09, 2005, 02:04:50 VORMITTAG
Zitat von: aBsTrAcTo in Februar 09, 2005, 01:56:43 VORMITTAG
andrea..
and SMF 1.0.1.???

Zitat von: Alisha in Januar 24, 2005, 11:07:29 NACHMITTAGS
Installed & Works in defualt & All themes in version 1.0.1 ... 
Titel: Re: Enhanced Who - HowTo see spiders online
Beitrag von: aBsTrAcTo in Februar 09, 2005, 02:08:36 VORMITTAG
sorry :)


all good
Titel: Re: Enhanced Who - HowTo see spiders online
Beitrag von: [darksteel] in Februar 09, 2005, 06:12:01 NACHMITTAGS
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.?
Titel: Re: Enhanced Who - HowTo see spiders online
Beitrag von: Adin in Februar 11, 2005, 01:17:13 NACHMITTAGS
Thanks, Andrea.
Titel: Re: Enhanced Who - HowTo see spiders online
Beitrag von: SalemKayaker in März 01, 2005, 10:51:59 VORMITTAG
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
Titel: Re: Enhanced Who - HowTo see spiders online
Beitrag von: andrea in März 01, 2005, 10:55:28 VORMITTAG
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.
Titel: Re: Enhanced Who - HowTo see spiders online
Beitrag von: SalemKayaker in März 01, 2005, 08:55:55 NACHMITTAGS
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
Titel: Re: Enhanced Who - HowTo see spiders online
Beitrag von: suren in März 21, 2005, 12:23:33 VORMITTAG
maybe you should put it in the default theme directory
Titel: Re: Enhanced Who - HowTo see spiders online
Beitrag von: autorobot.it in März 22, 2005, 08:54:27 VORMITTAG
Zitat
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
Titel: Re: Enhanced Who - HowTo see spiders online
Beitrag von: andrea in März 22, 2005, 11:47:50 VORMITTAG
Zitat von: vegetagt in März 22, 2005, 08:54:27 VORMITTAG
Zitat
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.
Titel: Re: Enhanced Who - HowTo see spiders online
Beitrag von: autorobot.it in März 22, 2005, 01:27:10 NACHMITTAGS
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:

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.autorobot.it%2Fimages%2Fsmf.jpg&hash=9c1613017cc40025166ba1cad0f051101cf0cb71)

only me
Titel: Re: Enhanced Who - HowTo see spiders online
Beitrag von: andrea in März 22, 2005, 01:35:42 NACHMITTAGS
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).
Titel: Re: Enhanced Who - HowTo see spiders online
Beitrag von: autorobot.it in März 22, 2005, 01:48:36 NACHMITTAGS
its ok but how :P in the file who.template.php
Titel: Re: Enhanced Who - HowTo see spiders online
Beitrag von: ^Raven^ in März 29, 2005, 11:10:48 NACHMITTAGS
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.
Titel: Re: Enhanced Who - HowTo see spiders online
Beitrag von: IchBin™ in März 29, 2005, 11:33:17 NACHMITTAGS
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.
Titel: Re: Enhanced Who - HowTo see spiders online
Beitrag von: ^Raven^ in März 30, 2005, 12:15:00 VORMITTAG
Zitat von: IchBin in März 29, 2005, 11:33:17 NACHMITTAGS
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?
Titel: Re: Enhanced Who - HowTo see spiders online
Beitrag von: 1948Pal in März 31, 2005, 05:32:58 NACHMITTAGS
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
Titel: Re: Enhanced Who - HowTo see spiders online
Beitrag von: ^Raven^ in März 31, 2005, 06:31:17 NACHMITTAGS
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.  :(
Titel: Re: Enhanced Who - HowTo see spiders online
Beitrag von: IchBin™ in März 31, 2005, 06:51:57 NACHMITTAGS
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.
Titel: Re: Enhanced Who - HowTo see spiders online
Beitrag von: ^Raven^ in März 31, 2005, 08:30:52 NACHMITTAGS
Zitat von: IchBin in März 31, 2005, 06:51:57 NACHMITTAGS
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.
Titel: Re: Enhanced Who - HowTo see spiders online
Beitrag von: b0b in März 31, 2005, 08:40:28 NACHMITTAGS
Silly question but what are spiders in this context?
Titel: Re: Enhanced Who - HowTo see spiders online
Beitrag von: andrea in März 31, 2005, 08:57:00 NACHMITTAGS
Zitat von: b0b in März 31, 2005, 08:40:28 NACHMITTAGS
what are spiders in this context?

Spiders are search engines which index your website. They show up as online users (resp. guests).
Titel: Re: Enhanced Who - HowTo see spiders online
Beitrag von: Zenigata in April 06, 2005, 09:02:41 VORMITTAG
Zitat von: andrea in Dezember 31, 2004, 07:04:41 VORMITTAG
Zitat von: dschwab9 in Oktober 02, 2004, 01:03:50 NACHMITTAGS
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.
Titel: Re: Enhanced Who - HowTo see spiders online
Beitrag von: andrea in April 06, 2005, 01:20:38 NACHMITTAGS
Zitat von: Zenigata in April 06, 2005, 09:02:41 VORMITTAG
Zitat von: andrea in Dezember 31, 2004, 07:04:41 VORMITTAG
Zitat von: dschwab9 in Oktober 02, 2004, 01:03:50 NACHMITTAGS
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".
Titel: Re: Enhanced Who - HowTo see spiders online
Beitrag von: Zenigata in April 06, 2005, 02:46:53 NACHMITTAGS
Zitat von: andrea in April 06, 2005, 01:20:38 NACHMITTAGS

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:

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg56.exs.cx%2Fimg56%2F2622%2Fwhois2iz.jpg&hash=2adf429e5b6c7594a23c8a4200a81cc3bfe68a26)
Titel: Re: Enhanced Who - HowTo see spiders online
Beitrag von: Owdy in April 06, 2005, 02:49:33 NACHMITTAGS
Zitat von: Zenigata in April 06, 2005, 02:46:53 NACHMITTAGS
Zitat von: andrea in April 06, 2005, 01:20:38 NACHMITTAGS

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:

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg56.exs.cx%2Fimg56%2F2622%2Fwhois2iz.jpg&hash=2adf429e5b6c7594a23c8a4200a81cc3bfe68a26)

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
Titel: Re: Enhanced Who - HowTo see spiders online
Beitrag von: andrea in April 06, 2005, 08:11:37 NACHMITTAGS
Thx Owdy, added this link into the 1st post.
Titel: Re: Enhanced Who - HowTo see spiders online
Beitrag von: autorobot.it in April 12, 2005, 05:45:52 VORMITTAG
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
Titel: Re: Enhanced Who - HowTo see spiders online
Beitrag von: Omar Bazavilvazo in Mai 03, 2005, 03:07:38 NACHMITTAGS
Just did the modifications, and works great :)

Tnx!
Titel: Re: Enhanced Who - HowTo see spiders online
Beitrag von: mforum in Januar 28, 2006, 11:55:36 VORMITTAG
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?
Titel: Re: Enhanced Who - HowTo see spiders online
Beitrag von: pjn in Juli 25, 2010, 01:04:13 VORMITTAG
it's work on theme core?