Why not use the email facilities built into Snitz rather than depending on CDONTS? Can the code be changed to show "Search Engine" rather than "Unknown" for the browser when displayed on the page?
David, it should display CRAWLER instead of unknown if you have added all the changes for this mod. This is included in the modified active_users.asp available on the first page in this topic.
David, it should display CRAWLER instead of unknown if you have added all the changes for this mod. This is included in the modified active_users.asp available on the first page in this topic.
I see. CRAWLER should be displayed instead of Guest #, but should it still show "unknown" above the crawler name in the next column
I've now added the following lines
AGENTSTR = fUserAgent(rsAM("AU_USER_AGENT"))
AGENTSTR = fUserAgent(rsAG("AU_USER_AGENT"))
and edited to display
" <td bgcolor=""" & CColor & """ valign=middle nowrap><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strDefaultFontColor & """>"
If instr(AGENTSTR,"SEARCH ENGINE SPIDER") then
response.write "CRAWLER"
c=c-1
else
response.write fLang(strLangMOD_Ls3kAU_01130) & c
end if
response.write "</font></td>" & VBNewLine
It still shows as Guest #, anything else i've missed?
Ah, then it isn't a bug. It will only display CRAWLER for those search engines who has the following profile (keypart marked red):
"FAST-WebCrawler||ALL THE WEB||SEARCH ENGINE SPIDER**"
Msn has "msnbot/0.11||MSNBot||Prototype Web-crawling robot**" and will not match the if-statement. If you want it to do so, change Prototype Web-crawling robot with SEARCH ENGINE SPIDER, and it will show up as a crawler and not a guest.
I don't know what aspwiz's intent was, so I cannot answer about the reason. I agree with you that it seems odd to not list all as search engine spiders.
David, have you changed the second listing for msnbot to search engine spider? It is listed twice, as MSNBOT/0.1 and msnbot/0.11? Change the newer version and it should work for you
Nick, I think you can remove the older version of msnbot from the list.