The Forum has been Updated
The code has been upgraded to the latest .NET core version. Please check instructions in the Community Announcements about migrating your account.
I am trying to figure out how to add Search Robots to the active_users.asp page. I found the functions for when it determines the users browser and tried to add this below, but I can't get it to work.
'##### Spider Bot Test #####
if instr(UAgent, "Googlebot") then
strBrowser = "Search Robot"
if instr(UAgent, "ZyBorg") then
strBrowser = "Search Robot"
if instr(UAgent, "slurp") then
strBrowser = "Search Robot"
if instr(UAgent, "Scooter") then
strBrowser = "Search Robot"
if instr(UAgent, "Robozilla") then
strBrowser = "Search Robot"
if instr(UAgent, "Ask Jeeves") then
strBrowser = "Search Robot"
if instr(UAgent, "Ask+Jeeves") then
strBrowser = "Search Robot"
if instr(UAgent, "lycos") then
strBrowser = "Search Robot"
if instr(UAgent, "ArchitextSpider") then
strBrowser = "Search Robot"
if instr(UAgent, "Gulliver") then
strBrowser = "Search Robot"
if instr(UAgent, "crawler@fast") then
strBrowser = "Search Robot"
if instr(UAgent, "TurnitinBot") then
strBrowser = "Search Robot"
if instr(UAgent, "internetseer") then
strBrowser = "Search Robot"
if instr(UAgent, "nameprotect") then
strBrowser = "Search Robot"
if instr(UAgent, "PhpDig") then
strBrowser = "Search Robot"
if instr(UAgent, "StackRambler") then
strBrowser = "Search Robot"
if instr(UAgent, "UbiCrawler") then
strBrowser = "Search Robot"
if instr(UAgent, "Speedy+Spider") then
strBrowser = "Search Robot"
if instr(UAgent, "ia_archiver") then
strBrowser = "Search Robot"
if instr(UAgent, "msnbot") then
strBrowser = "Search Robot"
if instr(UAgent, "arianna.libero.it") then
strBrowser = "Search Robot"
end if
'##### Spider Bot Test #####
How should this appear and where exactly should I insert it in active_users.asp?<
'##### Spider Bot Test #####
if instr(UAgent, "Googlebot") then
strBrowser = "Search Robot"
if instr(UAgent, "ZyBorg") then
strBrowser = "Search Robot"
if instr(UAgent, "slurp") then
strBrowser = "Search Robot"
if instr(UAgent, "Scooter") then
strBrowser = "Search Robot"
if instr(UAgent, "Robozilla") then
strBrowser = "Search Robot"
if instr(UAgent, "Ask Jeeves") then
strBrowser = "Search Robot"
if instr(UAgent, "Ask+Jeeves") then
strBrowser = "Search Robot"
if instr(UAgent, "lycos") then
strBrowser = "Search Robot"
if instr(UAgent, "ArchitextSpider") then
strBrowser = "Search Robot"
if instr(UAgent, "Gulliver") then
strBrowser = "Search Robot"
if instr(UAgent, "crawler@fast") then
strBrowser = "Search Robot"
if instr(UAgent, "TurnitinBot") then
strBrowser = "Search Robot"
if instr(UAgent, "internetseer") then
strBrowser = "Search Robot"
if instr(UAgent, "nameprotect") then
strBrowser = "Search Robot"
if instr(UAgent, "PhpDig") then
strBrowser = "Search Robot"
if instr(UAgent, "StackRambler") then
strBrowser = "Search Robot"
if instr(UAgent, "UbiCrawler") then
strBrowser = "Search Robot"
if instr(UAgent, "Speedy+Spider") then
strBrowser = "Search Robot"
if instr(UAgent, "ia_archiver") then
strBrowser = "Search Robot"
if instr(UAgent, "msnbot") then
strBrowser = "Search Robot"
if instr(UAgent, "arianna.libero.it") then
strBrowser = "Search Robot"
end if
'##### Spider Bot Test #####
How should this appear and where exactly should I insert it in active_users.asp?<