I have installed the Private Messages MOD and it work almost perfectly but I will suggest some tips: 1) the "private messages" link in the top of page (inc_header.asp) would have appear only when the users are logged in. There is no sense give those link anytime.2)In the topic.asp by clicking in the "PM" icon the no-logged in users must be redirected to a error page (privatesend.asp???) in that the login will be request...in my forum such users are led to the Board homepage and nothing occurs... Also, I have experienced some trouble with the pop_profile.asp after installed this MOD. When I try to open any member's profile, I receive the following error:
ADODB.Recordset error '800a0cc1'
Item cannot be found in the collection corresponding to the requested name or ordinal.
/disc/pop_profile.asp, line 700
I renumbered the values in topic.asp and it is fine. This topic did not decide my problem. What I have to do about it? Thanks.
I've changed the code on my forum to only display the PM link when a user is logged in.
Example for the forum menu in sub sForumNavigation() in inc_header.asp:
If mLev > 0 then
If strPMStatus = "1" then
Response.Write " <a href=""" & strForumURL & "pm_view.asp""" & dWStatus("Check Your Private Messages...") & " tabindex=""-1""><acronym title=""Check Your Private Messages..."">Private Messages"
if pmcount > 0 then Response.Write "(<font color=""" & strActiveLinkColor & """><b>" & pmcount & " New</b></font>)" end if
Response.Write "</acronym></a>" & vbNewline & _
" |" & vbNewline
end if
end if
This will probably not work when added directly, as you have to change the line before adding this to remove the code marked redvbNewLine & _, and you have to add Response.Write " after after the PM code.
Can you post a link to a text-version of your pop_profile.asp? Also, have you added any other mods which required changes to pop_profile.asp?
Thanks a lot masterao...but you could put the exact code? Where I cut the vbNewline & _ and where I put the Response.Write "? Here you can view my pop_profile.asp code. I've recently installed the Active User MOD and a few add's that I don't remember at this time if they does or not have changed the pop_profile.asp...
It depends on where in the sub sForumNavigation() you want the PM link to be. If you post a link to a text-version of inc_header.asp where you have added the PM-link, I can add the above modification for you.
Regarding the problem with pop_profile.asp, it seems as if you don't have the M_PMRECEIVE field in the members-table. Did you get any errors when you updated the database with the dbs-file?