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

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 HELP for AVATAR MOD / maybe BUG
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

acoustika
Junior Member

Denmark
311 Posts

Posted - 24 August 2003 :  19:13:20  Show Profile  Visit acoustika's Homepage  Send acoustika an ICQ Message
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  Show Profile
try to replace clng with int.
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 25 August 2003 :  04:51:32  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
I'd check what value
Left(avatarName, apos-1)

and probably check it with isNumeric before you try to convert it to a Long Integer.

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

acoustika
Junior Member

Denmark
311 Posts

Posted - 25 August 2003 :  10:57:04  Show Profile  Visit acoustika's Homepage  Send acoustika an ICQ Message
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
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 25 August 2003 :  11:07:22  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
quote:
Anf I will start with the big MODS, anyone know the best order to install these in.

Hmm... I only suggest to start with the Poll MOD or Active Users if you want them, those seem to cause the most problems on installation.

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

acoustika
Junior Member

Denmark
311 Posts

Posted - 25 August 2003 :  11:18:17  Show Profile  Visit acoustika's Homepage  Send acoustika an ICQ Message
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 ***
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 25 August 2003 :  11:26:08  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
quote:
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.

Site Poll MOD

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

acoustika
Junior Member

Denmark
311 Posts

Posted - 25 August 2003 :  14:05:04  Show Profile  Visit acoustika's Homepage  Send acoustika an ICQ Message
Okay Thanks OneWayMule

Great having you to help *S*

May The Code Be With You
www.UniqueDk.dk *** The Open Forums of Denmark ***
Go to Top of Page
  Previous Topic Topic Next Topic  
 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.39 seconds. Powered By: Snitz Forums 2000 Version 3.4.07