PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
msimonds
Regular
Regular


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

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

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: 16987
Location: Kansas

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

You mean to state who sent the eamil?
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
msimonds
Regular
Regular


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

PostPosted: Thu Sep 11, 2003 12:20 pm Reply with quote Back to top

Yeah who sent the PM!!!!!
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
msimonds
Regular
Regular


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

PostPosted: Thu Sep 11, 2003 12:47 pm Reply with quote Back to top

NM, I figured it out
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: 16987
Location: Kansas

PostPosted: Fri Sep 12, 2003 5:14 pm Reply with quote Back to top

Please share with us!
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
msimonds
Regular
Regular


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

PostPosted: Fri Sep 12, 2003 7:07 pm Reply with quote Back to top

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
msimonds
Regular
Regular


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

PostPosted: Fri Sep 12, 2003 7:17 pm Reply with quote Back to top

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 to the forums!


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

--
Thanks,

Mike
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum