Custom Who.template.php - separated list for users, guests and spiders

Started by Owdy, November 03, 2004, 01:15:56 PM

Previous topic - Next topic

brianjw

I have a question -

Since we got this to appear in the who.template.php. Would it be hard to make it show in the 2 following places:

  • Board Index Who's Online Block - Shows spiders like "Google [BOT]" in the who's online block. Except google would be able to be other search engines ;) We should also be able to set a color for the spiders as if it were in one group somewhere...

  • TinyPortal Stats Block - Particulary in the whos online part of the block. I would like the same thing on this as the board index.

DHC

Quote from: bl968 on December 14, 2006, 12:44:08 AM
I would like for the who list to give priority to Members first then guests then spiders so

show all members first, then show guests, and then spiders

For example I have
223 Spiders, 17 Guests, 7 Users (0 Buddies)  but on the Who's Online it shows

2 members on the first page, 2 Guests, and 56 spiders.

I want it to show as many members as possible if any room then show guests and if any room then show spiders.

Ideas?

I just read all the messages to see if there is a solution to this question, and did not find anything.

Can this be accomplished?


DHC

Quote from: bbulldog on September 17, 2007, 09:46:34 AM
if you had read them all you would have seen this
http://www.simplemachines.org/community/index.php?topic=19243.msg882787#msg882787

you are talking about a different mod.

Nice reply.

"if you had read ...."

I did, indeed, read each and every post - including the one you linked.

Maybe you are correct - although having read every post, I could not find confirmation.

I will repeat - and maybe someone can provide a HELPFUL response.

Can the Who.template be reorganized so that ALL members appear in a continuous block starting on Page 1 - with Guests in a continuous block following Members, and Spiders in a third (and last) continuous block?

~n[EO]n~

Nah... it is not working for me.. can anyone help

I got a theme Silent wave from Bikken.... and i copied who.template.php in 3 places still does not work strange for me

One in Themes/                      folder
one in Themes/default            folder
one in Themse/SilentWave     folder

still does not show up
can anyone help please

mrgray

I have had an error with my install from months ago,

If someone here can recommend someone trustworthy to me I would pay to have it fixed.

I have PayPal.


少林寺

dazlia

Hi mate,

What the issie your having? error message? not displaying properly? not displaying at all?

Give me more info please and ill see if i can help

daz

Jade Elizabeth

is there a way to hide the categories that have no entries?
so if theres no guests online, to remove that category until there is?

Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

Jade Elizabeth

im aware this probably sounds stupid...
but where is the spiders/user agents things?

like i wanna make a list...but i dont have any existing files with such titles. do i create them, and where?
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

sgtcyrex

Hi...

The mod is working, when i press the who's online link at the bottom, it says 0 spiders at the who's online page....

is it possible to make it say 3 users, 4 guests, 2 spiders on the bottom at the main page?

Jade Elizabeth

Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

sgtcyrex

now it says on the bottom of the page, 0 guests, 2 members, 0 members?

chrishicks

I am trying this on my test board and it doesn't show Spiders in my Users Online section. it just shows x guests, x users. if I go into the Who's Online section it will show in the 3 seperate catagories though.

EDIT: i accidently typed a 2 instead of a 3.

jossanaijr

Quote from: chrishicks on September 30, 2007, 07:28:19 PM
I am trying this on my test board and it doesn't show Spiders in my Users Online section. it just shows x guests, x users. if I go into the Who's Online section it will show in the 2 seperate catagories though.
It only shows spider if there is one at that moment.

Jade Elizabeth

Quote from: Alundra on September 29, 2007, 07:16:20 PM
im aware this probably sounds stupid...
but where is the spiders/user agents things?

like i wanna make a list...but i dont have any existing files with such titles. do i create them, and where?

Quote from: Alundra on September 29, 2007, 07:09:07 PM
is there a way to hide the categories that have no entries?
so if theres no guests online, to remove that category until there is?

can anyone help me yet?
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

chrishicks

oops, I just noticed I typed a 2 instead of a 3.

I ran a meta tags test on a bunch of sites in order to get the spiders on my board. at 1 point I had 7 different ones plus myself on it. in the Users Online section on the forum main page it said 7 guests, 1 user. when I did the who's online section I had 3 catagories. I was in the users section, 5 spiders were in the guests section and 2 were in the spiders section. why isn't it showing in the users online section as x guests, x users, x spiders?

EDIT: I just changed my users active time for my testboard. I also enabled guests to be able to view the users online. if someone wants to take a look at what I'm asking about go here: http://testforum.rejectsreststop.com/forum3/index.php?action=forum

Jade Elizabeth

Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

chrishicks

I just realized that I was confusing this with the googlebot mod. I somehow missed a page in this thread and caught it during a reread.

Jade Elizabeth

OrgName:    Microsoft Corp
OrgID:      MSFT
Address:    One Microsoft Way
City:       Redmond
StateProv:  WA
PostalCode: 98052
Country:    US

NetRange:   65.52.0.0 - 65.55.255.255
CIDR:       65.52.0.0/14
NetName:    MICROSOFT-1BLK
NetHandle:  NET-65-52-0-0-1
Parent:     NET-65-0-0-0-0
NetType:    Direct Assignment
NameServer: NS1.MSFT.NET
NameServer: NS5.MSFT.NET
NameServer: NS2.MSFT.NET
NameServer: NS3.MSFT.NET
NameServer: NS4.MSFT.NET
Comment:   
RegDate:    2001-02-14
Updated:    2004-12-09

RTechHandle: ZM23-ARIN
RTechName:   Microsoft Corporation
RTechPhone:  +1-425-882-8080
RTechEmail:  noc@microsoft.com

OrgAbuseHandle: ABUSE231-ARIN
OrgAbuseName:   Abuse
OrgAbusePhone:  +1-425-882-8080
OrgAbuseEmail:  abuse@microsoft.com

OrgAbuseHandle: HOTMA-ARIN
OrgAbuseName:   Hotmail Abuse
OrgAbusePhone:  +1-425-882-8080
OrgAbuseEmail:  abuse@hotmail.com

OrgAbuseHandle: MSNAB-ARIN
OrgAbuseName:   MSN ABUSE
OrgAbusePhone:  +1-425-882-8080
OrgAbuseEmail:  abuse@msn.com

OrgNOCHandle: ZM23-ARIN
OrgNOCName:   Microsoft Corporation
OrgNOCPhone:  +1-425-882-8080
OrgNOCEmail:  noc@microsoft.com

OrgTechHandle: MSFTP-ARIN
OrgTechName:   MSFT-POC
OrgTechPhone:  +1-425-882-8080
OrgTechEmail:  iprrms@microsoft.com

# ARIN WHOIS database, last updated 2007-10-10 19:10
# Enter ? for additional hints on searching ARIN's WHOIS database.


someone make him on the list, cause im tired of him
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

chep

When I add in a new bot or spider I usually find out what the agent name is by looking at who's online and taking part of that to be matched as the agent string in who.template.php.
Then I assign it a spider name which makes sense.

New bot I added today for example... it had this in the who's online string:
"MSRBOT https://research.microsoft.com/research/sv/msrbot/"

I designated it the Microsoft Research Bot and told it spider true.

           array (
                     'agent' => 'MSRBOT',
                     'spidername' => 'Microsoft Research Bot',
                    'spider' => true,
         ), 

 
Advertisement: