Author |
Topic |
|
acoustika
Junior Member
Denmark
311 Posts |
Posted - 24 August 2003 : 19:13:20
|
Ive have installed the Avatar Mod, and it seem that all is working just fine, except for one thing.
When I Edit Avatars in the Review/Edit avatar list, and are applying some avatars to: HOLD/PENDING and USER SUBMITTED I would get this error trying to EDIT them after i have submitted these values to them, so I cant EDIT them again Error Type: Microsoft VBScript runtime (0x800A000D) Type mismatch: 'cLng' /uniquedk/forum/admin_edit_avatar.asp, line 257
Browser Type: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
Page: GET /uniquedk/forum/admin_edit_avatar.asp
This is NOT a problem if they are submitted any of the other values, such as (admin, users #1,2,3,4,5 rtc.), how come this??? can anyone help.
this is my codeblock from the file admin_edit_avatar.asp around the error:
CodeBLOCK: else select case avatarMemID case -6, -7 dim apos : apos = "" dim auserid : auserid = "" dim ausername : ausername = "" dim adate : adate = "" dim aname : aname = "" apos = InStr(avatarName,"-") if Len(avatarName) > 9 and apos > 0 and Instr(avatarName,"[") > 0 and Instr(avatarName,"]") > 0 then auserid = cLng(Left(avatarName, apos-1)) ausername = getMemberName(auserid) adate = Mid(avatarName, apos+2, 2) & Mid(avatarName, apos+4, 2) adname = adate & "_by_" & ausername acname = Mid(avatarName, apos+8, Len(avatarName)-Len(auserid)-8) elseif apos > 0 then auserid = cLng(Left(avatarName, apos-1)) ausername = getMemberName(auserid) adate = "unknown" adname = "0000_by_" & ausername acname = Mid(avatarName, apos+1, Len(avatarName)-Len(auserid)-1) end if case else 'do nothing end select
Please Anyone can help???, I'm testing my forum on ISS and Access 2000 DB
EDITED: I have installed a MOD that gives me 5 more ranks, can it be a conflict between these MODS, I also have the POINT system MOD installed. |
May The Code Be With You www.UniqueDk.dk *** The Open Forums of Denmark *** |
Edited by - acoustika on 24 August 2003 19:17:25 |
|
vmplanet
Junior Member
112 Posts |
Posted - 25 August 2003 : 04:43:05
|
try to replace clng with int. |
|
|
OneWayMule
Dev. Team Member & Support Moderator
Austria
4969 Posts |
|
acoustika
Junior Member
Denmark
311 Posts |
Posted - 25 August 2003 : 10:57:04
|
well I'm not a programmer, thoug I understand a lot of the code from translating my forum and installing mods. But I'm not sure what you mean. But isn't it weird that it works, if it is set to a selective member, member level or admin, and the code lini for this is also "clng".
But anyways, I'm starting over with my almost fresh translated one (forum) and begin installing All my MODS now that I've have leaned alot through the last weeks. Anf I will start with the big MODS, anyone know the best order to install these in. |
May The Code Be With You www.UniqueDk.dk *** The Open Forums of Denmark *** |
Edited by - acoustika on 25 August 2003 10:57:54 |
|
|
OneWayMule
Dev. Team Member & Support Moderator
Austria
4969 Posts |
|
acoustika
Junior Member
Denmark
311 Posts |
Posted - 25 August 2003 : 11:18:17
|
Okay thanks, but luckily those MODS i will not install.
If I would use the POLL MOD it would be outside the forum pages ( my website is incorporating the forum on the site), is this legal and can it be done. ex. a bottom frame on my homesite with the POLL |
May The Code Be With You www.UniqueDk.dk *** The Open Forums of Denmark *** |
|
|
OneWayMule
Dev. Team Member & Support Moderator
Austria
4969 Posts |
|
acoustika
Junior Member
Denmark
311 Posts |
Posted - 25 August 2003 : 14:05:04
|
Okay Thanks OneWayMule
Great having you to help *S* |
May The Code Be With You www.UniqueDk.dk *** The Open Forums of Denmark *** |
|
|
|
Topic |
|