Author |
Topic |
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 17 November 2001 : 12:15:44
|
Download here: Click Here
Please read the pm_readme.txt file, it contains all of the instructions to get this MOD running. Everything that is needed to get this MOD to work is included in the instructions. Modifications to your existing files is minimal.
Hopefully there are no issues. |
|
MarkJH
Senior Member
United Kingdom
1722 Posts |
Posted - 20 November 2001 : 13:12:45
|
Richard, I love the new 'PM all members' feature of this mod, which I presume is only available to admins.
Unfortunately, I want to send a PM to all 2000 of my members but the software times out before sending to all the members. I logged in as a user (member #101) and I hadn't received the message. Therefore I presume it only sent the message to <5% of my members. Is there anyway around this?
Oh, why is there no email notification feature on this forum anymore... it's quite annoying!
bandlink.net - http://www.bandlink.net/ bandlink music forums - http://www.bandlink.net/forum/ |
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 20 November 2001 : 14:44:45
|
You'll probably need to increase the Server.ScriptTimeout value.
on line #104 of privatesend_info.asp find this code:
'############### Start PM all members ################# if Request.form("allmem") = "true" then strSql = "SELECT M_NAME"
Insert the following on line #107:
Server.ScriptTimeout = 10000
So now it should look like this:
'############### Start PM all members ################# if Request.form("allmem") = "true" then Server.ScriptTimeout = 10000 strSql = "SELECT M_NAME"
(I turned on Topic Level Subscriptions for this forum, as well as W/O Code and the Help: MOD Implementation Forum) |
|
|
SimonT
Junior Member
United Kingdom
202 Posts |
Posted - 20 November 2001 : 17:53:42
|
what would the correct way to add the pm send option to the pop_profile.asp file when in the display mode
Edited by - simont on 22 November 2001 06:07:02 |
|
|
struisje
Starting Member
7 Posts |
Posted - 21 November 2001 : 04:23:52
|
I had exactly the same problem I was working with an access97 database when you run the mod setup, it skips creating one table FORUM_PM when you open default.asp you get the error message described by SimonT.
So i changed my database to an access2000 database, ran the mod setup again and everything worked fine
great mod, thx RichardKinser
|
|
|
Ez4arab
Junior Member
479 Posts |
Posted - 21 November 2001 : 06:57:04
|
hi RichardKinser can you list major change with the previous one becuse i have fix old Private Messages MOD with the new forum v3.3.03
Arabic snit fourm http://aljish.com.sa/jforum |
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 21 November 2001 : 07:07:43
|
If you click on the Download link for this MOD, there is a description there that outlines the changes. |
|
|
Sturge
Starting Member
23 Posts |
Posted - 22 November 2001 : 01:16:18
|
I just want to say that you guys kick butt. The PM mod was cool, but these new adjustments do EXACTLY what I (and other folks) have been wanting to do. Gotta say...Snitz rules, and so do you guys.
|
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 22 November 2001 : 03:31:19
|
Thanks, glad you like it. |
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
|
SimonT
Junior Member
United Kingdom
202 Posts |
Posted - 22 November 2001 : 09:29:28
|
Yes thats it Richard the link is still down but I am not sure if the code works with 3.3
Edited by - simont on 22 November 2001 17:30:08 |
|
|
MarkJH
Senior Member
United Kingdom
1722 Posts |
Posted - 22 November 2001 : 13:07:05
|
Okay, the addition of Server.ScriptTimeout = 10000 worked wonders. I can now send a PM to every member without a problem.
Unfortunately, the software now times out when I go to my outbox to delete all these messages!
Is there a similar workaround for this or do I have to delete them from my database manually?
bandlink.net - http://www.bandlink.net/ bandlink music forums - http://www.bandlink.net/forum/ |
|
|
SimonT
Junior Member
United Kingdom
202 Posts |
Posted - 22 November 2001 : 19:55:04
|
Would some think like this work in the pop_profile.asp
if rs("M_NAME") = "" then <p> </p> else %>
<tr colspan=2> <td bgColor=<% =strPopUpTableColor %> align=right nowrap><b><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>">Private Message: </font></b></td> <td bgColor=<% =strPopUpTableColor %>><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"><a href="privatesend.asp?method=Topic&mname=<% =rs("M_NAME")%>"><img src="pm.gif" width="11" height="17" alt="Send Message" border="0"> Send a Private Message</a> </font></td> </tr> </tr> <% end if
|
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 23 November 2001 : 13:20:37
|
SimonT,
Here is what I did:
in pop_profile.asp on line #77 insert this line:
strsql = strsql & ", " & strMemberTablePrefix & "MEMBERS.M_PMRECEIVE"
then on line #179 find this code:
<% if strICQ = "1" then if Trim(rs("M_ICQ")) <> "" then %>
insert the following on line #180:
if rs("M_PMRECEIVE") = "1" and strDBNTUserName <> "" then %> <tr> <td bgColor=<% =strPopUpTableColor %> align=right nowrap><b><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>">PM: </font></b></td> <td bgColor=<% =strPopUpTableColor %>><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"><a href="privatesend.asp?method=Topic&mname=<% =rs("M_NAME") %>">Send a Private Message</a> </font></td> </tr> <% end if
so now it looks like this:
<% if rs("M_PMRECEIVE") = "1" and strDBNTUserName <> "" then %> <tr> <td bgColor=<% =strPopUpTableColor %> align=right nowrap><b><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>">PM: </font></b></td> <td bgColor=<% =strPopUpTableColor %>><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"><a href="privatesend.asp?method=Topic&mname=<% =rs("M_NAME") %>">Send a Private Message</a> </font></td> </tr> <% end if if strICQ = "1" then if Trim(rs("M_ICQ")) <> "" then %> |
|
|
MarkJH
Senior Member
United Kingdom
1722 Posts |
Posted - 23 November 2001 : 14:04:25
|
quote:
Okay, the addition of Server.ScriptTimeout = 10000 worked wonders. I can now send a PM to every member without a problem.
Unfortunately, the software now times out when I go to my outbox to delete all these messages!
Is there a similar workaround for this or do I have to delete them from my database manually?
bandlink.net - http://www.bandlink.net/ bandlink music forums - http://www.bandlink.net/forum/
Anything on this Richard?
bandlink.net - http://www.bandlink.net/ bandlink music forums - http://www.bandlink.net/forum/ |
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 23 November 2001 : 14:22:04
|
Try inserting the following on line #50 of pm_view.asp:
Server.ScriptTimeout = 10000 |
|
|
Topic |
|