Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 Private Messages 3.4.03
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 20

h1dd3n
New Member

92 Posts

Posted - 05 February 2004 :  20:13:29  Show Profile
ok, i didnt add the pop_delete.asp file on the forums.
but another problem
ive followed all instructions and ive got the followign problem:
http://forums.tikionline.net/topic.asp?whichpage=4&TOPIC_ID=95
any ideas why this is?
It says:


Microsoft VBScript runtime error '800a000d'

Type mismatch: '[string: ""]'

/inc_func_common.asp, line 767



The avatar picture, the user status(ie moderator, forum admin etc..), the star rating as well as an extra word saying erro also comes up with their post count saying theyve made 1 post...
also, it only occurs with replys to topics but not to the main topic poster.
any thanks greatfully appreciated.

Edited by - h1dd3n on 05 February 2004 20:18:04
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 05 February 2004 :  20:29:15  Show Profile
And what is line 767 ?
Go to Top of Page

masterao
Senior Member

Sweden
1678 Posts

Posted - 05 February 2004 :  22:13:53  Show Profile  Visit masterao's Homepage
h1dd3n, your problem seems to be caused by not incrementing the variable assignment for replies, as shown in this topic.

Jan
===========
FR Portal Forums | Active Users 4.0.20 Mod
Go to Top of Page

h1dd3n
New Member

92 Posts

Posted - 06 February 2004 :  13:28:11  Show Profile
yay, i changed the numbering on the variables and now it works!
yay, thanks marstermo and laser for ya help
its because of the problem of having two variables with the same number, no wonder why each and everytime i try add this mod to the forums it never works, and trust me ive tried alot of times
does anyone know when the next release of private messages is planned for release if any?
Go to Top of Page

masterao
Senior Member

Sweden
1678 Posts

Posted - 07 February 2004 :  07:20:29  Show Profile  Visit masterao's Homepage
Im glad you got it working.

The next release will probably be when v4 of the forum is released.

Jan
===========
FR Portal Forums | Active Users 4.0.20 Mod
Go to Top of Page

h1dd3n
New Member

92 Posts

Posted - 08 February 2004 :  06:43:53  Show Profile
thanks.
One final note on the private messages mod...
how do I get it so that when a member has a new private message it will show up that flashing new private message icon at the top of the main page but if they dont then it will be another icon(the non-flashing one)?
Go to Top of Page

masterao
Senior Member

Sweden
1678 Posts

Posted - 08 February 2004 :  09:55:17  Show Profile  Visit masterao's Homepage
You must change the code in privatemess.asp/privatemess2.asp, so instead of using the default text, you use the icons instead.

For example, replace the following

		Response.Write	" - You have "
		if pmcount >=1 then
			Response.Write	"<font color=""" & strActiveLinkColor & """><b>" & pmcount & "</b></font>"
		else
			Response.Write	pmcount
		end if
		Response.Write	" new private message"
		if pmcount >1 then
			Response.Write	"s"
		end if 


with this:

		if pmcount >=1 then
			Response.Write	getCurrentIcon(strIconPmGotMail,"","align=""absmiddle""")
		else
			Response.Write getCurrentIcon(strIconPmNoMail,"","align=""absmiddle""")
		end if

Jan
===========
FR Portal Forums | Active Users 4.0.20 Mod
Go to Top of Page

h1dd3n
New Member

92 Posts

Posted - 08 February 2004 :  13:57:56  Show Profile
is it ok if I just copy the

		if pmcount >=1 then
			Response.Write	getCurrentIcon(strIconPmGotMail,"","align=""absmiddle""")
		else
			Response.Write getCurrentIcon(strIconPmNoMail,"","align=""absmiddle""")
		end if

and just put that anywhere I want on the page instead of replacing the current method?
Go to Top of Page

masterao
Senior Member

Sweden
1678 Posts

Posted - 08 February 2004 :  16:41:18  Show Profile  Visit masterao's Homepage
You can, but only if you put it after you include privatemess.asp/privatemess2.asp.

If you want it earlier than that, you have to copy the sql-query and the code which assigns pmcount a value as well.

Jan
===========
FR Portal Forums | Active Users 4.0.20 Mod
Go to Top of Page

h1dd3n
New Member

92 Posts

Posted - 08 February 2004 :  18:01:04  Show Profile
I did it laster on in the page, after the login scripts etc but it didnt work
syntax error beginning with the If statement...
Go to Top of Page

masterao
Senior Member

Sweden
1678 Posts

Posted - 08 February 2004 :  18:33:14  Show Profile  Visit masterao's Homepage
h1dd3n, you should post that in the Help: MOD Implementation forum, as that isn't a but in the mod.

Make sure that the line above the "if.."-statement starts doesn't end with & _.

Jan
===========
FR Portal Forums | Active Users 4.0.20 Mod
Go to Top of Page

h1dd3n
New Member

92 Posts

Posted - 14 February 2004 :  17:35:03  Show Profile
oh rite...
sorry and thanks for the help.
Go to Top of Page

evol
Junior Member

China
157 Posts

Posted - 23 February 2004 :  15:09:17  Show Profile
when the PM-inbox was installde in v3.4.04 and installed successed.but,i can't write a new PM (it get the error 'inc_code.asp' not found" in privatesend.asp line 45)
Please tell me how to solve this question?
thanks

Who am i?
I lost my dream!
Go to Top of Page

masterao
Senior Member

Sweden
1678 Posts

Posted - 23 February 2004 :  16:31:13  Show Profile  Visit masterao's Homepage
Locate this at the top of privatesend.asp:

<!--#INCLUDE FILE="inc_code.asp" -->

Remove # from that line and it should then work.

Jan
===========
FR Portal Forums | Active Users 4.0.20 Mod
Go to Top of Page

evol
Junior Member

China
157 Posts

Posted - 24 February 2004 :  05:23:00  Show Profile
Oh,thanks masterao,it's well works.
but i have a another question fir it,look the image blow it.
if one user have 0 messenger,it display that one in Private Messages.

And if you have messenger(s),the will be display in Private Messages.
Thanks again.

Who am i?
I lost my dream!
Go to Top of Page
Page: of 20 Previous Topic Topic Next Topic  
Previous Page | Next Page
 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.19 seconds. Powered By: Snitz Forums 2000 Version 3.4.07