ich füge mal einen mod hier eben ein, der für private nachrichten gedacht ist. nach diesem mod steht in der email das man eine neue PN hat und in dieser steht dann auch der name des autors, von dem man die pn bekommen hat
Code: Alles auswählen
##############################################################
## MOD Title: Include sender's name in private message notification
## MOD Author: DanielJarrett < daniel@nospam.team.4webhelp.net > http://www.4webhelp.net/
## MOD Description: With this mod, when someone sends you a PM,
## the notification email will include his/her username
## MOD Version: 1.0.0
##
## Installation Level: easy
## Installation Time: 1 minute
## Files To Edit: (2) privmsg.php, privmsg_notify.tpl
## Included Files: n/a
##############################################################
## Author Notes:
## You will have to apply the changes to the email templates
## in all languages in use on your board.
##############################################################
## MOD History:
## 0.0.1: MOD created
## 1.0.0: MOD released
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]-----
#
privmsg.php
#
#-----[ FIND ]-----
# around line 1320
'USERNAME' => $to_username,
#
#-----[ AFTER, ADD ]-----
#
'FROM' => $userdata['username'],
#
#-----[ OPEN ]-----
#
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:
#
#-----[ SAVE/CLOSE ALL FILES ]-----
#
# EoM
Code: Alles auswählen
'FROM' => $userdata['username']
die topic_notify habe ich schon mit einem zusatz versehen:
Code: Alles auswählen
Autor des neuen Beitrags: {FROM}
Code: Alles auswählen
'FROM' => $userdata['username']
www.msilver.net/viewtopic.php.txt
würde mich freuen, wenn mir jemand helfen kann. hoffentlich habe ich es verständlich erklärt, ich bin eher ein newb in solchen dingen.
mfg
msilver