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)
 Adding attachments to private messages
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

philsbbs
Junior Member

United Kingdom
397 Posts

Posted - 11 April 2008 :  10:31:54  Show Profile  Reply with Quote
I've now added attachements to private messages.

Here's the code change in privatesend.asp

>
<script language="JavaScript">
<!-- hide from JavaScript-challenged browsers
function pmmembers() { var MainWindow = window.open ("pm_pop_members.asp", "","toolbar=no,location=no,menubar=no,scrollbars=yes,width=250,height=500,top=100,left=100,resizeable=yes,status=no");
}
// done hiding -->
</script>
<%

Response.Write " <a href=""#"" onClick=""window.open('pop_upload_new.asp','Uploading','toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,width=440,height=310');""><acronym title=""Upload an Image File..."">" & getCurrentIcon(strIconPaperClip,"","") & "</a> <font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Insert an Image File</acronym><br /></font>" & vbNewLine



Response.Write " <tr>" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """ noWrap vAlign=""top"" align=""right""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>Send to:</b>"
Response.Write "</font></td>" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """><input maxLength=""50"" name=""sendto"" value=""" & Request.Querystring("mname") & """ size=""50""> <font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """><a href=""members.asp"">Memberlist</a> "
if strRqMethod <> "Forward" then Response.Write ("<br>(Separate member names with a comma for multiple recipients.)")

if (mLev > 0) and strRqMethod <> "Forward" then Response.Write ("<br><input type=""checkbox"" name=""allmods"" value=""true""><b>ALERT MODERATORS</b> (Send Message to all Moderators)<br>") '# All Moderators PM Modification
if (mLev = 4) and strRqMethod <> "Forward" then Response.Write ("<input type=""checkbox"" name=""allmem"" value=""true"">Send Message to all Members<br>") '# All Member PM Modification
Response.Write "</font></td>" & vbNewLine & _
" </tr>" & vbNewLine
end if

Let me know if you find this useful phil@philsbbs.com<

Phil

philsbbs
Junior Member

United Kingdom
397 Posts

Posted - 11 April 2008 :  11:18:56  Show Profile  Reply with Quote
This is used with Mike File Attachment code.<

Phil
Go to Top of Page

philsbbs
Junior Member

United Kingdom
397 Posts

Posted - 11 April 2008 :  14:04:44  Show Profile  Reply with Quote
This code is now available to download :

http://www.snitzbitz.com/mods/details.asp?Version=All&mid=67<

Phil
Go to Top of Page

Etymon
Advanced Member

United States
2385 Posts

Posted - 12 April 2008 :  00:59:11  Show Profile  Visit Etymon's Homepage  Reply with Quote
quote:
Originally posted by philsbbs

This code is now available to download :

http://www.snitzbitz.com/mods/details.asp?Version=All&mid=67



Hi Phil,

Thank you for your contribution!

Etymon
<
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.12 seconds. Powered By: Snitz Forums 2000 Version 3.4.07