Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> How To's
Author Message
msimonds
Regular
Regular


Joined: Jul 15, 2003
Posts: 56
Location: Dallas

PostPosted: Thu Sep 11, 2003 12:02 pm Reply with quote

a pm notification on emails sent that notify that you have a new PM. I thought that was possible
 
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17077

PostPosted: Thu Sep 11, 2003 12:16 pm Reply with quote

You mean to state who sent the eamil?
 
View user's profile Send private message
msimonds
PostPosted: Thu Sep 11, 2003 12:20 pm Reply with quote

Yeah who sent the PM!!!!!
 
msimonds
PostPosted: Thu Sep 11, 2003 12:47 pm Reply with quote

NM, I figured it out
 
Raven
PostPosted: Fri Sep 12, 2003 5:14 pm Reply with quote

Please share with us!
 
msimonds
PostPosted: Fri Sep 12, 2003 7:07 pm Reply with quote

not a problem!


Code:



#
#-----[ OPEN ]-----
#
modules/Private_Messages/index.php

#
#-----[ FIND ]-----
# around line 1200

$emailer->assign_vars(array(
                                        'USERNAME' => $to_username,



#
#-----[ AFTER, ADD ]-----
#

'FROM' => $userdata['username'],

so it looks like this:

$emailer->assign_vars(array(
                                        'USERNAME' => $to_username,
                                        'FROM' => $userdata['username'],

open:

modules/Forums/language/lang_english/email/privmsg_notify.tpl:

#
#-----[ FIND ]-----
#
You have received a new private message to your account on "{SITENAME}" and you have requested that you be notified on this event. You can view your new message by clicking on the following link:

#
#-----[ REPLACE WITH ]-----
#
You have received a new private message to your account on "{SITENAME}" from {FROM} and you have requested that you be notified on this event. You can view your new message by clicking on the following link:





make a backup of both files before you upload the ones that you made the changes to and that is it:

email me if any questions arise:

Mike
 
msimonds
PostPosted: Fri Sep 12, 2003 7:17 pm Reply with quote

here is what it looks like in my email when I get a pm notification:




Hello Mike,

You have received a new private message to your account on "SportsRant.com" from "nyallsports" and you have requested that you be notified on this event. You can view your new message by clicking on the following link:
Only registered users can see links on this board! Get registered or login!

Remember that you can always choose not to be notified of new messages by changing the appropriate setting in your profile.

--
Thanks,

Mike
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> How To's

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©