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

weeweeslap
Senior Member

USA
1077 Posts

Posted - 15 November 2003 :  16:10:30  Show Profile  Visit weeweeslap's Homepage  Send weeweeslap an AOL message  Send weeweeslap a Yahoo! Message
I just download the one on your link and uploaded it So what you have in your link is what I have on my server. but nevertheless here is what I have.

http://www.weeweeslap.com/active-users.txt
yes a - instead of _

coaster crazy
Go to Top of Page

aspwiz
Junior Member

250 Posts

Posted - 15 November 2003 :  17:20:11  Show Profile  Visit aspwiz's Homepage
quote:
Originally posted by Gargoyle

I just uploaded it to my test server and it works great!

But I want to know about this line 80 e-mail addy you speak of in the first
post? Does this e-mail me or you with my reply address ?



The email address in line 80 needs to be your own. A message is sent FROM this address to ME, each time a user agent is encoutered that this script does not handle. This email just contains the new user agent string, along with an ip address so I can identify exactly what type of search engine or Bot the user agent corresponds to.

quote:
Originally posted by weeweeslap

I just download the one on your link and uploaded it So what you have in your link is what I have on my server. but nevertheless here is what I have.

http://www.weeweeslap.com/active-users.txt
yes a - instead of _




WeeWee... you have got one weird set of problems going on here. The script is identical in every way and I really cannot see a reason for this at all!!!

Maybe masterao can save your day again. Meanwhile, I'll keep thinking.

Go to Top of Page

Rasco
Advanced Member

Germany
3192 Posts

Posted - 15 November 2003 :  17:40:06  Show Profile  Send Rasco an ICQ Message
Nice thing aspwiz. Will try it immediately.

German Snitz Forum
Go to Top of Page

masterao
Senior Member

Sweden
1678 Posts

Posted - 16 November 2003 :  12:27:54  Show Profile  Visit masterao's Homepage
WWS, replace the below code:


  else
	StrBrowser=""
	UaArray = Split(AgentCsvStr,"**")
	tmpFlag=False
	For intTmpCtr = 0 to ubound(UaArray)
		tmpItemArray=Split(UaArray(intTmpCtr),"||")
		If instr(ua,tmpItemArray(0)) then
			tmpFlag = True
			strBrowser = tmpItemArray(1)
			strSystem = tmpItemArray(2)
		End If
	If TmpFlag then EXIT For
	Next

  	if len(ua) < 3 then
		strBrowser = "SPOOFED"
		strSystem = "No User Agent"
  	end if


with the following and check if it works:


    elseif len(ua) < 3 then
    strBrowser = "SPOOFED"
    strSystem = "No User Agent"
  else
    StrBrowser=""
    UaArray = Split(AgentCsvStr,"**")
    tmpFlag=False
    For intTmpCtr = 0 to ubound(UaArray)
        tmpItemArray=Split(UaArray(intTmpCtr),"||")
                If instr(ua,tmpItemArray(0)) then
            tmpFlag = True
            strBrowser = tmpItemArray(1)
            strSystem = tmpItemArray(2)
        End If
    If TmpFlag then EXIT For
    Next

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

aspwiz
Junior Member

250 Posts

Posted - 16 November 2003 :  12:56:09  Show Profile  Visit aspwiz's Homepage
If that works, then there is serious problem with your scripting engine!!
Go to Top of Page

weeweeslap
Senior Member

USA
1077 Posts

Posted - 16 November 2003 :  14:20:53  Show Profile  Visit weeweeslap's Homepage  Send weeweeslap an AOL message  Send weeweeslap a Yahoo! Message
well, that didn't work quite right, but it did tell me in the guests column that some were Crawlers, but the OS/Browser colum still remains as No User Agent/ SPOOFED

WWS

coaster crazy
Go to Top of Page

aspwiz
Junior Member

250 Posts

Posted - 16 November 2003 :  14:39:56  Show Profile  Visit aspwiz's Homepage
What OS is the server running out of interest?

Have you got the latest scripting engine is installed?
Go to Top of Page

weeweeslap
Senior Member

USA
1077 Posts

Posted - 16 November 2003 :  15:02:54  Show Profile  Visit weeweeslap's Homepage  Send weeweeslap an AOL message  Send weeweeslap a Yahoo! Message
sql server 2000?
and has the latest scripting engine from what I know.

coaster crazy
Go to Top of Page

masterao
Senior Member

Sweden
1678 Posts

Posted - 16 November 2003 :  18:38:29  Show Profile  Visit masterao's Homepage
WWS, can you test the following (new line marked red):


    StrBrowser=""
    UaArray = Split(AgentCsvStr,"**")
    UaArray = UaArray
    tmpFlag=False
    For intTmpCtr = 0 to ubound(UaArray)
        tmpItemArray=Split(UaArray(intTmpCtr),"||")
        If instr(ua,tmpItemArray(0)) then
            tmpFlag = True
            strBrowser = tmpItemArray(1)
            strSystem = tmpItemArray(2)
        End If
    If TmpFlag then EXIT For
    Next

Jan
===========
FR Portal Forums | Active Users 4.0.20 Mod

Edited by - masterao on 16 November 2003 20:02:03
Go to Top of Page

aspwiz
Junior Member

250 Posts

Posted - 16 November 2003 :  18:53:09  Show Profile  Visit aspwiz's Homepage
If this works, then I think I'm gonna press F5 on my head and then retire as a programmer.

Why is this nessesary for WWS to do this weird stuff? WWS, is your web server windows based? Are you running linux with an asp interpretter? I could never imagine having to do this for anything windows based with the latest scripting engines.

Masterao, you equally weird suggestion last time worked, and I cannot figure for the life of me why.

Can you offer an explanation for your 1=1 mentality?



Go to Top of Page

masterao
Senior Member

Sweden
1678 Posts

Posted - 16 November 2003 :  20:04:13  Show Profile  Visit masterao's Homepage
My first suggestion came from the fact that it seemed like the string which was passed to the function didn't keep it's content, so by adding ua = ua, it should retain the string value passed into the function.

When it comes to his current problem, I don't have a clue why it happens, other than it seems to be similar to his first problem. As you have already included the previous fix, Im just testing things which seems logical.

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

weeweeslap
Senior Member

USA
1077 Posts

Posted - 17 November 2003 :  01:56:51  Show Profile  Visit weeweeslap's Homepage  Send weeweeslap an AOL message  Send weeweeslap a Yahoo! Message
made the change suggested
UaArray = UaArray
and still remains the same as my last post, not working


my server is windows based, windows 2000 and running ms sql 2000 as db, never been on linux. (hosted by a reseller of Huwr )
http://www.weeweeslap.com/sigh.jpg

Any more suggestions? Thanks

coaster crazy
Go to Top of Page

aspwiz
Junior Member

250 Posts

Posted - 17 November 2003 :  04:57:25  Show Profile  Visit aspwiz's Homepage
This alteration should work:- just alter the relevant bit of code to this:-

else
    StrBrowser=""
    AgentCsvStr = AgentCsvStr
    StrFromAddr = StrFromAddr
    UaArray = Split(AgentCsvStr,"**")
    tmpFlag=False
    For intTmpCtr = 0 to ubound(UaArray)


There are 2 new lines in that lot. Because those two vars are declared outside of the function, I think this will now work for you WWS!!!

If it does work, let me know and I'll add it to the MOD!!

Have fun!

Edited by - aspwiz on 17 November 2003 05:01:41
Go to Top of Page

weeweeslap
Senior Member

USA
1077 Posts

Posted - 17 November 2003 :  13:08:51  Show Profile  Visit weeweeslap's Homepage  Send weeweeslap an AOL message  Send weeweeslap a Yahoo! Message
http://www.weeweeslap.com/again.jpg

same result as before, not working

coaster crazy
Go to Top of Page

aspwiz
Junior Member

250 Posts

Posted - 17 November 2003 :  13:29:38  Show Profile  Visit aspwiz's Homepage
can you put link here to the current file as txt format?
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.2 seconds. Powered By: Snitz Forums 2000 Version 3.4.07