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

knightsyde
Starting Member

29 Posts

Posted - 31 July 2002 :  21:50:47  Show Profile
I need some help with the avatar mod. All goes well until I try to view a post that has an avatar in it then I get the following error.

________________________________________________________________

Error Type:
Microsoft VBScript runtime (0x800A000D)
Type mismatch: 'rsTopic'
/test/forum/topic.asp, line 586


Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; DigExt)

Page:
GET /test/forum/topic.asp
_________________________________________________________

I am pretty new to snitz and when I installing the mod, when I got to the topic.asp there was supposed to be two sections that I was supposed to change and I could only find one.

Here is a text link to my topic.asp
http://members.cox.net/knightsyde/topic.asp


Any help would be greatly appreciated

Hamlin
Advanced Member

United Kingdom
2386 Posts

Posted - 01 August 2002 :  13:10:50  Show Profile
Try changing line 586 from


<br><% if Trim(rsTopic("M_AVATAR_URL")) <> "" and lcase(rsTopic("M_AVATAR_URL")) <> "noavatar.gif" and (IsNull(rsTopic("M_AVATAR_URL")) = false) then %>


To


<br><% if Trim(rsReplies("M_AVATAR_URL")) <> "" and lcase(rsReplies("M_AVATAR_URL")) <> "noavatar.gif" and (IsNull(rsReplies("M_AVATAR_URL")) = false) then %>


And this section of line 594


<% =rsTopic("M_AVATAR_URL") %>


to


<% =rsReplies("M_AVATAR_URL") %>


EDIT -saying that it looks like you added the code in the wrong place, you have the code for the first post in a topic with the reply code and have not added the any code to find the avatars of people who have replied..if that makes sense to you

The line numbers may have thrown you as your file seems to be about 200 lines ahead of the readme.

No matter how fast light travels it finds the darkness has always got there first, and is waiting for it.


Edited by - Hamlin on 01 August 2002 13:18:13
Go to Top of Page

knightsyde
Starting Member

29 Posts

Posted - 01 August 2002 :  22:07:16  Show Profile
Thanks that worked. I appreciate your help

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.26 seconds. Powered By: Snitz Forums 2000 Version 3.4.07