Author |
Topic |
(.)z
New Member
United Kingdom
85 Posts |
Posted - 03 January 2001 : 18:37:53
|
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>Hey (.)z - Thanks - changing that part of the cookie helped with the Active Members listing, but I'm still having problems setting cookies to the entire website. Got any suggestions on that?<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>In admin options (Main forum config) I have the "Set cookie to" option set to forum not website. Never tried it set to website so I dont know how exactly that affects things.
I have not changed strCookieURL in config.asp, and the change I did make to strUinqueID is not relevant (I have changed this to support multiple forum databases - a mod I am currently working on).
In what way are they not working? Just not remembering your username and password for autologin?
Regards - <img src=icon_smile_cool.gif border=0 align=middle>z |
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 03 January 2001 : 22:19:15
|
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>I´ve tried to use it with the 3.1 Final and i always get this error: Microsoft VBScript compilation error '800a03ea' Syntax error /inc_top.asp, line 55 Function OnlineSQLencode(byVal strPass)
What´s wrong?<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote> I had this same problem. The <b>OnlineSQLencode</b> and <b>OnlineSQLdecode</b> functions can't work in the earlier versions of the forum. I don't know why. I can't find the problem. It works ok in SR4 but throws errors in previous versions, on a clean install. Since the 2 functions aren't too much important for the mod (right redbrad?), cause I have used the mod ok without the functions, you can comment them out.
To comment them out just put a ' in front of them like so:<pre id=code><font face=courier size=2 id=code><font color=green>'</font id=green>function OnlineSQLencode(strPass) <font color=green>'</font id=green>if not IsNull(strPass) and strPass <> "" Then <font color=green>'</font id=green>strPass = Replace(strPass, "%", "'%'") <font color=green>'</font id=green>strPass = Replace(strPass, "'", "''") <font color=green>'</font id=green>strPass = Replace(strPass, "|", "'|'") <font color=green>'</font id=green>OnlineSQLencode = strPass <font color=green>'</font id=green>end if <font color=green>'</font id=green>end function</font id=code></pre id=code> Or you can just delete the functions.
Also you would have to delete or comment out where the function is being called. You can just do a search for <b>OnlineSQLencode</b> and <b>OnlineSQLdecode</b> in inc_top.asp. There are only 2 occurences. And in active_users.asp, there is only one occurence of the function. And it should work ok for you.
<center><font color=green>*----*----*----*----*----*----*----*----* <font size=2>"To Get To Heaven, It's Who You Know That Counts."</font id=size2> *----*----*----*----*----*----*----*----*</font id=green></center> |
|
|
CrAzY
New Member
USA
50 Posts |
Posted - 04 January 2001 : 17:14:15
|
My Current Active Users Problem in v3.1 SR4:
I have the "Set Cookie" option set to Forum, but would like to set it to Website.
If I set it to Website, Login, then click on the "Logout" button, it does not log me out. It runs through the cycle saying it's loggin me out, but redirects me back to the default page and shows that "You are logged on as CrAzY" still. It does not logout allowing me to login as someone else. I guess it's not that big of a problem, but I get the feeling that the cookies aren't working correctly.
Can anyone offer any help on this one?
|
|
|
bugfix
Starting Member
Singapore
47 Posts |
Posted - 05 January 2001 : 10:08:24
|
The activeuser.asp does not use ChkDate() function from inc_functions.asp, so the date that is displayed in the active users does not folow the forum configuration.
Can someone take a look at it. Thanks
|
|
|
need300z
Starting Member
14 Posts |
Posted - 10 January 2001 : 18:27:35
|
Has anyone gotten this to work on srv4 Mine still shows up with no one active nor any guest when I know there logged in. Any help would be appricated. Thanks,
|
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 10 January 2001 : 19:02:05
|
In the code that you added to inc_top.asp
For this mod to work on v3.1 SR4 makes sure you are using strUniqueID instead of strCookieURL
' ****************************************************** ' ADD HERE WHAT YOU WANT THE PREFIX OF YOUR COOKIE TO BE ' it will either be 'strCookieURL' or 'strUniqueID' strTempCookieType = strUniqueID ' ****************************************************** |
|
|
need300z
Starting Member
14 Posts |
Posted - 10 January 2001 : 19:51:15
|
There was no code that I added to inc_top.asp all i did was add the include file into default.asp and ran the active_users_setup.asp file. What code do I need to add to inc_top.asp to make this work.
|
|
|
need300z
Starting Member
14 Posts |
Posted - 11 January 2001 : 14:12:19
|
Bump any Ideas, thanks for the help
|
|
|
kycable
New Member
USA
82 Posts |
|
need300z
Starting Member
14 Posts |
Posted - 12 January 2001 : 09:13:36
|
Microsoft VBScript runtime error '800a000d'
Type mismatch: 'DateToStr'
/board/active_users.asp, line 98
is what I get
|
|
|
Dynamix
Junior Member
Germany
205 Posts |
Posted - 13 January 2001 : 12:32:08
|
Is here anyone, woho has a complete mod of this feature for the 3.1 Final?
|
|
|
Nolltre.com
Starting Member
Sweden
14 Posts |
Posted - 17 January 2001 : 11:03:17
|
Yeah.. i got
________________________ The true forum aviable at: www.nolltre.com/forum
Nolltre.com - The one and only |
|
|
Nolltre.com
Starting Member
Sweden
14 Posts |
Posted - 17 January 2001 : 11:03:26
|
Yeah.. i got that error to..
________________________ The true forum aviable at: www.nolltre.com/forum
Nolltre.com - The one and only |
|
|
Nolltre.com
Starting Member
Sweden
14 Posts |
Posted - 17 January 2001 : 11:03:35
|
Yeah.. i got that error to..
________________________ The true forum aviable at: www.nolltre.com/forum
Nolltre.com - The one and only |
|
|
gwhit
Starting Member
5 Posts |
|
Topic |
|