Author |
Topic |
h1dd3n
New Member
92 Posts |
Posted - 05 February 2004 : 20:13:29
|
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 |
|
|
laser
Advanced Member
Australia
3859 Posts |
Posted - 05 February 2004 : 20:29:15
|
And what is line 767 ? |
|
|
masterao
Senior Member
Sweden
1678 Posts |
|
h1dd3n
New Member
92 Posts |
Posted - 06 February 2004 : 13:28:11
|
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? |
|
|
masterao
Senior Member
Sweden
1678 Posts |
|
h1dd3n
New Member
92 Posts |
Posted - 08 February 2004 : 06:43:53
|
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)? |
|
|
masterao
Senior Member
Sweden
1678 Posts |
Posted - 08 February 2004 : 09:55:17
|
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 |
|
|
h1dd3n
New Member
92 Posts |
Posted - 08 February 2004 : 13:57:56
|
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? |
|
|
masterao
Senior Member
Sweden
1678 Posts |
Posted - 08 February 2004 : 16:41:18
|
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 |
|
|
h1dd3n
New Member
92 Posts |
Posted - 08 February 2004 : 18:01:04
|
I did it laster on in the page, after the login scripts etc but it didnt work syntax error beginning with the If statement... |
|
|
masterao
Senior Member
Sweden
1678 Posts |
|
h1dd3n
New Member
92 Posts |
Posted - 14 February 2004 : 17:35:03
|
oh rite... sorry and thanks for the help. |
|
|
evol
Junior Member
China
157 Posts |
Posted - 23 February 2004 : 15:09:17
|
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! |
|
|
masterao
Senior Member
Sweden
1678 Posts |
Posted - 23 February 2004 : 16:31:13
|
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 |
|
|
evol
Junior Member
China
157 Posts |
Posted - 24 February 2004 : 05:23:00
|
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! |
|
|
Topic |
|