[ Index ]
 

Code source de Phorum 5.1.25

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/docs/ -> creating_mail_messages.txt (source)

   1  Customizing your Phorum mail messages
   2  =====================================
   3  
   4  This document describes the way you can customize the mail messages
   5  that are sent out by Phorum.
   6  
   7  Table of contents:
   8  
   9  1. General information
  10  2. User-notifications about new messages in followed threads
  11  3. Moderator-notifications about new messages
  12  4. User-notifications about new private messages
  13  5. Moderator-notifications about reported messages
  14  
  15  
  16  1. General information
  17  -------------------------------------------------------------------------------
  18  
  19     All messages and subjects for the mail messages are defined as language
  20     strings in the language-files. So to customize mail messages, you can
  21     change the definition of these strings.
  22  
  23     For some mail messages, you can use a couple of special tags in the
  24     message and mailsubject, which are automatically replaced by relevant
  25     data.
  26  
  27     Below you'll find a list of the language strings that you can update for
  28     each type of mail message and the special tags that you can use in them.
  29  
  30  
  31  2. User-notifications about new messages in followed threads
  32  -------------------------------------------------------------------------------
  33  
  34     Related language strings:
  35  
  36     - NewReplySubject
  37     - NewReplyMessage
  38  
  39     Replacement tags:
  40  
  41     - %forumname%     The name of the current forum.
  42     - %author%        The name of the author of the message.
  43     - %subject%       The subject of the message.
  44     - %full_body%     The full body of the message including all HTML/BBCode
  45                       tags, use with care!
  46     - %plain_body%    The body of the message which is stripped from all
  47                       HTML/BBCode tags.
  48     - %read_url%      The url where this message can be read.
  49     - %remove_url%    The url to unsubscribe from the followed thread.
  50     - %noemail_url%   The url to set the subscription to "no email", so
  51                       the thread is only followed from the user's profile.
  52     - %followed_threads_url% The url to the controlcenter-page where the
  53                       user can look at all the followed threads.
  54  
  55  
  56  3. Moderator-notifications about new messages
  57  -------------------------------------------------------------------------------
  58  
  59     Related language strings for messages that need to be moderated:
  60  
  61     - NewModeratedSubject
  62     - NewModeratedMessage
  63  
  64     Related language strings for messages that do not need to be moderated:
  65  
  66     - NewUnModeratedMessage
  67  
  68     Replacement tags:
  69  
  70     - %forumname%     The name of the current forum.
  71     - %author%        The name of the author of the message.
  72     - %subject%       The subject of the message.
  73     - %full_body%     The full body of the message including all HTML/BBCode
  74                       tags, use with care!
  75     - %plain_body%    The body of the message which is stripped from all
  76                       HTML/BBCode tags.
  77     - %read_url%      The url where this message can be read.
  78     - %approve_url%   The url where this message can be approve (if it's a
  79                       moderated forum and messages need approval)
  80  
  81  
  82  4. User-notifications about new private messages
  83  -------------------------------------------------------------------------------
  84  
  85     Related language strings:
  86  
  87     - PMNotifySubject
  88     - PMNotifyMessage
  89  
  90     Replacement tags:
  91  
  92     - %author%        The name of the author of the message.
  93     - %subject%       The subject of the message.
  94     - %full_body%     The full body of the message including all HTML/BBCode
  95                       tags, use with care!
  96     - %plain_body%    The body of the message which is stripped from all
  97                       HTML/BBCode tags.
  98     - %read_url%      The url where this message can be read.
  99  
 100  
 101  5. Moderator-notifications about reported messages
 102  -------------------------------------------------------------------------------
 103  
 104     Related language strings:
 105  
 106     - ReportPostEmailSubject 
 107     - ReportPostEmailBody
 108  
 109     Replacement tags:
 110  
 111     - %forumname%     The name of the current forum.
 112     - %author%        The name of the author of the message.
 113     - %subject%       The subject of the message.
 114     - %body%          The body of the message.
 115     - %url%           The url where this message can be read.
 116     - %reportedby%    The username of the reporter.
 117     - %explanation%   The explanation given by the reporter.
 118     - %ip%            The IP-address of the reporter.
 119     - %date%          The date of reporting.
 120     - %delete_url%    The url to delete the message.
 121     - %hide_url%      The url to hide the message.
 122     - %edit_url%      The url to edit the message.
 123     - %reporter_url%  The url of the reporters profile. 


Généré le : Thu Nov 29 12:22:27 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics