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
 Private messages problems...
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Da_Stimulator
DEV Team Forum Moderator

USA
3373 Posts

Posted - 22 November 2004 :  00:39:20  Show Profile  Send Da_Stimulator an AOL message  Send Da_Stimulator a Yahoo! Message
I cant figure it out... I've tried but maybe I'm just too tired.

Someone needs to update that for 3.4, cuz it told me to put rM_PM = 6 when the array has 22 values and 6 is NOT free...

anyway, this is the error I get on topic.asp:

Microsoft VBScript runtime error '800a000d'

Type mismatch: 'cLng'

inc_func_common.asp, line 673


I know its not the ChkDate function, so I went to topic.asp to investigate. That error shows up right were the first reply message is supposed to show.

around line 512 in topic.asp I have the following (code added for pm highlighted in red. Code highlighted in green is where the readme said to put it...


		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
			rM_PM = 23
		else
			rM_PM = 22
		end if


This is the piece of code causign the trouble...


getCurrentIcon(strIconPosticon,"","hspace=""3""") & "<font color=""" & strForumFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize  & """>Posted - " & ChkDate(Reply_Date, " : " ,true) & "</font>" & vbNewline

-Stim

Tam
New Member

Sweden
56 Posts

Posted - 22 November 2004 :  01:54:12  Show Profile  Visit Tam's Homepage
You are prolly having wrong info in Reply_Date if you didn't put PM where it "should" be. I put my PM like this:

...
rM_YAHOO = 5
rM_PM = 6
rM_TITLE = 7
...
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.27 seconds. Powered By: Snitz Forums 2000 Version 3.4.07