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
 Avatar Mod Problem
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

jc4bone
Starting Member

19 Posts

Posted - 26 August 2008 :  14:14:31  Show Profile
After installing the avatar mod. I get the following error when viewing a topic that has more than one post.

Microsoft VBScript runtime error '800a000d'
Type mismatch: 'cLng'

/forum/inc_func_secure.asp, line 46



this error displays where the first reply to the topic would be.

any ideas?
<

AnonJr
Moderator

United States
5768 Posts

Posted - 26 August 2008 :  14:52:04  Show Profile  Visit AnonJr's Homepage
I would start by double-checking the code changes. Off-the-cuff, it sounds like you might have missed a change or two.<
Go to Top of Page

jc4bone
Starting Member

19 Posts

Posted - 26 August 2008 :  17:08:04  Show Profile
OK, I double checked the changes made and I had everything correct except for one change. I made that change. However I still have a problem. Now instead of throwing an error on any replies to a topic it just shows the number 5. Any Ideas?<
Go to Top of Page

jc4bone
Starting Member

19 Posts

Posted - 27 August 2008 :  01:13:30  Show Profile
I decided to start from scratch with this mod and I got it to almost work. It is showing all the reply's to the topic. But what it is doing now is this. It shows the avatar on the first line of the topic, but on all replies it will show a red x even if I have an avatar selected. then have the directory of the image written below it. I have 3 test users set up and I started a topic with all 3 and replied with the other two users on each topic. It done this on all of them. I'm so close, anyone know what might be going on, let me know if you want to see any code. Thanks in advance.<
Go to Top of Page

jc4bone
Starting Member

19 Posts

Posted - 27 August 2008 :  01:29:58  Show Profile
Here might be something useful for you. I have installed the 5 in 1 site integration Mod. So the Private Messaging Mod had already modified the topic.asp. In the readme file for installing the avatar mod, one of the changes was this:

Look for the following:

rM_NAME = 0
rM_RECEIVE_EMAIL = 1
rM_AIM = 2
rM_ICQ = 3
rM_MSN = 4
rM_YAHOO = 5
rM_TITLE = 6
rMEMBER_ID = 7
rM_HOMEPAGE = 8
rM_LEVEL = 9
rM_POSTS = 10
rM_COUNTRY = 11
rREPLY_ID = 12
rFORUM_ID = 13
rR_AUTHOR = 14
rTOPIC_ID = 15
rR_MESSAGE = 16
rR_LAST_EDIT = 17
rR_LAST_EDITBY = 18
rR_SIG = 19
rR_STATUS = 20
rR_DATE = 21
if CanShowSignature = 1 then
rM_SIG = 22
end if

Change to this:

rM_NAME = 0
rM_RECEIVE_EMAIL = 1
rM_AIM = 2
rM_ICQ = 3
rM_MSN = 4
rM_YAHOO = 5
rM_TITLE = 6
rMEMBER_ID = 7
rM_HOMEPAGE = 8
rM_LEVEL = 9
rM_POSTS = 10
rM_COUNTRY = 11
rM_Avatar = 12
rREPLY_ID = 13
rFORUM_ID = 14
rR_AUTHOR = 15
rTOPIC_ID = 16
rR_MESSAGE = 17
rR_LAST_EDIT = 18
rR_LAST_EDITBY = 19
rR_SIG = 20
rR_STATUS = 21
rR_DATE = 22
if CanShowSignature = 1 then
rM_SIG = 23
end if



However since I have installed the PM mod, it has already edited this section by putting rM_PM = 6 and then all the other numbers go down sequentially. So what I did here was I put the rM_Avatar =12 in and moved everything down one #, so it looks like the following:

rM_NAME = 0
rM_RECEIVE_EMAIL = 1
rM_AIM = 2
rM_ICQ = 3
rM_MSN = 4
rM_YAHOO = 5
rM_PM = 6
rM_TITLE = 7
rMEMBER_ID = 8
rM_HOMEPAGE = 9
rM_LEVEL = 10
rM_POSTS = 11
rM_Avatar = 12
rM_COUNTRY = 13
rREPLY_ID = 14
rFORUM_ID = 15
rR_AUTHOR = 16
rTOPIC_ID = 17
rR_MESSAGE = 18
rR_LAST_EDIT = 19
rR_LAST_EDITBY = 20
rR_SIG = 21
rR_STATUS = 22
rR_DATE = 23
if CanShowSignature = 1 then
rM_SIG = 24
end if





Is this possibly where I goofed up, and if so, how should it be. Thanks in advance.<
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 27 August 2008 :  06:36:37  Show Profile  Visit AnonJr's Homepage
You need to look at the SQL statement that precedes that bit of code. The variable names need to be listed in the same sequence as they are in the SELECT statement, and the numbers need to then run sequentially from 0 to whatever.<
Go to Top of Page

jc4bone
Starting Member

19 Posts

Posted - 27 August 2008 :  11:53:22  Show Profile
Thank you, I got it working now. I knew that, I don't know why I didn't think to look for it. I think I've just been working too much. Thanks again.<
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 27 August 2008 :  13:09:20  Show Profile  Visit AnonJr's Homepage
Not a problem. Glad you got everything working. <
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.36 seconds. Powered By: Snitz Forums 2000 Version 3.4.07