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

fredy
Starting Member

Switzerland
33 Posts

Posted - 27 May 2005 :  03:53:26  Show Profile  Visit fredy's Homepage  Send fredy a Yahoo! Message
Hi

I get the following error, when I installed the MOD:

Microsoft VBScript compilation error '800a0400'

Overflow: cLng

/gm-test/inc_func_secure.asp, line 46



See this behavior in my Tesforum at http://www.falger.ch/gmtest/topic.asp?TOPIC_ID=2 when you scroll down.

The PN works fine, but the posts behave strange. Sometimes only numbers are shown. (see http://www.falger.ch/gmtest/topic.asp?TOPIC_ID=155)

Please help.

Thanx,
Fredy

Edited by - fredy on 27 May 2005 06:27:20

fredy
Starting Member

Switzerland
33 Posts

Posted - 27 May 2005 :  03:59:38  Show Profile  Visit fredy's Homepage  Send fredy a Yahoo! Message
Here is, what I have in Line 46:

strSql = strSql & " WHERE MEMBER_ID = " & cLng(fUser_Number)
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 27 May 2005 :  08:13:39  Show Profile
I don't see any errors on those topics you linked to. Can you provide a demo login so we can see if it's showing up for members? From the sounds of it, though, you may be able to fix it by double checking the changes you made to topic.asp, in particular those related to the numbering of the relpies array.


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

fredy
Starting Member

Switzerland
33 Posts

Posted - 27 May 2005 :  08:23:14  Show Profile  Visit fredy's Homepage  Send fredy a Yahoo! Message
Hi

I found the error.

In Read.me it is written to add the String "rM_PM = 6" after the Yahoo one.

The Problem was, that after I had 2 values with 6, so I had to number the other entries correctly as shown below:

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_COUNTRY = 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

Thanks & greetings
Fredy
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 27 May 2005 :  08:27:11  Show Profile
You're welcome Always be careful when a readme tells you to make changes to those numbers, make sure you follow the instructions exactly. Extra care should be taken if you have any other mods installed that have made changes to those numbers.


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

fredy
Starting Member

Switzerland
33 Posts

Posted - 28 May 2005 :  10:26:50  Show Profile  Visit fredy's Homepage  Send fredy a Yahoo! Message
Now I have another Problem with that Private Message MOD.

New Members have turned the PN by default off.

How I can turn it on by default, when somebody makes a new registration ?

Thanx
Fredy
Go to Top of Page

Ranko
Junior Member

400 Posts

Posted - 29 May 2005 :  05:26:31  Show Profile
quote:
Originally posted by fredy

Now I have another Problem with that Private Message MOD.

New Members have turned the PN by default off.

How I can turn it on by default, when somebody makes a new registration


If you haven't installed it yet to your forum the easiest way would be to open up your dbs file, find this:
[ALTER]
MEMBERS
ADD#M_PMRECEIVE#int#NULL#1
[END]


and change the red 1 to 0.
Go to Top of Page

Ranko
Junior Member

400 Posts

Posted - 29 May 2005 :  05:28:24  Show Profile
I was wrong, the default value of 1 is good, PMs are turned on by default. Changing to 0 would turn them of.
Go to Top of Page

fredy
Starting Member

Switzerland
33 Posts

Posted - 29 May 2005 :  08:46:42  Show Profile  Visit fredy's Homepage  Send fredy a Yahoo! Message
Hi Ranko

Thanx, but it ist that way, that new registrants have the PM turned off by default, eventhough I have the 1 set in the DBS.

Can I run the DBS File once more, or does this do any harm, if the Tables exist already ?

Greets
Fredy
Go to Top of Page

fredy
Starting Member

Switzerland
33 Posts

Posted - 29 May 2005 :  09:08:28  Show Profile  Visit fredy's Homepage  Send fredy a Yahoo! Message
Also, I runned it again und I still have no dot in any radio on new registrants.
That means, I do not have a dot in the PM Options, neighter by ON nor OFF.
Go to Top of Page

fredy
Starting Member

Switzerland
33 Posts

Posted - 29 May 2005 :  09:18:58  Show Profile  Visit fredy's Homepage  Send fredy a Yahoo! Message
Hi Ranko

I solved it now by editing the database.
I set the default directly on the table-field.

Thanx for all your support
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