News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Enhanced Who - HowTo see spiders online

Started by andrea, December 31, 2004, 07:04:41 AM

Previous topic - Next topic

andrea

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

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


Edit: 2nd version added, with more known agents.

Andrea Hubacher
Ex Lead Support Specialist
www.simplemachines.org

Personal Signature:
Most recent work:
10 Aqua Themes for SMF



Foden

Is there an enhanced version for 1.0 Final that was based off the 1.0 Final code?

andrea

Why do you ask? I suppose the who template hasn't changed for final.

Andrea Hubacher
Ex Lead Support Specialist
www.simplemachines.org

Personal Signature:
Most recent work:
10 Aqua Themes for SMF



Foden

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.

andrea

Why don't you simply try it? Just copy the file into your custom theme directory.

Andrea Hubacher
Ex Lead Support Specialist
www.simplemachines.org

Personal Signature:
Most recent work:
10 Aqua Themes for SMF



Alisha

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 ... 

[darksteel]




Luis "[darksteel]" Alvarado.
Spanish Support
¿Qué es el repair_settings?
No doy soporte por PM, publica tu duda en el foro y tendras respuestas mas rapidas.
My forum:
www.caamboard.com

Owdy

Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0


[darksteel]

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.?



Luis "[darksteel]" Alvarado.
Spanish Support
¿Qué es el repair_settings?
No doy soporte por PM, publica tu duda en el foro y tendras respuestas mas rapidas.
My forum:
www.caamboard.com

Adin


SalemKayaker

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

andrea

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.

Andrea Hubacher
Ex Lead Support Specialist
www.simplemachines.org

Personal Signature:
Most recent work:
10 Aqua Themes for SMF



SalemKayaker

#13
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

suren

maybe you should put it in the default theme directory

autorobot.it

#15
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

andrea

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.

Andrea Hubacher
Ex Lead Support Specialist
www.simplemachines.org

Personal Signature:
Most recent work:
10 Aqua Themes for SMF



autorobot.it

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:



only me

andrea

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).

Andrea Hubacher
Ex Lead Support Specialist
www.simplemachines.org

Personal Signature:
Most recent work:
10 Aqua Themes for SMF



autorobot.it

its ok but how :P in the file who.template.php

Advertisement: