Previous Thread
Next Thread
Print Thread
Rate Thread
#229821 12/26/2002 3:18 AM
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Mod Name / Version: Private Messages Via Email 1.2
     Version 1.1 updates instructions to work with Threads ver 6.2
     Version 1.2 fixes an error in the "Sender's Name" when a new message is sent w/ preview. Added the feature where it will email you a copy of the message if you click "save a copy"-thanks sportbikes.

Description: This hack expands the notification of Private Messages via email by showing you the actual message, and who it is from inside the email. Great way to keep up with your PMs when you don't have time to browse the site, and an excellent way to save PMs before they are purged from the database by the admins. Also changes the subject of the email to contain the actual subject of the PM as I sometimes have 50 "You Have New Messages" messages.
If you have email notification of Private Messages on, and you click "save a copy" when sending a PM, a copy to save will be emailed to you.

Working under: 6.2

Any pre-requisites: none

Author(s): JoshPet from www.joshuapettit.com
for discussions and bugs go to www.ubbdev.com

Date: 12/26/02

Credits: I've wanted this forever...finally learned enough about PHP Mail to do it.
         Sportsbikes for suggesting the idea to save a copy yourself.

Files Altered: sendmessage.php, mess_reply.php

Database Altered: No.

New Files: none

Notes: Very simple hack. IMHO, Should be a standard threads feature.

The emails you will receive will look like this:
[]
You have received a private message on the board at MEASURECTION.com. You can go to http://www.measurection.com/forums/login.php to view it.

****DO NOT REPLY TO THIS EMAIL. YOU MUST REPLY USING THE PRIVATE MESSAGE SYSTEM AT THE SITE.****

**********************************************************************
From: jakub
Subject: Hey, How ya doing?
Message:

This updated threads software package is great! Thanks for all you do.
Jakub

**********************************************************************

****DO NOT REPLY TO THIS EMAIL. YOU MUST REPLY USING THE PRIVATE MESSAGE SYSTEM AT THE SITE.****
[/]
Attachments
62518-PMsViaEmail1.2.txt (0 Bytes, 96 downloads)

Sponsored Links
Joined: Oct 2002
Posts: 165
Member
Member
Offline
Joined: Oct 2002
Posts: 165
Josh,

THANKS I missed this one earlier.

This works for all PMs? not just Admins correct?

Also, any ideas... I send out lots of PMs via replies, and some I wish to memorialize. Will this work on out going PMs?


Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
It works on all PMs that you receive if you have Email notification of PMs turned on in your profile.

But your suggestion.... I ought to make it (in the next version) email yourself a copy if you've checked the "save a copy" box. I agree and use this as a way to save PMs and file them in my email program for later access.

Thanks for the suggestion.

Joined: Oct 2002
Posts: 165
Member
Member
Offline
Joined: Oct 2002
Posts: 165
[]Thanks for the suggestion. [/]

That's the easy part

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
OK - Updated the main post of this thread with ver 1.2

It fixes a bug where it wasn't showing the senders name when the message was previewed.

Since I had to revise it, I added the ability to save Outgoing PMs as well.

If you have email notification of Private Messages on in your profile, and you check "Save a Copy" when sending a message, a copy will be sent to you via Email.

Thanks for the suggestion! I utilize this to save and store Private Messages.

Enjoy!

Sponsored Links
Joined: Oct 2002
Posts: 165
Member
Member
Offline
Joined: Oct 2002
Posts: 165
You guys are good

THANKS!! I know that will help me... since in 3 months I have 350 outgoing PMs that I saved.

Any way to quickly save the ones already sent

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
There is a mod around here that used to allow you the ability to check the boxes next to them and click "email" instead of delete and they would be sent to you.

When I get a sec I'll see if I can find it and see how far away from 6.2 it is.

Joined: Oct 2002
Posts: 165
Member
Member
Offline
Joined: Oct 2002
Posts: 165
EXCELLENT

Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
Making it work with 6.2 shouldn't be to difficult. You may want to add some code to clean up html breaks <br /> or if the messages are very old <br> prior to sending the email. I'm not sure if anything else should be addressed though.

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Moved to Finished Mods forum.

Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Updated this for 6.3 and posted here.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240430)