thats why I gonna post all email texts here and I'd you like to suggest better texts so that I can replace them. I hope that the texts are still understandable, although it's in HTML and and I left the variable names in. If you propose new/changed texts I would appreciate it if they stay in that format!
I will wait until Thursday/Friday for further suggestions or additions and then implement these. Please use this opportunity, because I won't react to any later whining about the emails, such as "why isn't 'this and that' in the email notification"... This is your "one and only" change to modifiy these texts, use it !!
Mail you will get after registration:
Welcome to the '.$ladder_name.'. This is a account confirmation email. In this ladder you can be challenged by other players (or challenge them yourself) and compete with them by playing a match against them. Please make sure that you carefully read the <a href="'.$www_address.'index.php?p=Rules">Rules</a>. The <a href="'.$www_address.'index.php?p=Help">Help page</a> contains a lot of usable information that you will need to understand the ladder-page. The most important page is the <a href="'.$www_address.'index.php?p=Rankings">Rankings Page</a> (on which you can challenge other players) and the <a href="'.$www_address.'index.php?p=YourMatches">Your Matches</a> page on which you will see and manage all open challenges. You will be able to accept or decline challenges there or to enter and accept match reports.
<br><br>
This an usual match process:
<br>- You challenge another player / another player challenges you
<br>- You usually accept the challenge (however, you can also decline it)
<br>- You and your enemy play the match on a ladder server. See the "Ladder servers" page for more information
<br>- Either you or the enemy can enter a match report containing a screenshot of each map, the map scores and a match comment
<br>- The other player accepts this match report (if it\'s incorrect you should contact the one who wrote it via PM)
<br>- The match is finished and appears on the Show Matches page
<br><br>
The Team of the '.$ladder_name.' hopes that you enjoy your membership. For any further questions please refer to the <a href="http://www.forums.alientrap.local/viewforum.php?f=10">official Forums</a>.
Mail you get when receiving a new challenge:
Hello '.$challenged_username.'!<br><br>
'.$challenger_username.' challenged you at '.convert_time(time(), $_GET['id']).' on '.$ladder_name.'. Please proceed to the <a href="'.$www_address.'index.php?p=YourMatches">Your Matches</a> page and either accept or decline the challenge. Please note that you cannot decline more than 2 matches in a row. Depending on the ladder configuration you may set the second map played on the page where you accept the challenge.
<br><br>
'.$challenger_username.' has chosen the map <b>'.$map1.'</b> and wrote this decription:<br>
'.nl2br(htmlentities($description)).'
<br><br>
Please note that you can use the Personal Message System of the '.$ladder_name.' to get in contact with '.$challenger_username.'. To do so, get to his/her <a href="'.$www_address.'index.php?p=Profile&id='.$_SESSION['sess_id'].'">Profile page</a> and click the <u>Send '.$challenger_username.' a personal message</u> link. This link is only shown when being logged, of course.
<br><br>
Try to organize a date for the match and agree on the server location. After the match has been played, either you or '.$challenger_username.' can enter the report using the <b>Your Matches</b> page.
<br><br>
For detailed help about the Your Matches page have a look at the <b>Help</b> page when being logged in.
Mail you get when declining a challenge:
Hello '.$challenger_username.'!
<br><br>
Your challenge from '.convert_time($chalfetch['challenged_time'], $challenger_userid).' at '.$ladder_name.' was declined by '.$challenged_username.'. For the reasons you can contact '.$challenged_username.' by using the Personal Message system of the '.$ladder_name.'. After 48 hours either you or '.$challenged_username.' can delete the declined challenge on the <b>Your Matches</b> page so that it won\'t appear there any longer.
Mail you get when accepting a challenge:
$main_message1 = 'Hello '.$challenger_username.'!
<br><br>
Your challenge from '.convert_time($chalfetch['challenged_time'], $challenger_userid).' at '.$ladder_name.' was accepted by '.$challenged_username.'. ';
if (getglobalvalue("number_of_map") == 2)
{
//when ladder is seto to play 2 maps
$submessage = $challenged_username.' selected the map <b>'.$map2.'</b>.';
}
else
{
$submessage = "";
}
$main_message2 = 'You can contact '.$challenged_username.' by using the Personal Message system of the '.$ladder_name.'. Try to organize a date for the match and agree on the server location. After the match has been played, either you or '.$challenged_username.' can enter the report using the <b>Your Matches</b> page.';
$mail_message = $main_message1.$submessage.$main_message2;
Mail you get when enemy deleted the challenge before you accepted/declined it (I decided to include that email because otherwise you might wonder why you received a "new challenge" email but tehre possibly isn't any challenge anymore on the Your Matches page because it got deleted)
Hello '.$challenged_username.'!
<br><br>
The challenge from '.$challenger_username.' done at '.convert_time($challenged_time, $challenged_userid).' has been withdrawn/deleted in the meanwhile!
Mail you get when enemy entered match report
Hello '.$receiver_username.'!
<br><br>
'.$enterer_username.' entered the match report for your challenge at '.convert_time(time(),$receiver).'. Please proceed to the <a href="'.$www_address.'index.php?p=YourMatches">Your Matches</a> page and click the <u>View and accept '.$enterer_username.'`s matchreport</u> link. Carefully look at the scores and compare them with the provided screenshots. Do only accept the report if everything is correct. If anything is incorrect with the report, e.g. wrong screenshots or map scores, please contact '.$enterer_username.' using the Personal Message system and tell him what is wrong, because he/she can edit the report unless you accepted it. <b>Please be aware of the fact that you will accept exactly these shown scores on the page, also possible typing errors! There won\'t be an admin who voluntarily edits the match report after being accepted but still being incorrect!</b>
<br><br>
Please do only decline a match report if you tried to contact '.$enterer_username.' and asked him/her to change the incorrect match report but he/she doesn\'t react for over a week
<br><br>
Please consider using the <b>match comment</b> field as opportunity to comment the match.
Mail you get when match report is declined
Hello '.$receiver_username.'!
<br><br>
Unfortunately '.$enterer_username.' declined your match report at '.convert_time(time(),$receiver).'. This can happen if your enemy thinks the match report is somehow incorrect or if he/she fails to contact you via Personal Message. However, you should get in contact with '.$enterer_username.' and clear the situation using the Personal Message system.
Mail you get when match report is accepted
Hello '.$receiver_username.'!
<br><br>
'.$enterer_username.' accepted your match report at '.convert_time(time(),$receiver).'. Your match is now finished and can be found on the <a href="'.$www_address.'index.php?p=Show%20matches">Show Matches</a> page. You can also click <a href="'.$www_address.'index.php?p=Matchdetails&id='.$fetch['ID'].'">here</a> to directly get to the match details page. Please note that you have to keep the demo file(s) for at least 2 weeks before you may delete it.