Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 Auto Update Spider ID MOD : Active Users
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 19

Chuck McB
Junior Member

WooYay
196 Posts

Posted - 19 July 2004 :  07:11:21  Show Profile  Visit Chuck McB's Homepage  Send Chuck McB an ICQ Message
Found the reason for the stange Agents from my own IP: request.servervariables("remote_addr") was being used in the notify email rather than the IP in the DB.

Updated: link

Update: more spiders added

Edited by - Chuck McB on 25 July 2004 18:08:29
Go to Top of Page

aspwiz
Junior Member

250 Posts

Posted - 25 July 2004 :  21:07:21  Show Profile  Visit aspwiz's Homepage
Hey chuck!!!

Glad you've taken over this.....

I am so snowed under right now...

I got you updated version working on my version 2 beta release (www.webforumz.com/v2)

Nice work!
Go to Top of Page

Chuck McB
Junior Member

WooYay
196 Posts

Posted - 26 July 2004 :  14:12:10  Show Profile  Visit Chuck McB's Homepage  Send Chuck McB an ICQ Message
quote:
Glad you've taken over this

Have I? Ratz! Looks as if I have ;-)
Go to Top of Page

aspwiz
Junior Member

250 Posts

Posted - 27 July 2004 :  04:56:12  Show Profile  Visit aspwiz's Homepage
LOL
Go to Top of Page

Gargoyle
Junior Member

USA
280 Posts

Posted - 27 July 2004 :  19:29:18  Show Profile  Visit Gargoyle's Homepage
I don't seem to recieve any e-mails from this page? How is that supposed to work?
I did edit the first lines actually two of them to reflect my e-maill address just so you know.

Here is a link to my Snitz powered Drag Racing site.
Go to Top of Page

Chuck McB
Junior Member

WooYay
196 Posts

Posted - 28 July 2004 :  08:26:34  Show Profile  Visit Chuck McB's Homepage  Send Chuck McB an ICQ Message
it only emails you if your site gets visited by a search engine spider that it doesn't know about already.
Go to Top of Page

Gargoyle
Junior Member

USA
280 Posts

Posted - 28 July 2004 :  18:54:18  Show Profile  Visit Gargoyle's Homepage
quote:
Originally posted by Chuck McB

it only emails you if your site gets visited by a search engine spider that it doesn't know about already.



Thank-you for the clarification.

Here is a link to my Snitz powered Drag Racing site.
Go to Top of Page

Chuck McB
Junior Member

WooYay
196 Posts

Posted - 31 July 2004 :  05:32:04  Show Profile  Visit Chuck McB's Homepage  Send Chuck McB an ICQ Message
Updated: link

Update: added code that should mean that you are only emailed once when a new bot is found, more spiders added.
Go to Top of Page

Nathan
Help Moderator

USA
7664 Posts

Posted - 31 July 2004 :  08:37:25  Show Profile  Visit Nathan's Homepage
What is IECheck?

Nathan Bales
CoreBoard | Active Users Download
Go to Top of Page

Chuck McB
Junior Member

WooYay
196 Posts

Posted - 31 July 2004 :  08:58:12  Show Profile  Visit Chuck McB's Homepage  Send Chuck McB an ICQ Message
No idea, but it's out there.
Go to Top of Page

masterao
Senior Member

Sweden
1678 Posts

Posted - 31 July 2004 :  09:16:32  Show Profile  Visit masterao's Homepage
Thanks for the update, Chuck.

Jan
===========
FR Portal Forums | Active Users 4.0.20 Mod
Go to Top of Page

aspwiz
Junior Member

250 Posts

Posted - 31 July 2004 :  11:51:12  Show Profile  Visit aspwiz's Homepage
cheers for update...

I recommend switching this code-
If StrBrowser="" and Session("newua") <> ua and Session("newuaip") <> uaip Then
		strBrowser = cStr(ua) 'fLang(strLangMOD_Ls3kAU_01150)
	    set mailobj = server.createobject("cdonts.newmail")
		mailobj.to = StrToAddr
		mailobj.from = StrFromAddr 'PLEASE CHANGE THIS LINE TO YOUR OWN EMAIL ADDRESS
		mailobj.subject = "Solat forum - New User Agent"
		mailobj.body = "Agent=""" & ua & """" & vbcrlf & "IP: " & uaip & vbcrlf & "Email sent from: " & Request.ServerVariables("SERVER_NAME") 'IP is needed so I can see which search engines or organsations a bot belongs to
		mailobj.send
	    set mailobj = nothing	
	    Session("newua") = ua
	    Session("newuaip") = uaip
	    
	end if
to this
If StrBrowser="" and (instr(Session("newua"),ua) = 0) and (instr(Session("newuaip"),uaip) =0) Then
		strBrowser = cStr(ua) 'fLang(strLangMOD_Ls3kAU_01150)
	    set mailobj = server.createobject("cdonts.newmail")
		mailobj.to = StrToAddr
		mailobj.from = StrFromAddr 'PLEASE CHANGE THIS LINE TO YOUR OWN EMAIL ADDRESS
		mailobj.subject = "Solat forum - New User Agent"
		mailobj.body = "Agent=""" & ua & """" & vbcrlf & "IP: " & uaip & vbcrlf & "Email sent from: " & Request.ServerVariables("SERVER_NAME") 'IP is needed so I can see which search engines or organsations a bot belongs to
		mailobj.send
	    set mailobj = nothing	
	    Session("newua") = Session("newua") & " " & ua
	    Session("newuaip") = Session("newuaip") & " " & uaip
	end if
I hope i got that bug-free coz it was off the top of my head.
If you have more than one new agent visiting in the same session, the amended code will handle this correctly.
Go to Top of Page

Chuck McB
Junior Member

WooYay
196 Posts

Posted - 31 July 2004 :  12:27:55  Show Profile  Visit Chuck McB's Homepage  Send Chuck McB an ICQ Message
Update added and testing fine. Cheers.

Update #2: The Script now uses forum code to send emails.

Edited by - Chuck McB on 31 July 2004 15:23:48
Go to Top of Page

Gargoyle
Junior Member

USA
280 Posts

Posted - 31 July 2004 :  16:01:12  Show Profile  Visit Gargoyle's Homepage
Thank-you for the update guys!!

Here is a link to my Snitz powered Drag Racing site.
Go to Top of Page

Jag24
Junior Member

182 Posts

Posted - 31 July 2004 :  16:22:16  Show Profile  Visit Jag24's Homepage  Send Jag24 an ICQ Message
I updated my code with the above & my active users is back to showing every one on "This Page" .... I think we worked on this before, but I cant remember what the differences are ....Anyone ?
Go to Top of Page
Page: of 19 Previous Topic Topic Next Topic  
Previous Page | Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.17 seconds. Powered By: Snitz Forums 2000 Version 3.4.07