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
 Type mismatch: 'emailPassword'
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

mbdtk
Starting Member

9 Posts

Posted - 20 April 2001 :  21:32:12  Show Profile
I've now done a fresh install of the forum and Davio's email password mod. It works perfectly :), until the 'restrict posting' mod is added. Then I get the error below:

Microsoft VBScript runtime error '800a000d'

Type mismatch: 'emailPassword'

/f3/register.asp, line 158


The line in question reads:

strPassword = emailPassword("no")

Any help will be greatly appreciated as I have no idea of where to start. Many thanks.


Edited by - mbdtk on 20 April 2001 22:12:21

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 21 April 2001 :  01:01:54  Show Profile
Ok, then if it worked perfectly until you added the other mod, then it's my mod that is giving the error but something that you changed when adding the other mod.

What restrict posting mod is that you are reffering to? Did it include making changes in the register.asp page?

Go to Top of Page

mbdtk
Starting Member

9 Posts

Posted - 21 April 2001 :  04:46:51  Show Profile
quote:

Ok, then if it worked perfectly until you added the other mod, then it's my mod that is giving the error but something that you changed when adding the other mod.

What restrict posting mod is that you are reffering to? Did it include making changes in the register.asp page?







Thanks for replying :) The restrict posting mod is by HuwR. No changes to register.asp were made. It does add fields to the database, and replaces forum.asp, inc_functions.asp, post.asp, post_info.asp and topic.asp.

Your help is BIG time appreciated, especially as it's not your mod causing the grief. Many thanks

Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 21 April 2001 :  09:40:13  Show Profile
You "replaced" inc_functions.asp?
If you did that, then the "emailPassword" function would be missing. When you add one mod to your forums, you can't replace the files with the other mods after that. You would erase the code for the other mods.

So in the inc_functions.asp file that is in the Random Email Password mod, look for the "emailPassword" function. (it's almost at the bottom of the file) Copy it and paste it into your inc_functions.asp file.

And next time you're adding a mod, you will need to copy and paste the code into your files. Don't replace them.

Edited by - Davio on 21 April 2001 09:41:10
Go to Top of Page

mbdtk
Starting Member

9 Posts

Posted - 21 April 2001 :  10:11:21  Show Profile
quote:

You "replaced" inc_functions.asp?
If you did that, then the "emailPassword" function would be missing. When you add one mod to your forums, you can't replace the files with the other mods after that. You would erase the code for the other mods.

So in the inc_functions.asp file that is in the Random Email Password mod, look for the "emailPassword" function. (it's almost at the bottom of the file) Copy it and paste it into your inc_functions.asp file.

And next time you're adding a mod, you will need to copy and paste the code into your files. Don't replace them.

Edited by - Davio on 21 April 2001 09:41:10




Brilliant.... I told you I was new to this :)Thanks for taking the time to explain. Best wishes, and thanks again.

Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 21 April 2001 :  10:14:53  Show Profile
You're Welcome!

And if everyone who used the forums were ASP guru's we wouldn't be needed here.

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